How to remove the superfluous empty line before the list environment?
0
I want to put the section title in the left margin using titlesec . However, it results to a superfluous empty line when using list environment. How should I remove it without using vspace ? Minimal example: documentclass{article} usepackage{geometry} geometry{ a4paper, top=2cm, bottom=2cm, left=4.5cm, right=1.5cm, } usepackage{titlesec} titleformat{section}[leftmargin]{largescshapesffamily}{}{0cm}{} titlespacing{section}{2.5cm}{2ex}{0.5cm} usepackage{enumitem} usepackage{mwe} begin{document} section{Section A} This line is aligned with the section title. blindtext section{Section B} begin{itemize}[nosep] item This line is not aligned with the section title. end{itemize} end{document}
lists enumitem
...