Here is the story.
I'm using a two columns layout (parallel package), and also managed to spell the numbered lists using english/spanish wording, however, I would like to fix the indentation of the main labels because they're overlapping like in the image below:
If you look at the "TERCERA" text, it ends up overlapping the english text "THIRD"
Ideally, I would like to:
- indent the list items so that "TERCERA" can be moved 2cm to the right, but end at the same point where it is ending now.
-indent the list items "THIRD" so that it will be 2cm to the right as well.
My current code looks like this:
The preamble
Code: Select all
% spelling clauses BEGIN
\makeatletter
\newcommand*{\spelledEN}[1]{%
\expandafter\@spelledEN\csname c@#1\endcsname
}
\newcommand*{\@spelledEN}[1]{%
\ifcase#1\or{First}\or{Second}\or{Third}\or{Fourth}\or{Fifth}\or{Sixth}\or{Seventh}\or{Eighth}\or{Ninth}\or{Tenth}\or{Eleventh}\or{Twelvth}\or{Thirteenth}\or{Fourteenth}\or{Fifteenth}\or{Sixteenth}\or{Seventeenth}\or{Eighteenth}\or{Nineteenth}\or{Twentyth}\else\@ctrerr\fi
}
\AddEnumerateCounter{\spelledEN}{\@spelledEN}{Seventeenth}
\makeatother
\makeatletter
\newcommand*{\spelledES}[1]{%
\expandafter\@spelledES\csname c@#1\endcsname
}
\newcommand*{\@spelledES}[1]{%
\ifcase#1\or{Primera}\or{Segunda}\or{Tercera}\or{Cuarta}\or{Quinta}\or{Sexta}\or{S\'eptima}\or{Octava}\or{Novena}\or{D\'ecima}\or{Und\'ecima}\or{Duodecima}\or{D\'ecimotercera}\or{D\'ecimoquarta}\or{D\'ecimoquinta}\or{D\'ecimosexta}\or{D\'ecimos\'eptima}\or{D\'ecimoctava}\or{D\'ecimonovena}\or{Vix\'esima}\else\@ctrerr\fi
}
\AddEnumerateCounter{\spelledES}{\@spelledES}{Decimotercera}
\makeatother
Code: Select all
\begin{Parallel}[c]{}{}
\ParallelLText{ % left collumn
\begin{enumerate}[leftmargin=15pt,rightmargin=245pt,label={\MakeUppercase{\spelledES*.}}]
\item{DURACIÓN DEL CONTRATO Y PERIODO DE PRUEBA}
\begin{enumerate}
\item{lorem ipsum dolor sit amet}
\end{enumerate}
\end{enumerate}
}%end of left collumn
\ParallelRText{% right collumn
\begin{enumerate}[leftmargin=260pt,label={\MakeUppercase{\spelledEN*.}}]
\item{DURATION/ TRIAL PERIOD}
\begin{enumerate}
\item{lorem ipsum dolor sit amet}
\end{enumerate}
\end{enumerate}
}%end of right collumn
\end{Parallel}
Many thanks