aboutsummaryrefslogtreecommitdiff
path: root/tex/preamble-style.tex
diff options
context:
space:
mode:
authorMohammad Akhlaghi <mohammad@akhlaghi.org>2018-02-28 16:30:01 +0100
committerMohammad Akhlaghi <mohammad@akhlaghi.org>2018-02-28 16:30:01 +0100
commitc318568cef429df71e699eaaa024feb85715b3d0 (patch)
tree5d3d36b41d1793037ac5ee6f90eb18c24e110f9a /tex/preamble-style.tex
parent7a989feae06c46f57d31fc434f940561a4199669 (diff)
Header for pages, new font and author management
The computer modern font that was designed by Donald Knuth and is the default of LaTeX is indeed a very good, elegant and nice font in print. However, most journals choose the roman fonts and thus the computer modern font doesn't (subjectively) fit into the journal format nicely. So the default font of this pipeline's paper now uses LaTeX's `newtx' package for a roman style font. Also, a set of preamble settings were added to allow headers in the pages of the paper to make the result resemble more like a journal paper (familiar to the eye), while also adding important information. A new header was made for this job. This new header now also contains the title and author settings (after all, these are also a type of header). Finally, the LaTeX `authblk' package was used to organize authors and their affiliations.
Diffstat (limited to 'tex/preamble-style.tex')
-rw-r--r--tex/preamble-style.tex32
1 files changed, 9 insertions, 23 deletions
diff --git a/tex/preamble-style.tex b/tex/preamble-style.tex
index 2e4180f..fb08df7 100644
--- a/tex/preamble-style.tex
+++ b/tex/preamble-style.tex
@@ -10,6 +10,15 @@
+%% Font.
+\usepackage[T1]{fontenc}
+\usepackage{newtxtext}
+\usepackage{newtxmath}
+
+
+
+
+
%% Print size
\usepackage[a4paper, includeheadfoot, body={18.7cm, 24.5cm}]{geometry}
@@ -126,26 +135,3 @@
\end{@twocolumnfalse}%
]%
}
-
-
-
-
-
-% Basic Document information that goes into the PDF meta-data.
-\hypersetup
-{
- pdfauthor={YOUR NAME},
- pdfsubject={A SHORT DESCRIPTION OF THE WORK},
- pdftitle={THE TITLE OF THIS PROJECT},
- pdfkeywords={SOME, KEYWORDS, FOR, THE, PDF}
-}
-
-
-
-
-
-% Title, author, pipeline info and date as they appear on the output PDF.
-\title{\vspace{-3em}THE TITLE OF YOUR PROJECT}
-\author{YOUR NAME, COLLEAGE1 NAME, ETC}
-\date{\small Reproduction pipeline \pipelineversion{}
- and Gnuastro \gnuastroversion\\on \today, \currenttime}