aboutsummaryrefslogtreecommitdiff
path: root/tex/src/preamble-necessary.tex
blob: 73cee244a3a9083106226b74ae5148a26a5f2abb (plain)
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
%% Necessary (independent of style) macros for this project.
%%
%% These are a set of packages that have been commonly necessary in most
%% LaTeX usages. However, if any are not needed in your work, please feel
%% free to remove them.
%
%% Copyright (C) 2018-2020 Mohammad Akhlaghi <mohammad@akhlaghi.org>
%
%% This LaTeX file is part of Maneage. Maneage is free software: you can
%% redistribute it and/or modify it under the terms of the GNU General
%% Public License as published by the Free Software Foundation, either
%% version 3 of the License, or (at your option) any later version.
%
%% Maneage is distributed in the hope that it will be useful, but WITHOUT
%% ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
%% FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
%% for more details. See <http://www.gnu.org/licenses/>.





%% Values from the analysis.
\input{tex/build/macros/project.tex}





% Macros for to help in typing, remove them if you don't need them, but
% this can help as a demo on how you can simply writing of commonly used
% words that need special formatting (like software names).
\newcommand{\snsign}{{\small S}/{\small N}}
\newcommand{\originsoft}{\textsf{ORIGIN}}
\newcommand{\sextractor}{\textsf{SE\-xtractor}}
\newcommand{\noisechisel}{\textsf{Noise\-Chisel}}
\newcommand{\makecatalog}{\textsf{Make\-Catalog}}





%% 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





% Better than verbatim for displaying typed text.
\usepackage{alltt}





% For arithmetic opertions within LaTeX
\usepackage[nomessages]{fp}





%To add a code font to the text:
\usepackage{courier}





%To add some enumerating styles
\usepackage{enumerate}





%Including images if necessary
\usepackage{graphicx}