texlive[56644] Master: centerlastline (12oct20)

commits+karl at tug.org commits+karl at tug.org
Mon Oct 12 23:41:01 CEST 2020


Revision: 56644
          http://tug.org/svn/texlive?view=revision&revision=56644
Author:   karl
Date:     2020-10-12 23:41:01 +0200 (Mon, 12 Oct 2020)
Log Message:
-----------
centerlastline (12oct20)

Modified Paths:
--------------
    trunk/Master/tlpkg/bin/tlpkg-ctan-check
    trunk/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc

Added Paths:
-----------
    trunk/Master/texmf-dist/doc/latex/centerlastline/
    trunk/Master/texmf-dist/doc/latex/centerlastline/README
    trunk/Master/texmf-dist/doc/latex/centerlastline/centerlastline.pdf
    trunk/Master/texmf-dist/source/latex/centerlastline/
    trunk/Master/texmf-dist/source/latex/centerlastline/centerlastline.dtx
    trunk/Master/texmf-dist/source/latex/centerlastline/centerlastline.ins
    trunk/Master/texmf-dist/tex/latex/centerlastline/
    trunk/Master/texmf-dist/tex/latex/centerlastline/centerlastline.sty
    trunk/Master/tlpkg/tlpsrc/centerlastline.tlpsrc

