split out defined commands to common/commands.tex
authorTobias Pape <tobias@netshed.de>
Fri, 27 Dec 2013 18:55:54 +0000 (19:55 +0100)
committerTobias Pape <tobias@netshed.de>
Sat, 28 Dec 2013 00:27:01 +0000 (01:27 +0100)
src/applied-crypto-hardening.tex
src/common/commands.tex [new file with mode: 0644]
src/common/style.tex
src/title.tex

index b25c45d..fc9f1f3 100644 (file)
 \documentclass{scrreprt}
 \input{common/system}
 \input{common/style}
-
-
-%% \todo{} command.
-% Outputs red TODOs in the document. Requires \usepackage{color}.
-% Usage: \todo{Document the TODO command.}
-% Comment out second line to disable.
-\newcommand{\todo}[1]{}
-\renewcommand{\todo}[1]{{\color{Red} TODO: {#1}}}
-
-% Creating a horizontal rule
-\newcommand{\HorRule}{\color{darkblue}%
-  \rule{\linewidth}{1pt}%
-}
+\input{common/commands}
 
 \date{\today}
 
diff --git a/src/common/commands.tex b/src/common/commands.tex
new file mode 100644 (file)
index 0000000..04c5f79
--- /dev/null
@@ -0,0 +1,24 @@
+%%%
+%%% commands.tex
+%%% Document-specific commands
+%%%
+
+% Outputs red TODOs in the document. Requires \usepackage{color}.
+%
+% Usage: \todo{Document the TODO command.}
+%
+% Comment out second line to disable.
+\AtBeginDocument{\providecommand{\todo}[1]{}}
+\newcommand*{\todo}[1]{{\color{Red} TODO: {#1}}}
+
+% Creating a horizontal rule
+\newcommand*{\HorRule}{%
+  \color{darkblue}%
+  \rule{\linewidth}{1pt}%
+}
+
+
+%%% Local Variables: 
+%%% mode: latex
+%%% TeX-master: "../applied-crypto-hardening"
+%%% End: 
index dfe389b..f451d3f 100644 (file)
@@ -1,5 +1,5 @@
 %%%
-%%% system.tex
+%%% style.tex
 %%% Stylistic configuration
 %%%
 
index 5b4491a..766ae48 100644 (file)
@@ -3,7 +3,7 @@
     \includegraphics[scale=0.5]{img/logo}
     \vspace{45pt}
     \HorRule
-    \bigskip
+    \medskip
     {\fontsize{35}{36} \bfseries Applied Crypto Hardening\par}
     \bigskip
   \end{center}
@@ -18,6 +18,7 @@
     Campus Wien, VRVis, MilCERT Austria, A-Trust, Runtux.com,
     Friedrich-Alexander University Erlangen-Nuremberg, azet.org, maclemon.at)
   \end{flushleft}
+  \medskip
   \HorRule
   \begin{center}
     \today