summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/latex-tipps-und-tricks/underlin.tex
blob: ae636445271e3144fc9f2a15ed44054c7fc8d26d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
\documentclass[a4paper,12pt]{report}
\begin{document}

\newlength{\laenge}
\newcommand{\strich}[2][.5ex]
  {\settowidth{\laenge}{#2}%
   \makebox[0pt][l]{#2}%
   \rule[#1]{\laenge}{0.15mm}}

... was zur \strich{Durchstreichung} ...
... \strich[-1pt]{Unterstreichen} ...

\end{document}