Commit 92fc9b95 authored by Jens Dieskau's avatar Jens Dieskau
Browse files

Small design changes

parent ea6c7643
Pipeline #3197 failed with stages
in 1 minute and 59 seconds
......@@ -90,11 +90,13 @@ function cvitems(section, start, stop)
tex.print(string.format([[ \cvitem{%s}{%s}{}{ ]], date, entry['company']))
end
tex.print([[ \vspace{-1.2\topsep}\begin{itemize}[nosep, leftmargin=10pt, rightmargin=0pt] ]])
for i, highlight in ipairs(entry['highlights']) do
tex.print(string.format([[ \item %s ]], highlight))
if entry['highlights'] ~= nil and table.getn(entry['highlights']) > 0 then
tex.print([[ \vspace{-1.2\topsep}\begin{itemize}[nosep, leftmargin=10pt, rightmargin=0pt] ]])
for i, highlight in ipairs(entry['highlights']) do
tex.print(string.format([[ \item %s ]], highlight))
end
tex.print([[ \end{itemize} ]] )
end
tex.print([[ \end{itemize} ]] )
tex.print([[ }\vspace{0.5\topsep} ]])
......
......@@ -234,14 +234,14 @@
%py:beg
\vspace*{-0.5em}
\cvsection{\MakeUppercase{\luadirect{i18n('work_experience')}}}
\begin{cvtable}[1.5]
\begin{cvtable}[1.2]
\luadirect{cvitems("work")}
\end{cvtable}
\vspace{-1.8em}
\cvsubsection{\luadirect{i18n('freelance')}}
\begin{cvtable}[1.5]
\begin{cvtable}[1.2]
\luadirect{cvitems("freelance", 0, 2)}
\end{cvtable}
......@@ -249,7 +249,7 @@
\makebacksidebar
\begin{cvtable}[1.5]
\begin{cvtable}[1.2]
\luadirect{cvitems("freelance", 3)}
\end{cvtable}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment