diff options
author | Karl Berry <karl@freefriends.org> | 2012-10-31 21:45:29 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2012-10-31 21:45:29 +0000 |
commit | fe292a00361ba423d6f6fa42be3d88782b664c0b (patch) | |
tree | 48e2c96affe6cf169a970ab9dd7cba81edb038b2 /Master/texmf-dist/tex/latex/monofill | |
parent | 54ba93bf0a6f72847b3981af2e763a8ce60b9d07 (diff) |
monofill (31oct12)
git-svn-id: svn://tug.org/texlive/trunk@28140 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/monofill')
-rw-r--r-- | Master/texmf-dist/tex/latex/monofill/monofill.RLS | 1 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/monofill/monofill.sty | 32 |
2 files changed, 23 insertions, 10 deletions
diff --git a/Master/texmf-dist/tex/latex/monofill/monofill.RLS b/Master/texmf-dist/tex/latex/monofill/monofill.RLS index 478aabcc622..3791d89a47a 100644 --- a/Master/texmf-dist/tex/latex/monofill/monofill.RLS +++ b/Master/texmf-dist/tex/latex/monofill/monofill.RLS @@ -1,2 +1,3 @@ \ProvidesFile{monofill.RLS} %% RELEASE INFO + [2012/10/29 v0.2 \string\MFotherspace] [2012/09/30 r0.1b doc.: ize -> ese] diff --git a/Master/texmf-dist/tex/latex/monofill/monofill.sty b/Master/texmf-dist/tex/latex/monofill/monofill.sty index 30371026b0d..486bc977393 100644 --- a/Master/texmf-dist/tex/latex/monofill/monofill.sty +++ b/Master/texmf-dist/tex/latex/monofill/monofill.sty @@ -1,5 +1,5 @@ \NeedsTeXFormat{LaTeX2e}[1994/12/01] -\ProvidesPackage{monofill}[2012/03/29 v0.1a monospace alignment (UL)] +\ProvidesPackage{monofill}[2012/10/29 v0.2 monospace alignment (UL)] %% Copyright (C) 2012 Uwe Lueck, %% http://www.contact-ednotes.sty.de.vu @@ -18,7 +18,8 @@ %% %% == User Commands == %% \label{sec:user} -%% |\MFfieldtemplate[<fill-element>]{<field>}{<template>}|\\[\smallskipamount] +%% %% \[...\] rather than \\[...] 2012/10/29: +%% \[|\MFfieldtemplate[<fill-element>]{<field>}{<template>}|\] %% determines the width of fields with id <field> to be the same %% as of <template>: \newcommand*{\MFfieldtemplate}[3][\MFfillelement]{% @@ -30,13 +31,14 @@ %% `\MF@make@bg' is defined in Sec.~\ref{sec:field}. %% \medbreak\noindent %% \medbreak 2012/03/29 %% %% <- TODO as in morgan.sty "vert. cmd. box" -%% |\MFfillelement| is the default for <fill-element>, +%% \[|\MFfillelement|\] %% \[...\] 2012/10/29 +%% is the default for <fill-element>, %% defined to be (like) `\space' here: \newcommand*{\MFfillelement}{} \let\MFfillelement\space %% <fill-element> \emph{must} be a \emph{``single item"} %% (that \TeX\ converts into a single token, due to our %% comparison mechanism), so for using somewhat more complex <complex> than `\space', -%% \[`\renewcommand*{\MFfillelement}{<complex>}'\] +%% \[|\renewcommand*{\MFfillelement}{<complex>}|\] %% |...| 2012/10/29 %% must be used instead of the optional argument.---It was very hard %% for me with \emph{typesetting}, what finally worked were %% |\MFspace| and @@ -46,18 +48,27 @@ \newcommand*{\MFspace}{\mbox{ }} % \newcommand*{\MFenspace}{\leavevmode\enspace} \newcommand*{\MFenspace}{\mbox{\enspace}} -%% \medbreak\noindent %% \medbreak 2012/03/29 -%% %% <- TODO as in morgan.sty "vert. cmd. box" -%% |\MFleftinfield{<text>}{<field>}|\\[\smallskipamount] returns <text>, +%% For using the \ctanpkgref{nicefilelist} and \ctanpkgref{hardwrap} +%% packges together, I needed the following |\MFotherspace| as +%% `\MFfillelement'---expanding to a character token that is a +%% blank space according to its character code, but belongs to the +%% ``other" category: +\newcommand*{\MFotherspace}{} {\@makeother\ \gdef\MFotherspace{ }} +%% More generally, I guess that this is the perfect ``filling +%% element" in text to be wrapped by 'hardwrap'. +%% \medbreak\noindent %% \medbreak 2012/10/29 +%% \[|\MFleftinfield{<text>}{<field>}|\] +%% returns <text>, %% followed by <fill-elements> to get as many elements %% (characters) as the <template> associated with <field>: \newcommand*{\MFleftinfield}{\MF@check@field l} -%% \smallskip\noindent -%% |\MFrightinfield{<text>}{<field>}| returns the <fill-elements> -%% before giving <text>: +%% % \smallskip\noindent +%% \[|\MFrightinfield{<text>}{<field>}|\] %% \[...\] 2012/10/29 +%% returns the <fill-elements> before giving <text>: \newcommand*{\MFrightinfield}{\MF@check@field r} %% `\MF@check@field' is defined in Sec.~\ref{sec:text}. %% +%% \pagebreak %% 2012/10/29 %% == Internal Commands == %% === Tools === %% We test arguments <arg> on emptiness by @@ -187,3 +198,4 @@ v0.1 2012/03/18 started 2012/03/19 completed v0.1a 2012/03/29 doc.: \medbreak (fix); \strong +v0.2 2012/10/29 \MFotherspace; doc. slightly reformatted |