leserbrief multicol fixung

This commit is contained in:
john stone 2013-07-23 02:29:26 +02:00
parent 740dcbad42
commit 1208905376
2 changed files with 13 additions and 3 deletions

View File

@ -127,10 +127,17 @@
}
\newcounter{NumOfLetters}
\newenvironment{DSletters}{%
\manrunninghead{Leserbriefe}
\setcounter{NumOfLetters}{0}
\begin{multicols}{2}
}
{%
\end{multicols}
}
\newenvironment{letter}{%
\begin{multicols}{2}
\setlength{\parskip}{2.5mm}%
\setlength{\parindent}{0mm}%
\ifthenelse{\equal{\arabic{NumOfLetters}}{0}}{}{%
@ -151,10 +158,10 @@
}%
\stepcounter{NumOfLetters}%
}{%
\end{multicols}
}
\newenvironment{question}{%
}{%
\par
}
\newenvironment{answer}{%
\itshape%

View File

@ -8,8 +8,8 @@
\begin{document}
\manrunninghead{Leserbriefe}
\begin{DSletters}
\begin{letter}
\begin{question}
@ -51,6 +51,9 @@
\end{answer}
\end{letter}
\end{DSletters}
\begin{figure}[b!]
\includegraphics[width=1\linewidth]{flickr_mightyjohn_3985923685_cc-by-sa.jpg}
\caption{Flickr, by mightyjohn, cc-by-sa}