-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathTemplateL3.tex
61 lines (52 loc) · 1.8 KB
/
TemplateL3.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
% to be included in document which starting path is a subfolder of level 3
% for example RandomNumbersGenerators/RandomSourcesSupport/Documentation/RandomSourcesSupport.tex
\documentclass{article}
\usepackage[latin1]{inputenc}
\usepackage[english]{babel}
\usepackage{amssymb,amsmath,color,fancyhdr,graphicx,multirow,rotating,eurosans,calc}
% new command to display code in a framed box
\newcommand{\codebox}[1]{
\begin{quote}
\fbox{\ttfamily {#1}}
\end{quote}
}
\newsavebox{\mylogo}
\savebox{\mylogo}{\includegraphics[width=2cm]{../../../DocumentationTemplate/FairmatLogo.jpg}}
\setlength{\headheight}{16.1pt}
\pagestyle{fancyplain}{
\renewcommand{\sectionmark}[1]{\markboth{\thesection.\ #1}{}}
\lhead{\fancyplain{}{\nouppercase{\leftmark}}}
\chead{}
\rhead{\fancyplain{}{\usebox{\mylogo}}}
\lfoot{}
\cfoot{\fancyplain{\thepage}{\thepage}}
\rfoot{\fancyplain{\includegraphics[width=1.6cm]{../../../DocumentationTemplate/by-nc-sa.jpg}}{\includegraphics[width=1.6cm]{../../../DocumentationTemplate/by-nc-sa.jpg}}}
}
%\pagestyle{fancy}{
% \renewcommand{\sectionmark}[1]{\markboth{\thesection.\ #1}{}}
% \lhead{\nouppercase{\leftmark}}
% \chead{}
% \rhead{\usebox{\mylogo}}
% \lfoot{}
% \cfoot{\thepage}
% \rfoot{ \includegraphics[width=1.6cm]{../../../DocumentationTemplate/by-nc-sa.jpg} }
%}
\usepackage{url}
\makeatletter
\def\url@leostyle{%
\@ifundefined{selectfont}{\def\UrlFont{\sf}}{\def\UrlFont{\small\ttfamily}}}
\makeatother
\urlstyle{leo}
\newenvironment{sistema}%
{\left\lbrace \begin{array}{@{}l@{}}}%
{\end{array}\right.}
\newcommand{\PluginTitle}[2]{
\thispagestyle{plain}
\begin{center}
\begin{tabular}{l|r}
{\huge \pluginName} & \multirow{2}{*}{\includegraphics[width=5cm]{../../../DocumentationTemplate/FairmatLogo.jpg}}\\
{\huge Version \pluginVersion} &
\end{tabular}
\end{center}
\vspace{2cm}
}