slatex / sTeX

A semantic Extension of TeX/LaTeX
49 stars 9 forks source link

need a variant \Sref that capitalizes for the beginning of sentences. #416

Open kohlhase opened 6 months ago

kohlhase commented 6 months ago

see the title. cleveref.sty also has this.

Actually, now that I look at this in more detail, I see that capitalization is merely unsystematic.

The sTeX-generated keywords (like Definition) are capitalized, while the LaTeX-generated ones (like *section) are lowercased. See below for an example

Screenshot 2024-03-19 at 10 30 06

This needs to be cleaned up. Probably make all keywords lowercase and (as the title says) add a variant \Sref that makes them upper case (e.g. for sentence beginnings).

kohlhase commented 6 months ago

For the moment I will use

\newcommand\Sref{\sref}

in MiKoMH/meta-inf/lib/preamble.tex so that I can make the correct capitalizations e.g. in MiKoMH/ComSem/source/drt/snip/nldynamic-intro.en.tex