initiale Übernahme
This commit is contained in:
@@ -0,0 +1,191 @@
|
||||
$passoptions.latex()$
|
||||
\documentclass[
|
||||
$for(babel-otherlangs)$
|
||||
$babel-otherlangs$,
|
||||
$endfor$
|
||||
$if(babel-lang)$
|
||||
$babel-lang$,
|
||||
$endif$
|
||||
$if(fontsize)$
|
||||
$fontsize$,
|
||||
$endif$
|
||||
$if(papersize)$
|
||||
$papersize$paper,
|
||||
$else$
|
||||
a4paper,
|
||||
$endif$
|
||||
$for(classoption)$
|
||||
$classoption$$sep$,
|
||||
$endfor$
|
||||
]{article}
|
||||
|
||||
%%%%%%%
|
||||
|
||||
\usepackage{xcolor}
|
||||
\usepackage{amsmath,amssymb}
|
||||
$if(cancel)$
|
||||
\usepackage{cancel}
|
||||
$endif$
|
||||
$--
|
||||
$-- section numbering
|
||||
$--
|
||||
$if(numbersections)$
|
||||
\setcounter{secnumdepth}{$if(secnumdepth)$$secnumdepth$$else$5$endif$}
|
||||
$else$
|
||||
\setcounter{secnumdepth}{-\maxdimen} % remove section numbering
|
||||
$endif$
|
||||
|
||||
$fonts.latex()$
|
||||
$font-settings.latex()$
|
||||
$common.latex()$
|
||||
$for(header-includes)$
|
||||
$header-includes$
|
||||
$endfor$
|
||||
$after-header-includes.latex()$
|
||||
$hypersetup.latex()$
|
||||
|
||||
$if(pdf-trailer-id)$
|
||||
|
||||
\ifXeTeX
|
||||
\special{pdf:trailerid [ $pdf-trailer-id$ ]}
|
||||
\fi
|
||||
\ifPDFTeX
|
||||
\pdftrailerid{}
|
||||
\pdftrailer{/ID [ $pdf-trailer-id$ ]}
|
||||
\fi
|
||||
\ifLuaTeX
|
||||
\pdfvariable trailerid {[ $pdf-trailer-id$ ]}
|
||||
\fi
|
||||
$endif$
|
||||
|
||||
%%%%%%%
|
||||
|
||||
\usepackage[$if(babel-lang)$$babel-lang$$else$english$endif$]{babel}
|
||||
\usepackage[utf8x]{inputenc}
|
||||
\usepackage[T1]{fontenc}
|
||||
\usepackage{lmodern}
|
||||
\usepackage{marvosym}
|
||||
\usepackage[dvips]{graphicx}
|
||||
|
||||
\pagestyle{empty}
|
||||
|
||||
\def\textblockwidth{35mm}
|
||||
$if(attachments)$
|
||||
\def\marginaliasize{50mm}
|
||||
$else$
|
||||
\def\marginaliasize{20mm}
|
||||
$endif$
|
||||
|
||||
\usepackage[
|
||||
scale=0.775,
|
||||
top=20mm,
|
||||
bottom=20mm,
|
||||
left=\marginaliasize, % To place attachment list to the side
|
||||
right=20mm
|
||||
]{geometry}
|
||||
\setlength{\parindent}{0pt}
|
||||
\addtolength{\parskip}{6pt}
|
||||
|
||||
\renewcommand{\ttdefault}{pcr}
|
||||
\usepackage{url}
|
||||
\urlstyle{tt}
|
||||
|
||||
\usepackage{hyperref}
|
||||
\hypersetup{
|
||||
pdfauthor = $author.firstname$ $author.lastname$,%
|
||||
pdftitle = Application $author.firstname$ $author.lastname$,%
|
||||
pdfsubject = Application,%
|
||||
pdfcreator = \LaTeX,%
|
||||
pdfproducer = \LaTeX
|
||||
}
|
||||
|
||||
\definecolor{color1}{RGB}{85,85,125}
|
||||
\definecolor{color2}{RGB}{57,74,138}
|
||||
\definecolor{attachments}{RGB}{128, 128, 128}
|
||||
\hypersetup{pdfborder=0 0 0}
|
||||
\usepackage{pdfpages}
|
||||
|
||||
\usepackage{ragged2e} % For enabling hyphenation on demand (RaggedRight instead of raggedright)
|
||||
|
||||
% Additional stuff for the CV attachments
|
||||
\usepackage[overlay,absolute]{textpos}
|
||||
\usepackage{enumitem} % For very tight lists
|
||||
|
||||
\begin{document}
|
||||
|
||||
\sffamily % for use with a résumé using sans serif fonts;
|
||||
%\rmfamily % for use with a résumé using serif fonts;
|
||||
|
||||
$for(include-before)$
|
||||
$include-before$
|
||||
|
||||
$endfor$
|
||||
|
||||
$if(linestretch)$
|
||||
\setstretch{$linestretch$}
|
||||
$endif$
|
||||
|
||||
\hfill%
|
||||
|
||||
\begin{minipage}[t]{1\textwidth}
|
||||
\begin{FlushRight}
|
||||
{\bfseries\color{color1} $author.firstname$ $author.lastname$}\\[.35ex]
|
||||
\small%
|
||||
$for(author.address)$
|
||||
$it$ \\
|
||||
$endfor$ [.35ex]
|
||||
\Mobilefone~$author.phone$\\
|
||||
\Letter~\href{mailto:$author.email$}{$author.email$}
|
||||
\end{FlushRight}
|
||||
\end{minipage}
|
||||
|
||||
%
|
||||
{\color{color1}\rule{\textwidth}{.25ex}}
|
||||
%
|
||||
\vspace{.25ex}
|
||||
|
||||
\begin{minipage}[t]{1\textwidth}
|
||||
\begin{FlushLeft}
|
||||
$for(to_address)$
|
||||
$to_address$ \\
|
||||
$endfor$
|
||||
\end{FlushLeft}
|
||||
\end{minipage}
|
||||
|
||||
\vspace{-2em}
|
||||
\begin{minipage}[t]{1\textwidth}
|
||||
\begin{FlushRight}
|
||||
$if(date)$
|
||||
$date$
|
||||
$else$
|
||||
\today
|
||||
$endif$
|
||||
\end{FlushRight}
|
||||
\end{minipage}
|
||||
|
||||
\vspace{1em}
|
||||
{\bfseries \color{color2}$subject$}
|
||||
\vspace{1em}
|
||||
|
||||
$body$
|
||||
|
||||
$if(attachments)$
|
||||
\textblockorigin{0mm}{0mm}
|
||||
\begin{textblock*}{30mm}[0,0](15mm,20mm) % Place on top
|
||||
\begin{minipage}[t]{30mm}
|
||||
\raggedright
|
||||
\color{attachments}
|
||||
\fontsize{8}{8}\selectfont
|
||||
%\tiny
|
||||
{\bfseries $if(attachments_title)$$attachments_title$$else$Attachments$endif$}\\[5mm]
|
||||
\begin{itemize}[leftmargin=0mm]
|
||||
\setlength\itemsep{2pt}
|
||||
$for(attachments)$
|
||||
\item[--] $attachments$
|
||||
$endfor$
|
||||
\end{itemize}
|
||||
\end{minipage}
|
||||
\end{textblock*}
|
||||
$endif$
|
||||
|
||||
\end{document}
|
||||
@@ -0,0 +1,33 @@
|
||||
# ZETTLR DEFAULTS FILE
|
||||
# ====================
|
||||
# Conversion: Markdown --> PDF (requires TeX suite to be installed)
|
||||
# More info: https://pandoc.org/MANUAL.html
|
||||
reader: markdown+mark
|
||||
writer: pdf
|
||||
self-contained: true
|
||||
file-scope: true
|
||||
template: '/Users/hendrik/Nextcloud/Templates/application_cover_letter.tex'
|
||||
variables:
|
||||
# Sets the size of the document's pages.
|
||||
papersize: a4 # Possible values: a0-a6, b0-b6, c0-c6,b0j, letter, executive, legal
|
||||
# Further variables are documented here: https://pandoc.org/MANUAL.html#variables-for-latex
|
||||
metadata:
|
||||
reference-section-title: References
|
||||
top-level-division: default
|
||||
pdf-engine: xelatex # Change this if you want to use a different engine, e.g. pdflatex
|
||||
dpi: 72
|
||||
toc: false # Include a table of contents?
|
||||
toc-depth: 2 # 2 means to only include headings level 1 and 2 in the ToC
|
||||
number-sections: false
|
||||
section-divs: true
|
||||
identifier-prefix: ''
|
||||
title-prefix: ''
|
||||
eol: lf
|
||||
strip-comments: false
|
||||
indented-code-classes: []
|
||||
ascii: false
|
||||
default-image-extension: .jpg
|
||||
highlight-style: pygments
|
||||
tab-stop: 4
|
||||
preserve-tabs: false
|
||||
fail-if-warnings: false
|
||||
@@ -0,0 +1,32 @@
|
||||
name: Simple Application Cover Letter
|
||||
version: 1
|
||||
description: |
|
||||
A simple cover letter template for applications.
|
||||
instructions: |
|
||||
This template allows you to typeset cover letters for applications. It is
|
||||
intended to be run simply by writing the main body of the cover letter in a
|
||||
Markdown file and provide some metadata, including addresses, as YAML
|
||||
frontmatter variables. You have the following variables available:
|
||||
|
||||
* `author`: An object with information about yourself. It must contain the
|
||||
following keys:
|
||||
* `firstname`: Your firstname, and potential middle names
|
||||
* `lastname`: Your last, or family name
|
||||
* `address`: This is a list of address lines. These appear on the top-right.
|
||||
* `email`: Your email address. Appears below the address.
|
||||
* `phone`: Your phone number. Appears below the address.
|
||||
* `subject`: This is the subject line of the cover letter. Appears between
|
||||
addressée and the main body of your letter.
|
||||
* `to_address`: This is a list of address lines to where you are addressing
|
||||
the letter.
|
||||
* `attachments`: If you have attachments to your application (such as a CV),
|
||||
and want to include them on your letter, list them here.
|
||||
* `attachments_title`: By default, the attachment section will be headed by
|
||||
"Attachments". Here you can customize this (e.g., by translating).
|
||||
|
||||
Note that you also have some of the standard Pandoc variables such as
|
||||
`fontsize` available to use in your frontmatter, too.
|
||||
authors:
|
||||
original: Unknown
|
||||
templater: Hendrik Erz
|
||||
copyright: None
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 70 KiB |
Reference in New Issue
Block a user