rework outline
This commit is contained in:
1 parent
d59aeb29f9
commit
3ddd380e1e
10 files changed
+3183
-4240
No files matched your search
File diff suppressed because it is too large.
Load diff
@@ -1,5 +1,5 @@
|
|||||||
#import "../../../template.typ": *
|
#import "../../../../template.typ": *
|
||||||
#import "../../../transposition.typ": *
|
#import "../../../../transposition.typ": *
|
||||||
#import "@preview/cetz:0.4.2"
|
#import "@preview/cetz:0.4.2"
|
||||||
#import "@preview/cetz-plot:0.1.3": plot
|
#import "@preview/cetz-plot:0.1.3": plot
|
||||||
#import "@preview/zebraw:0.6.1": *
|
#import "@preview/zebraw:0.6.1": *
|
||||||
@@ -8,8 +8,6 @@
|
|||||||
#let equa = counter("equa")
|
#let equa = counter("equa")
|
||||||
#equa.step()
|
#equa.step()
|
||||||
|
|
||||||
#show outline.entry: set block(above: 5mm)
|
|
||||||
#set outline(depth: 3)
|
|
||||||
#show math.equation: set block(breakable: true)
|
#show math.equation: set block(breakable: true)
|
||||||
|
|
||||||
#set math.equation(
|
#set math.equation(
|
||||||
@@ -46,7 +44,6 @@
|
|||||||
|
|
||||||
#show ref: it => {
|
#show ref: it => {
|
||||||
let eq = math.equation
|
let eq = math.equation
|
||||||
let hed = heading
|
|
||||||
let el = it.element
|
let el = it.element
|
||||||
if el == none or el.func() != eq {
|
if el == none or el.func() != eq {
|
||||||
return it
|
return it
|
||||||
@@ -110,8 +107,34 @@ Résume (maximum 1/2 page) du travail effectue (contexte, résultats).
|
|||||||
|
|
||||||
#pagebreak()
|
#pagebreak()
|
||||||
|
|
||||||
#context counter(page).update(3)
|
#heading(outlined: false, numbering: none)[
|
||||||
#outline(title: [Table des matières])
|
Table des matières
|
||||||
|
]
|
||||||
|
#context {
|
||||||
|
let chapters = query(
|
||||||
|
heading.where(
|
||||||
|
outlined: true,
|
||||||
|
),
|
||||||
|
)
|
||||||
|
for chapter in chapters {
|
||||||
|
let loc = chapter.location()
|
||||||
|
let num = if chapter.numbering == none {} else {
|
||||||
|
numbering(
|
||||||
|
chapter.numbering,
|
||||||
|
..counter(heading).at(loc),
|
||||||
|
)
|
||||||
|
}
|
||||||
|
let nr = numbering(
|
||||||
|
loc.page-numbering(),
|
||||||
|
..counter(page).at(loc),
|
||||||
|
)
|
||||||
|
if (chapter.level < 4 and (num != none and type(num) != int)) {
|
||||||
|
[#h(1cm * chapter.level) #num #chapter.body #box(width: 1fr, repeat[.]) #nr #v(2.5mm) ]
|
||||||
|
} else if (chapter.level < 2 and num == none) {
|
||||||
|
[#h(1cm * chapter.level) #num #chapter.body #box(width: 1fr, repeat[.]) #nr #v(2.5mm) ]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
#pagebreak()
|
#pagebreak()
|
||||||
|
|
||||||
@@ -483,7 +506,7 @@ $
|
|||||||
0, 0, 0, - (r sin(theta)^2)/B
|
0, 0, 0, - (r sin(theta)^2)/B
|
||||||
)
|
)
|
||||||
$
|
$
|
||||||
À l’aide du programme de l’#ref(<programme>, supplement: []), on trouve :
|
À l’aide du programme de l’#ref(<programme>), on trouve :
|
||||||
$
|
$
|
||||||
Gamma^0""_(mu nu) = mat(
|
Gamma^0""_(mu nu) = mat(
|
||||||
0, A'/(2A), 0, 0;
|
0, A'/(2A), 0, 0;
|
||||||
@@ -1192,9 +1215,9 @@ articles, conférences) auxquels on a fait référence dans le texte.
|
|||||||
|
|
||||||
#pagebreak()
|
#pagebreak()
|
||||||
|
|
||||||
#set heading(numbering: (..num) => {
|
#set heading(supplement: [Annexe], numbering: (..nums) => {
|
||||||
if num.pos().len() == 2 {
|
if nums.pos().len() == 2 {
|
||||||
[Annexe ] + str(num.pos().at(1))
|
nums.pos().at(1)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
@@ -1,12 +1,12 @@
|
|||||||
#set page(
|
#set page(
|
||||||
paper: "presentation-4-3",
|
paper: "presentation-16-9",
|
||||||
header: context [
|
header: context [
|
||||||
#set text(15pt, fill: white)
|
#set text(15pt, fill: white)
|
||||||
#place(
|
#place(
|
||||||
dx: -20mm,
|
dx: -20mm,
|
||||||
box(fill: rgb("#171568"), height: 15mm, width: 110%)[
|
box(fill: rgb("#171568"), height: 15mm, width: 110%)[
|
||||||
#place(dx: -5mm, right + horizon, [#h(18mm) Gaspar Daguet])
|
#place(dx: -5mm, right + horizon, [#h(18mm) Gaspar Daguet])
|
||||||
#place(left + horizon, [test])
|
#place(dx: 15mm, left + horizon, [#image("./image/btUnistra-logo.jpg")])
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
],
|
],
|
||||||
@@ -16,7 +16,7 @@
|
|||||||
#place(
|
#place(
|
||||||
dx: -5mm,
|
dx: -5mm,
|
||||||
box(height: 100%, width: 105%)[
|
box(height: 100%, width: 105%)[
|
||||||
#scale(place(image("./image/methamorphose.jpg"), dx: -1mm), x: 111%)
|
#scale(place(image("./image/methamorphose.jpg"), dx: -1mm), x: 149%)
|
||||||
#place(
|
#place(
|
||||||
dx: -7mm,
|
dx: -7mm,
|
||||||
right + horizon,
|
right + horizon,
|
||||||
@@ -77,4 +77,9 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#place(center + horizon, dy: -10mm)[
|
||||||
|
*Résolution de Schwarzschild\ à l’équation d’Einstein*\
|
||||||
|
Gaspar Daguet
|
||||||
|
]
|
||||||
|
|
||||||
#pagebreak()
|
#pagebreak()
|
||||||
Binary file not shown.
Binary file not shown.
|
After Width: | Height: | Size: 252 KiB |
@@ -0,0 +1,36 @@
|
|||||||
|
% Copyright 2009 by Virgile Gerecke
|
||||||
|
% Direction Informatique
|
||||||
|
% Université de Strasbourg
|
||||||
|
%
|
||||||
|
% This file may be distributed and/or modified
|
||||||
|
%
|
||||||
|
% 1. under the LaTeX Project Public License and/or
|
||||||
|
% 2. under the GNU Public License.
|
||||||
|
%
|
||||||
|
% See the file doc/licenses/LICENSE for more details.
|
||||||
|
|
||||||
|
\mode<presentation>
|
||||||
|
|
||||||
|
\definecolor{unistra}{rgb}{0.1,0.44,0.72}
|
||||||
|
|
||||||
|
\useoutertheme{tree}
|
||||||
|
|
||||||
|
\defbeamertemplate*{footline}{infolines theme}
|
||||||
|
{
|
||||||
|
\leavevmode%
|
||||||
|
\hbox{%
|
||||||
|
\setlength\unitlength{1cm}
|
||||||
|
\begin{picture}(0,0)
|
||||||
|
\put(-1,0){\includegraphics[scale=0.45]{btUnistra-pied.jpg}}
|
||||||
|
\put(10.4,0){\includegraphics[scale=0.08]{btUnistra-logo.eps}}
|
||||||
|
\put(0.5,0.4){\textcolor{white}{www.unistra.fr}}
|
||||||
|
\end{picture}
|
||||||
|
|
||||||
|
}%
|
||||||
|
\vskip0pt%
|
||||||
|
}
|
||||||
|
|
||||||
|
\setbeamertemplate{navigation symbols}{}
|
||||||
|
|
||||||
|
\mode
|
||||||
|
<all>
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 9.3 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 275 KiB |
@@ -0,0 +1,67 @@
|
|||||||
|
\documentclass{beamer}
|
||||||
|
\usetheme{Unistra}
|
||||||
|
% elimine la barre de navigation tout en haut
|
||||||
|
\setbeamertemplate{headline}{}
|
||||||
|
% definit le type de transition d'un transparent au suivant
|
||||||
|
\addtobeamertemplate{background canvas}{\transdissolve}{}
|
||||||
|
|
||||||
|
\usepackage[french]{babel}
|
||||||
|
\usepackage[T1]{fontenc}
|
||||||
|
|
||||||
|
\title{Exemple de presentation}
|
||||||
|
\subtitle{(avec {\LaTeX} et Beamer)}
|
||||||
|
\author{Alberto Barsella}
|
||||||
|
\institute{Universit\'e de Strasbourg}
|
||||||
|
\date{\today}
|
||||||
|
|
||||||
|
\begin{document}
|
||||||
|
|
||||||
|
\begin{frame}
|
||||||
|
\titlepage
|
||||||
|
\end{frame}
|
||||||
|
|
||||||
|
\begin{frame}
|
||||||
|
\frametitle{Titre de la page}
|
||||||
|
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
|
||||||
|
|
||||||
|
\vspace{1em}
|
||||||
|
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
|
||||||
|
\end{frame}
|
||||||
|
|
||||||
|
\begin{frame}
|
||||||
|
\frametitle{Des listes}
|
||||||
|
\begin{itemize}
|
||||||
|
\item le début
|
||||||
|
\item $\vec{F} = m\vec{a}$
|
||||||
|
\item $W_{A\rightarrow B}(\vec{F}) = \int_{t_{\rm A}}^{t_{\rm B}}\vec{F}\cdot\vec{v}\,\mathrm{d}t$
|
||||||
|
\item la fin
|
||||||
|
\end{itemize}
|
||||||
|
\end{frame}
|
||||||
|
|
||||||
|
\begin{frame}
|
||||||
|
\frametitle{Des formules}
|
||||||
|
Selon mon calcul qui est trop bien:
|
||||||
|
\begin{equation}
|
||||||
|
\sum_{i=0}^N \int_0^\infty f_i(x) e^{-x^2}\,\mathrm{d}x = 0 \nonumber
|
||||||
|
\end{equation}
|
||||||
|
\end{frame}
|
||||||
|
|
||||||
|
\begin{frame}
|
||||||
|
\frametitle{Des images}
|
||||||
|
Les chats jouent un rôle important en physique!
|
||||||
|
\begin{center}
|
||||||
|
\includegraphics[width=0.6\textwidth]{chat.jpg}
|
||||||
|
\end{center}
|
||||||
|
\end{frame}
|
||||||
|
|
||||||
|
\begin{frame}
|
||||||
|
\frametitle{Conclusion}
|
||||||
|
\begin{enumerate}
|
||||||
|
\item Beamer est trop bien
|
||||||
|
\pause\item il peut faire apparaître les lignes une à une
|
||||||
|
\pause\item ne pas regarder dans le laser avec l'oeil qui vous reste
|
||||||
|
\pause\item ne pas essayer d'attraper le chat avec la main qui vous reste
|
||||||
|
\end{enumerate}
|
||||||
|
\end{frame}
|
||||||
|
|
||||||
|
\end{document}
|
||||||
Reference in new issue
Block a user