From 61d5522194a84bc8c81973ff2fd8901e5ce10de0 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 27 Apr 2010 01:00:41 +0000 Subject: fancypar update (26apr10) git-svn-id: svn://tug.org/texlive/trunk@18018 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/source/latex/fancypar/fancypar.dtx | 47 +++++++------- .../texmf-dist/source/latex/fancypar/fancypar.ins | 74 +++++++++++----------- 2 files changed, 61 insertions(+), 60 deletions(-) (limited to 'Master/texmf-dist/source/latex/fancypar') diff --git a/Master/texmf-dist/source/latex/fancypar/fancypar.dtx b/Master/texmf-dist/source/latex/fancypar/fancypar.dtx index 3b262e3b281..8173baad411 100644 --- a/Master/texmf-dist/source/latex/fancypar/fancypar.dtx +++ b/Master/texmf-dist/source/latex/fancypar/fancypar.dtx @@ -115,7 +115,7 @@ % Grave accent \` Left brace \{ Vertical bar \| % Right brace \} Tilde \~} % -% \changes{v 1.0}{2010/04/22}{First version} +% \changes{v 1.1}{2010/04/25}{First revision} % % \GetFileInfo{fancypar.sty} % @@ -138,15 +138,15 @@ % % \section{Introduction} % The \package{fancypar} package exploits the ``dissecting paragraphs with |\lastbox|" -% technique explained in Section 5.9.6 of Viktor Eijkhout's -% \TeX\ by Topic (See~\cite{eijk}) to provide five predefined +% technique explained in Section 5.9.6 of Victor Eijkhout's +% \TeX\ by Topic (\cite{eijk}) to provide five predefined % and easily customizable fancy paragraph styles. New designs can also be % easily defined.\par\medskip % % \MarkedPar[position=left,mark=\color{blue}\manerrarrow]{The five commands were % designed for \emph{text} paragraphs, so the mandatory argument of the five main % commands described in Section~\myref{sec:options} cannot contain, for example, -% displayed math, nor \texttt{\textbackslash par} commands. By the way, this +% displayed math. By the way, this % paragraph was typeset using one of the predefined styles offered by this % package.}\par\medskip % @@ -164,7 +164,7 @@ % in Section~\myref{sec:options}.\par\medskip % % \MarkedPar[position=left,mark=\color{blue}\manerrarrow]{The \package{fancypar} -% package internally loads the \package{xcolor} package (See~\cite{kern}) without +% package internally loads the \package{xcolor} package (\cite{kern}) without % package options. If \package{xcolor} needs to be loaded with some options in a % document, then \package{fancypar} must be loaded \emph{after} \package{xcolor} % to prevent a clash.} @@ -176,7 +176,7 @@ % \end{mycode} % Here (and in what follows) \emph{options} represents a comma-separated list of % \emph{key=value} pairs\footnote{This feature was implemented using the -% \package{xkeyval} package (See~\cite{adri}).}, controlling some attributes of the +% \package{xkeyval} package (\cite{adri}).}, controlling some attributes of the % predefined styles. The available options are described in Section~\myref{sec:options} % (a summary with the default values is shown in Table~\myref{tab:options}). % \par\medskip @@ -230,7 +230,7 @@ % % \DescribeMacro{\NotebookPar} % This command will present the affected paragraph as if it was written in a notebook. -% Using the \package{TikZ} package (See~\cite{tant}), a spiral is added by default to +% Using the \package{TikZ} package (\cite{tant}), a spiral is added by default to % the notebook (the spiral can be activated/deactivated using the |spiral| option). The % options for this command are\par\medskip % @@ -336,8 +336,8 @@ % |\DashedPar| & |separation=|\meta{length} & |0.9em|\\ % & |dashsymbol=|\meta{symbol} & -- (en-dash: |--|)\\ % & |dashcolor=|\meta{color} & |blue!50|~\colorsample{blue!50}\\\bottomrule -% |\MarkedPar| & |mark=|\meta{symbol} & |\rightpointleft| -% \rightpointleft\footnotemark\\ +% |\MarkedPar| & |mark=|\meta{symbol} & |$\surd$| +% $\surd$\\ % & |position=|\meta{right$\,\mid\,$left}& |right|\\\midrule % |\UnderlinedPar| & |rulecolor=|\meta{color} & |DarkOliveGreen3| % \colorsample{DarkOliveGreen3}\\\bottomrule @@ -346,7 +346,8 @@ % \caption{summary of the predefined styles, their options and their default values.} % \label{tab:options} % \end{table} -% \footnotetext[1]{From the \package{dingbat} package (See~\cite{paki}).} +% \changes{v 1.1}{2010/04/25}{default symbol for the mark option changed to +% $\surd$} % % \section{Defining new styles} % \DescribeMacro{\FancyPreFormat} @@ -463,13 +464,13 @@ % % |\begin{document}|\\ % |\MarkedPar{\testtext}|\\ -% |\MarkedPar[mark=\eye,position=left]{\testtext}|\\ -% |\MarkedPar[mark=\checkmark]{\testtext}|\\ +% |\MarkedPar[mark=\ddag,position=left]{\testtext}|\\ +% |\MarkedPar[mark=$\bullet$]{\testtext}|\\ % |\end{document}| % \end{mycode} % \MarkedPar{\testtext} -% \MarkedPar[mark=\eye,position=left]{\testtext} -% \MarkedPar[mark=\checkmark]{\testtext} +% \MarkedPar[mark=\ddag,position=left]{\testtext} +% \MarkedPar[mark=$\bullet$]{\testtext} % % \begin{exam}\label{exa:zebrathree} % In this example a three color zebra pattern is used for the lines of the paragraph. @@ -552,16 +553,16 @@ % \begin{thebibliography}{9} % \bibitem{adri} Hendri Adriaens, The \package{xkeyval} package. % \href{http://www.ctan.org/pkg/xkeyval}{http://www.ctan.org/pkg/xkeyval}. -% \bibitem{eijk} Viktor Eijkhout, \TeX\ by Topic. +% \bibitem{eijk} Victor Eijkhout, \TeX\ by Topic. % \href{http://www.eijkhout.net/tbt/}{http://www.eijkhout.net/tbt/}. % \bibitem{kern} Dr. Uwe Kern, The \package{xcolor} package. % \href{http://www.ctan.org/pkg/xcolor}{http://www.ctan.org/pkg/xcolor}. -% \bibitem{paki} Scott Pakin, The \package{dingbat} package. -% \href{http://www.ctan.org/pkg/dingbat}{http://www.ctan.org/pkg/dingbat}. % \bibitem{tant} Till Tantau, The \package{PGF/TikZ} package. % \href{http://www.ctan.org/pkg/pgf}{http://www.ctan.org/pkg/pgf}. % \end{thebibliography} % +% \PrintChanges +% % \DoNotIndex{\#,\$,\%,\&,\@,\\,\{,\},\^,\_,\~,\ ,\@ifpackageloaded} % \DoNotIndex{\addtolength,\baselineskip,\begingroup,\begin,\bigskip,\box} % \DoNotIndex{\color,\colorbox,\CurrentOption,\day,\def,\draw,\else,\end,\endgroup,\fi} @@ -582,16 +583,16 @@ % Standard identification: % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{fancypar}[2010/04/22 v1.0 fancy paragraphs] +\ProvidesPackage{fancypar}[2010/04/25 v1.1 fancy paragraphs] % \end{macrocode} % % We load the necessary packages: +% \changes{v 1.1}{2010/04/25}{dingbat will not be used} % \begin{macrocode} \@ifpackageloaded{xkeyval}{}{\RequirePackage{xkeyval}} \@ifpackageloaded{tikz}{\usetikzlibrary{calc}} {\RequirePackage{tikz}\usetikzlibrary{calc}} -\@ifpackageloaded{dingbat}{}{\RequirePackage{dingbat}} \@ifpackageloaded{xcolor}{}{\RequirePackage{xcolor}} % \end{macrocode} @@ -726,11 +727,11 @@ spiral=true,% textcolor=black,% nbtextwidth=\textindentright,% - mark=\rightpointleft,% + mark=$\surd$,% \changes{v 1.1}{2010/04/25}{changed to $\surd$} rulecolor=rcolor,% position=right,% dashcolor=blue!50,% - separation=0.9em, + separation=0.9em,% dashsymbol=-- } @@ -773,7 +774,7 @@ \else\relax \fi } - \hskip4mm\vphantom{Hy}% + \hskip4mm\vphantom{\strut}% \textcolor{\FancyNTextColor}{\box\linebox}% \color{\FancyNilColor}\hrule height\FancyNilHeight% \smallskip% @@ -878,7 +879,7 @@ \vskip-\baselineskip% } \renewcommand\FancyFormat{% - \vphantom{Hy}\box\linebox% + \vphantom{\strut}\box\linebox% \hbox to \textwidth{\leaderfill}% \vskip-\baselineskip% } diff --git a/Master/texmf-dist/source/latex/fancypar/fancypar.ins b/Master/texmf-dist/source/latex/fancypar/fancypar.ins index f6ab546ac25..ca825b502c5 100644 --- a/Master/texmf-dist/source/latex/fancypar/fancypar.ins +++ b/Master/texmf-dist/source/latex/fancypar/fancypar.ins @@ -1,38 +1,38 @@ -\input docstrip.tex -\keepsilent -\preamble - -Copyright (C) 2010 Gonzalo Medina (gmedinaar@unal.edu.co) - --------------------------------------------------------------------------- - -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 - http://www.latex-project.org/lppl.txt -and version 1.3 or later is part of all distributions of LaTeX -version 2003/12/01 or later. - -This work has the LPPL maintenance status "maintained". - -The Current Maintainer of this work is Gonzalo Medina. - -This work consists of the files fancypar.ins, fancypar.dtx, -and the derived files fancypar.sty and fancypar.pdf. - -\endpreamble -\generate{\file{fancypar.sty}{\from{fancypar.dtx}{package}}} -\Msg{*********************************************************} -\Msg{*} -\Msg{* To finish the installation you have to move the} -\Msg{* following file into a directory searched by TeX:} -\Msg{* } -\Msg{* \space\space fancypar.sty} -\Msg{*} -\Msg{* To produce the documentation run the file fancypar.dtx} -\Msg{* through LaTeX.} -\Msg{*} -\Msg{* Happy TeXing!} -\Msg{*********************************************************} +\input docstrip.tex +\keepsilent +\preamble + +Copyright (C) 2010 Gonzalo Medina (gmedinaar@unal.edu.co) + +-------------------------------------------------------------------------- + +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 + http://www.latex-project.org/lppl.txt +and version 1.3 or later is part of all distributions of LaTeX +version 2003/12/01 or later. + +This work has the LPPL maintenance status "maintained". + +The Current Maintainer of this work is Gonzalo Medina. + +This work consists of the files fancypar.ins, fancypar.dtx, +and the derived files fancypar.sty and fancypar.pdf. + +\endpreamble +\generate{\file{fancypar.sty}{\from{fancypar.dtx}{package}}} +\Msg{*********************************************************} +\Msg{*} +\Msg{* To finish the installation you have to move the} +\Msg{* following file into a directory searched by TeX:} +\Msg{* } +\Msg{* \space\space fancypar.sty} +\Msg{*} +\Msg{* To produce the documentation run the file fancypar.dtx} +\Msg{* through LaTeX.} +\Msg{*} +\Msg{* Happy TeXing!} +\Msg{*********************************************************} \endbatchfile \ No newline at end of file -- cgit v1.2.3