summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/latex-tipps-und-tricks/underlin.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/latex-tipps-und-tricks/underlin.tex')
-rw-r--r--Master/texmf-dist/doc/latex/latex-tipps-und-tricks/underlin.tex13
1 files changed, 13 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/latex-tipps-und-tricks/underlin.tex b/Master/texmf-dist/doc/latex/latex-tipps-und-tricks/underlin.tex
new file mode 100644
index 00000000000..ae636445271
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/latex-tipps-und-tricks/underlin.tex
@@ -0,0 +1,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} \ No newline at end of file