This post was originally published here
My minimal example:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 |
documentclass[a4paper]{article} %%% FIGURES AND TABLES %%%% usepackage{graphicx} %gives the includegraphics[width=0.5textwidth]{my_image} %%% PAGE AND TEXT SET-UP %%%% usepackage{fullpage} %gets rids of the wide default borders renewcommand{baselinestretch}{1.5} %space between lines begin{document} Hello hello hello end{document} And then one that is not so minimal, but still pretty basic and useful: documentclass[a4paper]{article} %%% FIGURES AND TABLES %%%% usepackage{graphicx} %gives the includegraphics[width=0.5textwidth]{my_image} usepackage{booktabs} %for nicer tables usepackage{tabu} %advanced control over tables renewcommand{thetable}{Sarabic{table}} %if this is supplement (this numbers figures as S1, S2...), comment out if main renewcommand{thefigure}{Sarabic{figure}} %if this is supplement, replace S with A if Appendix %%% SPECIAL CHARACTERS %%%% usepackage{amsmath} % amsmath provides extra maths symbols newcommand{degree}{ensuremath{^circ}} %for some reason I can not find a degree symbol from other packages or the packages I do find it from clash with some others usepackage{times} %these packages will make texttildelow look normal usepackage{textcomp} %%% REFERENCES $$$ usepackage{natbib} %references as citet (textual) or citep (parenthetical) %%% PAGE AND TEXT SET-UP %%%% usepackage{fullpage} %gets rids of the wide default borders usepackage{caption} captionsetup[table]{skip=10pt} %this adds space between the table caption and the table itself renewcommand{baselinestretch}{1.5} %space between lines begin{document} Hello hello hello bibliographystyle{apalike} bibliography{mybibfile.bib} end{document} |