Slight update
This commit is contained in:
parent
758cd67006
commit
6ad9e97c3a
|
@ -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.
|
18
copier.yml
18
copier.yml
|
@ -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 .
|
||||||
|
@ -35,4 +43,10 @@ semester:
|
||||||
cursus:
|
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
|
||||||
|
...
|
|
@ -1,55 +1,50 @@
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
% 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
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
\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={
|
pdfauthor={
|
||||||
{{ author_name }}
|
VAR{author_name}
|
||||||
},
|
},
|
||||||
pdfsubject={},
|
pdfsubject={},
|
||||||
pdfkeywords={},
|
pdfkeywords={},
|
||||||
pdfcreator={LaTeX}
|
pdfcreator={LaTeX}
|
||||||
}
|
}
|
||||||
|
|
||||||
\addbibresource{references}
|
\addbibresource{references}
|
||||||
|
|
||||||
\usepackage[
|
\usepackage[
|
||||||
type={CC},
|
type={CC},
|
||||||
modifier={by-sa},
|
modifier={by-sa},
|
||||||
version={4.0},
|
version={4.0},
|
||||||
]{doclicense}
|
]{doclicense}
|
||||||
|
|
||||||
\input{preamble}
|
\input{preamble}
|
||||||
|
@ -60,6 +55,8 @@ pdfcreator={LaTeX}
|
||||||
\makeglossary%
|
\makeglossary%
|
||||||
\begin{document}
|
\begin{document}
|
||||||
|
|
||||||
|
\maketitlefullpage
|
||||||
|
|
||||||
\tableofcontents
|
\tableofcontents
|
||||||
|
|
||||||
\doclicenseThis%
|
\doclicenseThis%
|
||||||
|
|
Loading…
Reference in New Issue