Tagged Questions
6
votes
2answers
121 views
How to append code to a section?
In my scrartcl document I want to change the spacing between sections and the first paragraph. Since I am using the parskip package, the parskip is set to a non-zero value. The \section command uses ...
9
votes
1answer
280 views
Hiding section titles when the section is empty
I have created a macro like this:
\newcommand{\showsection}[2]{
\ifstrequal{#2}{}{}{\section{#1} #2}
}
It should be used like this in the document:
\showsection{Books}{
Do you know any ...
4
votes
1answer
374 views
Current section title macro using titlesec
I have a macro that contains the title for the current section, however when using the titlesec package, it no longer works for \section and \subsection. I know titlesec redefines the functions I'm ...
1
vote
1answer
400 views
Modify chapter command (and KOMA-script addchap)
Is there something like etoolbox's \appto, that also works for \chapter and \addchap?
edit: I intend to use it to re-enable page numbering (which may or may not be disabled using ...