TeXnik - Tips TeX and LaTeX


Welcome to the TeXnik website (under construction)

TUG logo

Main page

Index
UK FAQ
Documentation
Software
CTAN
Search CTAN:

Statistics

Google c.t.t.

Google d.c.t.t.

 


 


\documentclass{article} \makeatletter \newenvironment{Annotation}[1]{% \def\AnnotBoxName{Annotation#1}% % Eine neue Box nur, wenn es sie noch nicht gibt: \@ifundefined{\AnnotBoxName}{% \expandafter\newsavebox\csname\AnnotBoxName\endcsname }{}% \expandafter\let\expandafter\AnnotBox\csname\AnnotBoxName\endcsname \begin{lrbox}{\AnnotBox}% \begin{minipage}{\linewidth}% }{% \end{minipage}% \end{lrbox}% \global\setbox\AnnotBox=\copy\AnnotBox } \makeatother \begin{document} \begin{Annotation}{bar} An Annotation ...\\ and a new line \end{Annotation} USEBOX: \usebox{\Annotationbar} \end{document}

local time: Thu Apr 25 12:39:10 CEST 2024 ; file is: 1764.78387731481 days old
contact webmaster _at_ TeXnik.de