Slight update

This commit is contained in:
Samuel Ortion 2023-09-18 11:47:55 +02:00
parent 758cd67006
commit 6ad9e97c3a
6 changed files with 57 additions and 36 deletions

10
README.md Normal file
View File

@ -0,0 +1,10 @@
# `cm.template` - copier powered university LaTeX course notes template with `mus` style
## Quick start
Clone this repository, then
```bash
copier ./cm.template ./your/project/folder
```
Answer the question, and you are ready to go.

0
content/conclusion.tex Normal file
View File

0
content/introduction.tex Normal file
View File

View File

@ -2,7 +2,15 @@
_exclude: _exclude:
- .git - .git
- copier.yml - copier.yml
- example - example/
- README.md
_envops:
autoescape: false
block_start_string: "BLOCK{"
block_end_string: "}"
variable_start_string: "VAR{"
variable_end_string: "}"
_tasks: _tasks:
- git init . - git init .
@ -36,3 +44,9 @@ cursus:
type: str type: str
help: Cursus help: Cursus
default: GENIOMHE default: GENIOMHE
university:
type: str
help: University
default: Université Paris-Saclay, Université d'Évry val d'Essonne
...

View File

@ -1,7 +1,7 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Course - {{ course_name }} -- {{ cursus }} -- {{ semester }} % Course -- VAR{course_name} --- VAR{cursus} --- VAR{semester}
% %
% Author: {{ author_name }} <{{ author_email }}> % Author: VAR{author_name} <VAR{author_email}>
% Version: 0.1.0 % Version: 0.1.0
% Date: 2023 % Date: 2023
% License: CC-By-SA 4.0+ International % License: CC-By-SA 4.0+ International
@ -9,39 +9,34 @@
\documentclass[ \documentclass[
a4paper, a4paper,
10pt, fontsize=10pt,
fleqn, fleqn,
oneside oneside
]{musculus/mus} ]{scrbook}
\title{ \usepackage{mus}
{{ course_name }}
} \titlehead{VAR{cursus}}
\author{ \title{VAR{course_name}}
{{ author_name }} \author{VAR{author_name}}
} \teacher{VAR{teacher_name}}
\cursus{ \cursus{VAR{cursus}}
{{ cursus }} \university{VAR{university}}
} \semester{VAR{semester}}
\semester{ \date{VAR{date}}
{{ semester }}
}
\teacher{
{{ teacher_name }}
}
\input{definitions} \input{definitions}
\hypersetup{ \hypersetup{
pdftitle={ pdftitle={
Course - {{ course_name }} Course - VAR{course_name}
},
pdfauthor={
{{ author_name }}
}, },
pdfsubject={}, pdfauthor={
pdfkeywords={}, VAR{author_name}
pdfcreator={LaTeX} },
pdfsubject={},
pdfkeywords={},
pdfcreator={LaTeX}
} }
\addbibresource{references} \addbibresource{references}
@ -60,6 +55,8 @@ pdfcreator={LaTeX}
\makeglossary% \makeglossary%
\begin{document} \begin{document}
\maketitlefullpage
\tableofcontents \tableofcontents
\doclicenseThis% \doclicenseThis%

0
references.bib Normal file
View File