-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathguidamake.tex
89 lines (74 loc) · 2.09 KB
/
guidamake.tex
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
88
89
\documentclass[b5paper,11pt,oneside]{guidatematica}
\ProvidesFile{guidamake.tex}[2013/04/03 v.1.0 Introduzione alla scrittura di
Makefile per compilare documenti LaTeX]
\usepackage{quoting,multicol}
\usepackage{menukeys} % `menukeys' carica automaticamente `tikz'
\usepackage{hyperref}
\addto\captionsitalian{\renewcommand{\lstlistingname}{Codice}}
\usetikzlibrary{calc}
\hypersetup{
pdftitle={Introduzione ai Makefile per compilare documenti LaTeX},
pdfauthor={Mosè Giordano},
breaklinks=true, % permette di spezzare i link su più righe
bookmarksnumbered, % inserisce i numeri delle sezioni nei segnalibri
%%% opzioni dei colori di guidatematica.cls
colorlinks,linkcolor={blue},
citecolor={blue!80!black},urlcolor={blue},
}
\lstset{
language=[gnu]make,
basicstyle=\small\ttfamily,
keywordstyle=\color{blue}\bfseries,
commentstyle=\color{red},
stringstyle=\color{purple},
showstringspaces=false,
belowcaptionskip=\bigskipamount,
frame=single,
literate=
{à}{{\`a}}1
{è}{{\`e}}1
{ì}{{\`i}}1
{ò}{{\`o}}1
{ù}{{\`u}}1,
}
\newsavebox{\codetitlebox}
\begin{document}
\frontmatter{}
\begin{lrbox}{\codetitlebox}
\begin{minipage}{0.51\textwidth}
\lstset{basicstyle=\large\ttfamily,
classoffset=0,
morekeywords={target},keywordstyle=\color{blue},
classoffset=1,
morekeywords={dependencies},keywordstyle=\color[HTML]{A0522D},
frame=shadowbox,frameround=ffff,rulesepcolor=\color[cmyk]{1,0,1,0.6}}
\begin{lstlisting}
target: dependencies ...
commands
...
\end{lstlisting}
\end{minipage}
\end{lrbox}
\title{%
\usebox{\codetitlebox}\\[\bigskipamount]
Introduzione ai Makefile \\
per compilare documenti \LaTeX}
\author{Mosè Giordano}
\GetFileInfo{guidamake.tex}
\date{\fileversion{} del \filedate}
\maketitle
\input{Capitoli/note}
\input{Capitoli/intro}
\newpage\tableofcontents
\mainmatter{}
\input{Capitoli/concetti}
\input{Capitoli/esempi}
\input{Capitoli/editor}
\backmatter{}
\bibliography{bibliografia}
\end{document}
% Local Variables:
% TeX-master: t
% fill-column: 80
% time-stamp-pattern: "2/\\\\ProvidesFile{.*}\\[%:y/%02m/%02d v"
% End: