Some Useful Packages in Latex
Color control
1
2
3
4
5\usepackage{xcolor}
\usepackage{color}
\definecolor{col_matrix1}{HTML}{535353}
\definecolor{col_matrix2}{HTML}{D9D9D9}
\definecolor{col_matrix3}{HTML}{989898}Color in tables
1
\usepackage{colortbl}
Table formatting
1
\usepackage{tabularx}
Figure formatting
1
2
3
4
5
6
7\usepackage{graphicx,subfigure}
\begin{figure}
\centering
\subfigure[Subfigure a.]{\label{fig:1}\includegraphics[width=68mm]{figure1.png}}
\subfigure[Subfigure b.]{\label{fig:2}\includegraphics[width=66mm]{figure2.png}}
\caption{Two figures in a row.}
\end{figure}Page padding
1
2
3
4
5
6
7
8
9\usepackage{geometry}
\geometry{left=3.8cm,right=3.8cm,top=3.5cm,bottom=3.5cm}
\setmainfont[
Extension=.otf,
UprightFont= *-regular,
BoldFont=*-bold,
ItalicFont=*-italic,
BoldItalicFont=*-bolditalic,
]{texgyreheros}Citation formatting
1
2
3\usepackage{apacite}
\bibliographystyle{apacite}
\bibliography{bibliography.bib}