summaryrefslogtreecommitdiff
path: root/Master/texmf-doc/doc/german/kopka/uebungen/kapitel7/ueb7-6.tex
blob: 0237bde4732cea7869e007fe7d978c62fc72bddc (plain)
1
2
3
4
5
6
7
8
9
10
\documentclass{article}
\usepackage{german}
\newlength{\breite}
\newcommand{\textbox}[2][xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx]%
   {\settowidth{\breite}{#1}\framebox[\breite]{#2}}
\begin{document}
\noindent
\textbox{ohne optionales Argument}\\
\textbox[mit optionalem Argument]{mit opt. Argument}
\end{document}