diff options
author | Norbert Preining <preining@logic.at> | 2008-01-19 15:20:26 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2008-01-19 15:20:26 +0000 |
commit | ad6fb43bb22068e7d16a9ed534f4614699d8fcd7 (patch) | |
tree | d7ac91a072f216ce631d617fd2a9d56d0077264b /Master/texmf-dist/tex/latex/dlfltxb/dlfltxbmisc.sty | |
parent | aa6ced3deb6c3429cc177f028065c87696e2eabd (diff) |
update dlbfltx
git-svn-id: svn://tug.org/texlive/trunk@6315 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/dlfltxb/dlfltxbmisc.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/dlfltxb/dlfltxbmisc.sty | 29 |
1 files changed, 25 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/dlfltxb/dlfltxbmisc.sty b/Master/texmf-dist/tex/latex/dlfltxb/dlfltxbmisc.sty index 367c9e57669..ae7cd5ce1b7 100644 --- a/Master/texmf-dist/tex/latex/dlfltxb/dlfltxbmisc.sty +++ b/Master/texmf-dist/tex/latex/dlfltxb/dlfltxbmisc.sty @@ -1,4 +1,19 @@ -\ProvidesPackage{dlfltxbmisc}[2007/05/15 v0.1 by Lars Madsen] +\ProvidesPackage{dlfltxbmisc}[2008/01/01 v0.2 by Lars Madsen] + +% This package be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2003/12/01 or later. +%% +%% This work has the LPPL maintenance status "maintained". +%% +%% The Current Maintainer of this work is Lars Madsen (daleif@imf.au.dk). +%% + + % if memoir is not loaded we will need the chngpage to get adjustwidth \@ifclassloaded{memoir}{}{ @@ -9,6 +24,11 @@ \RequirePackage{url} \RequirePackage{calc} +\@ifundefined{marg}{\newcommand\marg{}}{} +\@ifundefined{oarg}{\newcommand\oarg{}}{} +\@ifundefined{parg}{\newcommand\parg{}}{} + + \newcommand*\Arg@s[1]{\textnormal{\texttt{#1}}}% \newcommand*\Arg@n[1]{\textnormal{$\langle$\textit{#1}$\rangle$}}% \newcommand*\Arg{\@ifstar{\Arg@s}{\Arg@n}}% @@ -17,19 +37,19 @@ \newcommand*\marg@n[1]{% \textnormal{\texttt{\{}$\langle$\textit{#1}$\rangle$\texttt{\}}}% } -\newcommand*\marg{\@ifstar{\marg@s}{\marg@n}} +\renewcommand*\marg{\@ifstar{\marg@s}{\marg@n}} \newcommand*\oarg@s[1]{\textnormal{\texttt{[#1]}}} \newcommand*\oarg@n[1]{% \textnormal{\texttt{[}$\langle$\textit{#1}$\rangle$\texttt{]}}% } -\newcommand*\oarg{\@ifstar{\oarg@s}{\oarg@n}} +\renewcommand*\oarg{\@ifstar{\oarg@s}{\oarg@n}} \newcommand*\parg@s[1]{\textnormal{\texttt{(#1)}}} \newcommand*\parg@n[1]{% \textnormal{\texttt{(}$\langle$\textit{#1}$\rangle$\texttt{)}}% } -\newcommand*\parg{\@ifstar{\parg@s}{\parg@n}} +\renewcommand*\parg{\@ifstar{\parg@s}{\parg@n}} \newcommand\malign[2][2pt]{% \makebox[0pt][l]{\kern#1\smash{\rule[-1.5mm-#2\baselineskip]{0.01pt}{5mm+#2\baselineskip}}}% @@ -90,6 +110,7 @@ \def\UrlNoBreaks{\do\(\do\[\do\{\do\<\do\:\do\.}%\] \RaggedLeft% \fussy% + \hbadness=10000% cheating \addtolength\lastlinedim{-\bibhang}% \fboxsep=0pt% \fboxrule=0pt% |