MRoth1910 / Vesperale-Romanum

Main repository for the Vesperale Romanum. The Vesperale Romanum is an excerpt of the Antiphonale Romanum, the chant book of the Roman Rite for chanting Vespers and Compline, the evening hours of the Divine Office.
GNU General Public License v3.0
2 stars 0 forks source link

"Festum" versus classic \section with titleformat of titlesec #10

Open MRoth1910 opened 3 months ago

MRoth1910 commented 3 months ago

\titleformat{\section}[display]{\huge\filcenter\sc\addfontfeature{LetterSpace=5.0}}{}{}{} is not quite the same as this:

\NewDocumentCommand{\festum}{m}{%
\needspace{5\baselineskip}%
\vspace{\baselineskip}%
 {\centering{\LARGE%
 {\MakeUppercase{%
 {\capspace{#1}}
 }%
 }%
\par}%
 }%
 }

Manipulating this command to match the titleformat (or vice versa to save space) would make section useful for the beginnings of subfiles (the major divisions: Christmas, Epiphany, Easter Trinity without having to resort to addcontentsline and phantomsection especially where we don't need sectioning (Ascension, Pentecost. Corpus Christi, Sacred Heart in the temporale and the double of the I (II) class feasts in the sanctorale) or where we don't have feasts (the Saturdays of the temporale before the first Sunday of the new season) because the anchors are hard to get right.

(Also remember with festum, we can type normally and then the MakeUppercase should do the rest.)

MRoth1910 commented 3 months ago

Using \section*{} will result in that specific text be displayed the same as a section heading, but no other feature of section (no section mark for headers/footers, no ToC entry, and no number).

another consideration for where we want section commands (whether or not they're in the "Index Generalis").

and the titlespacing possibility is also related (titlespacing on TeXSE)