Tuesday, July 1, 2014

Reduce spacing between successive items

\addtolength{\itemsep}{-0.1in}

Some useful variables are

    Page Layout
        \columnsep: gap between columns
        \topmargin: gap above header
        \topskip: between header and text
        \textheight: height of main text
        \textwidth: width of text
        \oddsidemargin: odd page left margin
        \evensidemargin : even page left margin
    Paragraphs
        \parindent: indentation of paragraphs
        \parskip: gap between paragraphs
    Floats (tables and figures)
        \floatsep: space left between floats.
        \textfloatsep: space between last top float or first bottom float and the text.
        \intextsep : space left on top and bottom of an in-text float.
        \dbltextfloatsep is \textfloatsep for 2 column output.
        \dblfloatsep is \floatsep for 2 column output.
        \abovecaptionskip: space above caption
        \belowcaptionskip: space below caption
    Maths
        \abovedisplayskip: space before maths
        \belowdisplayskip: space after maths
        \arraycolsep: gap between columns of an array
    Lists
        \topsep: space between first item and preceding paragraph.
        \partopsep: extra space added to \topsep when environment starts 
a new paragraph.
        \itemsep: space between successive items.

\vspace{-0.2in}
\begin{figure}[h]

List environment without spacing before/after paragraphs and between two list item,
\usepackage{enumitem}
\setlist{nolistsep}


To set space before equations, put these lines after \begin{document}

\setlength{\abovedisplayskip}{10.0pt plus 2.0pt minus 5.0pt}
\setlength{\belowdisplayskip}{10.0pt plus 2.0pt minus 5.0pt}
\setlength{\abovedisplayshortskip}{0.0pt plus 3.0pt}
\setlength{\belowdisplayshortskip}{6.0pt plus 3.0pt minus 3.0pt}
\setlength{\abovecaptionskip}{10.0pt plus 2.0pt minus 5.0pt}
\setlength{\belowcaptionskip}{10.0pt plus 2.0pt minus 5.0pt}

Reduce column spacing in tabular environments
\begin{table}[!h]\centering
\caption{}\label{}\small
\small\addtolength{\tabcolsep}{-2pt}

\begin{tabular}

No comments:

Post a Comment