aboutsummaryrefslogtreecommitdiff
path: root/tex/preamble-style.tex
diff options
context:
space:
mode:
authorMohammad Akhlaghi <mohammad@akhlaghi.org>2018-02-27 10:42:20 +0100
committerMohammad Akhlaghi <mohammad@akhlaghi.org>2018-02-27 10:42:20 +0100
commit4360fbd36203022fde68b12f90548ca3a39085ce (patch)
tree9050a6a21743f7ccac2591e1e86d0043d13d68c7 /tex/preamble-style.tex
parentc47486ccbf291c6e06df803f9abcdfcb6af5ca66 (diff)
Copyrights and TeX management made more clear
Until now, the copyright statement was left empty for the users of the pipeline to fill. However, the files have already been created and have an author (or contributing authors) before the user starts using the pipeline. So the original authors of the files are added along with the year. The user can add their own name to the existing files under the "Contributing author" when they start and they will be the "Original author" of the new files they create. Several changes were also made to the TeX management: - LaTeX is run within a `reproduce/build/tex/build' directory now. Not in the top reproduction pipeline directory. This helps keep all the auxiliary TeX files and directories in that directory and keep the top reproduction pipeline directory clean. After the final PDF is built, a copy is put in the top reproduction pipeline directory for easy viewing. - The PGFPlots preamble was also made more useful, allowing the name of the `.tex' file to also be the name of the final plot that is produced. This is a GREAT feature, because without it, the TiKZ externalization would be based on order of the plots within the paper. But now, order is irrelevant and we can even delete the TiKZ files within the processing workhorse-Makefiles so the plots are definitly rebuilt on the next run. - The paper is now in a two-column format to be more similar to published papers. A tip on debugging Make was added to `README.md'.
Diffstat (limited to 'tex/preamble-style.tex')
-rw-r--r--tex/preamble-style.tex39
1 files changed, 38 insertions, 1 deletions
diff --git a/tex/preamble-style.tex b/tex/preamble-style.tex
index d22354d..d794ac1 100644
--- a/tex/preamble-style.tex
+++ b/tex/preamble-style.tex
@@ -8,12 +8,31 @@
+
+
%% Print size
\usepackage[a4paper, includeheadfoot, body={18.7cm, 24.5cm}]{geometry}
+
+%% Page using multiple columns
+\usepackage{multicol}
+
+
+
+
+
+%% Allow using figures within the `multi-col' environment.
+\newenvironment{Figure}
+ {\par\medskip\noindent\minipage{\linewidth}}
+ {\endminipage\par\medskip}
+
+
+
+
+
%% Set the distance between the columns if two columns:
\setlength{\columnsep}{0.75cm}
@@ -35,38 +54,52 @@
+
+
%% Color related settings:
\usepackage{xcolor}
\color{black} % Text color
\definecolor{DarkBlue}{RGB}{0,0,90}
+
+
+
+
% figure and figure* ordering correction:
\usepackage{fixltx2e}
+
+
%% For editing the caption appearence. The `setspace' package defines
%% the `stretch' variable. `abovecaptionskip' is the distance between
%% the figure and the caption.
\usepackage{setspace, caption}
-\captionsetup{font=small, labelfont={color=DarkBlue,bf}, skip=1pt}
+\captionsetup{font=footnotesize, labelfont={color=DarkBlue,bf}, skip=1pt}
\captionsetup[figure]{font={stretch=1, small}}
\setlength{\abovecaptionskip}{3pt plus 1pt minus 1pt}
+
+
%% To make the footnotes align:
\usepackage[hang]{footmisc}
\setlength\footnotemargin{10pt}
+
+
%For including time in the title:
\usepackage{datetime}
+
+
%To make links to webpages and include document information in the
%properties of the PDF
\usepackage[
@@ -79,6 +112,8 @@
+
+
% Basic Document information that goes into the PDF meta-data.
\hypersetup
{
@@ -90,6 +125,8 @@
+
+
% Title, author, pipeline info and date as they appear on the output PDF.
\title{THE TITLE OF THIS PROJECT}
\author{YOUR NAME, COLLEAGE1 NAME, ETC}