summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/dtk
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-04-24 22:29:30 +0000
committerKarl Berry <karl@freefriends.org>2011-04-24 22:29:30 +0000
commit44be666bc642b9aae3ffddbc08218de133a69e73 (patch)
tree5905e1b30a828f5dacc93beb356225ea2b2c6523 /Master/texmf-dist/doc/latex/dtk
parent089785cb4ee0c092da5eacfc340112a789098db8 (diff)
dtk (24apr11)
git-svn-id: svn://tug.org/texlive/trunk@22190 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/dtk')
-rw-r--r--Master/texmf-dist/doc/latex/dtk/doc/beispiel.tex2
-rw-r--r--Master/texmf-dist/doc/latex/dtk/historical/dtk10.clo116
2 files changed, 117 insertions, 1 deletions
diff --git a/Master/texmf-dist/doc/latex/dtk/doc/beispiel.tex b/Master/texmf-dist/doc/latex/dtk/doc/beispiel.tex
index aa199372105..bce4df41372 100644
--- a/Master/texmf-dist/doc/latex/dtk/doc/beispiel.tex
+++ b/Master/texmf-dist/doc/latex/dtk/doc/beispiel.tex
@@ -1,4 +1,4 @@
-%% $Id: beispiel.tex 4 2009-11-15 09:28:15Z herbert $
+%% $Id: beispiel.tex 16 2010-11-06 13:18:09Z herbert $
%
\documentclass[10,ngerman]{dtk}
\usepackage[utf8]{inputenc}
diff --git a/Master/texmf-dist/doc/latex/dtk/historical/dtk10.clo b/Master/texmf-dist/doc/latex/dtk/historical/dtk10.clo
new file mode 100644
index 00000000000..1a97dc85aa4
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/dtk/historical/dtk10.clo
@@ -0,0 +1,116 @@
+%% $Id: dtk10.clo 14 2010-10-16 17:27:23Z herbert $
+\ProvidesFile{dtk10.clo}[2010/04/19 v0.02 dtk class option (RN,hv)]
+
+\input{dtk.clo}% Standardeinstellungen
+
+
+\newsavebox\tempbox
+
+\RequirePackage{ifthen}
+
+\newlength\fullwidth
+\newlength\marginwidth
+\setlength\fullwidth{\textwidth + \marginparwidth -4mm}% wegen Anschnitt
+%\setlength\fullwidth{\textwidth + \marginparsep + \marginparwidth }
+%\setlength\marginwidth{\fullwidth - \textwidth}
+\setlength\marginwidth{\fullwidth + \marginparsep - \textwidth}
+
+\newlength\de@Width
+\newlength\de@sepWidth\de@sepWidth=3mm
+\newlength\de@Indent\de@Indent=\fullwidth
+
+\def\Table{\@ifnextchar[\Table@i{\Table@i[]}}
+\def\Table@i[#1]{\@ifnextchar[{\Table@ii[#1]}{\Table@ii[#1][\fullwidth]}}
+\def\Table@ii[#1][#2]#3{% #1:TOC #2:width #3:caption
+ \def\de@OptCaption{#1}%
+ \setlength\de@Width{#2}\addtolength\de@Width{-\de@sepWidth}%
+ \setlength\de@Indent{#2}\addtolength\de@Indent{-\textwidth}%
+ \def\de@Caption{#3}%
+ \begin{lrbox}{\tempbox}}
+\def\endTable{%
+ \end{lrbox}\begin{table}[!htb]%
+ \abovecaptionskip=0pt\belowcaptionskip=0pt
+ \ifthenelse{\isodd{\pageref{\thetable:WideTable}}}%
+ {\minipage{\de@Width}\vspace{0pt}\minipage[t]{\wd\tempbox}\vspace{0pt}
+ \usebox\tempbox\endminipage\kern\de@sepWidth%
+ \minipage[t]{\de@Width-\wd\tempbox}\vspace{0pt}\label{\thetable:WideTable}%
+ \ifx\relax\de@OptCaption\relax\caption{\de@Caption}\else\caption[\de@OptCaption]{\de@Caption}\fi%
+ \endminipage\endminipage}%
+ {\ifdim\de@Width>\textwidth\hspace*{-\de@Indent}\fi\vspace{0pt}\minipage{\de@Width}\vspace{0pt}%
+ \minipage[t]{\de@Width-\wd\tempbox}\vspace{0pt}\label{\thetable:WideTable}%
+ \ifx\relax\de@OptCaption\relax\caption{\de@Caption}\else\caption[\de@OptCaption]{\de@Caption}\fi%
+ \endminipage\kern\de@sepWidth%
+ \minipage[t]{\wd\tempbox}\vspace{0pt}\usebox\tempbox\endminipage\endminipage}%
+ \end{table}}
+%
+\def\Figure{\@ifnextchar[\Figure@i{\Figure@i[]}}
+\def\Figure@i[#1]{\@ifnextchar[{\Figure@ii[#1]}{\Figure@ii[#1][\fullwidth]}}
+\def\Figure@ii[#1][#2]#3{%
+ \def\de@OptCaption{#1}%
+ \setlength\de@Width{#2}\addtolength\de@Width{-\de@sepWidth}%
+ \setlength\de@Indent{#2}\addtolength\de@Indent{-\textwidth}%
+ \def\de@Caption{#3}%
+ \begin{lrbox}{\tempbox}}
+\def\endFigure{%
+ \end{lrbox}\begin{figure}[!htb]%
+ \abovecaptionskip=0pt\belowcaptionskip=0pt
+ \ifthenelse{\isodd{\pageref{\thetable:WideTable}}}%
+ {\minipage{\de@Width}\vspace{0pt}\minipage[t]{\wd\tempbox}\vspace{0pt}
+ \usebox\tempbox\endminipage\kern\de@sepWidth%
+ \minipage[t]{\de@Width-\wd\tempbox}\vspace{0pt}\label{\thefigure:WideTable}%
+ \ifx\relax\de@OptCaption\relax\caption{\de@Caption}\else\caption[\de@OptCaption]{\de@Caption}\fi%
+ \endminipage\endminipage}%
+ {\ifdim\de@Width>\textwidth\hspace*{-\de@Indent}\fi\vspace{0pt}\minipage{\de@Width}\vspace{0pt}%
+ \minipage[t]{\de@Width-\wd\tempbox}\vspace{0pt}\label{\thetable:WideTable}%
+ \ifx\relax\de@OptCaption\relax\caption{\de@Caption}\else\caption[\de@OptCaption]{\de@Caption}\fi%
+ \endminipage\kern\de@sepWidth%
+ \minipage[t]{\wd\tempbox}\vspace{0pt}\usebox\tempbox\endminipage\endminipage}%
+ \end{figure}}
+%
+\IfFileExists{paralist.sty}{%
+\RequirePackage[neverdecrease]{paralist}
+ \let\itemize\compactitem
+ \let\enditemize\endcompactitem
+ \let\enumerate\compactenum
+ \let\endenumerate\endcompactenum
+ \let\description\compactdesc
+ \let\enddescription\endcompactdesc
+ \pltopsep=\medskipamount
+% \plitemsep=\smallskipamount
+ \plitemsep=1pt
+% \plparsep=\smallskipamount
+ \plparsep=1pt
+}{}
+
+\RequirePackage{hyphsubst}%
+\HyphSubstIfExists{ngerman-x-latest}{%
+ \HyphSubstLet{ngerman}{ngerman-x-latest}}{}
+\HyphSubstIfExists{german-x-latest}{%
+ \HyphSubstLet{german}{german-x-latest}}{}
+
+\RequirePackage{accsupp}% Heiko
+\providecommand\isbn[1]{}
+\renewcommand*\isbn[1]{%
+ ISBN:~%
+ \BeginAccSupp{method=plain,ActualText=\RemoveHyphen{#1}}%
+ #1%
+ \EndAccSupp{}%
+}
+\newcommand*{\RemoveHyphen}[1]{%
+ \@RemoveHyphen#1-\@nil
+}
+\def\@RemoveHyphen#1-#2\@nil{%
+ #1%
+ \ifx\\#2\\%
+ \expandafter\@gobble
+ \else
+ \expandafter\@firstofone
+ \fi
+ {%
+ \@RemoveHyphen#2\@nil
+ }%
+}
+\def\CoverArt@strip@no#1/#2;{#1/\kern-4pt#2}
+%
+\endinput
+