Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
MRoth1910 opened this issue Jun 15, 2024 · 1 comment
Open

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

MRoth1910 opened this issue Jun 15, 2024 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@MRoth1910
Copy link
Owner

\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 MRoth1910 added the help wanted Extra attention is needed label Jun 15, 2024
@MRoth1910
Copy link
Owner Author

MRoth1910 commented Jun 15, 2024

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant