Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
LaTeX-UTC
Templates
Rapport-TP-LaTeX-UTC
Commits
49f43ebb
Commit
49f43ebb
authored
Apr 26, 2018
by
Rémy Huet
💻
Browse files
Correction de bug dans la redéfinition de section et subsection, ajout d'une table des matières
parent
5501828e
Pipeline
#22157
passed with stage
in 29 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
main.tex
View file @
49f43ebb
...
...
@@ -7,7 +7,7 @@
\begin{document}
\subfile
{
src/titlePage
}
\tableofcontents
\subfile
{
src/content
}
\[
\star
\quad
\star
\quad
\star
\]
...
...
report-UTC.cls
View file @
49f43ebb
...
...
@@ -83,11 +83,11 @@
\renewcommand\section
{
\@
startsection
{
section
}{
1
}{
\z
@
}
% Redéfinition de la commande section (plus gros, souligné)
{
-3.5ex
\@
plus -1ex
\@
minus -.2ex
}
%
{
2.3ex
\@
plus .2ex
}
%
{
\
reset
@
font
\LARGE\bfseries\sectionuline
}
{
\
normal
font\LARGE\bfseries\sectionuline
}
%
}
\renewcommand\subsection
{
\@
startsection
{
subsection
}{
2
}{
1em
}
% Redéfinition de la commande subsection (plus gros, en gris UTC)
{
-3.5ex
\@
plus -1ex
\@
minus -.2ex
}
%
{
2.3ex
\@
plus .2ex
}
%
{
\
reset
@
font
\Large\bfseries\color
{
grisUTC
}}
{
\
normal
font\Large\bfseries\color
{
grisUTC
}}
%
}
\makeatother
src/content.tex
View file @
49f43ebb
...
...
@@ -16,4 +16,7 @@ Une liste non ordonnée :
\item
Un autre élément de niveau 1.
\end{itemize}
\section*
{
Une section non numérotée
}
\addcontentsline
{
toc
}{
section
}{
Une section non numérotée
}
\todo
[inline]
{
Il serait bien d'inclure un peu plus d'exemples.
}
\ No newline at end of file
Write
Preview
Supports
Markdown
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