diff options
author | Karl Berry <karl@freefriends.org> | 2021-07-20 19:43:52 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-07-20 19:43:52 +0000 |
commit | 88b45132c05f017df91dda98c1bb8d75e4e381a3 (patch) | |
tree | 8e1a0152fdcfd97eddd8362dc890f1f0474d2713 /Master/texmf-dist/tex/latex/catechis | |
parent | 0ea1c4cbf396454ec3d8f39b878ef2df9fc16a76 (diff) |
catechis (20jul21)
git-svn-id: svn://tug.org/texlive/trunk@59998 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/catechis')
-rw-r--r-- | Master/texmf-dist/tex/latex/catechis/catechis.sty | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/catechis/catechis.sty b/Master/texmf-dist/tex/latex/catechis/catechis.sty index dc2f23efd96..0c79c2f0880 100644 --- a/Master/texmf-dist/tex/latex/catechis/catechis.sty +++ b/Master/texmf-dist/tex/latex/catechis/catechis.sty @@ -26,7 +26,7 @@ %% derived files catechis.sty and catechis.pdf. \NeedsTeXFormat{LaTeX2e}[1999/12/01] -\ProvidesPackage{catechis}[2018/11/02 v2.5 Support for writing catechism questions and answers] +\ProvidesPackage{catechis}[2021/07/17 v2.6 Support for writing catechism questions and answers] \RequirePackage{paralist} \setdefaultenum{(a)}{(1)}{(i)}{(A)} \setdefaultleftmargin{3.8em}{}{}{}{}{} @@ -75,9 +75,12 @@ \def\catcitetitlesty{\Large\scshape}% \def\catcitetitleword{Citations}% \def\catcitetitle{% -\begin{center}% -\catcitetitlesty\catcitetitleword% -\end{center}% +\hbox to\linewidth{% +\hfil% +{\catcitetitlesty\catcitetitleword}% +\hfil% +}% +\penalty10000% }% \newlength\catcitationbefskip\catcitationbefskip=1em% \newlength\catcitationaftskip\catcitationaftskip=1em% @@ -99,6 +102,7 @@ \def\catcite#1#2{% {\parindent=\catciteindent\hangindent=\catcitehindent\hangafter=1% {\par\catcitesty #1}\par}% +\penalty10000% {\parindent=\catsrcindent\hangindent=\catsrchindent\hangafter=1% {\par\catsrcsty#2}\par}% }% |