diff options
author | Karl Berry <karl@freefriends.org> | 2010-06-06 22:04:17 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-06-06 22:04:17 +0000 |
commit | f946e83a3e1602921a33b84330397adf3b9b4c22 (patch) | |
tree | 26dba25cba698420be56b0a8ea4d77bbae364675 /Master/texmf-dist/source/latex/linegoal/linegoal.dtx | |
parent | 8cb1f8bb85c22a13ea39018c68cb89d47ff968c5 (diff) |
linegoal 1.1 (5jun10)
git-svn-id: svn://tug.org/texlive/trunk@18778 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/linegoal/linegoal.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/linegoal/linegoal.dtx | 32 |
1 files changed, 18 insertions, 14 deletions
diff --git a/Master/texmf-dist/source/latex/linegoal/linegoal.dtx b/Master/texmf-dist/source/latex/linegoal/linegoal.dtx index fd613d8a99b..08a6339c1eb 100644 --- a/Master/texmf-dist/source/latex/linegoal/linegoal.dtx +++ b/Master/texmf-dist/source/latex/linegoal/linegoal.dtx @@ -1,5 +1,5 @@ % \iffalse meta-comment -% enumitem-zref : 2010/05/07 v1.0 - linegoal : a new dimen corresponding to the remainder of the line] +% linegoal : 2010/06/06 v1.1 - linegoal : a new dimen corresponding to the remainder of the line] % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either @@ -37,7 +37,7 @@ \tracingall \tracingonline=0 \Msg{************************************************************************} \Msg{* Installation} -\Msg{* Package: 2010/05/07 v1.0 - linegoal : a new dimen corresponding to the remainder of the line} +\Msg{* Package: 2010/06/06 v1.1 - linegoal : a new dimen corresponding to the remainder of the line} \Msg{************************************************************************} \keepsilent @@ -48,7 +48,7 @@ This is a generated file. -linegoal : 2010/05/07 v1.0 - linegoal : a new dimen corresponding to the remainder of the line +linegoal : 2010/06/06 v1.1 - linegoal : a new dimen corresponding to the remainder of the line This work may be distributed and/or modified under the conditions of the LaTeX Project Public License, either @@ -100,8 +100,8 @@ Copyright (C) 2010 by Florent Chervet <florent.chervet@free.fr> %<*driver> \edef\thisfile{\jobname} \def\thisinfo{A new ``dimen'' corresponding to the remainder of the line} -\def\thisdate{2010/05/07} -\def\thisversion{1.0} +\def\thisdate{2010/06/06} +\def\thisversion{1.1} \def\CTANbaseurl{http://www.ctan.org/tex-archive/macros/latex} \def\CTANdisplay{CTAN:macros/latex} \makeatletter\protected\def\CTANhref{\@ifstar\CTANhrefstar\CTANhrefnost}\makeatother @@ -290,7 +290,7 @@ Copyright (C) 2010 by Florent Chervet <florent.chervet@free.fr> % \label{userinterface} % % \begin{VerbLines} -% This is a tabular in the remainder of the line: +% This is a tabular that fills the remainder of the line: % \begin{tabularx}\linegoal{|l|X|}\hline % Something & Something else \\ % Something & Something else \\\hline @@ -300,14 +300,14 @@ Copyright (C) 2010 by Florent Chervet <florent.chervet@free.fr> % \DeleteShortVerb{\+} % \tracingtabularx % -% This is a tabular in the remainder of the line: +% This is a tabular that fills the remainder of the line: % \ifcsname ver@linegoal.sty\endcsname % \begin{tabularx}\linegoal{|l|X|}\hline % Something & Something else \\ % Something & Something else \\\hline % \end{tabularx} % \else -% \begin{tabularx}{302pt}{|l|X|}\hline +% \begin{tabularx}{279.6pt}{|l|X|}\hline % Something & Something else \\ % Something & Something else \\\hline % \end{tabularx}% @@ -331,9 +331,9 @@ Copyright (C) 2010 by Florent Chervet <florent.chervet@free.fr> % \begin{macrocode} %<*package> \NeedsTeXFormat{LaTeX2e}% LaTeX 2.09 can't be used (nor non-LaTeX) - [2005/12/01]% LaTeX must be 2005/12/01 or younger (see kvsetkeys.dtx). + [2005/12/01]% LaTeX must be 2005/12/01 or younger \ProvidesPackage{linegoal} - [2010/05/07 v1.0 - A new dimen corresponding to the remainder of the line] + [2010/06/06 v1.1 - A new dimen corresponding to the remainder of the line] \def\LNGL@pkg@name{linegoal} % \end{macrocode} % @@ -369,8 +369,8 @@ Copyright (C) 2010 by Florent Chervet <florent.chervet@free.fr> \global\advance\LNGL@unique\@ne \pdfsavepos \zref@labelbyprops{linegoal.\the\LNGL@unique}{posx,LNGL@page}% - #1=\dimexpr\linewidth-\zposx{linegoal.\the\LNGL@unique}sp% - +\ifodd\zref@extractdefault{linegoal.\the\LNGL@unique}{LNGL@page}{0} + #1=\dimexpr\linewidth-\zref@extractdefault{linegoal.\the\LNGL@unique}{posx}0sp + +\ifodd\zref@extractdefault{linegoal.\the\LNGL@unique}{LNGL@page}0 \oddsidemargin \else \evensidemargin \fi @@ -383,8 +383,8 @@ Copyright (C) 2010 by Florent Chervet <florent.chervet@free.fr> \def\LNGL@AtBeginDocument@hook{% \let\LNGL@ORI@setlength\setlength \protected\def\setlength##1##2{% - \ifx\linegoal##2 \expandafter\set@linegoal - \else \expandafter\LNGL@ORI@setlength + \ifx\linegoal##2\expandafter\set@linegoal + \else \expandafter\LNGL@ORI@setlength \fi{##1}{##2}% }% \setlength }% \LNGL@AtBeginDocument@hook @@ -397,6 +397,10 @@ Copyright (C) 2010 by Florent Chervet <florent.chervet@free.fr> % % \DeleteShortVerb{\+} % \begin{History} +% +% \begin{Version}{2010/06/06 v1.1} +% \item The first release required some small corrections ! +% \end{Version} % % \begin{Version}{2010/05/07 v1.0} % \item First version. |