diff options
author | Karl Berry <karl@freefriends.org> | 2010-04-27 01:00:41 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-04-27 01:00:41 +0000 |
commit | 61d5522194a84bc8c81973ff2fd8901e5ce10de0 (patch) | |
tree | 66447ae7323b3e4e134c3b4f9a9f4aa85b41adc5 /Master/texmf-dist/source/latex/fancypar/fancypar.dtx | |
parent | e3e5b0d13853ec7695e9288b3702a052018b7812 (diff) |
fancypar update (26apr10)
git-svn-id: svn://tug.org/texlive/trunk@18018 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/fancypar/fancypar.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/fancypar/fancypar.dtx | 47 |
1 files changed, 24 insertions, 23 deletions
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% } |