aboutsummaryrefslogtreecommitdiff
path: root/tex/src/preamble-style.tex
diff options
context:
space:
mode:
authorMohammad Akhlaghi <mohammad@akhlaghi.org>2020-11-04 22:40:47 +0000
committerMohammad Akhlaghi <mohammad@akhlaghi.org>2020-11-04 22:48:22 +0000
commit08516255b1cf366069770026503986f12d59bcc1 (patch)
tree7608cd494bccdd5c097766555601f625e5ab128d /tex/src/preamble-style.tex
parent6e74101fe4a435672a2401afed887c8826049380 (diff)
Appendix of long paper added, optionally we can disable it
Given the referee reports, after discussing with the editors of CiSE, we decided that it is important to include the complete appendix we had before that included a thorough review of existing tools and methods. However, the appendix will not be published in the paper (due to the strict word-count limit). It will only be used in the arXiv/Zenodo versions of the paper. This actually created a technical problem: we want the commit hash of the project source to remain the same when the paper is built with an appendix or without it. To fix this problem the choice of including an appendix has gone into the 'project' script as a run-time option called '--no-appendix'. So by default (when someone just runs './project make'), the PDF will have an appendix, but when we want to submit to the journal, or when the appendix isn't needed for a certain reason, we can use this new option. The appendix also has its own separate bibliography. Some other corrections made in this commit: 1. Some new references were added that had an '_' in their source, they were corrected in 'references.tex'. 2. I noticed that 'preamble-style.tex' is not actually used in this paper, so it has been deleted.
Diffstat (limited to 'tex/src/preamble-style.tex')
-rw-r--r--tex/src/preamble-style.tex156
1 files changed, 0 insertions, 156 deletions
diff --git a/tex/src/preamble-style.tex b/tex/src/preamble-style.tex
deleted file mode 100644
index f8b95d6..0000000
--- a/tex/src/preamble-style.tex
+++ /dev/null
@@ -1,156 +0,0 @@
-%% Set the page margins (use `showframe' to see the sides).
-%% A4 is 210mm x 297mm
-\usepackage[a4paper]{geometry}
-
-%% Horizontal space of text: total is 210mm
-\setlength{\hoffset}{0mm} % remaining: 190mm
-\setlength{\textwidth}{155mm} % remaining: 160mm
-\setlength{\marginparsep}{0pt}
-\setlength{\marginparwidth}{0pt}
-\setlength{\oddsidemargin}{0pt}
-
-%% Vertical space of text: total is 297mm.
-\setlength{\voffset}{-15.4mm} % remaining: 287mm (== 10mm (1 inch + \hoffset).
-\setlength{\topmargin}{0mm} % remaining: 287mm.
-\setlength{\headheight}{10mm} % remaining: 277mm.
-\setlength{\headsep}{10mm} % remaining: 272mm.
-\setlength{\textheight}{245mm} % remaining: 22mm.
-\setlength{\footskip}{7mm} % remaining: 10mm.
-
-%% To see the layout, add a `\layout' right after `\begin{document}'.
-\usepackage{layout}
-
-%% To display codes.
-\usepackage{listings}
-\input{listings-bash.prf}
-\lstset{
- frame=none,
- commentstyle=\color{gray},
- basicstyle=\small\ttfamily,
-}
-
-%% To allow a prefix to the enumeration.
-\usepackage{enumitem}
-\setlist{nolistsep} % No space before `\begin{itemize}'
-
-%% Horizontal line with spacing
-\newcommand{\horizontalline}{\vspace{3mm}\hrule\vspace{3mm}}
-
-%% Custom title format
-\usepackage{setspace}
-\makeatletter
-\renewcommand{\maketitle}{\bgroup\setlength{\parindent}{0pt}
- \begin{flushleft}
- {\mpbold RESEARCH PAPER}
-
- \vspace{3mm}
- {\LARGE\mpmedium \@title}
-
- \vspace{2mm}
- \@author
- \end{flushleft}\egroup
- \horizontalline
-}
-\makeatother
-
-%% For authors and affiliations
-\newcommand{\authoraffil}[2]{#1\textsuperscript{\mplight#2}}
-
-%% Spacing before and after section titles.
-%% Format: \titlespacing*{<command>}{<left>}{<before-sep>}{<after-sep>}
-\usepackage{titlesec}
-\titlespacing*{\section} {0pt}{10pt plus 0pt minus 0pt}{0pt plus 0pt minus 0pt}
-\titlespacing*{\subsection} {0pt}{7pt plus 0pt minus 0pt} {0pt plus 0pt minus 0pt}
-\titlespacing*{\subsubsection}{0pt}{4pt plus 0pt minus 0pt} {0pt plus 0pt minus 0pt}
-\titleformat{\section}{\Large\scshape\bf}{\thesection.{ }}{0pt}{}
-\titleformat{\subsection}{\large\bfseries\itshape}{\thesubsection.{ }}{0pt}{}
-\titleformat{\subsubsection}{\bfseries\itshape}{\thesubsubsection.{ }}{0pt}{}
-
-%% Set the font.
-%% After downloading, put the font in `/usr/share/fonts/TTF'.
-%% https://www.fontspace.com/m-fonts/m-2p
-%% Also for M+: https://mplus-fonts.osdn.jp/about-en.html
-%% https://www.fontpalace.com/font-download/Memento/
-\usepackage{fontspec}
-\usepackage[T1]{fontenc}
-\usepackage{Alegreya}
-\newfontfamily\mplight{AlegreyaSans-Light}
-\newfontfamily\mpbold{AlegreyaSans-Bold}
-\newfontfamily\mpmedium{AlegreyaSans-Medium}
-\newfontfamily\mpregular{AlegreyaSans-Regular}
-
-%% For highlighting updates. When this is set, text marked as \new
-%% will be colored in dark green and text that is marked wtih \tonote
-%% will be marked in dark red.
-\ifdefined\highlightchanges
-\newcommand{\new}[1]{\textcolor{green!60!black}{#1}}
-\newcommand{\tonote}[1]{\textcolor{red!60!black}{[#1]}}
-\else
-\newcommand{\new}[1]{\textcolor{black}{#1}}
-\newcommand{\tonote}[1]{{}}
-\fi
-
-%% To print the creation date on the PDF.
-\usepackage{datetime}
-
-%% To have links.
-\usepackage[
- colorlinks,
- urlcolor=gray,
- citecolor=gray,
- linkcolor=gray,
- linktocpage]{hyperref}
-\renewcommand\UrlFont{\rmfamily}
-
-%% To include figures.
-\usepackage{graphicx}
-
-%% To manage captions.
-\usepackage[font={footnotesize}]{caption}
-
-%% To use colors.
-\usepackage{xcolor}
-
-%% Header and footer style.
-\usepackage{lastpage}
-\usepackage{fancyhdr}
-\pagestyle{fancy}
-\lhead{\mplight\footnotesize Art.XX, page {\thepage} of \pageref{LastPage}}
-\chead{}
-\rhead{\mplight\footnotesize Akhlaghi, et al: Maneage, a Customizable Framework for Managing Data Lineage}
-\lfoot{}
-\cfoot{}
-\rfoot{}
-\renewcommand\headrulewidth{0.0pt}
-\renewcommand\footrulewidth{0.0pt}
-\fancypagestyle{firstpage} {
- \lhead{\includegraphics[width=3.5cm]{tex/img/codata.pdf}}
- \chead{}
- \rhead{\mplight\footnotesize
- Akhlaghi, M, et al. 2020. Maneage, a Customizable Framework\\
- for Managing Data Lineage. \emph{Data Science Journal}, VV,\\
- NN, pp.1-\pageref*{LastPage}. DOI: \href{https://doi.org/10.5334/dsj-XXXX-XXX}{\textcolor{black}{https://doi.org/10.5334/dsj-XXXX-XXX}}\\
- PDF created on: \currenttime{}, \today}
- \lfoot{}
- \cfoot{}
- \rfoot{}
- \renewcommand\headrulewidth{0.1pt}
- \renewcommand\footrulewidth{0.0pt}
-}
-
-%% For creating color boxes
-\usepackage[many]{tcolorbox}
-
-%% Custom macros
-\newcommand{\inlinecode}[1]{\textcolor{blue!35!black}{\texttt{#1}}}
-
-%% To use International Phonetic Alphabet (IPA)
-\usepackage{tipa}
-
-%% Example Makefile macros
-\newcommand{\mkcomment}[1]{\textcolor{red!70!white}{\# #1}}
-\newcommand{\mkvar}[1]{\textcolor{orange!40!black}{#1}}
-\newcommand{\mktarget}[1]{\textcolor{blue!40!black}{#1}}
-\newcommand{\mkprog}[1]{\textcolor{green!30!black}{#1}}
-\newcommand{\mktab}[1]{\textcolor{black!30!white}{\_\_\_TAB\_\_\_}}
-\newcommand{\recipecomment}[1]{{ }{ }{ }{ }{ }{ }{ }{ }{ }\mkcomment{#1}}