diff options
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r-- | Master/texmf-dist/doc/latex/dlfltxb/README | 26 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/dlfltxb/dlfltxbcodetips.pdf | bin | 204829 -> 206243 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/dlfltxb/dlfltxbcodetips.tex | 13 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/dlfltxb/dlfltxbmarkup-sample.cfg | 30 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/dlfltxb/dlfltxbmarkup-showkeys.pdf | bin | 29214 -> 29307 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/dlfltxb/dlfltxbmarkup.pdf | bin | 187892 -> 187892 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/dlfltxb/dlfltxbmisc.pdf | bin | 157483 -> 157568 bytes | |||
-rw-r--r-- | Master/texmf-dist/tex/latex/dlfltxb/dlfltxbcodetips.sty | 65 | ||||
-rw-r--r-- | Master/texmf-dist/tpm/dlfltxb.tpm | 8 |
9 files changed, 102 insertions, 40 deletions
diff --git a/Master/texmf-dist/doc/latex/dlfltxb/README b/Master/texmf-dist/doc/latex/dlfltxb/README index 14ff1617583..a2cf999deeb 100644 --- a/Master/texmf-dist/doc/latex/dlfltxb/README +++ b/Master/texmf-dist/doc/latex/dlfltxb/README @@ -15,10 +15,18 @@ At least one more package (dlfltxbsc) will be added to the bundle later (presumably Fall 2007). This is the package used for all the examples in the book. + +HISTORY +======= + + * 20070601 added new versions of dlfltxbcodetips and + dlfltxbmarkup-sample.cfg + + Current file contents for the dlfltxb bundle: ============================================= -dlfltxbcodetips (v0.1): +dlfltxbcodetips (v0.2): ----------------------- * dlfltxbcodetips.sty @@ -40,6 +48,15 @@ dlfltxbcodetips (v0.1): \abovedisplayshortskip +Changes +------- + + v0.2 Better implementations of \nuparrow, \ndownarrow and bigtimes, + all due to Enrico Gregorio. Also changed the implementation of + \NewShadedTheorem such that the environment giving the + bagground is now configurable. + + dlfltxbmarkup (v0.6): --------------------- @@ -67,6 +84,13 @@ dlfltxbmarkup (v0.6): dependant of memoir. +Changes +------- + + 20070601 new version of dlfltxbmarkup-sample.cfg + + + dlfltxbmisc (v0.1): ------------------- diff --git a/Master/texmf-dist/doc/latex/dlfltxb/dlfltxbcodetips.pdf b/Master/texmf-dist/doc/latex/dlfltxb/dlfltxbcodetips.pdf Binary files differindex 5a234375f74..47939048f69 100644 --- a/Master/texmf-dist/doc/latex/dlfltxb/dlfltxbcodetips.pdf +++ b/Master/texmf-dist/doc/latex/dlfltxb/dlfltxbcodetips.pdf diff --git a/Master/texmf-dist/doc/latex/dlfltxb/dlfltxbcodetips.tex b/Master/texmf-dist/doc/latex/dlfltxb/dlfltxbcodetips.tex index 78527b70039..2fda5f54e4d 100644 --- a/Master/texmf-dist/doc/latex/dlfltxb/dlfltxbcodetips.tex +++ b/Master/texmf-dist/doc/latex/dlfltxb/dlfltxbcodetips.tex @@ -18,6 +18,7 @@ \hfuzz=30pt +\setfootnoterule[\vfill]{3pt}{0.4\columnwidth}{\normalrulethickness} \usepackage{color} \usepackage[colorlinks,breaklinks]{hyperref} @@ -114,7 +115,7 @@ \begin{document} -\title{Code tips from ``Introduktion til \LaTeX''\\{\normalsize Or just the +\title{Code tips from ``Introduktion til \LaTeX''\thanks{Version: 0.2}\\{\normalsize Or just the \textsf{\jobname} package}} \author{Lars Madsen\thanks{Web: \url{http://home.imf.au.dk/daleif}\qquad Email: \url{daleif@imf.au.dk}}} @@ -162,7 +163,7 @@ text or mathematical material. A few extra symbols have been created. First of is \markup{bigtimes} which is a large operator version of \markup[nomk]{times}, but without -having to load special fonts. +having to load special fonts.\footnote{Updated version due to Enrico Gregorio.} \begin{sourcedisplay} $\bigtimes_{n=1}^k A_n$ \[ \bigtimes_{n=1}^k A_n \] @@ -174,7 +175,7 @@ $\bigtimes_{n=1}^k A_n$ The package creates \markup{nuparrow} and \markup{ndownarrow} by rotating and reflecting \markup[nomk]{nrightarrow} and \markup[nomk]{nleftarrow} -respectively. +respectively.\addtocounter{footnote}{-1}\footnotemark \begin{sourcedisplay} $ A \nuparrow B$ \qquad $ B \ndownarrow C$ @@ -198,7 +199,11 @@ It has exactly the same syntax as the ordinary \markup[nomk]{newtheorem}. Requirements: the \markup[nomk,sty]{framed}, \markup[nomk,sty]{ntheorem}, (\texttt{x})\markup[nomk,sty]{color} packages and the definition of -the >>\texttt{shadecolor}<< (required by the \markup[nomk,sty]{framed} package). +the >>\texttt{shadecolor}<< (required by the \markup[nomk,sty]{framed} +package). Inside the \cs{NewShadedTheorem} the environment surrounding +the theorem is given by the macro \markup{NSTshadeenvironment} which +is initialised to >>\texttt{shaded}<<. You can change it using +\cs{renewcommand}. \begin{sourcedisplay} \theoremheaderfont{\bfseries} \theoremseparator{.} diff --git a/Master/texmf-dist/doc/latex/dlfltxb/dlfltxbmarkup-sample.cfg b/Master/texmf-dist/doc/latex/dlfltxb/dlfltxbmarkup-sample.cfg index ce7910635fc..5721263da41 100644 --- a/Master/texmf-dist/doc/latex/dlfltxb/dlfltxbmarkup-sample.cfg +++ b/Master/texmf-dist/doc/latex/dlfltxb/dlfltxbmarkup-sample.cfg @@ -17,6 +17,11 @@ %% +% HISTORY +% +% <2007/05/25 added various stuff +% 2007/05/25 added the mltbib, bbtpc and bbtpcenv keys + % default key \def\felineStandardKey{macro} @@ -50,7 +55,7 @@ {for registering class names}% {\felineWriteInMargin{#1}}% {\felineIndexCmd{#1 (klasse)@#1 (klasse)}\felineIndexCmd{dokumentklasser!#1}}% - {\textsf{\textit{#1}}} + {\foreignlanguage{english}{\textsf{\textit{#1}}}} % pagestyles \felineKeyGenerator{ps}% @@ -87,7 +92,7 @@ {for commandline programs} {\felineWriteInMargin{#1}}% {\felineIndexCmd{#1 (program)@\texttt{#1} (program)}\felineIndexCmd{programmer!#1@\texttt{#1}}}% - {\texttt{#1}} + {\foreignlanguage{english}{\texttt{\hyphenchar\font=`\-#1}}} % matematiske symboler \def\felinenameuse#1{\@nameuse{#1}} @@ -438,3 +443,24 @@ \felineIndexCmd{søjle specifier!#1}}% {\texttt{#1}} +\felineKeyGenerator{mltbib}% + {macros related to the multibib pacakge} + {\felineWriteInMargin{{\foreignlanguage{english}{\cs{\hyphenchar\font=`\-#1}}}}}% + {\felineIndexCmd{#1@\protect\css{#1}}% + \felineIndexCmd{multibib (pakke)!\protect\css{#1}}}% + {{\foreignlanguage{english}{\cs{\hyphenchar\font=`\-#1}}}} + +\felineKeyGenerator{bbtpc}% + {macros related to the bibtopic package} + {\felineWriteInMargin{{\foreignlanguage{english}{\cs{\hyphenchar\font=`\-#1}}}}}% + {\felineIndexCmd{#1@\protect\css{#1}}% + \felineIndexCmd{bibtopic (pakke)!\protect\css{#1}}}% + {{\foreignlanguage{english}{\cs{\hyphenchar\font=`\-#1}}}} + +\felineKeyGenerator{bbtpcenv}% + {environment related to the bibtopic package} + {\felineWriteInMargin{#1}}% + {\felineIndexCmd{#1 (environment)}% + \felineIndexCmd{bibtopic (pakke)!#1}% + \felineIndexCmd{environments!#1 (bibtopic)}}% + {\foreignlanguage{english}{\textit{\textbf{#1}}}} diff --git a/Master/texmf-dist/doc/latex/dlfltxb/dlfltxbmarkup-showkeys.pdf b/Master/texmf-dist/doc/latex/dlfltxb/dlfltxbmarkup-showkeys.pdf Binary files differindex d3b75ec63b5..8df3fb102e3 100644 --- a/Master/texmf-dist/doc/latex/dlfltxb/dlfltxbmarkup-showkeys.pdf +++ b/Master/texmf-dist/doc/latex/dlfltxb/dlfltxbmarkup-showkeys.pdf diff --git a/Master/texmf-dist/doc/latex/dlfltxb/dlfltxbmarkup.pdf b/Master/texmf-dist/doc/latex/dlfltxb/dlfltxbmarkup.pdf Binary files differindex ee48cf7de99..0e27525e858 100644 --- a/Master/texmf-dist/doc/latex/dlfltxb/dlfltxbmarkup.pdf +++ b/Master/texmf-dist/doc/latex/dlfltxb/dlfltxbmarkup.pdf diff --git a/Master/texmf-dist/doc/latex/dlfltxb/dlfltxbmisc.pdf b/Master/texmf-dist/doc/latex/dlfltxb/dlfltxbmisc.pdf Binary files differindex da0682b2b74..b0cc71d9c45 100644 --- a/Master/texmf-dist/doc/latex/dlfltxb/dlfltxbmisc.pdf +++ b/Master/texmf-dist/doc/latex/dlfltxb/dlfltxbmisc.pdf diff --git a/Master/texmf-dist/tex/latex/dlfltxb/dlfltxbcodetips.sty b/Master/texmf-dist/tex/latex/dlfltxb/dlfltxbcodetips.sty index 752777feaa3..e09446ebe6c 100644 --- a/Master/texmf-dist/tex/latex/dlfltxb/dlfltxbcodetips.sty +++ b/Master/texmf-dist/tex/latex/dlfltxb/dlfltxbcodetips.sty @@ -1,4 +1,4 @@ -\ProvidesPackage{dlfltxbcodetips}[2007/05/07 v0.1 by Lars 'daleif' Madsen] +\ProvidesPackage{dlfltxbcodetips}[2007/06/01 v0.2 by Lars 'daleif' Madsen] % this pacakge collects some macros presented as code tips in my LaTeX % book: "Introduktion til LaTeX". As the macros might be useful for @@ -19,7 +19,12 @@ %% - +% HISTORY +% +% 20070601 Added better implementation of \nuparrow, \ndownarrow and +% \bigtimes, all due to Enrico Gregorio +% also made the environment uded inside \NewShadedTheorem +% configurable. \RequirePackage{amsmath,amssymb} @@ -62,6 +67,8 @@ % currently only ntheorem is supported (perhaps support for amsthm or % theorem will be added later) % has the same syntax as \newtheorem + +\newcommand\NTSshadeenvironment{shaded} \newcommand\NewShadedTheorem[1]{% \@ifnextchar[{\NST@levelii{#1}}{\NST@levelii{#1}[]}} \def\NST@levelii#1[#2]#3{% @@ -85,16 +92,16 @@ \newtheorem{#1@inner}[#2]{#3}% \fi% \newenvironment{#1}{% - \begin{shaded}% + \begin{\NTSshadeenvironment}% \setlength\theorempreskipamount{0pt}% \setlength\theorempostskipamount{0pt}% - \begin{#1@inner}}{\end{#1@inner}\end{shaded}\@endparenv}% + \begin{#1@inner}}{\end{#1@inner}\end{\NTSshadeenvironment}\@endparenv}% \newtheorem*{#1@innerstr}{#3} \newenvironment{#1*}{% - \begin{shaded}% + \begin{\NTSshadeenvironment}% \setlength\theorempreskipamount{0pt}% \setlength\theorempostskipamount{0pt}% - \begin{#1@innerstr}}{\end{#1@innerstr}\end{shaded}\@endparenv}% + \begin{#1@innerstr}}{\end{#1@innerstr}\end{\NTSshadeenvironment}\@endparenv}% } % Mathematics into Type by Ellen Swanson recommends that line-broken @@ -136,32 +143,32 @@ \setlength{\global\MathIndentLength}{\@tempdimc}#1} -% constructs a \bigtimes symbol, in the same category as e.g. \sum -% etc. Since we are using \DeclareMathOperator, the amsmath package is -% required, thus autoloaded by this pacakge -\newcommand\SNYDINTERN[1]{\vcenter{{\hbox{#1\ensuremath\times}}}} -\newcommand\SNYD{% - \mathchoice{\SNYDINTERN\huge\displaystyle}% display style - {\SNYDINTERN\LARGE\textstyle\mkern-3.5mu} % text style - {\SNYDINTERN{}\scriptstyle\mkern-2mu} % script style - {\SNYDINTERN\footnotesize\scriptscriptstyle\mkern-2mu}% script script style +% this constructs a version of \bigtimes. The version here is due to +% Enrico Gregorio, presented in http://groups.google.com/group/comp.text.tex/msg/9685c9405df2ff94 + +\newcommand\dlf@b@gtimes[1]{% + \vcenter{\hbox{#1$\m@th\mkern-2mu\times\mkern-2mu$}}} +\newcommand\dlf@bigtimes{% + \mathchoice{\dlf@b@gtimes\huge} % display style + {\dlf@b@gtimes\LARGE} % text style + {\dlf@b@gtimes{}} % script style + {\dlf@b@gtimes\footnotesize} % script script style } -\DeclareMathOperator*\bigtimes{\SNYD} - - -% constructor for creating negated \up/downarrow -% requires graphicx -\newcommand*\nrotarrowconstructor[2]{% - \mathrel{\m@th\sbox\z@{$ #1 $}% - \raisebox{1.3\dp\z@}{% - \makebox[\wd\z@][c]{% - \reflectbox{\rotatebox[origin=cB]{90}{$ #2 $}}% - \kern0.32\wd\z@% - }}}% +\newcommand\bigtimes{\mathop{\dlf@bigtimes}\displaylimits} + +% better construction fro \nuparrow and \ndownarrow, se also +% http://groups.google.com/group/comp.text.tex/msg/689cc8bd604fdb51 +% again due to Enrico Gregorio +% construction requires graphicx +\def\dlf@nrotarrow#1#2{% + \setbox0=\hbox{$\m@th#1\uparrow$}\dimen0=\dp0 + \setbox0=\hbox{% + \reflectbox{\rotatebox[origin=c]{90}{$\m@th#1\mkern2.22mu #2$}}}% + \dp0=\dimen0 \box0 \mkern2.3965mu } -\newcommand\nuparrow{\nrotarrowconstructor\uparrow\nrightarrow} -\newcommand\ndownarrow{\nrotarrowconstructor\downarrow\nleftarrow} +\def\nuparrow{\mathrel{\mathpalette\dlf@nrotarrow\nrightarrow}} +\def\ndownarrow{\mathrel{\mathpalette\dlf@nrotarrow\nleftarrow}} % this can be used as the first thing in an amsmath alignment % environments for displayed math. It switches \abovedisplayskip and diff --git a/Master/texmf-dist/tpm/dlfltxb.tpm b/Master/texmf-dist/tpm/dlfltxb.tpm index 4b9f172c92b..83b1ff1aee4 100644 --- a/Master/texmf-dist/tpm/dlfltxb.tpm +++ b/Master/texmf-dist/tpm/dlfltxb.tpm @@ -3,22 +3,22 @@ <rdf:Description about="http://texlive.dante.de/texlive/Package/dlfltxb.zip"> <TPM:Name>dlfltxb</TPM:Name> <TPM:Type>Package</TPM:Type> - <TPM:Date>2007/05/17 18:53:00</TPM:Date> + <TPM:Date>2007/06/01 13:49:00</TPM:Date> <TPM:Version></TPM:Version> <TPM:Creator>karl</TPM:Creator> <TPM:Title>The dlfltxb package.</TPM:Title> <TPM:Description></TPM:Description> <TPM:Author></TPM:Author> - <TPM:Size>647698</TPM:Size> + <TPM:Size>647728</TPM:Size> <TPM:License></TPM:License> <TPM:Build/> - <TPM:RunFiles size="20400"> + <TPM:RunFiles size="20834"> texmf-dist/tex/latex/dlfltxb/dlfltxbcodetips.sty texmf-dist/tex/latex/dlfltxb/dlfltxbmarkup.sty texmf-dist/tex/latex/dlfltxb/dlfltxbmisc.sty texmf-dist/tpm/dlfltxb.tpm </TPM:RunFiles> - <TPM:DocFiles size="627328"> + <TPM:DocFiles size="630843"> texmf-dist/doc/latex/dlfltxb/README texmf-dist/doc/latex/dlfltxb/dlfltxbcodetips.pdf texmf-dist/doc/latex/dlfltxb/dlfltxbcodetips.tex |