It seems that no ones asked this before. I have an unwanted indent in the second line of the subsection title. I was wondering if anybody knows how to get rid of it. Near I provide a minimal example. Thanks in advance!

    \usepackage[english,portuguese, main=russian]{babel}    

    \usepackage[toc, page]{appendix}

    \section{Section One}
    \subsection{The heading of this subsection is too long to fit in just one line. The indent after the first line is unwanted}

enter image description here

  • 1
    Welcome to the site. Your document, when compiled on my system, does not look like your posted output. Rather, the section and subsection are numbered, and the rows of the subsection title are left aligned. – Steven B. Segletes Mar 15 '17 at 17:00
  • Hi Steven! Yeap it's weird... When I compile this piece of code online in Share LaTeX it looks normal as you've just said. But in TeXStudio that I use on my desktop it looks like on the image I provided above... – Анастасия Кузнецова Mar 15 '17 at 17:22
  • 2
    Perhaps you should check to see if some of your packages are out of date... – Steven B. Segletes Mar 15 '17 at 17:25
  • titlesec once had a bug that removed the numbering. An update should fix that. Check the log file where article.cls is being loaded from. You might have a changed version. – Johannes_B Mar 16 '17 at 17:15
  • Is there any news here? – Johannes_B Apr 2 '17 at 11:17

The problem was solved by manually updating the titlesec package from 2.10.1 version to 2.10.2, not through the tlmgr package manager. The section numbering was restored, titles of the sections are displayed correctly.

| improve this answer | |

Not the answer you're looking for? Browse other questions tagged or ask your own question.