back to school ?!
This commit is contained in:
parent
266b65a13b
commit
758cd67006
|
@ -1,4 +1,5 @@
|
||||||
build/
|
build/
|
||||||
|
.auctex-auto
|
||||||
|
|
||||||
## Core latex/pdflatex auxiliary files:
|
## Core latex/pdflatex auxiliary files:
|
||||||
*.aux
|
*.aux
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
{
|
|
||||||
"ansible.python.interpreterPath": "/bin/python"
|
|
||||||
}
|
|
|
@ -0,0 +1,18 @@
|
||||||
|
%----------------------------------------
|
||||||
|
% CHAPTERS
|
||||||
|
%----------------------------------------
|
||||||
|
|
||||||
|
\newcommand{\includechapters}[2]{%
|
||||||
|
\foreach \i in {0, ..., #2} {%
|
||||||
|
\edef\FileName{content/chapters/#1/\i}%
|
||||||
|
\IfFileExists{\FileName}{%
|
||||||
|
\input{\FileName}%
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
\includechapters{part1}{2}
|
||||||
|
|
||||||
|
% \includechapters{part2}{2}
|
||||||
|
|
||||||
|
% \includechapters{part3}{1}
|
22
copier.yml
22
copier.yml
|
@ -1,26 +1,28 @@
|
||||||
|
---
|
||||||
_exclude:
|
_exclude:
|
||||||
- .git
|
- .git
|
||||||
- copier.yml
|
- copier.yml
|
||||||
|
- example
|
||||||
|
|
||||||
_tasks:
|
_tasks:
|
||||||
- git init .
|
- git init .
|
||||||
- git add .
|
- git add .
|
||||||
- git commit -m "Initial commit"
|
- git commit -m "Initial commit"
|
||||||
- git checkout -b dev
|
|
||||||
|
|
||||||
student_name:
|
author_name:
|
||||||
type: str
|
type: str
|
||||||
default: Samuel Ortion
|
default: Samuel Ortion
|
||||||
help: Your name
|
help: Your name
|
||||||
|
|
||||||
|
author_email:
|
||||||
|
type: str
|
||||||
|
default: samuel@ortion.fr
|
||||||
|
help: Your email
|
||||||
|
|
||||||
teacher_name:
|
teacher_name:
|
||||||
type: str
|
type: str
|
||||||
help: Teacher's name
|
help: Teacher's name
|
||||||
|
|
||||||
teacher_email:
|
|
||||||
type: str
|
|
||||||
help: Teacher's email
|
|
||||||
|
|
||||||
course_name:
|
course_name:
|
||||||
type: str
|
type: str
|
||||||
help: Course name
|
help: Course name
|
||||||
|
@ -30,11 +32,7 @@ semester:
|
||||||
help: Semester
|
help: Semester
|
||||||
default: M1 - S1
|
default: M1 - S1
|
||||||
|
|
||||||
pathway:
|
cursus:
|
||||||
type: str
|
type: str
|
||||||
help: Pathway
|
help: Cursus
|
||||||
default: GENIOMHE
|
default: GENIOMHE
|
||||||
|
|
||||||
title:
|
|
||||||
type: str
|
|
||||||
help: Title
|
|
||||||
|
|
19
main.tex
19
main.tex
|
@ -1,19 +0,0 @@
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
||||||
% LuaLaTeX Template for course notes
|
|
||||||
%
|
|
||||||
%
|
|
||||||
% Version: v0.0.1
|
|
||||||
% Author: Samuel ORTION
|
|
||||||
% Date: 2023-04-30
|
|
||||||
% License: LPPL 1.3c
|
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
||||||
|
|
||||||
\documentclass{talpa}
|
|
||||||
|
|
||||||
\author{Samuel Ortion}
|
|
||||||
\date{\today}
|
|
||||||
\title{Course notes \\ Template}
|
|
||||||
|
|
||||||
\begin{document}
|
|
||||||
\maketitle
|
|
||||||
\end{document}
|
|
|
@ -1,10 +1,10 @@
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
% Course of {{ course_name }}
|
% Course - {{ course_name }} -- {{ cursus }} -- {{ semester }}
|
||||||
%
|
%
|
||||||
% Author: Samuel ORTION <samuel@ortion.fr>
|
% Author: {{ author_name }} <{{ author_email }}>
|
||||||
% Version: 0.0.1
|
% Version: 0.1.0
|
||||||
% Date: 2023
|
% Date: 2023
|
||||||
% Licence: CC-By-SA 4.0+ International
|
% License: CC-By-SA 4.0+ International
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
\documentclass[
|
\documentclass[
|
||||||
|
@ -12,35 +12,62 @@
|
||||||
10pt,
|
10pt,
|
||||||
fleqn,
|
fleqn,
|
||||||
oneside
|
oneside
|
||||||
]{talpa}
|
]{musculus/mus}
|
||||||
|
|
||||||
\input{colors.tex}
|
\title{
|
||||||
\input{meta.tex}
|
{{ course_name }}
|
||||||
\input{definitions.tex}
|
}
|
||||||
|
\author{
|
||||||
|
{{ author_name }}
|
||||||
|
}
|
||||||
|
\cursus{
|
||||||
|
{{ cursus }}
|
||||||
|
}
|
||||||
|
\semester{
|
||||||
|
{{ semester }}
|
||||||
|
}
|
||||||
|
\teacher{
|
||||||
|
{{ teacher_name }}
|
||||||
|
}
|
||||||
|
|
||||||
|
\input{definitions}
|
||||||
|
|
||||||
\hypersetup{
|
\hypersetup{
|
||||||
pdftitle={
|
pdftitle={
|
||||||
Course - {{ course_name }}
|
Course - {{ course_name }}
|
||||||
},
|
},
|
||||||
pdfauthor={
|
pdfauthor={
|
||||||
{{ student_name }}
|
{{ author_name }}
|
||||||
},
|
},
|
||||||
pdfsubject={},
|
pdfsubject={},
|
||||||
pdfkeywords={},
|
pdfkeywords={},
|
||||||
pdfcreator={LaTeX}
|
pdfcreator={LaTeX}
|
||||||
}
|
}
|
||||||
|
|
||||||
% \addbibressource{bibliography.bib}
|
\addbibresource{references}
|
||||||
|
|
||||||
\makeindex
|
\usepackage[
|
||||||
|
type={CC},
|
||||||
|
modifier={by-sa},
|
||||||
|
version={4.0},
|
||||||
|
]{doclicense}
|
||||||
|
|
||||||
|
\input{preamble}
|
||||||
|
\input{glossary}
|
||||||
|
\input{definitions}
|
||||||
|
|
||||||
|
\makeindex%
|
||||||
|
\makeglossary%
|
||||||
\begin{document}
|
\begin{document}
|
||||||
|
|
||||||
\tableofcontents
|
\tableofcontents
|
||||||
|
|
||||||
% \input{content/introduction.tex}
|
\doclicenseThis%
|
||||||
|
|
||||||
\input{content/chapters/include.tex}
|
\input{content/introduction}
|
||||||
|
|
||||||
% \input{content/conclusion.tex}
|
\input{content/chapters/include}
|
||||||
|
|
||||||
|
\input{content/conclusion}
|
||||||
|
|
||||||
\end{document}
|
\end{document}
|
Loading…
Reference in New Issue