I have fictional book written in LaTeX. And it is already good structured with 4 level of heading (part, chapter, section and subsection), but for art purposes I want render instead of sections and subsections name some deliberate text (e.g. centred "***"), and the name of chapters and parts I want render in normal way. I use scrbook
and scrreprt
classes.
So I want that this:
\documentclass{scrreprt}% or scrbook
\begin{document}
\part{Alpha}
\chapter{Aleph}
text here
\section{name for an internal usage}
text there
\section{one more internal name}
more and more text
\chapter{Bet}
\section{adjacent section}
text
\section{another internal name}
text text text
\end{document}
will be render as this:
Part 1. Alpha
Chapter 1. Aleph
text here
***
text there
***
more and more text
Chapter 2. Bet
text
***
text text text
So it would be wonderful if adjacent section doesn't render at all (how is in my example), but this isn't crucial.
Also I'm focused on the rendering of text, ToC is less important, but for ideal solution it will be great, if for section and subsection ToC uses begin of the sentence of the following text.