Initial commit

Back to school
This commit is contained in:
Samuel Ortion 2023-09-18 11:54:18 +02:00
commit d09d96ede1
3 changed files with 416 additions and 0 deletions

303
.gitignore vendored Executable file
View File

@ -0,0 +1,303 @@
build/
## Core latex/pdflatex auxiliary files:
*.aux
*.lof
*.log
*.lot
*.fls
*.out
*.toc
*.fmt
*.fot
*.cb
*.cb2
.*.lb
## Intermediate documents:
*.dvi
*.xdv
*-converted-to.*
# these rules might exclude image files for figures etc.
# *.ps
# *.eps
# *.pdf
## Generated if empty string is given at "Please type another file name for output:"
.pdf
## Bibliography auxiliary files (bibtex/biblatex/biber):
*.bbl
*.bcf
*.blg
*-blx.aux
*-blx.bib
*.run.xml
## Build tool auxiliary files:
*.fdb_latexmk
*.synctex
*.synctex(busy)
*.synctex.gz
*.synctex.gz(busy)
*.pdfsync
## Build tool directories for auxiliary files
# latexrun
latex.out/
## Auxiliary and intermediate files from other packages:
# algorithms
*.alg
*.loa
# achemso
acs-*.bib
# amsthm
*.thm
# beamer
*.nav
*.pre
*.snm
*.vrb
# changes
*.soc
# comment
*.cut
# cprotect
*.cpt
# elsarticle (documentclass of Elsevier journals)
*.spl
# endnotes
*.ent
# fixme
*.lox
# feynmf/feynmp
*.mf
*.mp
*.t[1-9]
*.t[1-9][0-9]
*.tfm
#(r)(e)ledmac/(r)(e)ledpar
*.end
*.?end
*.[1-9]
*.[1-9][0-9]
*.[1-9][0-9][0-9]
*.[1-9]R
*.[1-9][0-9]R
*.[1-9][0-9][0-9]R
*.eledsec[1-9]
*.eledsec[1-9]R
*.eledsec[1-9][0-9]
*.eledsec[1-9][0-9]R
*.eledsec[1-9][0-9][0-9]
*.eledsec[1-9][0-9][0-9]R
# glossaries
*.acn
*.acr
*.glg
*.glo
*.gls
*.glsdefs
*.lzo
*.lzs
*.slg
*.slo
*.sls
# uncomment this for glossaries-extra (will ignore makeindex's style files!)
# *.ist
# gnuplot
*.gnuplot
*.table
# gnuplottex
*-gnuplottex-*
# gregoriotex
*.gaux
*.glog
*.gtex
# htlatex
*.4ct
*.4tc
*.idv
*.lg
*.trc
*.xref
# hyperref
*.brf
# knitr
*-concordance.tex
# TODO Uncomment the next line if you use knitr and want to ignore its generated tikz files
# *.tikz
*-tikzDictionary
# listings
*.lol
# luatexja-ruby
*.ltjruby
# makeidx
*.idx
*.ilg
*.ind
# minitoc
*.maf
*.mlf
*.mlt
*.mtc[0-9]*
*.slf[0-9]*
*.slt[0-9]*
*.stc[0-9]*
# minted
_minted*
*.pyg
# morewrites
*.mw
# newpax
*.newpax
# nomencl
*.nlg
*.nlo
*.nls
# pax
*.pax
# pdfpcnotes
*.pdfpc
# sagetex
*.sagetex.sage
*.sagetex.py
*.sagetex.scmd
# scrwfile
*.wrt
# svg
svg-inkscape/
# sympy
*.sout
*.sympy
sympy-plots-for-*.tex/
# pdfcomment
*.upa
*.upb
# pythontex
*.pytxcode
pythontex-files-*/
# tcolorbox
*.listing
# thmtools
*.loe
# TikZ & PGF
*.dpth
*.md5
*.auxlock
# titletoc
*.ptc
# todonotes
*.tdo
# vhistory
*.hst
*.ver
# easy-todo
*.lod
# xcolor
*.xcp
# xmpincl
*.xmpi
# xindy
*.xdy
# xypic precompiled matrices and outlines
*.xyc
*.xyd
# endfloat
*.ttt
*.fff
# Latexian
TSWLatexianTemp*
## Editors:
# WinEdt
*.bak
*.sav
# Texpad
.texpadtmp
# LyX
*.lyx~
# Kile
*.backup
# gummi
.*.swp
# KBibTeX
*~[0-9]*
# TeXnicCenter
*.tps
# auto folder when using emacs and auctex
./auto/*
*.el
# expex forward references with \gathertags
*-tags.tex
# standalone packages
*.sta
# Makeindex log files
*.lpz
# xwatermark package
*.xwm
# REVTeX puts footnotes in the bibliography by default, unless the nofootinbib
# option is specified. Footnotes are the stored in a file with suffix Notes.bib.
# Uncomment the next line to have this generated file ignored.
#*Notes.bib

39
VAR{filename}.tex.jinja Normal file
View File

@ -0,0 +1,39 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Assignment n°VAR{assignment_number} -- VAR{course_name}
% VAR{semester} -- VAR{cursus} -- VAR{university}
%
% Author: VAR{student_name} <VAR{student_email}>
% Version: 0.1.0
% Date: VAR{date}
% License: CC-By-SA 4.0+ International
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[
fontsize=10pt,
twosided=false,
fleqn
]{scrartcl}
\usepackage{mus}
\hypersetup{
pdftitle={Assignment n°VAR{assignment_number} - VAR{course_name} - VAR{title}},
pdfauthor={VAR{student_name}}
}
\title{VAR{title}}
\titlehead{VAR{cursus}}
\subtitle{VAR{course_name}}
\author{VAR{student_name}\thanks{
\href{mailto:VAR{student_email}}{VAR{student_email}}
}}
\course{VAR{course_name}}
\teacher{VAR{teacher_name}}
\university{VAR{university}}
\semester{VAR{semester}}
\date{VAR{date}}
\begin{document}
\maketitle
\end{document}

74
copier.yml Normal file
View File

@ -0,0 +1,74 @@
---
_exclude:
- .git
- copier.yml
- example
_envops:
autoescape: false
block_start_string: "BLOCK{"
block_end_string: "}"
variable_start_string: "VAR{"
variable_end_string: "}"
_tasks:
- git init .
- git add .
- git commit -m "Initial commit"
assignment_number:
type: int
help: assignment number
title:
type: str
help: Assignment title
date:
type: str
default: \today
help: Assignment date
filename:
type: str
default: asnVAR{ assignment_number }__
help: Filename
student_name:
type: str
default: Samuel Ortion
help: Your name
student_email:
type: str
default: samuel.ortion@etud.univ-evry.fr
help: Your email
student_id:
type: str
default: 20200440
help: Your Student ID
teacher_name:
type: str
help: Teacher's name
course_name:
type: str
help: Course name
semester:
type: str
help: Semester
default: M1 - S1
cursus:
type: str
help: Cursus
default: GENIOMHE
university:
type: str
help: University
default: Université Paris-Saclay, Université d'Évry val d'Essonne
...