Sunday, October 29, 2017

Reference to equations

In my opinion, for equations the best is to use \eqref{}.

How to use reference to page number

For good or bad, I extensively use \autoref from the hyperref package. Mainly because it's simple.

Well there's a command named \autopageref{} which replaces \pageref{} and does exactly what I wanted. More info here.

Friday, October 20, 2017

How to reduce space between lines in a table

Sometimes (horizontal) space is jut too much in a LaTeX table.
In order to decrease it, it is actually possible to give negative values to addlinespce

\begin{tabular}{ll}
   Line1&some text\\
    \addlinespace[-0.3ex]
             Line1&some text\\
\end{tabular}

Original link:
https://tex.stackexchange.com/questions/268508/reduce-the-space-between-two-lines-in-a-latex-table