slatex / sTeX

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

A "maketitle" style for \begin{sfragement} #420

Open kohlhase opened 4 months ago

kohlhase commented 4 months ago

I am currently sTeXifying Deepak D'Souza's TheoCS course at IISc (see https://gl.mathhub.info/courses/IISc/ATC/course). And he has organized his course into "lecture" which are separate files. In the original (see the deepak branch), he gives the lecture title using maketitle, but in sTeX the natural way of doing so would be via a \begin{sfragment}, so that the lectures can become part of the "course".

It would be nice if we could use {sfragment}[style=maketitle] in the sources at top-level (yes, I know that somehow the document environment is duplicated here) where the style woudl

@Jazzpirate If you make the style, I will document it.

kohlhase commented 4 months ago

Actually, I think that this could be a good default style.