Page Layout ⇒ My paragraph and new line indents are of different lengths
My paragraph and new line indents are of different lengths
I'm having quite an annoying problem in the thesis I'm writing: the indentation lengths of \paragraph and empty lines are different.
Some of the packages I'm using: lscape, subfig, caption, fancyhdr, titlesec, makerobust, changepage.
I realise this may be a bit of a long shot without providing far more details about my document, but is this a known problem with a known solution?
Can the length of a new line indent be controlled independently from \parindent?
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
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
My paragraph and new line indents are of different lengths
Best regards and welcome to the board
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
My paragraph and new line indents are of different lengths
Ah yes, poor choice of words. What I meant is the indents of the first line of paragraphs created by (a) the command \paragraph{}; and (b) an empty line in the .tex; are of different lengths.localghost wrote:I wonder how an empty line can have indentation.
In my document, the following code
Code: Select all
\paragraph{}Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam at urna nec nulla convallis cursus in ac metus.Sed molestie justo ut nulla suscipit lacinia. Donec molestie rutrum tincidunt. Aenean egestas laoreet mauris, quis eleifend mi aliquam eget.\paragraph{}Donec imperdiet turpis sit amet mi faucibus quis fringilla metus. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos.
I'm using the book class.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
My paragraph and new line indents are of different lengths
Code: Select all
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam at urna nec nulla convallis cursus in ac metus.Sed molestie justo ut nulla suscipit lacinia. Donec molestie rutrum tincidunt. Aenean egestas laoreet mauris, quis eleifend mi aliquam eget.\medskipDonec imperdiet turpis sit amet mi faucibus quis fringilla metus. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos.
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: My paragraph and new line indents are of different lengths
Have to think about this... seems I've been doing something wrong for years.
My paragraph and new line indents are of different lengths
This made a lot of sense to me. I did use \paragraph as a sectioning command, to separate topics in my texts. However, the topics didn't warrant titles, so I'd always use \paragraph{} to obtain an indented and spaced paragraph. But apparently, I'm the only one to whom this makes sense, and in years of writing reports, I never noticed.localghost wrote:But indenting of and spacing between paragraphs together makes no sense.
So, thanks for making me take notice.