summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/catechis/catechis.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/catechis/catechis.dtx')
-rw-r--r--macros/latex/contrib/catechis/catechis.dtx14
1 files changed, 9 insertions, 5 deletions
diff --git a/macros/latex/contrib/catechis/catechis.dtx b/macros/latex/contrib/catechis/catechis.dtx
index b650d413a7..fe184bf45d 100644
--- a/macros/latex/contrib/catechis/catechis.dtx
+++ b/macros/latex/contrib/catechis/catechis.dtx
@@ -25,7 +25,7 @@
% \iffalse
%<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
-%<package>\ProvidesPackage{catechis}[2018/11/02 v2.5 Support for writing catechism questions and answers]
+%<package>\ProvidesPackage{catechis}[2021/07/17 v2.6 Support for writing catechism questions and answers]
%<*driver>
\documentclass{ltxdoc}
@@ -57,7 +57,7 @@
\end{document}
%</driver> \fi
%
-% \title{The |catechis| Package, v2.5} \author{Donald P.\
+% \title{The |catechis| Package, v2.6} \author{Donald P.\
% Goodman III} \date{\today}
%
% \maketitle
@@ -545,9 +545,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%
@@ -572,6 +575,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}%
}%