mirror of
https://github.com/moderncv/moderncv.git
synced 2026-02-06 10:05:19 +01:00
cvtripleitem for banking style
This commit is contained in:
parent
8008363bb7
commit
74309aee67
1 changed files with 12 additions and 0 deletions
|
|
@ -83,6 +83,8 @@
|
||||||
\@initializelength{\maincolumnwidth}
|
\@initializelength{\maincolumnwidth}
|
||||||
% used by \cvdoubleitem
|
% used by \cvdoubleitem
|
||||||
\@initializelength{\doubleitemcolumnwidth}
|
\@initializelength{\doubleitemcolumnwidth}
|
||||||
|
% used by \cvtripleitem
|
||||||
|
\@initializelength{\tripleitemcolumnwidth}
|
||||||
% used by \cvlistitem
|
% used by \cvlistitem
|
||||||
\@initializelength{\listitemsymbolwidth} \settowidth{\listitemsymbolwidth}{\listitemsymbol}
|
\@initializelength{\listitemsymbolwidth} \settowidth{\listitemsymbolwidth}{\listitemsymbol}
|
||||||
\@initializelength{\listitemcolumnwidth}
|
\@initializelength{\listitemcolumnwidth}
|
||||||
|
|
@ -96,6 +98,8 @@
|
||||||
\setlength{\listitemcolumnwidth}{\maincolumnwidth-\listitemsymbolwidth}%
|
\setlength{\listitemcolumnwidth}{\maincolumnwidth-\listitemsymbolwidth}%
|
||||||
\setlength{\doubleitemcolumnwidth}{\maincolumnwidth-\separatorcolumnwidth}%
|
\setlength{\doubleitemcolumnwidth}{\maincolumnwidth-\separatorcolumnwidth}%
|
||||||
\setlength{\doubleitemcolumnwidth}{0.5\doubleitemcolumnwidth}%
|
\setlength{\doubleitemcolumnwidth}{0.5\doubleitemcolumnwidth}%
|
||||||
|
\setlength{\tripleitemcolumnwidth}{\maincolumnwidth-\separatorcolumnwidth-\separatorcolumnwidth}%
|
||||||
|
\setlength{\tripleitemcolumnwidth}{0.33\tripleitemcolumnwidth}%
|
||||||
\setlength{\listdoubleitemcolumnwidth}{\maincolumnwidth-\listitemsymbolwidth-\separatorcolumnwidth-\listitemsymbolwidth}%
|
\setlength{\listdoubleitemcolumnwidth}{\maincolumnwidth-\listitemsymbolwidth-\separatorcolumnwidth-\listitemsymbolwidth}%
|
||||||
\setlength{\listdoubleitemcolumnwidth}{0.5\listdoubleitemcolumnwidth}%
|
\setlength{\listdoubleitemcolumnwidth}{0.5\listdoubleitemcolumnwidth}%
|
||||||
\recompute@cvskillmatrix@lengths
|
\recompute@cvskillmatrix@lengths
|
||||||
|
|
@ -155,6 +159,14 @@
|
||||||
\begin{minipage}[t]{\doubleitemcolumnwidth}\ifstrempty{#4}{}{\hintstyle{#4}: }#5\end{minipage}%
|
\begin{minipage}[t]{\doubleitemcolumnwidth}\ifstrempty{#4}{}{\hintstyle{#4}: }#5\end{minipage}%
|
||||||
\par\addvspace{#1}}
|
\par\addvspace{#1}}
|
||||||
|
|
||||||
|
\renewcommand*{\cvtripleitem}[7][.1em]{%
|
||||||
|
\begin{minipage}[t]{\tripleitemcolumnwidth}\hintstyle{#2}: #3\end{minipage}%
|
||||||
|
\hfill% fill of \separatorcolumnwidth
|
||||||
|
\begin{minipage}[t]{\tripleitemcolumnwidth}\hintstyle{#4}: #5\end{minipage}%
|
||||||
|
\hfill% fill of \separatorcolumnwidth
|
||||||
|
\begin{minipage}[t]{\tripleitemcolumnwidth}\ifstrempty{#6}{}{\hintstyle{#6}: }#7\end{minipage}%
|
||||||
|
\par\addvspace{#1}}
|
||||||
|
|
||||||
\renewcommand*{\cvlistitem}[2][.25em]{%
|
\renewcommand*{\cvlistitem}[2][.25em]{%
|
||||||
\listitemsymbol\begin{minipage}[t]{\listitemcolumnwidth}#2\end{minipage}%
|
\listitemsymbol\begin{minipage}[t]{\listitemcolumnwidth}#2\end{minipage}%
|
||||||
\par\addvspace{#1}}
|
\par\addvspace{#1}}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue