I can't manage to control vertical spacing after (and before) paragraph which I've customized.

\paragraph{Çatışma} Birden fazla düşman birimin karşılıklı yok etme ....

And here is what i used to customize this:

\usepackage[left=3.50cm, right=2.50cm, top=3.00cm, bottom=3.00cm,nohead,nofoot]{geometry}
\epstopdfDeclareGraphicsRule{.ps}{pdf}{.pdf}{epstopdf er.ps --outfile \OutputFile}

\addto\extrasturkish{\uccode`i=\string"9D \lccode`I=\string"19 }
\addto\noextrasturkish{\uccode`i=`I \lccode`I=`i }



\renewcommand\paragraph{\@startsection  {paragraph}
                                        {0ex\@plus -0ex \@minus -.2ex}%
                                        {0.0001pt \@plus .2ex}%


\titlespacing\section{0pt}{-12pt plus 4pt minus 2pt}{-10pt plus 2pt minus 2pt}
\titlespacing\subsection{0pt}{-12pt plus 4pt minus 2pt}{-10pt plus 2pt minus 2pt}
\titlespacing\subsubsection{0pt}{-12pt plus 4pt minus 2pt}{-10 pt plus 2pt minus 2pt}
\titlespacing\paragraph{0pt}{-12pt plus 4pt minus 2pt}{-10 pt plus 2pt minus 2pt}




example I'm not even sure which packages effect each other and why... Any kind of help will be nice. Thanks in advance.

  • Welcome to TeX.SE! It would be helpful if you indicated with document class (article?, report? book? etc.) you use. Please consider augmenting the code you're provided so far into a compilable MWE (minimum working example). By the way, your two side-by-side examples are quite confusing: The one on the left has a \paragraph-style sectioning command whereas the one on the right has \section and \subsection headers but no \paragraph header. What exactly are we supposed to focus on?
    – Mico
    May 16, 2012 at 13:38
  • For a MWE you should add the used \documentclass as well as some text to see/check for the intended behaviour. May 16, 2012 at 13:42
  • Done. Because of the code size is too big i felt a bit of uncomfortable
    – interlude
    May 16, 2012 at 13:51
  • @Mico there is too much space between text before and after heading. This is the main problem.
    – interlude
    May 16, 2012 at 14:10

1 Answer 1


You mix up standard LaTeX style for section heading definitions (via \@startsection) with the declarative method used by titlesec. And that doesn't work.

Remove the redefinition for \paragraphand instead use:

\titleformat{\paragraph} {\itshape\normalsize}{\theparagraph}{1em}{#1}
\titlespacing\paragraph{0pt}{-12pt plus 4pt minus 2pt}{-15 pt plus 2pt minus 2pt}

and adjust the values for spacing as you wish.

Standard LaTeX method doesn't work if you have a \parskip that is big (eg \baselineskip) as in the \@startsection command the \parskipis always added to all dimensions. And if you try to go nevative to account for it it changes from display heading to inline heading ... a documented bug (aka feature)

  • Wow! Thank you! I just changed ...{\theparagraph}{1em}{} to ...{\theparagraph}{1em}{#1} an it work perfect.
    – interlude
    May 16, 2012 at 14:31
  • @interlude Yep, my mistake, sorry for that, or should I say exercise for the reader :-) I fixed it in the answer. May 16, 2012 at 14:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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