wip
This commit is contained in:
		
							parent
							
								
									5e703f6298
								
							
						
					
					
						commit
						a1a6d7cff8
					
				
					 6 changed files with 144 additions and 6 deletions
				
			
		| 
						 | 
				
			
			@ -2,6 +2,7 @@
 | 
			
		|||
 | 
			
		||||
#import "cover.typ": cover
 | 
			
		||||
#import "abstracts.typ": abstracts
 | 
			
		||||
#import "todos.typ": todos
 | 
			
		||||
 | 
			
		||||
#let matisse-thesis(
 | 
			
		||||
  // English title, will be used for the document title metadata
 | 
			
		||||
| 
						 | 
				
			
			@ -33,6 +34,8 @@
 | 
			
		|||
  body
 | 
			
		||||
) = {
 | 
			
		||||
 | 
			
		||||
  if draft { todos() }
 | 
			
		||||
 | 
			
		||||
  // ---------- GENERAL ----------
 | 
			
		||||
 | 
			
		||||
  let draft-string = ""
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -12,7 +12,7 @@
 | 
			
		|||
#let todos() = context {
 | 
			
		||||
  if (todo-list.final().len() != 0) and (show-todos.get()) {
 | 
			
		||||
    pagebreak(weak: true)
 | 
			
		||||
    [= TO-DOs]
 | 
			
		||||
    text(size: 2em, weight: "bold", fill:red)[TO-DOs]
 | 
			
		||||
    for t in todo-list.final() {
 | 
			
		||||
      let l =  label(t.first())
 | 
			
		||||
      list.item(link(l)[TODO n°#t.at(1) p.#locate(l).page() : #t.last()])
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										7
									
								
								template/0_preamble/acknowledgements.typ
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								template/0_preamble/acknowledgements.typ
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,7 @@
 | 
			
		|||
#import "@local/template-thesis-matisse:0.0.1": todo
 | 
			
		||||
 | 
			
		||||
= Acknowledgements
 | 
			
		||||
 | 
			
		||||
#todo[Acknowledge people]
 | 
			
		||||
 | 
			
		||||
#lorem(400)
 | 
			
		||||
							
								
								
									
										9
									
								
								template/0_preamble/french_summary.typ
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								template/0_preamble/french_summary.typ
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,9 @@
 | 
			
		|||
#import "@local/template-thesis-matisse:0.0.1": todo
 | 
			
		||||
 | 
			
		||||
= Résumé en Français
 | 
			
		||||
 | 
			
		||||
#todo[
 | 
			
		||||
  Write a "Substantial Summary" in french, at least 4 pages: https://ed-matisse.doctorat-bretagne.fr/fr/soutenance-de-these#p-151
 | 
			
		||||
]
 | 
			
		||||
 | 
			
		||||
#lorem(2000)
 | 
			
		||||
							
								
								
									
										10
									
								
								template/0_preamble/notations.typ
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								template/0_preamble/notations.typ
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,10 @@
 | 
			
		|||
#let tldr = link(<acr-tldr>)[TL;DR]
 | 
			
		||||
 | 
			
		||||
#let notation_table = align(center, table(
 | 
			
		||||
  columns: 2,
 | 
			
		||||
  align: center+horizon,
 | 
			
		||||
  table.header(
 | 
			
		||||
    [Acronyms], [Meanings],
 | 
			
		||||
  ),
 | 
			
		||||
  tldr, [Too long; didn't read<acr-tldr>],
 | 
			
		||||
))
 | 
			
		||||
| 
						 | 
				
			
			@ -2,6 +2,7 @@
 | 
			
		|||
 | 
			
		||||
#import "jury.typ": jury-content
 | 
			
		||||
#import "abstract.typ": keywords-en, keywords-fr, abstract-en, abstract-fr
 | 
			
		||||
#import "0_preamble/notations.typ": *
 | 
			
		||||
 | 
			
		||||
#show: matisse-thesis.with(
 | 
			
		||||
  title-fr: "Lorem Ipsum Fr",
 | 
			
		||||
| 
						 | 
				
			
			@ -16,13 +17,121 @@
 | 
			
		|||
  keywords-fr: keywords-fr,
 | 
			
		||||
  abstract-en: abstract-en,
 | 
			
		||||
  abstract-fr: abstract-fr,
 | 
			
		||||
  draft: true,
 | 
			
		||||
draft: true,
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
#todo[Write the Thesis]
 | 
			
		||||
// Preamble
 | 
			
		||||
#{
 | 
			
		||||
  set heading(numbering: none, outlined: false)
 | 
			
		||||
  set page(numbering: "i")
 | 
			
		||||
  counter(page).update(0)
 | 
			
		||||
 | 
			
		||||
#lorem(2000)
 | 
			
		||||
  include("0_preamble/acknowledgements.typ")
 | 
			
		||||
 | 
			
		||||
  // https://ed-matisse.doctorat-bretagne.fr/fr/soutenance-de-these#p-151
 | 
			
		||||
  // > Le manuscrit est normalement rédigé en français (Loi relative à l'emploi de la langue française, 1994). 
 | 
			
		||||
  // > Toutefois, il est accepté de bâtir le manuscrit sur la base d'un résumé substantiel en français 
 | 
			
		||||
  // > (au moins 4 pages), le reste du manuscrit étant considéré comme des annexes et étant alors rédigé en 
 | 
			
		||||
  // > langue étrangère.
 | 
			
		||||
  // >
 | 
			
		||||
  // > Dans le cas d'une thèse qui ne serait pas rédigée en français, il est conseillé de bien distinguer le 
 | 
			
		||||
  // > résumé substantiel des chapitres de la thèse pour éviter d'essuyer un refus de la part de 
 | 
			
		||||
  // > l'administration de l'établissement d'inscription (par exemple en l'intitulant résumé en français et 
 | 
			
		||||
  // > en ne lui affectant aucun numéro de chapitre).
 | 
			
		||||
  //
 | 
			
		||||
  include("0_preamble/french_summary.typ")
 | 
			
		||||
 | 
			
		||||
  outline(title: "Table of Contents", indent: auto)
 | 
			
		||||
  show outline.entry: it => {
 | 
			
		||||
    v(5mm, weak: true)
 | 
			
		||||
    it
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  outline(title: "Index of Figures", target: figure.where(supplement: [Figure]))
 | 
			
		||||
  outline(title: "Index of Tables", target: figure.where(supplement: [Table]))
 | 
			
		||||
  outline(title: "Index of Listings", target: figure.where(supplement: [Listing]))
 | 
			
		||||
 
 | 
			
		||||
  [= List of Acronyms and Notations]
 | 
			
		||||
 | 
			
		||||
  notation_table
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#counter(page).update(1)
 | 
			
		||||
 | 
			
		||||
= Introduction <sec:intro>
 | 
			
		||||
 | 
			
		||||
#todo[Write an introduction]
 | 
			
		||||
 | 
			
		||||
#lorem(200)
 | 
			
		||||
 | 
			
		||||
#figure(
 | 
			
		||||
  circle(radius: 50pt),
 | 
			
		||||
  caption: [A circle],
 | 
			
		||||
) <fig:intro>
 | 
			
		||||
 | 
			
		||||
#lorem(200)
 | 
			
		||||
 | 
			
		||||
= Background <sec:bg>
 | 
			
		||||
 | 
			
		||||
#todo[Present your field background]
 | 
			
		||||
 | 
			
		||||
#lorem(200)
 | 
			
		||||
 | 
			
		||||
#figure(
 | 
			
		||||
  table(
 | 
			
		||||
    columns: (20pt, 20pt, 20pt),
 | 
			
		||||
    align: center+horizon,
 | 
			
		||||
    table.header(
 | 
			
		||||
      table.cell(colspan:3)[Play]
 | 
			
		||||
    ),
 | 
			
		||||
    emoji.crossmark, [], emoji.circle.stroked,
 | 
			
		||||
    [], emoji.circle.stroked, [],
 | 
			
		||||
    emoji.crossmark, [], emoji.crossmark,
 | 
			
		||||
  ),
 | 
			
		||||
  caption: [A tic tac toe game],
 | 
			
		||||
) <tab:tic-tac-toe>
 | 
			
		||||
 | 
			
		||||
== Something
 | 
			
		||||
 | 
			
		||||
#lorem(200)
 | 
			
		||||
 | 
			
		||||
== Something Else
 | 
			
		||||
 | 
			
		||||
#lorem(200)
 | 
			
		||||
 | 
			
		||||
= Related Work
 | 
			
		||||
 | 
			
		||||
#todo[Do the State of the Art]
 | 
			
		||||
 | 
			
		||||
#lorem(200)
 | 
			
		||||
 | 
			
		||||
#figure([
 | 
			
		||||
  ```python
 | 
			
		||||
  for _ in range(10):
 | 
			
		||||
    print("Hello Void")
 | 
			
		||||
  ```
 | 
			
		||||
], caption: [Some code],
 | 
			
		||||
) <alg:hello-void>
 | 
			
		||||
 | 
			
		||||
= Contribution 1
 | 
			
		||||
 | 
			
		||||
#todo[Contribute to science]
 | 
			
		||||
 | 
			
		||||
#lorem(500)
 | 
			
		||||
 | 
			
		||||
= Contribution 2
 | 
			
		||||
 | 
			
		||||
#lorem(500)
 | 
			
		||||
 | 
			
		||||
= Contribution n
 | 
			
		||||
 | 
			
		||||
#lorem(500)
 | 
			
		||||
 | 
			
		||||
= Conclusion <sec:conclusion>
 | 
			
		||||
 | 
			
		||||
#todo[Conclude]
 | 
			
		||||
 | 
			
		||||
#lorem(500)
 | 
			
		||||
 | 
			
		||||
#bibliography("bibliography.bib")
 | 
			
		||||
 | 
			
		||||
#todos()
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue