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:
|
||||
- .git
|
||||
- copier.yml
|
||||
- example
|
||||
- example/
|
||||
- README.md
|
||||
|
||||
_envops:
|
||||
autoescape: false
|
||||
block_start_string: "BLOCK{"
|
||||
block_end_string: "}"
|
||||
variable_start_string: "VAR{"
|
||||
variable_end_string: "}"
|
||||
|
||||
_tasks:
|
||||
- git init .
|
||||
|
@ -35,4 +43,10 @@ semester:
|
|||
cursus:
|
||||
type: str
|
||||
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
|
||||
% Date: 2023
|
||||
% License: CC-By-SA 4.0+ International
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
|
||||
\documentclass[
|
||||
a4paper,
|
||||
10pt,
|
||||
fleqn,
|
||||
oneside
|
||||
]{musculus/mus}
|
||||
a4paper,
|
||||
fontsize=10pt,
|
||||
fleqn,
|
||||
oneside
|
||||
]{scrbook}
|
||||
|
||||
\title{
|
||||
{{ course_name }}
|
||||
}
|
||||
\author{
|
||||
{{ author_name }}
|
||||
}
|
||||
\cursus{
|
||||
{{ cursus }}
|
||||
}
|
||||
\semester{
|
||||
{{ semester }}
|
||||
}
|
||||
\teacher{
|
||||
{{ teacher_name }}
|
||||
}
|
||||
\usepackage{mus}
|
||||
|
||||
\titlehead{VAR{cursus}}
|
||||
\title{VAR{course_name}}
|
||||
\author{VAR{author_name}}
|
||||
\teacher{VAR{teacher_name}}
|
||||
\cursus{VAR{cursus}}
|
||||
\university{VAR{university}}
|
||||
\semester{VAR{semester}}
|
||||
\date{VAR{date}}
|
||||
|
||||
\input{definitions}
|
||||
|
||||
\hypersetup{
|
||||
pdftitle={
|
||||
Course - {{ course_name }}
|
||||
},
|
||||
pdfauthor={
|
||||
{{ author_name }}
|
||||
},
|
||||
pdfsubject={},
|
||||
pdfkeywords={},
|
||||
pdfcreator={LaTeX}
|
||||
pdftitle={
|
||||
Course - VAR{course_name}
|
||||
},
|
||||
pdfauthor={
|
||||
VAR{author_name}
|
||||
},
|
||||
pdfsubject={},
|
||||
pdfkeywords={},
|
||||
pdfcreator={LaTeX}
|
||||
}
|
||||
|
||||
\addbibresource{references}
|
||||
|
||||
\usepackage[
|
||||
type={CC},
|
||||
modifier={by-sa},
|
||||
version={4.0},
|
||||
type={CC},
|
||||
modifier={by-sa},
|
||||
version={4.0},
|
||||
]{doclicense}
|
||||
|
||||
\input{preamble}
|
||||
|
@ -60,6 +55,8 @@ pdfcreator={LaTeX}
|
|||
\makeglossary%
|
||||
\begin{document}
|
||||
|
||||
\maketitlefullpage
|
||||
|
||||
\tableofcontents
|
||||
|
||||
\doclicenseThis%
|
||||
|
|
Loading…
Reference in New Issue