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

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

Open
kohlhase opened this issue Mar 15, 2024 · 1 comment
Open

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

kohlhase opened this issue Mar 15, 2024 · 1 comment

Comments

@kohlhase
Copy link
Contributor

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

  • use \maketitle if we are not in an \inputref and this is the top-level {sfragment}
  • does whatever {sfragment} does in this context else.

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

@kohlhase
Copy link
Contributor Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants