summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/linegoal
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/linegoal')
-rw-r--r--Master/texmf-dist/tex/latex/linegoal/linegoal.sty14
1 files changed, 7 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/latex/linegoal/linegoal.sty b/Master/texmf-dist/tex/latex/linegoal/linegoal.sty
index 2c7116f05b1..ca2e1cc6da0 100644
--- a/Master/texmf-dist/tex/latex/linegoal/linegoal.sty
+++ b/Master/texmf-dist/tex/latex/linegoal/linegoal.sty
@@ -8,7 +8,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
@@ -24,9 +24,9 @@
%% Copyright (C) 2010 by Florent Chervet <florent.chervet@free.fr>
%%
\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}
\ifdefined\pdfsavepos\else
\PackageWarning\LNGL@pkg@name
@@ -44,8 +44,8 @@
\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
@@ -58,8 +58,8 @@
\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