11.07.2015 Aufrufe

Paket zur Erstellung wissenschaftlicher Arbeiten in LaTeX

Paket zur Erstellung wissenschaftlicher Arbeiten in LaTeX

Paket zur Erstellung wissenschaftlicher Arbeiten in LaTeX

MEHR ANZEIGEN
WENIGER ANZEIGEN

Sie wollen auch ein ePaper? Erhöhen Sie die Reichweite Ihrer Titel.

YUMPU macht aus Druck-PDFs automatisch weboptimierte ePaper, die Google liebt.

Anhang A198: % be def<strong>in</strong>ed outside any other macro).199: \newsavebox{\pf@box}200: % Def<strong>in</strong>ition of pla<strong>in</strong> figure’s environment beg<strong>in</strong> section.201: \def\@iiPla<strong>in</strong>Figure[#1][#2]#3#4#5{%202: % Save given parameters for a later usage.203: \def\pf@width{#1\textwidth}204: \def\pf@caption{#3}205: \def\pf@label{#4}206: \def\pf@source{#5}207: % Prepare content sett<strong>in</strong>gs depend<strong>in</strong>g on given parameter.208: \ifthenelse{\equal{#2}{box}}{%209: \def\pf@content{%210: \beg<strong>in</strong>{lrbox}{\pf@box}211: \beg<strong>in</strong>{m<strong>in</strong>ipage}{\pf@width}}212: \def\endpf@content{%213: \end{m<strong>in</strong>ipage}214: \end{lrbox}215: \setlength{\fboxsep}{5pt}216: \fbox{\usebox{\pf@box}}}}{%217: \def\pf@content{%218: \beg<strong>in</strong>{m<strong>in</strong>ipage}{\pf@width}}219: \def\endpf@content{%220: \end{m<strong>in</strong>ipage}}}221: % Beg<strong>in</strong> with environment start section.222: \beg<strong>in</strong>{figure}[htb]%223: \bigskip%224: \center<strong>in</strong>g%225: \beg<strong>in</strong>{pf@content}226: }%227: % Def<strong>in</strong>ition of pla<strong>in</strong> figure’s environment end section.228: \def\end@iiPla<strong>in</strong>Figure{%229: % End with content environment.230: \end{pf@content}231: % Display source data and figure caption.232: \setlength{\abovecaptionskip}{4pt}233: \@sourcebox{\pf@width}{\pf@source}234: \parbox{\pf@width}{%235: \caption{\pf@caption}\protect\label{\pf@label}}236: % End all other environments.237: \end{figure}%238: }%239: %-----------------------------------------------------------240: % Def<strong>in</strong>e some figure depend<strong>in</strong>g <strong>in</strong>ternal values.241: %-----------------------------------------------------------242: % Def<strong>in</strong>ition of an if-statement to f<strong>in</strong>d out if a box should243: % be used around a figure. This ’if’ has to be def<strong>in</strong>ed "out244: % of every block"! Otherwise an error message comes up while245: % compilation.246: \newif\if@usefigurebox247: % Def<strong>in</strong>e some <strong>in</strong>ternally used length values.248: \newlength{\@figurewidth}133

Hurra! Ihre Datei wurde hochgeladen und ist bereit für die Veröffentlichung.

Erfolgreich gespeichert!

Leider ist etwas schief gelaufen!