Added: trunk/Master/texmf-dist/doc/latex/centerlastline/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/centerlastline/README	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/centerlastline/README	2020-10-12 21:41:01 UTC (rev 56644)
@@ -0,0 +1,44 @@
+centerlastline --- last line centered (spanish paragraph)
+=========================================================
+
+Versions
+1.0 -> initial version
+
+Copyright (C) 2020 Miguel V. S. Frasson (mvsfrasson at gmail.com)
+
+LICENSE
+=======
+
+This file is the README file, part of the `centerlastline' package.
+
+This package may be distributed under the terms of the LaTeX Project
+Public License, as described in lppl.txt in the base LaTeX
+distribution, either version 1.3 or (at your option) any later
+version.
+
+You can obtain a copy of the lppl.txt file from the internet on
+http://www.latex-project.org/lppl.txt
+
+USAGE
+=====
+
+The package _centerlastline_ provides command \centerlastline, which
+sets paragraph style to typeset with no indentation and last line
+centered, an arrangemente known as _Spanish paragraph_. An example
+
+{\centerlastline
+A big paragraph to be formatted with no indentation and last line
+centered. It is a not-so-frequent composition, useful to finish a
+large paragraph of text, at the end of chapters, prologues, back cover
+of books, etc.  Be careful to finish the paragraph with a blanck line
+or \verb+\par+, to the paragraph style take effect.\par}
+
+It can be used as an environment too, as in
+
+\begin{centerlastline}
+A paragraph to be formatted as a Spanish paragraph.  In environment
+form, user doesn't have to take care of last paragraph.  The
+environment taks care of everything.
+\end{centerlastline}
+
+


Property changes on: trunk/Master/texmf-dist/doc/latex/centerlastline/README
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/centerlastline/centerlastline.pdf
===================================================================
(Binary files differ)

Index: trunk/Master/texmf-dist/doc/latex/centerlastline/centerlastline.pdf
===================================================================
--- trunk/Master/texmf-dist/doc/latex/centerlastline/centerlastline.pdf	2020-10-12 21:40:18 UTC (rev 56643)
+++ trunk/Master/texmf-dist/doc/latex/centerlastline/centerlastline.pdf	2020-10-12 21:41:01 UTC (rev 56644)

Property changes on: trunk/Master/texmf-dist/doc/latex/centerlastline/centerlastline.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pdf
\ No newline at end of property
Added: trunk/Master/texmf-dist/source/latex/centerlastline/centerlastline.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/centerlastline/centerlastline.dtx	                        (rev 0)
+++ trunk/Master/texmf-dist/source/latex/centerlastline/centerlastline.dtx	2020-10-12 21:41:01 UTC (rev 56644)
@@ -0,0 +1,114 @@
+%% \CheckSum{11}
+% \iffalse
+% File: centerlastline.dtx
+% Copyright (C) 2020 Miguel V. S. Frasson (mvsfrasson at gmail.com)
+%
+% This package may be distributed under the terms of the LaTeX
+% Project Public License, as described in lppl.txt in the base
+% LaTeX distribution, either version 1.2 or (at your option)
+% any later version.
+%
+%<*driver>
+\documentclass{ltxdoc}
+\usepackage{doc}
+\usepackage[T1]{fontenc}
+\usepackage{xcolor,lipsum,centerlastline,microtype}
+%\usepackage[margin=1.6in]{geometry}
+\begin{document}
+  \DocInput{centerlastline.dtx}
+\end{document}
+%</driver>
+% \fi
+%
+% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% \StopEventually
+%
+% \changes{1.0}{2020/10/12}{Initial version}
+%
+% \MakeShortVerb+
+%
+% \title{\textsf{centerlastline}: last line centered}
+% \author{Miguel V.\ S.\ Frasson\\(\texttt{mvsfrasson at gmail.com})}
+% \date{2020, oct. 12}
+%
+% \maketitle
+%
+% This package provides command +\centerlastline+, which sets
+% paragraph style\footnote{Paragraph style like
+% \texttt{\string\centering}, \texttt{\string\raggedright} or
+% \texttt{\string\raggedleft}.} to typeset with no indentation and
+% last line centered, an arrangement known as \emph{spanish
+% paragraph}.  It is a not-so-frequent composition, useful to finish a
+% large paragraph of text, at the end of chapters, prologues, back
+% cover of books, etc.  It can be used as an environment
+% +centerlastline+.
+%
+% In command form +\centerlastline+, user must take care that the text
+% ends with a new paragraph (either a blank line or a +\par+), to
+% ensure that the paragraph style +\centerlastline+ is active at the
+% end of the paragraph.  In environment form, this is automatic.
+%
+% Below an example of
+% such paragraph\ldots\bigskip
+%
+% \begin{centerlastline}
+%   \color{blue}\lipsum[1]
+% \end{centerlastline}\bigskip
+%
+% \noindent \ldots{} produced with\bigskip
+%
+% \noindent
+% +\begin{centerlastline}+\\
+% +  \color{blue}\lipsum[1]+\\
+% +\end{centerlastline}+\medskip
+%
+% \noindent or\medskip
+%
+% \noindent +{\centerlastline+\\+   \color{blue}\lipsum[1]\par}+
+%
+% \clearpage
+% \section*{Code}
+%
+% Identidication of the package.
+%    \begin{macrocode}
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{centerlastline}[2020/10/12 v1.0 Last line centered (spanish par.)]
+%    \end{macrocode}
+%
+% \DescribeMacro{\centerlastline}
+% Implementation of +\centerlastline+ based on +\centerlastline+ from
+% ``memoir'' class. Definition with +\providecommand+ to avoid error
+% if loaded with ``memoir'' class.
+%    \begin{macrocode}
+\providecommand{\centerlastline}{%
+  \parindent=0pt
+  \leftskip=0pt plus 1fil
+  \rightskip=0pt plus -1fil
+  \parfillskip=0pt plus 2fil}
+%    \end{macrocode}
+%
+% Ending enviromnment with +\par+ to ensure paragraph style keeps
+% effect until last paragraph.
+%    \begin{macrocode}
+\def\endcenterlastline{\par}
+%    \end{macrocode}
+% \Finale
+%
+\endinput
+%
+%% \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
+%%   Digits        \0\1\2\3\4\5\6\7\8\9
+%%   Exclamation   \!     Double quote  \"     Hash (number) \#
+%%   Dollar        \$     Percent       \%     Ampersand     \&
+%%   Acute accent  \'     Left paren    \(     Right paren   \)
+%%   Asterisk      \*     Plus          \+     Comma         \,
+%%   Minus         \-     Point         \.     Solidus       \/
+%%   Colon         \:     Semicolon     \;     Less than     \<
+%%   Equals        \=     Greater than  \>     Question mark \?
+%%   Commercial at \@     Left bracket  \[     Backslash     \\
+%%   Right bracket \]     Circumflex    \^     Underscore    \_
+%%   Grave accent  \`     Left brace    \{     Vertical bar  \|
+%%   Right brace   \}     Tilde         \~}


Property changes on: trunk/Master/texmf-dist/source/latex/centerlastline/centerlastline.dtx
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/source/latex/centerlastline/centerlastline.ins
===================================================================
--- trunk/Master/texmf-dist/source/latex/centerlastline/centerlastline.ins	                        (rev 0)
+++ trunk/Master/texmf-dist/source/latex/centerlastline/centerlastline.ins	2020-10-12 21:41:01 UTC (rev 56644)
@@ -0,0 +1,27 @@
+
+\input docstrip
+
+\preamble
+
+Copyright (C) 2020 Miguel V. S. Frasson (mvsfrasson at gmail.com)
+
+This file is part of the `centerlastline' package.
+
+This package may be distributed under the terms of the LaTeX
+Project Public License, as described in lppl.txt in the base
+LaTeX distribution, either version 1.2 or (at your option)
+any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+
+\endpreamble
+
+\askforoverwritefalse
+\askonceonly
+\showprogress
+
+\generate{\file{centerlastline.sty}{\from{centerlastline.dtx}{}}}
+
+\endbatchfile
\ No newline at end of file

