projects
/
skm-ma-ws1314.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9d21dcc
)
vertical space and font optimization
author
Roland Hieber
<rohieb@rohieb.name>
Fri, 17 Jan 2014 07:06:18 +0000
(08:06 +0100)
committer
Roland Hieber
<rohieb@rohieb.name>
Fri, 17 Jan 2014 07:23:54 +0000
(08:23 +0100)
main.tex
patch
|
blob
|
history
diff --git
a/main.tex
b/main.tex
index
ba0b733
..
9f3f2c7
100644
(file)
--- a/
main.tex
+++ b/
main.tex
@@
-9,12
+9,20
@@
\usepackage{todonotes}
\usepackage{tikz}
\usepackage{enumitem} % for sparse lists with \setlist
\usepackage{todonotes}
\usepackage{tikz}
\usepackage{enumitem} % for sparse lists with \setlist
-
\usetikzlibrary{arrows}
\usetikzlibrary{arrows}
+
+% use sans-serif font for code instead of default monospace
\urlstyle{sf}
\urlstyle{sf}
+\makeatletter \def\verbatim@font{\sffamily} \makeatother
+
+% optimize vertical space in lists
\setlist[enumerate]{noitemsep}
\setlist[itemize]{noitemsep}
\setlist[enumerate]{noitemsep}
\setlist[itemize]{noitemsep}
+% ...and in verbatim environment
+\usepackage{etoolbox}
+\makeatletter \preto{\@verbatim}{\topsep=0pt \partopsep=0pt} \makeatother
+
\newcommand{\pages}[1]{\marginpar{#1 pages}}
\newcommand{\term}[1]{\emph{#1}}
\newcommand{\code}[1]{\textsf{#1}}
\newcommand{\pages}[1]{\marginpar{#1 pages}}
\newcommand{\term}[1]{\emph{#1}}
\newcommand{\code}[1]{\textsf{#1}}
@@
-45,7
+53,7
@@
communication protocol used in Chatty Things.
\input{sec-discussion.tex}
\bibliographystyle{plain}
\input{sec-discussion.tex}
\bibliographystyle{plain}
-{\
small
\bibliography{biblio}}
+{\
footnotesize
\bibliography{biblio}}
\end{document}
% vim: set ft=tex et ts=2 sw=2 :
\end{document}
% vim: set ft=tex et ts=2 sw=2 :
This page took
0.027361 seconds
and
4
git commands to generate.