LyXTOC: Page number erroneously in new line?

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
JohnGalt
Posts: 7
Joined: Sat Aug 13, 2016 11:30 am

TOC: Page number erroneously in new line?

Post by JohnGalt »

Hello community,

I am a LaTeX newby, and just started to write my master thesis using LyX. The GUI is great so far, but I've stumbled across a weird behaviour I can't seem to fix.

As I needed more subsections than just the pre-defined ones, I started using paragraphs instead. I defined them to be listed in the Table of Contents via

Document -> Settings -> Numbering & TOC -> moving the 'List in Table of Contents' slider one further

when previewing the .pdf, however, the number of the paragraph appears to be printed in the center of a new line instead of the right side, rendering the TOC style inconsistent.

I've attached an image of the output:
Image

6 and 9 refers to the respective page numbers of the paragraphs.

Does anybody know what might cause this error, and how I can circumvent it?

Best regards,
John

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

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: 10335
Joined: Mon Mar 10, 2008 9:44 pm

Re: TOC: Page number erroneously in new line?

Post by Stefan Kottwitz »

Hi John,

welcome to the forum!

It's hard to say without the code. Perhaps post your .lyx document as attachment here in the forum, and also a LaTeX export file. You can export LyX to LaTeX in the main menu, first menu.

Stefan
LaTeX.org admin
Post Reply