lebenslauf in einem extra tex file

This commit is contained in:
trnq1ll0 committed 2025-08-21 21:37:23 +02:00
1 parent 278661d26b
commit 0521a7b181
3 files changed
+462 -27

No files matched your search

+66 -16
View File
@@ -424,20 +424,20 @@
% Define a header for CV
% Usage: \makecvheader
\newcommand*{\makecvheader}[1][C]{%
\newcommand*{\drawphoto}{%
\ifthenelse{\isundefined{\@photo}}{}{%
\newlength{\photodim}
\ifthenelse{\equal{\@photoshape}{circle}}%
{\setlength{\photodim}{1.3cm}}%
{\setlength{\photodim}{1.8cm}}%
\ifthenelse{\equal{\@photoedge}{edge}}%
{\def\@photoborder{darkgray}}%
{\def\@photoborder{none}}%
\begin{tikzpicture}%
\node[\@photoshape, draw=\@photoborder, line width=0.3mm, inner sep=\photodim, fill overzoom image=\@photo] () {};
\end{tikzpicture}
}%
}
% \newcommand*{\drawphoto}{%
% \ifthenelse{\isundefined{\@photo}}{}{%
% \newlength{\photodim}
% \ifthenelse{\equal{\@photoshape}{circle}}%
% {\setlength{\photodim}{1.3cm}}%
% {\setlength{\photodim}{1.8cm}}%
% \ifthenelse{\equal{\@photoedge}{edge}}%
% {\def\@photoborder{darkgray}}%
% {\def\@photoborder{none}}%
% \begin{tikzpicture}%
% \node[\@photoshape, draw=\@photoborder, line width=0.3mm, inner sep=\photodim, fill overzoom image=\@photo] () {};
% \end{tikzpicture}
% }%
% }
\newlength{\headertextwidth}
\newlength{\headerphotowidth}
\ifthenelse{\isundefined{\@photo}}{
@@ -557,6 +557,40 @@
\end{minipage}
}
% Define a wide header for CV with horizontal layout
% Usage: \makecvheaderwide[C|L|R]
\newlength{\headertextwidthwide}
\newcommand*{\makecvheaderwide}[1][C]{%
\setlength{\headertextwidthwide}{\textwidth}
\begin{minipage}[c]{\headertextwidthwide}
\ifthenelse{\equal{#1}{L}}{\raggedright}{\ifthenelse{\equal{#1}{R}}{\raggedleft}{\centering}}
% Drei Spalten: Adresse links, Name/Position mitte, Kontakt rechts
\begin{minipage}[t]{0.2\textwidth}
\raggedright
\ifthenelse{\isundefined{\@address}}{}{\headeraddressstyle{\@address}}%
\end{minipage}%
\hfill%
\begin{minipage}[t]{0.6\textwidth}
\centering
\headerfirstnamestyle{\@firstname}\headerlastnamestyle{{}\acvHeaderNameDelim\@lastname}%
\\[\acvHeaderAfterNameSkip]%
\ifthenelse{\isundefined{\@position}}{}{\headerpositionstyle{\@position}}%
\end{minipage}%
\hfill%
\begin{minipage}[t]{0.2\textwidth}
\raggedleft
\headersocialstyle{%
\ifthenelse{\isundefined{\@mobile}}{}{\faMobile\acvHeaderIconSep\@mobile\\}%
\ifthenelse{\isundefined{\@email}}{}{\href{mailto:\@email}{\faEnvelope\acvHeaderIconSep\@email}}%
}%
\end{minipage}
\end{minipage}%
\\[\acvHeaderAfterSocialSkip]%
}
% Define a footer for CV
% Usage: \makecvfooter{<left>}{<center>}{<right>}
\newcommand*{\makecvfooter}[3]{%
@@ -594,6 +628,20 @@
\vspace{2mm}
}
% Define a narrow paragraph for CV (left-aligned like cvitems)
\newenvironment{cvparagraphnarrow}[1][0.85]{%
\vspace{\acvSectionContentTopSkip}
\vspace{-3mm}
\begin{minipage}{#1\textwidth}
\setlength\leftskip{0ex}
\raggedright
\paragraphstyle
}{%
\end{minipage}
\par
\vspace{2mm}
}
% Define an environment for cventry
\newenvironment{cventries}{%
\vspace{\acvSectionContentTopSkip}
@@ -712,7 +760,7 @@
% Define a title of the cover letter
% Usage: \makelettertitle
\newcommand*{\makelettertitle}{%
\vspace{8.4mm}
\vspace{5.4mm}
\setlength\tabcolsep{0pt}
\setlength{\extrarowheight}{0pt}
\begin{tabular*}{\textwidth}{@{\extracolsep{\fill}} L{\textwidth - 4.5cm} R{4.5cm}}
@@ -724,7 +772,9 @@
\ifthenelse{\isundefined{\@lettertitle}}
{}
{\lettertitlestyle{\@lettertitle} \\}
\lettertextstyle{\@letteropening}
\begin{singlespace}
\lettertextstyle{\@letteropening}
\end{singlespace}
}
% Define a closing of the cover letter