XimeraProject / ximeraLatex

Author tools for creating Ximera activities
LaTeX Project Public License v1.3c
40 stars 35 forks source link

\chapter \section and \chapterstyle \sectionstyle #99

Open bartsnapp opened 2 years ago

bartsnapp commented 2 years ago

These could be made to play better with the standard

\section

\chapter

BUT since article does not come packaged with a title, we'd need to make ximera's default be more like "report" than article.

Maybe, we'd just need "xourse" to be more like report than article....

The code would be quite simple:

\newcommand\sectionstyle{\def\maketitle{\section\@title}}

Numbers and no numbers can be implemented easy with if and *

this would play better than the current implementation.

JNowellUF commented 6 months ago

I know this is a bit old, but since we were talking about some stuff along these lines via email, I have to ask - what are you referring to here with "article does not come packaged with a title"? the \title and \maketitle commands work normally in the article documentclass, as do (sub)sections and "parts", although I believe chapters are not natively included (but can be added easily enough if that is desired).