gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.10 -dNOPAUSE -dQUIET -dBATCH -sOutputFile=new_file.pdf old_file.pdf
Last active
January 19, 2018 08:42
-
-
Save htr3n/1965f09a6093ae4f69179f2f1dedcede to your computer and use it in GitHub Desktop.
Useful Commands
Spaces
Page
\columnsep
-- the gap between columns\topmargin
-- the gap above header\topskip
-- the gap between header and text\textheight
-- the height of the main text\textwidth
-- the width of the text\oddsidemargin
-- odd page left margin\evensidemargin
Paragraphs
\parindent
-- the indentation of paragraphs\parskip
-- the gap between paragraphsFloats
\floatsep
-- the space left between floats. (multi column layout => \dblfloatsepinsted)\textfloatsep
-- the space between last top float or first bottom float and the text ( use\dbltextfloatsep
if it is a multi column layout).\intextsep
-- space left on top and bottom of an in-text float.\abovecaptionskip
-- master the space above caption\belowcaptionskip
Math
\abovedisplayskip
-- the space before maths\belowdisplayskip
-- the space after maths\arraycolsep
-- gap between columns of an arrayLists
\topsep
-- space between first item and preceding paragraph\partopsep
-- extra space added to \topsep when environment starts a new paragraph\itemsep
-- control the space between successive items – I use this one offen