1 | \documentclass[12pt,a4paper]{book}
2 |
3 | \usepackage[utf8]{inputenc}
4 | \usepackage[T1]{fontenc}
5 | \usepackage{lmodern}
6 | \usepackage[frenchb]{babel}
7 | \usepackage{url}
8 | \usepackage{amsmath}
9 | \usepackage{amsfonts}
10 | \usepackage{amssymb}
11 | \usepackage{color}
12 | \usepackage{url}
13 | \usepackage{xspace}
14 | %\usepackage{tikz}
15 | %\usetikzlibrary{arrows,decorations.pathmorphing,decorations.text,backgrounds,fit,positioning,shadows,fadings,shapes.geometric}
16 |
17 | %%%% commandes pour maketitle %%%%
18 | %\author{Éric Loubignac}
19 | \title{Guide - \code}
20 | \date{\today}
21 | %\graphicspath{{.}{./images/}}
22 |
23 | %nouvelles commandes
24 | \newcommand{\urlcolor}[1]{\texttt{\textcolor{blue}{\url{#1}}}}
25 | \newcommand{\code}[0]{\textsc{PRISSMA}\xspace}
26 | \newcommand{\cmd}[1]{\texttt{#1}}
27 |
28 | \usepackage{ifpdf}
29 | \ifpdf
30 | % configuration de graphicx et hyperref pour sortie PDF
31 | \usepackage[pdftex]{graphicx}
32 | \usepackage[pdftex,bookmarksopen=false,pdfauthor=Damien Poitou,colorlinks=false,pagebackref,plainpages=false]{hyperref}
33 | \DeclareGraphicsExtensions{.pdf,.png,.jpg}
34 | \usepackage{pdfpages}
35 | \else
36 | % configuration de graphicx et hyperref pour sortie PS
37 | \usepackage[dvips]{graphicx}
38 | \DeclareGraphicsExtensions{.eps,.ps}
39 | \usepackage[dvips,bookmarksopen=false,pdfauthor=Damien Poitou,colorlinks=false,pagebackref,plainpages=false]{hyperref}
40 | \fi
41 |
42 | \newcommand{\figScaleX}[3]{
43 | \begin{figure}[htp!]
44 | \centering
45 | \includegraphics[width=#1\textwidth]{\cheminfigures/#2}
46 | \caption{#3}
47 | \label{#2}
48 | \end{figure}
49 | }
50 |
51 | \newcommand{\figScale}[2]{
52 | \figScaleX{0.95}{#1}{#2}
53 | }
54 | \newcommand{\figScaleRot}[3]{
55 | \begin{figure}[htp!]
56 | \includegraphics[angle=#1,width=0.95\textwidth]{\cheminfigures/#2}
57 | \caption{#3}
58 | \label{#2}
59 | \end{figure}
60 | }
61 |
62 | \newcommand{\dbfigScale}[4]{
63 | \begin{figure}[htp!]
64 | \noindent
65 | \begin{minipage}{0.45\textwidth}
66 | \centering
67 | \includegraphics[width=1.0\textwidth]{\cheminfigures/#1}
68 | \caption{#2}
69 | \label{#1}
70 | \end{minipage}
71 | \hfill
72 | \begin{minipage}{0.45\textwidth}
73 | \centering
74 | \includegraphics[width=1.0\textwidth]{\cheminfigures/#3}
75 | \caption{#4}
76 | \label{#3}
77 | \end{minipage}
78 | \end{figure}
79 | }
80 |
81 | % Commandes perso
82 | \newcommand{\HdeuxO}{H$_2$O\xspace}
83 | \newcommand{\CO}{CO\xspace}
84 | \newcommand{\COdeux}{CO$_2$\xspace}
85 | \newcommand{\Ndeux}{N$_2$\xspace}
86 | \newcommand{\Hdeux}{H$_2$\xspace}
87 | \newcommand{\CHquatre}{CH$_4$\xspace}
88 | \newcommand{\NOx}{NO$_x$\xspace}
89 |
90 | \newcommand{\ie}{{\it i.e.}\xspace}
91 | \newcommand{\etal}{\mbox{\it et al.}\xspace}
92 |
93 |
94 | \begin{document}
95 | \def\cheminfigures{../img}
96 | \maketitle
97 | \tableofcontents
98 |
99 | \include{code}
100 | \include{install}
101 | \include{calcul}
102 | \include{tests}
103 | %\include{developer}
104 |
105 | % \appendix{Format des fichiers d'entrée/sortie}
106 |
107 | % \includepdf[pages=1-2,noautoscale=true,clip=true,trim=20 20 20
108 | % 00,pagecommand={}]{IO_FILE_Structure.pdf}
109 |
110 | \bibliography{../biblio/biblio}
111 | \bibliographystyle{unsrt}
112 | \end{document}
113 |