diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/tudscr/tudscrman.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/tudscr/tudscrman.sty | 779 |
1 files changed, 0 insertions, 779 deletions
diff --git a/Master/texmf-dist/tex/latex/tudscr/tudscrman.sty b/Master/texmf-dist/tex/latex/tudscr/tudscrman.sty deleted file mode 100644 index b0808547369..00000000000 --- a/Master/texmf-dist/tex/latex/tudscr/tudscrman.sty +++ /dev/null @@ -1,779 +0,0 @@ -%% -%% This is file `tudscrman.sty', -%% generated with the docstrip utility. -%% -%% The original source files were: -%% -%% tudscr-version.dtx (with options: `package,manual') -%% tudscr-manual.dtx (with options: `package,identify') -%% tudscr-base.dtx (with options: `load') -%% tudscr-manual.dtx (with options: `package,option') -%% tudscr-misc.dtx -%% tudscr-manual.dtx (with options: `package,body') -%% -%% ============================================================================ -%% -%% TUD-KOMA-Script -%% Copyright (c) Falk Hanisch <tudscr@gmail.com>, 2012-2016 -%% -%% ============================================================================ -%% -%% This work may be distributed and/or modified under the conditions of the -%% LaTeX Project Public License, version 1.3c of the license. The latest -%% version of this license is in http://www.latex-project.org/lppl.txt and -%% version 1.3c or later is part of all distributions of LaTeX 2005/12/01 -%% or later and of this work. This work has the LPPL maintenance status -%% "author-maintained". The current maintainer and author of this work -%% is Falk Hanisch. -%% -%% ---------------------------------------------------------------------------- -%% -%% Dieses Werk darf nach den Bedingungen der LaTeX Project Public Lizenz -%% in der Version 1.3c, verteilt und/oder veraendert werden. Die aktuelle -%% Version dieser Lizenz ist http://www.latex-project.org/lppl.txt und -%% Version 1.3c oder spaeter ist Teil aller Verteilungen von LaTeX 2005/12/01 -%% oder spaeter und dieses Werks. Dieses Werk hat den LPPL-Verwaltungs-Status -%% "author-maintained", wird somit allein durch den Autor verwaltet. Der -%% aktuelle Verwalter und Autor dieses Werkes ist Falk Hanisch. -%% -%% ============================================================================ -%% -%%% From File: tudscr-version.dtx -\begingroup% - \catcode`\@11\relax% - \ifx\TUDVersion\undefined% - \newcommand*\@TUDVersion[1]{\gdef\TUDVersion{#1}}% - \else% - \newcommand*\@TUDVersion[1]{% - \def\@tempa{#1}% - \ifx\TUDVersion\@tempa\else% - \@latex@warning@no@line{% - \noexpand\TUDVersion\space is `\TUDVersion',\MessageBreak% - but `#1' was expected!\MessageBreak% - You should not use classes, packages or files from\MessageBreak% - different TUD-KOMA-Script-Bundle versions% - }% - \fi% - }% - \fi% - \@TUDVersion{2016/06/17 v2.04e TUD-KOMA-Script}% -\endgroup% -\providecommand*\tudscrmail{tudscr@gmail.com} -\@ifundefined{TUDClassName}{% - \PackageError{% - tudscrman% - }{Unsupported class found}{% - This package can only be used with a class out of the\MessageBreak% - tudscr bundle (tudscrbook, tudscrreprt, tudscrartcl).% - } - \endinput -}{} -\@ifundefined{TUDScript}{% - \DeclareRobustCommand{\TUDScript}{% - \ifdin{TUD-KOMA-SCRIPT}{% - \textsf{T\kern.05em U\kern.05em D\kern.1em-\kern.1em}\KOMAScript% - }\csname xspace\endcsname% - }% -}{} -%%% From File: tudscr-manual.dtx -\NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{tudscrman}[% - 2016/06/17 v2.04e TUD-KOMA-Script - package (internal tutorials)% -] -%%% From File: tudscr-base.dtx -\RequirePackage{tudscrbase}[\TUDVersion] -%%% From File: tudscr-manual.dtx -\newif\if@tud@todo -\@tud@todotrue -\newcommand*\tud@todo@type{} -\TUD@key{ToDo}[true]{% - \TUD@set@ifkey{ToDo}{@tud@todo}{#1}% - \ifx\FamilyKeyState\FamilyKeyStateProcessed% - \let\tud@todo@type\relax% - \else% - \def\tud@todo@type{#1}% - \@tud@todotrue% - \FamilyKeyStateProcessed% - \fi% -} -\KOMAoptions{headings=small} -\TUDoptions{cd=true,cdfoot=true} -\AfterPackage*{pstricks}{% - \ifnum\pdfshellescape=\@ne\relax\else% - \PassOptionsToPackage{off}{auto-pst-pdf}% - \fi% - \RequirePackage{auto-pst-pdf}[2009/04/26]% -} -%%% From File: tudscr-misc.dtx -%%% From File: tudscr-manual.dtx -\RequirePackage{xparse}[2013/12/31] -\RequirePackage{textcomp}[2005/09/27] -\RequirePackage{setspace}[2011/12/19] -\setstretch{1.1}\recalctypearea -\RequirePackage{babel}[2014/03/24] -\AfterPackage*{inputenc}{\RequirePackage{csquotes}[2011/10/22]} -\AtBeginDocument{% - \@ifpackageloaded{csquotes}{}{% - \PackageWarning% - {tudscrman}{Package `csquotes' not loaded}% - \providecommand\enquote[1]{\glqg#1\grqq{}}% - }% -} -\AfterPackage*{hyperref}{\RequirePackage[babel]{microtype}[2013/05/23]} -\newlength\baselineskipglue -\AtBeginDocument{% - \setlength\baselineskipglue{% - .4\baselineskip plus .4\baselineskip minus .2\baselineskip% - }% -} -\PassOptionsToPackage{vskip=.5\baselineskipglue}{quoting} -\RequirePackage{quoting}[2014/01/28] -\RequirePackage{isodate}[2010/01/03] -\RequirePackage{hologo}[2012/04/26] -\RequirePackage{marginnote}[2012/03/29] -\RequirePackage{listings}[2014/03/04] -\lstdefinestyle{tudscr}{% - basicstyle=\ttfamily\setstretch{1},% - keywordstyle=,% - columns=fullflexible,keepspaces,% - aboveskip=.5\baselineskipglue,% - belowskip=.5\baselineskipglue,% - language=[LaTeX]TeX,% - texcl,% -} -\RequirePackage{silence}[2012/07/02] -\RequirePackage{filemod}[2011/09/19] -\RequirePackage{ifpdf}[2011/01/30] -\ifpdf - \PassOptionsToPackage{colorinlistoftodos,obeyFinal,color=HKS92!10}{todonotes} - \RequirePackage{todonotes}[2012/07/25] -\else - \TUDoptions{ToDo=false} -\fi -\WarningFilter*{ifplatform}{^^J \space\space\space shell escape is disabled} -\RequirePackage{ifplatform}[2010/10/22] -\PassOptionsToPackage{hyperindex=false,colorlinks,linkcolor=blue}{hyperref} -\PassOptionsToPackage{open,openlevel=0}{bookmark} -\AtBeginDocument{% - \RequirePackage{hyperref}[2012/11/06] - \RequirePackage{bookmark}[2011/12/02] - \newcommand*\Email[1]{\href{mailto:#1}{\nolinkurl{#1}}} - \renewcaptionname{ngerman}{\sectionautorefname}{Unterkapitel} - \renewcaptionname{ngerman}{\subsectionautorefname}{Abschnitt} - \renewcaptionname{ngerman}{\subsubsectionautorefname}{Unterabschnitt} - \newcommand*\autorefname[1][current]{% - \ifstr{#1}{current}{% - \expandafter\HyPsd@@autorefname\@currentHref\@nil% - }{% - \@autorefname\HyPsd@@autorefname{#1}% - }% - \unskip\xspace% - } - \newcommand*\@autorefname[2]{% - \expandafter\ifx\csname r@#2\endcsname\relax% - ??% - \else% - \expandafter\expandafter\expandafter\@@autorefname% - \csname r@#2\endcsname{}{}{}{}\@nil#1\@nil% - \fi% - } - \newcommand*\@@autorefname{} - \def\@@autorefname#1#2#3#4#5\@nil#6\@nil{#6#4.\@nil} - \newcommand*\manualhyperref[2]{\hyperref{../tudscr}{tudscr}{#1}{#2}} -} -\PassOptionsToPackage{xindy,splitindex}{imakeidx} -\RequirePackage{imakeidx}[2013/07/11]% -\indexsetup{% - level=\subsection*,% - noclearpage,firstpagestyle=headings,headers={\indexname}{\indexname},% - othercode={\renewcommand*\subitem{\@idxitem\hspace*{15\p@}}}% -} -\newcommand*\xdyopt{-M tudscrman-temp.xdy -L german-din} -\newcommand*\tud@write@i{} -\newwrite\tud@write@i -\newcommand*\tud@write@ii{} -\newwrite\tud@write@ii -\newcommand*\tud@read{} -\newread\tud@read -\openout\tud@write@i=tudscrman-temp.xdy -\write\tud@write@i{(require "texindy.xdy")} -\write\tud@write@i{% -(define-location-class^^J% -\space\space "arabic-page-numbers" ("arabic-numbers") :min-range-length 1^^J% -)% -} -\write\tud@write@i{(markup-range :sep "--")} -\write\tud@write@i{% -(merge-rule "\@backslashchar[(.*)\@backslashchar]" "" :eregexp)% -} -\write\tud@write@i{% -(define-attributes (("declare" "!" "important" "?" "deprecated" "default")))% -} -\write\tud@write@i{% -(markup-locref^^J% -\space\space :attr "declare"^^J% -\space\space :open "\string\textbf{\string\hyperpage{"^^J% -\space\space :close "}}"^^J% -)% -} -\write\tud@write@i{% -(markup-locref^^J% -\space\space :attr "!"^^J% -\space\space :open "\string\textbf{\string\hyperpage{"^^J% -\space\space :close "}}"^^J% -)% -} -\write\tud@write@i{% -(markup-locref^^J% -\space\space :attr "important"^^J% -\space\space :open "\string\textsl{\string\hyperpage{"^^J% -\space\space :close "}}"^^J% -)% -} -\write\tud@write@i{% -(markup-locref^^J% -\space\space :attr "?"^^J% -\space\space :open "\string\textsl{\string\hyperpage{"^^J% -\space\space :close "}}"^^J% -)% -} -\write\tud@write@i{% -(markup-locref^^J% -\space\space :attr "default"^^J% -\space\space :open "\string\hyperpage{"^^J% -\space\space :close "}"^^J% -)% -} -\write\tud@write@i{% -(markup-locref^^J% -\space\space :attr "deprecated"^^J% -\space\space :open "\string\deprecatedhyperpage{"^^J% -\space\space :close "}"^^J% -)% -} -\write\tud@write@i{% - (markup-locclass-list :open "\string\,\string\dotfill\string\,")% -} -\write\tud@write@i{(define-crossref-class "seeidx")} -\write\tud@write@i{% -(markup-crossref-list^^J% -\space\space :class "seeidx" :open "\string\seeidx{" :sep "; " :close "}{}"^^J% -)% -} -\closeout\tud@write@i -\makeindex[title={Klassen- und Paketoptionen},name=options,options=\xdyopt]% -\makeindex[% - title={Umgebungen, Befehle und Seitenstile},name=macros,options=\xdyopt% -]% -\makeindex[title={Klassen, Pakete und Dateien},name=files,options=\xdyopt]% -\RequirePackage{scrwfile}[2013/08/05] -\RequirePackage{filecontents}[2011/10/08] -\WarningFilter[Tutorial]{latex}{Overwriting file}% -\newrobustcmd*\textOR{\,\textbardbl\,} -\newrobustcmd*\PName[1]{\mbox{\texttt{\textsl{<#1>}}}} -\newrobustcmd*\PBoolean{\PName{Ein-Aus-Wert}} -\newrobustcmd*\PBName[1]{\PBoolean\textOR\PName{#1}} -\newrobustcmd*\PSet{\PName{Einstellung}} -\newrobustcmd*\Parameter[1]{\mbox{\texttt{\{}\PName{#1}\texttt{\}}}} -\newrobustcmd*\OParameter[1]{\mbox{\texttt{[}\PName{#1}\texttt{]}}} -\newrobustcmd*\LParameter{\mbox{\texttt{[}\PName{Parameterliste}\texttt{]}}} -\newrobustcmd*\OLParameter[1]{% - \mbox{\texttt{[}\PName{#1}\textOR\PName{Parameterliste}\texttt{]}}% -} -\newrobustcmd*\PValue[1]{\mbox{\texttt{#1}}} -\newrobustcmd*\PParameter[1]{\mbox{\texttt{\{#1\}}}} -\newrobustcmd*\POParameter[1]{\mbox{\texttt{[#1]}}} -\newcommand*\Tutorial[1]{\href{#1.pdf}{\textsbn{#1.pdf}}} -\newcommand*\@ToDo{} -\NewDocumentCommand\ToDo{somo}{% - \ifbool{@tud@todo}{% - \begingroup% - \define@boolkey{todonotes}{doc}[true]{% - \ifbool{KV@todonotes@doc}{\setkeys{todonotes}{color=HKS41!10}}{}% - }% - \define@boolkey{todonotes}{rls}[true]{% - \ifbool{KV@todonotes@rls}{\setkeys{todonotes}{color=HKS44!50}}{}% - }% - \define@boolkey{todonotes}{imp}[true]{% - \ifbool{KV@todonotes@imp}{\setkeys{todonotes}{color=HKS07!50}}{}% - }% - \define@boolkey{todonotes}{nxt}[true]{% - \ifbool{KV@todonotes@nxt}{\setkeys{todonotes}{color=HKS57!50}}{}% - }% - \def\@ToDo{}% - \IfValueTF{#2}{% - \IfBooleanTF{#1}{\edef\@ToDo{#2,nolist}}{\edef\@ToDo{#2}}% - }{% - \IfBooleanT{#1}{\edef\@ToDo{nolist}}% - }% - \renewcommand*\marginpar[2][]{% - \marginnote[##1]{##2}[\dimexpr-1.6ex+1pt\relax]% - }% - \@tempswafalse - \ifdefvoid{\tud@todo@type}{\@tempswatrue}{}% - \IfValueT{#2}{% - \@for\@tempa:=#2\do{\ifstr{\@tempa}{\tud@todo@type}{\@tempswatrue}{}}% - }% - \if@tempswa% - \vskip.8ex% - \IfValueT{#4}{% - \settowidth\marginparwidth{#4}% - \addtolength\marginparwidth{\dimexpr1.6ex+1pt\relax}% - \let\par\relax\noindent% - \edef\@tempa{\noexpand\todo[\@ToDo,noline,nolist]}% - \@tempa{#4}% - }% - \edef\@tempa{\noexpand\todo[\@ToDo,inline]}% - \@tempa{#3}% - \fi% - \endgroup% - \par\noindent% - }{}% - \ignorespaces% -} -\newcommand*\ListOfToDo{\if@tud@todo\listoftodos\fi} -\reversemarginpar -\newrobustcmd*\bsc{\@backslashchar} -\newcommand*\tud@shellescape@wrn{% - \PackageWarning% - {tudscrman}{% - You have to recompile this document with\MessageBreak% - activated shell escape option% - }% - \global\let\tud@shellescape@wrn\relax% -} -\newcommand*\pdfexpandableoutline[1]{% - \AfterPackage*{hyperref}{\pdfstringdefDisableCommands{\csletcs{#1}{@#1}}} -} -\newcommand*\@TUDScript{TUD-KOMA-Script} -\pdfexpandableoutline{TUDScript} -\newcommand*\Application[1]{\ifdin{#1}{\mbox{\textsbs{#1}}}} -\newcommand*\Distribution[1]{\ifdin{#1}{\mbox{\textsbn{#1}}}} -\newrobustcmd*\Path[1]{\mbox{\texttt{#1}}} -\newcommand*\File[1]{\ifdin{#1}{\mbox{\textsbn{#1}}}} -\NewDocumentCommand\Class{sm}{% - \ifdin{#2}{% - \IfBooleanTF{#1}{% - \manualhyperref{files:#2}{\textsbn{#2}}% - }{% - \textsbn{#2}% - }% - \index[files]{\begingroup\protect\sbnfont#2\endgroup~{\idxfont(Klasse)}}% - }% -} -\DeclareExpandableDocumentCommand\@Class{sm}{#2} -\pdfexpandableoutline{Class} -\NewDocumentCommand\Package{smd()}{% - \ifdin{#2}{% - \IfBooleanTF{#1}{% - \manualhyperref{files:#2}{\textsbn{#2}}% - }{% - \IfValueTF{#3}{% - \href{http://www.ctan.org/pkg/#3}{\textsbn{#2}}% - }{% - \href{http://www.ctan.org/pkg/#2}{\textsbn{#2}}% - }% - }% - \index[files]{\begingroup\protect\sbnfont#2\endgroup~{\idxfont(Paket)}}% - }% -} -\DeclareExpandableDocumentCommand\@Package{sm}{#2} -\pdfexpandableoutline{Package} -\NewDocumentCommand\Option{smo}{% - \ifdin{#2}{% - \IfBooleanTF{#1}{% - \manualhyperref{options:#2}{\texttt{#2}}\IfValueT{#3}{\texttt{=#3}}% - }{% - \texttt{#2}\IfValueT{#3}{\texttt{=#3}}% - }% - \index[options]{\begingroup\ttfamily#2\endgroup}% - }% -} -\DeclareExpandableDocumentCommand\@Option{sm}{#2} -\pdfexpandableoutline{Option} -\NewDocumentCommand\Environment{sm}{% - \ifdin{#2}{% - \IfBooleanTF{#1}{% - \manualhyperref{macros:#2}{\texttt{#2}}% - }{% - \texttt{#2}% - }% - \index[macros]{\begingroup\ttfamily#2\endgroup}% - }% -} -\DeclareExpandableDocumentCommand\@Environment{sm}{#2} -\pdfexpandableoutline{Environment}% -\NewDocumentCommand\Macro{sm}{% - \ifdin{\bsc#2}{% - \IfBooleanTF{#1}{% - \manualhyperref{macros:#2}{\texttt{\bsc#2}}% - }{% - \texttt{\bsc#2}% - }% - \index[macros]{\begingroup\ttfamily\bsc#2\endgroup}% - }% -} -\DeclareExpandableDocumentCommand\@Macro{sm}{#2} -\NewDocumentCommand\Length{sm}{% - \ifdin{\bsc#2}{% - \IfBooleanTF{#1}{% - \manualhyperref{macros:#2}{\texttt{\bsc#2}}% - }{% - \texttt{\bsc#2}% - }% - \index[macros]{\begingroup\ttfamily\bsc#2\endgroup~{\idxfont(L\"ange)}}% - }% -} -\newenvironment{Preamble}{\tud@tut@pre}{% - \tud@tut@post% - \tud@tut@append{\tud@write@i}% - \gdef\@tempa{% - \tud@tut@lst% - \global\let\@CodePreamble\relax% - }% - \aftergroup\@tempa% -} -\newenvironment{Preamble*}{\tud@tut@pre}{% - \tud@tut@post% - \tud@tut@append{\tud@write@i}% - \gdef\@tempa{% - \tud@tut@lst% - \tud@tut@input% - \global\let\@CodePreamble\relax% - }% - \aftergroup\@tempa% -} -\newenvironment{Preamble+}{\tud@tut@pre}{% - \tud@tut@post% - \tud@tut@append{\tud@write@i}% - \gdef\@tempa{% - \global\let\@CodePreamble\relax% - }% - \aftergroup\@tempa% -} -\newenvironment{Trunk}{\tud@tut@pre}{% - \tud@tut@post% - \tud@tut@append{\tud@write@ii}% - \gdef\@tempa{% - \tud@tut@lst% - \global\let\@CodePreamble\relax% - }% - \aftergroup\@tempa% -} -\newenvironment{Trunk*}{\tud@tut@pre}{% - \tud@tut@post% - \tud@tut@append{\tud@write@ii}% - \gdef\@tempa{% - \tud@tut@lst% - \tud@tut@input% - \global\let\@CodePreamble\relax% - }% - \aftergroup\@tempa% -} -\newenvironment{Trunk+}{\tud@tut@pre}{% - \tud@tut@post% - \tud@tut@append{\tud@write@ii}% - \gdef\@tempa{% - \global\let\@CodePreamble\relax% - }% - \aftergroup\@tempa% -} -\newenvironment{Trunk!}[1]{% - \gdef\@StandaloneFile{#1}% - \tud@tut@pre% -}{% - \tud@tut@post% - \tud@tut@append{\tud@write@ii}% - \gdef\@tempa{% - \tud@tut@lst% - \tud@tut@pdf% - \global\let\@CodePreamble\relax% - }% - \aftergroup\@tempa% -} -\newenvironment{Hint}{\tud@tut@pre}{% - \tud@tut@post% - \gdef\@tempa{% - \tud@tut@lst% - \global\let\@CodePreamble\relax% - }% - \aftergroup\@tempa% -} -\newenvironment{Hint*}{\tud@tut@pre}{% - \tud@tut@post% - \gdef\@tempa{% - \tud@tut@lst% - \tud@tut@input% - \global\let\@CodePreamble\relax% - }% - \aftergroup\@tempa% -} -\newenvironment{Hint?}{\tud@tut@pre}{% - \tud@tut@post% - \gdef\@tempa{% - \InputCode% - \tud@tut@lst% - \global\let\@CodePreamble\relax% - }% - \aftergroup\@tempa% -} -\newenvironment{Hint!}[1]{% - \gdef\@StandaloneFile{#1}% - \tud@tut@pre% -}{% - \tud@tut@post% - \gdef\@tempa{% - \tud@tut@lst% - \tud@tut@pdf% - \global\let\@CodePreamble\relax% - }% - \aftergroup\@tempa% -} -\newcommand*\@StandaloneFile{} -\let\@StandaloneFile\relax -\newcommand*\tud@tut@pre{% - \ActivateWarningFilters[Tutorial]% - \@nameuse{filecontents*}{\jobname-temp.tex}% -} -\newcommand*\tud@tut@post{% - \@nameuse{endfilecontents*}% - \DeactivateWarningFilters[Tutorial]% -} -\newcommand*\tud@tut@lst{% - \begin{quoting}[rightmargin=0pt]% - \lstinputlisting[style=tudscr]{\jobname-temp.tex}% - \end{quoting}% -} -\newcommand\@CodePreamble{} -\let\@CodePreamble\relax -\newcommand\CodePreamble[1]{\long\gdef\@CodePreamble{#1}} -\newcommand*\@CodeHook{} -\let\@CodeHook\relax -\newcommand*\CodeHook[1]{\gdef\@CodeHook{#1}}% -\newcommand*\tud@tut@input{% - \def\@tempa##1##2{% - ##1% - \begingroup% - ##2% - \setbox\@tempboxa\hbox{\vbox{##1}}% - \@tempdima=\ht\@tempboxa% - \setbox\@tempboxa\box\voidb@x% - \ifdim\@tempdima>\z@\relax% - \endgraf% - \vspace{\baselineskipglue}% - \noindent\ignorespaces% - \fi% - \endgroup% - }% - \@tempa{\@CodePreamble}{}% - \setlength\@tempdimc{\leftskip}% - \setlength\leftskip{\leftmargin}% - \ActivateWarningFilters[Tutorial]% - \@tempa{\input{\jobname-temp.tex}}{\@CodeHook}% - \DeactivateWarningFilters[Tutorial]% - \global\let\@CodeHook\relax% - \setlength\leftskip{\@tempdimc}% - \noindent\ignorespaces% -} -\newcommand*\InputCode{\input{\jobname-temp.tex}} -\ifnum\pdfshellescape=\@ne\relax% -\ActivateWarningFilters[Tutorial]% -\begin{filecontents*}{tutorial-temp.tex} -\RequirePackage[ngerman=ngerman-x-latest]{hyphsubst} -\documentclass[english,ngerman]{tudscrreprt} -\usepackage[utf8]{inputenc} -\usepackage[T1]{fontenc} -\usepackage{babel} -\usepackage{tudscrsupervisor} -\usepackage{isodate} -\usepackage{enumitem} -\setlist{noitemsep} -\begin{document} -\input{\jobname.tex} -\end{document} -\end{filecontents*} -\DeactivateWarningFilters[Tutorial]% -\fi -\newcommand*\tud@tut@pdf{% - \ifnum\pdfshellescape=\@ne\relax% - \immediate\write18{% - pdflatex -jobname=\jobname-temp tutorial-temp.tex - pdflatex -jobname=\jobname-temp tutorial-temp.tex - pdflatex -jobname=\jobname-temp tutorial-temp.tex - }% - \ifwindows% - \immediate\write18{rename \jobname-temp.pdf \@StandaloneFile-temp.pdf}% - \else% - \immediate\write18{mv \jobname-temp.pdf \@StandaloneFile-temp.pdf}% - \fi% - \fi% - \global\let\@StandaloneFile\relax% -} -\NewDocumentCommand\IncludeStandalone{omO{1}}{% - \IfFileExists{#2-temp.pdf}{% - \@tempcnta\z@% - \@for\@tempa:=#3\do{\advance\@tempcnta\@ne}% - \ifnum\@tempcnta>\z@\relax% - \setlength\@tempdima{\textwidth}% - \divide\@tempdima\@tempcnta% - \advance\@tempcnta\m@ne% - \multiply\@tempcnta 2% - \addtolength\@tempdima{-\@tempcnta\tabcolsep}% - \@for\@tempa:=#3\do{% - \advance\@tempcnta\m@ne% - \edef\@tempb{% - keepaspectratio,page=\@tempa,width=\the\@tempdima,% - \IfValueT{#1}{#1}% - } - \fbox{\expandafter\includegraphics\expandafter[\@tempb]{#2-temp.pdf}}% - \ifnum\@tempcnta>\z@\relax\hfill\fi% - }% - \fi% - }{% - \tud@shellescape@wrn% - }% -} -\newcommand\StartTutorial[1][% - Bevor das eigentliche Tutorial beginnt, werden sowohl eine Dokumentklasse - als auch die f\"ur jedes \hologo{pdfLaTeX}-Dokument meiner Meinung nach - sinnvollen Pakete geladen. -]{% - \Hy@raisedlink{\hyperdef{\jobname}{tutorials:\jobname}{}}% - \faculty{}% - \setlength\headingsvskip{-15mm}% - \maketitle\noindent#1% - \immediate\openout\tud@write@i=\jobname-preamble-temp.tex\relax - \immediate\openout\tud@write@ii=\jobname-trunk-temp.tex\relax - \immediate\write\tud@write@ii{^^J\string\begin{document}^^J} -} -\newcommand\FinishTutorial[1][]{% - \immediate\write\tud@write@ii{^^J\string\end{document}^^J} - \immediate\closeout\tud@write@ii% - \immediate\closeout\tud@write@i% - \tud@tut@collect% - \clearpage% - \addsec{Copy~\&~Paste}% - \pagestyle{empty}% - Zum Ende des Dokumentes wird das vorgestellte Tutorial als \"ubersetzbarer - Quelltext ausgegeben, um dieses via Copy~\&~Paste verwenden und alle Punkte - nachvollziehen zu k\"onnen. Bitte beachten Sie, dass~-- abh\"angig vom - genutzten PDF-Betrachter~-- beim Kopieren die dargestellten Einz\"uge und - Abs\"atze m\"oglicherweise verloren gehen k\"onnen. Dies kann insbesondere - aufgrund fehlender Leerzeilen zu einem unvorteilhaften Ausgabeergebnis - f\"uhren. Alternativ finden Sie den folgenden \hologo{LaTeX}-Quelltext auch - im Pfad \Path{texmf/source/latex/tudscr/doc/examples/} als Datei - \File{\jobname-example.tex}. \par #1 - \begin{quoting}[rightmargin=0pt]% - \lstinputlisting[style=tudscr]{\jobname-example-temp.tex}% - \end{quoting}% -} -\newcommand*\tud@tut@line{} -\newcommand*\tud@tut@readtostream[2]{% - \begingroup% - \endlinechar=-1\relax% - \openin\tud@read=#1% - \@tempswafalse% - \loop\unless\ifeof\tud@read% - \readline\tud@read to\tud@tut@line% - \ifx\tud@tut@line\@empty% - \ifeof\tud@read\@tempswafalse\fi% - \else% - \@tempswatrue% - \fi% - \if@tempswa% - \immediate\write#2{\unexpanded\expandafter{\tud@tut@line}}% - \fi% - \ifx\tud@tut@line\@empty\@tempswafalse\fi% - \repeat% - \closein\tud@read% - \endgroup% -} -\newcommand*\tud@tut@append[1]{\tud@tut@readtostream{\jobname-temp.tex}{#1}} -\newcommand*\tud@tut@collect{% - \immediate\openout\tud@write@ii\jobname-example-temp.tex\relax% - \tud@tut@readtostream{\jobname-preamble-temp.tex}{\tud@write@ii}% - \tud@tut@readtostream{\jobname-trunk-temp.tex}{\tud@write@ii}% - \immediate\closeout\tud@write@ii -} -\newcommand*\idxfont{} -\let\idxfont\footnotesize -\robustify{\idxfont} -\newcommand*\PrintIndex{% - \begingroup% - \@printindex[options]% - \@printindex[macros]% - \@printindex[files]% - \endgroup% -} -\newcommand*\@printindexskip{% - \ifnum\imki@columns>\@ne\relax\vspace{-\multicolsep}\fi% -} -\newcommand*\@printindex[1][]{% - \pagebreak[3]% - \indexprologue[\@printindexskip]{}% - \printindex[#1]\@printindexskip% -} -\renewrobustcmd*\see[2]{% - \ifstr{#1}{*}{\emph{\seename}~#2}{\emph{\seename}~#1}% -} -\renewrobustcmd*\seealso[2]{% - \ifstr{#1}{*}{\emph{\alsoname}~#2}{\emph{\alsoname}~#1}% -} -\RequirePackage{xspace}[2009/10/20] -\xspaceaddexceptions{"=} -\newcommand*\vTUDScript{} -\AtBeginDocument{% - \def\@tempb#1 #2 #3\relax#4\relax{\def\vTUDScript{#2}}% - \edef\@tempa{\TUDVersion}% - \expandafter\@tempb\@tempa\relax? ? \relax\relax% -} -\newcommand*\vKOMAScript{v3.17\xspace} -\RequirePackage{scrhack}[2014/02/27] -\newcommand*\CD{Corporate Design\xspace} -\newcommand*\CDs{Corporate Designs\xspace} -\newcommand*\TUD{Technische Universit\"at Dresden\xspace} -\newcommand*\TnUD{Technischen Universit\"at Dresden\xspace} -\newcommand*\DDC{% - \mbox{D\kern.05em R\kern.05em E\kern.05em S\kern.05em D\kern.05em E\kern.05em - N\kern.1em-\kern.1em concept}\xspace% -} -\AfterPackage*{babel}{% - \@expandtwoargs\in@{,english,}{,\bbl@loaded,}% - \ifin@% - \renewcommand*\CD{\foreignlanguage{english}{Corporate Design}\xspace} - \renewcommand*\CDs{\foreignlanguage{english}{Corporate Designs}\xspace} - \fi -} -\newcommand*\Univers{\textubn{Univers}\xspace} -\newcommand*\DIN{\textdbn{DIN~BOLD}\xspace} -\newcommand*\textsbn{} -\newcommand*\sbnfont{\sffamily\bfseries\upshape} -\DeclareTextFontCommand\textsbn{\sffamily\bfseries\upshape} -\newcommand*\textsbs{} -\newcommand*\sbsfont{\sffamily\bfseries\slshape} -\DeclareTextFontCommand\textsbs{\sffamily\bfseries\slshape} -\newcommand*\Attention[1]{\marginnote{\fbox{Achtung!}}\emph{#1}} -\NewDocumentCommand\Forum{s}{% - \IfBooleanTF{#1}{% - \url{http://latex.wcms-file3.tu-dresden.de/phpBB3/}% - }{% - \hrfn{http://latex.wcms-file3.tu-dresden.de/phpBB3/}{TUD-\LaTeX-Forum}% - }% - \xspace% -} -\newcommand*\hrfn[2]{\href{#1}{#2}\footnote{\scalebox{0.97}{\url{#1}}}} -\NewDocumentCommand\scrguide{s}{% - \def\@tempc{% - http://mirrors.ctan.org/macros/latex/contrib/koma-script/doc/scrguide.pdf% - }% - \IfBooleanTF{#1}{% - \href{\@tempc}{\File{scrguide.pdf}}% - }{% - \hrfn{\@tempc}{\File{scrguide.pdf}}% - }% - \xspace% -} -\endinput -%% -%% End of file `tudscrman.sty'. |