Added: trunk/Master/texmf-dist/tex/latex/centerlastline/centerlastline.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/centerlastline/centerlastline.sty	                        (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/centerlastline/centerlastline.sty	2020-10-12 21:41:01 UTC (rev 56644)
@@ -0,0 +1,33 @@
+%%
+%% This is file `centerlastline.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% centerlastline.dtx 
+%% 
+%% Copyright (C) 2020 Miguel V. S. Frasson (mvsfrasson at gmail.com)
+%% 
+%% This file is part of the `centerlastline' package.
+%% 
+%% This package may be distributed under the terms of the LaTeX
+%% Project Public License, as described in lppl.txt in the base
+%% LaTeX distribution, either version 1.2 or (at your option)
+%% any later version.
+%% 
+%% This program is distributed in the hope that it will be useful,
+%% but WITHOUT ANY WARRANTY; without even the implied warranty of
+%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+%% 
+%% \CheckSum{11}
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{centerlastline}[2020/10/12 v1.0 Last line centered (spanish par.)]
+\providecommand{\centerlastline}{%
+  \parindent=0pt
+  \leftskip=0pt plus 1fil
+  \rightskip=0pt plus -1fil
+  \parfillskip=0pt plus 2fil}
+\def\endcenterlastline{\par}
+\endinput
+%%
+%% End of file `centerlastline.sty'.


Property changes on: trunk/Master/texmf-dist/tex/latex/centerlastline/centerlastline.sty
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/tlpkg/bin/tlpkg-ctan-check
===================================================================
--- trunk/Master/tlpkg/bin/tlpkg-ctan-check	2020-10-12 21:40:18 UTC (rev 56643)
+++ trunk/Master/tlpkg/bin/tlpkg-ctan-check	2020-10-12 21:41:01 UTC (rev 56644)
@@ -157,7 +157,8 @@
     cbcoptic cbfonts cbfonts-fd
     cc-pl ccaption ccfonts ccicons cclicenses ccool
     cd cd-cover cdpbundl
-    cell cellprops cellspace celtic censor centeredline cesenaexam
+    cell cellprops cellspace celtic censor
+    centeredline centerlastline cesenaexam
     cfr-initials cfr-lm
     changebar changelayout changelog changepage changes
     chappg chapterfolder charissil charter

Added: trunk/Master/tlpkg/tlpsrc/centerlastline.tlpsrc
===================================================================
Modified: trunk/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc
===================================================================
--- trunk/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc	2020-10-12 21:40:18 UTC (rev 56643)
+++ trunk/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc	2020-10-12 21:41:01 UTC (rev 56644)
@@ -158,6 +158,7 @@
 depend cellspace
 depend censor
 depend centeredline
+depend centerlastline
 depend changebar
 depend changelayout
 depend changelog



More information about the tex-live-commits mailing list.