Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Rapport-TP-LaTeX-UTC
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
LaTeX-UTC
Templates
Rapport-TP-LaTeX-UTC
Commits
af9192c6
Commit
af9192c6
authored
Apr 26, 2018
by
Rémy Huet
💻
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ajout de couleurs, commentaires et structure du .cls
parent
9be29ef6
Pipeline
#22152
passed with stage
in 27 seconds
Changes
4
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
61 additions
and
13 deletions
+61
-13
build.sh
build.sh
+2
-1
main.tex
main.tex
+2
-2
report-UTC.cls
report-UTC.cls
+52
-9
src/titlePage.tex
src/titlePage.tex
+5
-1
No files found.
build.sh
View file @
af9192c6
...
...
@@ -13,8 +13,9 @@ get_assets) echo "récupérération des assets"
a
=
"https://gitlab.utc.fr/LaTeX-UTC/Graphismes-UTC/raw/master/logos/UTC/logo_UTC.pdf "
b
=
"https://gitlab.utc.fr/LaTeX-UTC/Graphismes-UTC/raw/master/logos/sigle_UTC/sigle_UTC.pdf "
c
=
"https://gitlab.utc.fr/LaTeX-UTC/Graphismes-UTC/raw/master/couleurs/couleurs_UTC.sty "
for
url
in
$a$b
for
url
in
$a$b
$c
do
wget
$url
if
[[
$?
-ne
0
]]
;
then
...
...
main.tex
View file @
af9192c6
\documentclass
{
report-UTC
}
\UV
{
UVXX
}
%Nom de l'UV
\title
{
\theUV
{}
compte-rendu TP X
}
\author
{
XXXXXX XXXXX et XXXXX XXXXX
}
\title
{
TPX : Lorem ipsum
}
\author
{
{
\sc
Nom
}
Prénom
\\
{
\sc
Nom
}
Prénom
}
\begin{document}
...
...
report-UTC.cls
View file @
af9192c6
...
...
@@ -30,20 +30,63 @@
\usepackage
{
url
}
% For quickly inserting links
\usepackage
[final]
{
pdfpages
}
% Pour inclure des .pdf
\usepackage
[linesnumbered,ruled,vlined]
{
algorithm2e
}
% for cool loonking algorithm
\usepackage
{
ulem
}
% Pour souligner en couleur
\usepackage
{__
EXTERNAL
_
ASSETS
__
/couleurs
_
UTC
}
%Couleurs définies dans la charte graphique de l'UTC
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% TODO EXPLICATION
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\renewcommand
{
\listoflistingscaption
}{
Liste des programmes
}
%Pour changer le titre de la liste des codes
\renewcommand
{
\listingscaption
}{
Programme
}
%Pour changer la légende des codes
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%Nouvelles variables
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand
{
\UV
}
[1]
{
\def\theUV
{
#1
}}
%Passage de l'UV en variable
\renewcommand
{
\headrulewidth
}{
0.5pt
}
\lhead
{
\textsc
{
\leftmark
}}
\chead
{
\includegraphics
[height=1.5cm]
{
./
__
EXTERNAL
_
ASSETS
__
/sigle
_
UTC.pdf
}}
\rhead
{
\theUV
}
\cfoot
{
\thepage
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%En-tête et pied de page
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\renewcommand
{
\headrulewidth
}{
0.5pt
}
%Épaisseur de la ligne d'en-tête
\renewcommand
{
\footrulewidth
}{
1mm
}
%Épaisseur de la ligne de pied de page
\renewcommand
{
\footrule
}{
%
{
\color
{
jauneUTC
}
\hrule
width
\headwidth
height
\footrulewidth
\vskip
+
\footrulewidth
}
}
%Changement de la couleur de la ligne de pied de page
%Contenu de l'en-tête :
\lhead
{
\textsc
{
\leftmark
}}
%Section actuelle à gauche de l'en-tête
\chead
{
\includegraphics
[height=1.5cm]
{
./
__
EXTERNAL
_
ASSETS
__
/sigle
_
UTC.pdf
}}
%Sigle de l'UTC au centre de l'en-tête
\rhead
{
\theUV
}
%Code de l'UV à droite de l'en-tête
%Contenu du pied de page :
\cfoot
{
\thepage
}
%Numéro de page au centre
\lfoot
{
\theauthor
}
%auteur(s) à gauche
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%Environements
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newenvironment
{
myabstract
}{
%
\begin{quote}
\begin{center}
\bf
}
{
\end{center}
\end{quote}
}
\begin{quote}
\begin{center}
\bf
}
{
\end{center}
\end{quote}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%Redéfinition des niveaux de titre
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\makeatletter
\newcommand\sectionuline
{
%
\bgroup\markoverwith
{
\textcolor
{
jauneUTC
}{
\rule
[-0.5ex]
{
0.1mm
}{
0.5mm
}}}
%
\ULon
%
}
\renewcommand\section
{
\@
startsection
{
section
}{
1
}{
\z
@
}
%
{
-3.5ex
\@
plus -1ex
\@
minus -.2ex
}
%
{
2.3ex
\@
plus .2ex
}
%
{
\reset
@font
\LARGE\bfseries\sectionuline
}
}
\renewcommand\subsection
{
\@
startsection
{
subsection
}{
2
}{
1em
}
%
{
-3.5ex
\@
plus -1ex
\@
minus -.2ex
}
%
{
2.3ex
\@
plus .2ex
}
%
{
\reset
@font
\Large\bfseries\color
{
grisUTC
}}
}
\makeatother
\ No newline at end of file
src/titlePage.tex
View file @
af9192c6
...
...
@@ -9,7 +9,11 @@
\vspace
{
3cm
}
\begin{center}
\Huge
{
\textbf
{
\thetitle
}}
\\
{
\color
{
jauneUTC
}
\rule
{
\linewidth
}{
0.8mm
}}
\Huge
{
\textbf
{
\theUV
\\
\thetitle
}}
\\
{
\color
{
jauneUTC
}
\rule
{
\linewidth
}{
0.8mm
}}
\vspace
{
0.5cm
}
\Large
{
\theauthor
}
\\
\small
{
(Groupe XX)
}
\\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment