LyX ⇒ Text after numeration "paragraph"
Text after numeration "paragraph"
I write my thesis in Lyx and use the article (Koma-Script) class.
When I use the numeration "paragrph", the text in this chapter starts behind in the same line.
How can I change this to normal style, what means the text begins one line under the numeration?
Thank you in advance,
Domser
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- Stefan Kottwitz
- Site Admin
- Posts: 10324
- Joined: Mon Mar 10, 2008 9:44 pm
Text after numeration "paragraph"
welcome to the board!
The package titlesec is very useful for customizing headings. Here, for just one heading type, you could redefine \paragraph to be similar to the original \subsection command of the class. Just place this code in your document preamble, adjust the lengths if desired:
Code: Select all
\makeatletter
\renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}%
{-3.25ex\@plus -1ex \@minus -.2ex}%
{1.5ex \@plus .2ex}%
{\ifnum \scr@compatibility>\@nameuse{scr@v@2.96}\relax
\setlength{\parfillskip}{\z@ plus 1fil}\fi
\raggedsection\normalfont\sectfont\nobreak\size@paragraph}%
}%
}
\makeatother
Re: Text after numeration "paragraph"
thanks a lot for your help! it works! (:
Best regards,
Domser