mirror of
https://github.com/moderncv/moderncv.git
synced 2026-02-06 10:05:19 +01:00
* space control between list symbol and text feature (#74) * space control feature realized with option 2 (option 1 reverted)
This commit is contained in:
parent
beb45fb23a
commit
9687f709b7
7 changed files with 22 additions and 15 deletions
|
|
@ -53,6 +53,7 @@
|
|||
% used by \cvlistdoubleitem
|
||||
\@initializelength{\listdoubleitemcolumnwidth}
|
||||
%\@initializelength{\listdoubleitemmaincolumnwidth}
|
||||
\@initializelength{\listitemsymbolspace} \settowidth{\listitemsymbolspace}{0pt}
|
||||
|
||||
% commands
|
||||
\@initializecommand{\recomputecvbodylengths}{%
|
||||
|
|
@ -118,14 +119,14 @@
|
|||
\begin{minipage}[t]{\doubleitemcolumnwidth}\ifthenelse{\equal{#4}{}}{}{\hintstyle{#4}: }#5\end{minipage}}}
|
||||
|
||||
\renewcommand*{\cvlistitem}[2][.5ex]{%
|
||||
\@cvitem[#1]{}{\listitemsymbol\begin{minipage}[t]{\listitemcolumnwidth}#2\end{minipage}}}
|
||||
\@cvitem[#1]{}{\listitemsymbol\hspace{\listitemsymbolspace}\begin{minipage}[t]{\listitemcolumnwidth-\listitemsymbolspace}#2\end{minipage}}}
|
||||
|
||||
\renewcommand*{\cvlistdoubleitem}[3][.5ex]{%
|
||||
\@cvitem[#1]{}{\listitemsymbol\begin{minipage}[t]{\listdoubleitemcolumnwidth}#2\end{minipage}%
|
||||
\@cvitem[#1]{}{\listitemsymbol\hspace{\listitemsymbolspace}\begin{minipage}[t]{\listdoubleitemcolumnwidth-\listitemsymbolspace}#2\end{minipage}%
|
||||
\hfill% fill of \separatorcolumnwidth
|
||||
\ifthenelse{\equal{#3}{}}%
|
||||
{}%
|
||||
{\listitemsymbol\begin{minipage}[t]{\listdoubleitemcolumnwidth}#3\end{minipage}}}}
|
||||
{\listitemsymbol\hspace{\listitemsymbolspace}\begin{minipage}[t]{\listdoubleitemcolumnwidth-\listitemsymbolspace}#3\end{minipage}}}}
|
||||
|
||||
\@initializebox{\cventryyearbox}
|
||||
\@initializelength{\cventrytitleboxwidth}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue