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

Erfolgreiche ePaper selbst erstellen

Machen Sie aus Ihren PDF Publikationen ein blätterbares Flipbook mit unserer einzigartigen Google optimierten e-Paper Software.

Anhang A143: \setlength{\item@topsep}{#1}}144: % This macro is used the reset lead<strong>in</strong>g gap of paragraphs145: % created by macro \Item to its default value of \parskip.146: % This macro does not have parameters.147: \newcommand{\DefaultItemOffset}{%148: \ItemOffset{\parskip}}149: % Def<strong>in</strong>ition of macro which supports a paragraph formatt<strong>in</strong>g150: % with a label and a body like a desription. The label of151: % the paragraph will be RIGHT aligned (the only difference152: % to macro \Remark). This macro def<strong>in</strong>es two obligational153: % parameters and two optional parameters.154: % Param1: Represents the paragraph’s left <strong>in</strong>dention. The155: % label will have 90% of this width and the gap156: % between label and body will be set to the rest.157: % Param2: Represents the paragraph’s gap to the text158: % before.159: % Param3: This obligational parameter is used as paragraph’s160: % label and can be formatted by the user.161: % Param4: This obligational parameter is used as paragraph’s162: % body and can conta<strong>in</strong> multiple paragraphs.163: % Sample: The recommended usage of this macro is for164: % paragraphs which expla<strong>in</strong> for example source165: % code commands like:166: % rm -rf: This command shouldn’t be used167: % with<strong>in</strong> the root directory!168: \newcommand{\Item}[1][\item@leftmarg<strong>in</strong>]{%169: \@ifnextchar[%170: {\@iiItem[#1]}171: {\@iiItem[#1][\item@topsep]}%]172: }%173: \long\def\@iiItem[#1][#2]#3#4{%174: \beg<strong>in</strong>{list}{}{%175: \setlength{\topsep}{#2}%176: \setlength{\parsep}{\parskip}%177: \setlength{\leftmarg<strong>in</strong>}{#1}%178: \setlength{\labelwidth}{0.9\leftmarg<strong>in</strong>}%179: \setlength{\labelsep}{0.1\leftmarg<strong>in</strong>}}%180: \item[#3]#4%181: \end{list}%182: }%183: %-----------------------------------------------------------184: % Macros for special paragraph representation.185: %-----------------------------------------------------------186: % Def<strong>in</strong>ition of macro which supports a paragraph with a k<strong>in</strong>d187: % of headl<strong>in</strong>e. The difference to the LeTeX-owned macros188: % \paragraph and \subparagraph is, that the head<strong>in</strong>g of macro189: % \Description will NEVER be a part of TOC! Furthermore the190: % head<strong>in</strong>g uses a separate text l<strong>in</strong>e. This macro def<strong>in</strong>es two191: % obligational parameters and one optional parameter.192: % Param1: Represents the paragraph’s head<strong>in</strong>g layout. The193: % follow<strong>in</strong>g pre-def<strong>in</strong>ed key words are available to127

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

Erfolgreich gespeichert!

Leider ist etwas schief gelaufen!