jsonresume/themes/tex/resume_template.tex

91 lines
2.7 KiB
TeX
Raw Normal View History

2018-05-10 17:23:38 +02:00
\documentclass[a4paper,10pt]{article}
\usepackage{parskip}
\usepackage[cm]{fullpage}
\usepackage{titlesec}
\usepackage{array}
2018-06-06 00:20:51 +02:00
\usepackage{tabularx}
2018-05-10 17:23:38 +02:00
\usepackage[hidelinks]{hyperref}
\titleformat{\section}{\Large\scshape\raggedright}{}{0em}{}[\titlerule]
\titlespacing{\section}{0pt}{3pt}{3pt}
\addtolength{\textheight}{3cm}
\pagestyle{empty}
\begin{document}
\par{\centering {\Large {{.Basic.Name -}} }\par}
\par{\centering {\large {{.Basic.Label -}} }\par}
\par{\centering
{{if .Basic.Location.Address}}{{.Basic.Location.Address}}\\{{end}}
{{if .Basic.Location.PostalCode}}{{.Basic.Location.PostalCode}} {{end}}{{.Basic.Location.City}}\\
2018-06-06 00:20:51 +02:00
{{if .Basic.Location.CountryCode}}{{.Basic.Location.CountryCode}}\\{{end}}
{{if .Basic.Phone}}{{.Basic.Phone}}\\{{end}}
{{if .Basic.Email}}{{.Basic.Email}}\\{{end}}
2018-06-06 00:20:51 +02:00
{{if .Basic.URL}}\href{ {{- .Basic.URL -}} }{ {{- .Basic.URL -}} }{{end}}
2018-05-10 17:23:38 +02:00
\par}
2018-06-06 00:20:51 +02:00
{{if or .Skills .Languages -}}
2018-05-10 17:23:38 +02:00
\section{ {{- .Lang.Skills -}} }
\renewcommand{\arraystretch}{0.5}
2018-06-06 00:20:51 +02:00
\begin{tabularx}{\textwidth}{c|X}
2018-05-10 17:23:38 +02:00
{{range .Skills -}}
2018-06-06 00:20:51 +02:00
{{- .Name}}&{{- range $i, $k := .Keywords}}{{if eq $i 0}}{{$k}}{{else}}, {{$k}}{{end}}{{end -}}\\
2018-05-10 17:23:38 +02:00
\multicolumn{2}{c}{} \\
{{end -}}
{{if .Languages -}}
2018-06-06 00:20:51 +02:00
\multicolumn{2}{c}{} \\
2018-05-10 17:23:38 +02:00
{{.Lang.Languages}}&
{{- range $i, $l := .Languages -}}
{{- if gt $i 0}}, {{end -}}
{{- .Language}} ({{.Fluency}})
{{- end -}}\\
2018-06-06 00:20:51 +02:00
{{end}}
\end{tabularx}
{{end}}
\renewcommand{\arraystretch}{1}
2018-05-10 17:23:38 +02:00
{{if .Work -}}
\section{ {{- .Lang.WorkExperience -}} }
2018-06-06 00:20:51 +02:00
\begin{tabularx}{\textwidth}{c|X}
2018-05-10 17:23:38 +02:00
{{range .Work -}}
2018-06-06 00:20:51 +02:00
{{formatDateMY .EndDate}}&\textbf{ {{- .Name -}} }, \textbf{ {{- .Position -}} }\\
2018-05-10 17:23:38 +02:00
{{formatDateMY .StartDate -}}
{{range $i, $h := .Highlights -}}
&\textbf{--} {{$h.Title}}\\
{{range $h.Items -}}
&\hspace{0.5cm}\textbf{\labelitemiv} {{.}}\\
{{end -}}
{{end -}}
\multicolumn{2}{c}{} \\
{{end -}}
2018-06-06 00:20:51 +02:00
\end{tabularx}
2018-05-10 17:23:38 +02:00
{{- end}}
{{if .Education -}}
\section{ {{- .Lang.Education -}} }
2018-06-06 00:20:51 +02:00
\begin{tabularx}{\textwidth}{c|X}
2018-05-10 17:23:38 +02:00
{{range $i, $e := .Education -}}
{{if gt $i 0}}\muticolumn{2}{c}{} \\{{end -}}
{{formatDateY $e.StartDate}} - {{formatDateY $e.EndDate}}&{{$e.StudyType}} {{$.Lang.In}} {{$e.Area}} {{$.Lang.At}} {{md2tex $e.Institution}}\\
{{end -}}
2018-06-06 00:20:51 +02:00
\end{tabularx}
2018-05-10 17:23:38 +02:00
{{- end}}
{{if .Volunteer -}}
\section{ {{- .Lang.Volunteer -}} }
2018-06-06 00:20:51 +02:00
\begin{tabularx}{\textwidth}{c|X}
2018-05-10 17:23:38 +02:00
{{range $i, $v := .Volunteer -}}
{{if gt $i 0}}\multicolumn{2}{c}{} \\{{end -}}
{{if $v.URL -}}
\href{ {{- $v.URL -}} }{ {{- $v.Organization -}} }&{{$v.Position}}\\
{{- else -}}
{{$v.Organization}}&{{$v.Position}}\\
{{- end}}
{{range $j, $h := $v.Highlights -}}
{{if gt $j 0}}& \\{{end -}}
&\textbf{--} {{md2tex .Title}}\\
{{range .Items -}}
&\hspace{0.5cm}\textbf{\labelitemiv} {{.}}\\
{{end -}}
{{end}}
{{- end -}}
2018-06-06 00:20:51 +02:00
\end{tabularx}
2018-05-10 17:23:38 +02:00
{{- end}}
\end{document}