Pārlūkot izejas kodu

Fix alignment of year marginpar environment

Ryan C. Thompson 5 gadi atpakaļ
vecāks
revīzija
b4f518d8e1
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      xetexCV.cls

+ 1 - 1
xetexCV.cls

@@ -67,7 +67,7 @@ uses the xetex typesetting system.]
 
 % Spcial Commands for Fancy Characters and Years
 \newcommand{\amper}{{\fontspec[Scale=.95]{Hoefler Text}\selectfont\itshape\&}}
-\newcommand{\years}[1]{\marginpar{\hspace{5.13cm}\parbox{3.0cm}{\emph{#1}}}}
+\newcommand{\years}[1]{\leavevmode\marginpar{\hspace{5.13cm}\parbox{3.0cm}{\emph{#1}}}\ignorespaces}
 
 % Headings and Heading Fonts
 \RequirePackage[normalem]{ulem}