LaTeX forum ⇒ Text Formattingdelete subsection Topic is solved

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Posts: 7
Joined: Wed Feb 21, 2018 10:31 pm

delete subsection

Postby marcel0138 » Fri Dec 13, 2019 10:54 pm

I use Xelatex because it works better than Lualatex. Now I want to delete a subsection and that only works with Lualatex. Is that right?

Posts: 268
Joined: Sun Nov 16, 2014 8:51 pm

Postby rais » Sat Dec 14, 2019 12:31 am

Isn't `deleting part of the source' a function of the text editor you're using?
Or are you after something to `keep in .tex file, but strip from .pdf'? That should be doable by
Code: [Select all] [Expand/Collapse] [Download] ({untitled.tex})
  1. \iffalse
  2. whatever stands here won't show up in output
  3. \fi

which should work for all TeX engines.



Posts: 7
Joined: Wed Feb 21, 2018 10:31 pm

Postby marcel0138 » Sat Dec 14, 2019 2:54 pm

In texmaker I made a subchapter in chapter 4. I moved this to chapter 5. This was good, but the rule also remained in the content in chapter 4.

Posts: 7
Joined: Wed Feb 21, 2018 10:31 pm

Postby marcel0138 » Tue Dec 17, 2019 6:33 pm

Waarschijnlijk opgelost. Lualatex en xelatex kunnen allebei voor mijn boek gebruikt worden. Alleen voor één bladzij met het lettertype comicsans maakt het iets verschil. Het probleem was dat ik een subhoofdstuk verplaatste van hoofdstuk 4 naar 5 en dat lukte wel maar de regel bleef in 4 staan terwijl het verwijderd was. Meerdere keren converteren en steeds op pdf klikken dan gaat het goed.

User avatar
Stefan Kottwitz
Site Admin
Posts: 9569
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Tue Dec 17, 2019 8:22 pm

Hi Marcel,

thanks for letting us know that it's solved! As we are an english language forum, I translate your post for our readers.

Probably solved. Lualatex and xelatex can both be used for my book. Only for one page with the comicsans font does it make a difference. The problem was that I moved a subchapter from chapter 4 to 5 and I succeeded but the line remained in 4 while it was removed. Converting multiple times and always clicking on PDF then everything goes well.

Stefan admin

Return to “Text Formatting”

Who is online

Users browsing this forum: No registered users and 1 guest