I was trying to eliminate the vertical space before and after the title of a section by using the titlesec package and the command \titlespacing*{\section}{0pt}{0pt}{0pt}, but it works only in eliminating the vertical space after the section title. Before the section title there still is a portion of double space. I've searched the database and didn't find a solution.
Tell me more
×
TeX - LaTeX Stack Exchange is a question and answer site for
users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.
|
|
||||
| show 4 more comments |
|
Don't switch to
|
|||
|

setspacepackage and\doublespacing? A a minimal working example (MWE) would be helpful. – lockstep Jan 8 '12 at 13:40\usepackage{fontspec} \usepackage{xunicode} \usepackage{xltxtra} \date{} \usepackage[compact]{titlesec} \titlespacing*{\section}{0pt}{*0}{0pt}– chimil Jan 8 '12 at 13:43setspaceappears with\onehalfspacing. But the space before the section title is clearly bigger than the one after. – chimil Jan 8 '12 at 13:47