Procrastination team, represent!
This is just too easy with TikZ ;-)
Now with correct colors, correct font and the code matches the picture. You will need to use xelatex
or lualatex
to typeset.
\documentclass{article}
\pagestyle{empty}
\usepackage{fontspec}
\setmainfont{Calibri}
\usepackage{tikz,xcolor,mwe}
\definecolor{cvgreen}{HTML}{92D14F}
\definecolor{cvgray}{HTML}{D8E4BE}
\definecolor{cvtext}{HTML}{92909B}
\usetikzlibrary{shadows}
\begin{document}
\begin{tikzpicture}[remember picture,overlay]
% green bar
\fill[cvgreen] (current page.north west) rectangle ([xshift=5cm]current page.south west);
% gray bar
\fill[cvgray] ([yshift=-5cm]current page.north west) rectangle ([yshift=-10cm]current page.north east);
% title and date
\node[cvtext,right] at ([yshift=-7cm]current page.north west) {\addfontfeature{Scale = 5}\bfseries Bewerbung als Bankkauffrau};
\node[cvtext,above left] at ([xshift=-1cm,yshift=-9.5cm]current page.north east) {\huge\bfseries zum 01.09.2013};
% cover photo
\node[inner sep=0pt,below right] (image) at ([xshift=5cm,yshift=-10cm]current page.north west) {\includegraphics[width=7cm,height=9cm]{example-image-a}};
% name and address
\node[fill=white,drop shadow,align=center,text width=6.4cm,inner sep=0.3cm,below] (name) at (image.south) {\LARGE Martina Mustermann};
\node[text width=15cm,inner sep=0.3cm,below right] at (name.south west) {\Large\obeylines%
Musterweg 8
81929 München
Tel.: 01 74 / 98 98 61
E-Mail: Martina.M@web.de
};
% attachments
\node[white,text width=5cm,inner sep=0.3cm,above right] at ([yshift=1cm]current page.south west) {\large\obeylines%
\textbf{Anlagen:}
Lebenslauf
Bewerbungsschreiben
Letzte 2 Schulzeugnisse
Praktikumsbestätigungen
};
\end{tikzpicture}
\end{document}
First, the spacing should be set using the setspace
package rather than altering \baselineskip
. You can then switch between double-spacing for the main part of the document and single-spacing for the list of acronyms using \doublespacing
and \singlespacing
. To illustrate this, the example below uses the lipsum
package to provide some dummy text. Remember to remove the lipsum
package and \lipsum
command from any real document. The example also uses dummy acronyms that are provided by the glossaries
package for testing purposes. These are contained in a file called example-glossaries-acronym.tex
and are loaded using \loadglsentries
. This just saves me typing a load of example acronyms. For your real document, either replace example-glossaries-acronym
with the name of a file containing all your acronym definitions or remove the \loadglsentries
line from the document and insert all your definitions in the document preamble.
\documentclass[a4paper,12pt]{report}
\usepackage{lipsum}% provides dummy text for testing
\usepackage[doublespacing]{setspace}
\usepackage[nopostdot,style=super,nonumberlist,toc]{glossaries}
\makeglossaries
% load some dummy acronyms for testing
\loadglsentries{example-glossaries-acronym.tex}
\begin{document}
\tableofcontents
\singlespacing
\printglossary[title={List of Abbreviations}]
\doublespacing
\chapter{Sample Text}
\lipsum % dummy text - remove from real document
Add all the acronyms for testing purposes \glsaddall
\end{document}
This produces (on pages 2 and 3):
There's a vertical gap between the letter groups. You can suppress this using the nogroupskip
package option. The width of the second column is given by the length \glsdescwidth
. You can change this (anywhere before \printglossary
) using \setlength
. For example:
\setlength{\glsdescwidth}{0.8\textwidth}
If you temporarily switch to the superborder
style (instead of the super
style) you'll see the available width of the second column. So replacing the line:
\usepackage[nopostdot,style=super,nonumberlist,toc]{glossaries}
with
\usepackage[nopostdot,nogroupskip,style=superborder,nonumberlist,toc]{glossaries}
produces:
Now you can adjust the value of \glsdescwidth
until the column width is satisfactory, then just switch back to the super
style.
Note: The dummy acronym file example-glossaries-acronym.tex
was added to the glossaries
package in v4.08. If you don't have the file installed, just add your own definitions.
Best Answer
What do you think about this suggestion: