commit 817cafe0013495103af0dbe2abce2342e85153dc
parent 6edc6aab4a8afbd187f95f557c8fce961cbaa905
Author: Wilson Gheen <wilson@wilsonrgheen.com>
Date: Sat, 15 Oct 2022 15:09:29 -0500
Give proper chaptertitle for Psalms
Diffstat:
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/new.tex b/new.tex
@@ -71,6 +71,11 @@
\newcommand{\subbook}[2][]{%
\newpage
+ \IfStrEqCase{#2}{%
+ {Liber Psalmorum}{%
+ \edef\chapTitle{Psalmus}%
+ }%
+ }[\edef\chapTitle{\chapterTitle}]
\begin{adjustwidth*}{5em}{5em}%
\par
\ifthenelse{\isempty{#1}}
@@ -87,7 +92,7 @@
\def\chapter #1 #2#3 {%
\Needspace{3\baselineskip}%
\vspace{.35em}%
- {\par\centering\fontfamily{lmr}\large\scshape\chapterTitle\ \RomanNum{#1}\par}%
+ {\par\centering\fontfamily{lmr}\large\scshape\chapTitle\ \RomanNum{#1}\par}%
\vspace{.35em}%
\lettrine[nindent=0.2em]{#2}{#3}~%
}