summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-05-22 23:38:09 +0000
committerKarl Berry <karl@freefriends.org>2009-05-22 23:38:09 +0000
commitdff4dbf8de3762428b08cd3164f27a2e6bd7ab4c (patch)
treea541fd06c2539fd23d271abbea9f4d6f103036ba /Master/texmf-dist/tex
parentc07a3149dc5d6d0206762e514429d9c1105d907f (diff)
ragged2e 2.1, part of ms (21may09)
git-svn-id: svn://tug.org/texlive/trunk@13392 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/ms/ragged2e.sty52
1 files changed, 31 insertions, 21 deletions
diff --git a/Master/texmf-dist/tex/latex/ms/ragged2e.sty b/Master/texmf-dist/tex/latex/ms/ragged2e.sty
index a6a17006198..03d941856f3 100644
--- a/Master/texmf-dist/tex/latex/ms/ragged2e.sty
+++ b/Master/texmf-dist/tex/latex/ms/ragged2e.sty
@@ -6,30 +6,36 @@
%%
%% ragged2e.dtx (with options: `package')
%%
-%% Copyright (C) [1996..2003] by Martin Schroeder. All rights reserved.
+%% Copyright 1996..2009 Martin Schroeder.
%%
%% This file is part of the Ragged2e package
%% -----------------------------------------
%%
-%% This program may be redistributed and/or modified under the terms
-%% of the LaTeX Project Public License, either version 1.0 of this
-%% license, or (at your option) any later version.
+%% This work may 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
-%% CTAN:macros/latex/base/lppl.txt.
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
%%
-%% The Ragged2e package contains these files:
-%% ragged2e.dtx
-%% ragged2e.ins
+%% This work has the LPPL maintenance status `maintained'.
+%%
+%% The Current Maintainer of this work is Martin Schroeder.
+%%
+%% This work consists of the files ragged2e.dtx and ragged2e.ins
+%% and the derived file ragged2e.sty.
%%
%% Martin Schroeder
-%% Cruesemannallee 3
-%% 28213 Bremen
+%% Barmer Strasse 14
+%% 44137 Dortmund
%% Germany
%% martin@oneiros.de
%%
\NeedsTeXFormat{LaTeX2e}[1996/10/24]
\ProvidesPackage{ragged2e}
- [2003/03/25 v2.04 ragged2e Package (MS)]
+ [2009/05/21 v2.1 ragged2e Package (MS)]
+%% Copyright 1996..2009 by Martin Schr\"oder.
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
@@ -50,14 +56,14 @@
%% ===================================================================
%% @LaTeX-style-file{
%% author = {Martin Schr\"oder},
-%% version = "2.04",
-%% date = "25 March 2003",
+%% version = "2.1",
+%% date = "21 May 2009",
%% filename = "ragged2e.sty",
%% address = {Martin Schr\"oder
-%% Cr\"usemannallee 3
-%% 28213 Bremen
+%% Barmer Stra\"se 14
+%% 44137 Dortmund
%% Germany}
-%% telephone = "+49-421-2239425",
+%% telephone = "+49-231-1206574",
%% email = "martin@oneiros.de",
%% docstring = "LaTeX package which defines new commands
%% \Centering, \RaggedLeft, \RaggedRight and
@@ -120,7 +126,7 @@
\newcommand{\@raggedtwoe@abdhook}{%
\PackageInfo{ragged2e}{ABD: executing \string\RaggedRight}%
\RaggedRight
- \edef\@tocrmarg{\@tocrmarg plus 2em}%
+ \@ifundefined{@tocrmarg}{}{\edef\@tocrmarg{\@tocrmarg plus 2em}}%
\let\@raggedtwoe@abdhook\relax
}
\newcommand{\@raggedtwoe@document@opt}{%
@@ -142,7 +148,7 @@
\ProcessOptions\relax
\RequirePackage{everysel}
\if@raggedtwoe@footmisc
- \AtEndOfPackage{\RequirePackage{footmisc}[2002/08/28]}
+ \RequirePackage{footmisc}[2002/08/28]
\fi
\newlength{\CenteringLeftskip}
\newlength{\RaggedLeftLeftskip}
@@ -207,7 +213,11 @@
\@nolnerr
\else
\unskip
- \reserved@e {\reserved@f #1}{\parskip\z@\par}%
+ \ifmmode
+ \reserved@e {\reserved@f #1}\nobreak \hfil \break
+ \else
+ \reserved@e {\reserved@f #1}{\parskip\z@\par}%
+ \fi
\fi
}
\newcommand{\Centering}{%
@@ -300,8 +310,8 @@
\let\endLaTeXflushright\endflushright
\let\center\Center
\let\endcenter\endCenter
- \let\flushleft\Flushleft
- \let\endflushleft\endFlushleft
+ \let\flushleft\FlushLeft
+ \let\endflushleft\endFlushLeft
\let\flushright\FlushRight
\let\endflushright\endFlushRight
\fi