TransWikia.com

Why is my background grey?

TeX - LaTeX Asked by Fabian Bosler on March 22, 2021

I had written a curriculum vitae with LateX about 10 years ago and dug up the old template to update the document. I am typesetting on my mac now and the results look kinda out of whack.

The background is grey.

documentclass[a4paper,oneside]{scrartcl}
usepackage{geometry}
usepackage[T1]{fontenc}
usepackage{palatino}
usepackage{soul}
usepackage{tabularx}   
usepackage{graphicx}
usepackage{multirow}
usepackage{scrpage2}
usepackage{marvosym}
usepackage{xcolor}
usepackage[latin1]{inputenc}

pagestyle{empty}
pagestyle{scrheadings}
renewcommand{headfont}{normalfontrmfamilyscshape}

% define footer
cofoot{footnotesizesoaddr 
footnotesizeso{ {LargeLetter} NAME}   footnotesizeso{ {LargeTelefon}  PHONE}}

geometry{letterpaper,tmargin=1in,bmargin=1in,lmargin=1in,rmargin=1in,headheight=0in,headsep=0in,footskip=.3in}

setlength{headheight}{1.1baselineskip}
setlength{parindent}{0in}
setlength{parskip}{0in}
setlength{itemsep}{0in}
setlength{topsep}{0in}
setlength{tabcolsep}{0in}

% Name and contact information
newcommand{name}{NAME}
newcommand{addr}{ADDR}
newcommand{phone}{PHONE}
newcommand{email}{EMAIL}

newenvironment{cvsection}[1]{
    vspace{32pt}hspace{16 pt}textbf{normalsize{#1}}vspace{-11pt}
    
    textcolor{gray}{ruletextwidth{0.1pt}}vspace{16pt}
    
}


newenvironment{cvitem}[3]{

begin{tabularx}{textwidth}{p{0.3textwidth}p{0.67textwidth}p{0.03textwidth}}
hspace{32 pt}textsc{small#1} & small#2
begin{itemize} 
scriptsize#3
end{itemize} &
end{tabularx}
vspace{-6pt}

}

newcommand{cvsmallitem}[2]{

begin{tabularx}{textwidth}{p{0.3textwidth}p{0.67textwidth}p{0.03textwidth}}
hspace{32 pt}textsc{small#1} & small#2 &
end{tabularx}

}

%--------------------Beginn Document----------------------------
begin{document}

vspace{0pt}
textsc{begin{center}Hugesonameend{center}} 
textsc{begin{center}hugeso{Curriculum Vitae}end{center}} 
textsc{begin{center}largeso{FEbruary 2012}end{center}}

%--------------------Sections-----------------------------------
%Section: Personal Data
...

end{document}  

these are my initial setting and this is the first part of the output:
enter image description here

Additionally, special German characters are not being displayed correctly.

One Answer

I too use TeXShop on my Macs and if you're using the systemwide Dark Mode, the TeXShop Preview window takes on a gray color. I just noticed I'm also using TeXShop's DarkTheme theme. I haven't tested whether or not this theme causes the gray Preview background when not using the systemwide Dark Mode. The point is nothing is wrong with your document or with TeXShop. It's a Dark Mode issue.

Correct answer by LaTeXereXeTaL on March 22, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP