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

View File

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