Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Documentation
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Rotare
Documentation
Commits
6cd3afc3
Verified
Commit
6cd3afc3
authored
2 years ago
by
Thomas Lambert
Browse files
Options
Downloads
Patches
Plain Diff
refact: split preamble
parent
e3d87604
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#8774
passed
2 years ago
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
preamble.tex
+99
-0
99 additions, 0 deletions
preamble.tex
rotare-doc.tex
+13
-95
13 additions, 95 deletions
rotare-doc.tex
with
112 additions
and
95 deletions
preamble.tex
0 → 100644
+
99
−
0
View file @
6cd3afc3
% -----------------------------------------------------------------------------
% Preamble for the Rotare documentation.
%
% Author: Thomas Lambert <t.lambert@uliege.be>
% ULiege - Aeroelasticity and Experimental Aerodynamics
% https://gitlab.uliege.be/thlamb/Rotare-doc
%
% License: CC-BY-SA-4.0
% This work is licensed under a Creative Commons Attribution-ShareAlike 4.0
% International License (https://creativecommons.org/licenses/by-sa/4.0/)
% ------------------------------------------------------------------------------
% ==============================================================================
% DOCUMENT METADATA
% ==============================================================================
% Document metadata
% ***********************************************
\newcommand
{
\docDate
}{
\today
}
\newcommand
{
\docVersion
}{
v0.0.0
}
\newcommand
{
\docTitle
}{
Rotare
}
\newcommand
{
\docSubtitle
}{
Documentation
}
\newcommand
{
\docAuthor
}{
Thomas Lambert
}
\newcommand
{
\docAffiliation
}{
\protect
{
University of Liège
}}
% ==============================================================================
% PACKAGES
% ==============================================================================
% Encoding and language
% ***********************************************
\PassOptionsToPackage
{
utf8
}{
inputenc
}
\usepackage
{
inputenc
}
\usepackage
[english]
{
babel
}
% Debugging
% ***********************************************
%\listfiles % Used for debugging
% Document style
% ***********************************************
\PassOptionsToPackage
{
figuresep=colon,
%
hangfigurecaption=false,
%
hangsection=true,
%
hangsubsection=true,
%
sansserif=false,
%
configurelistings=true,
%
colorize=full,
%
colortheme=bluemagenta,
%
configurebiblatex=true,
%
bibsys=biber,
%
bibfile=rotare-bib,
%
bibstyle=alphabetic,
%
bibsorting=nty,
%
}{
cleanthesis
}
\usepackage
{
cleanthesis
}
\KOMAoptions
{
draft=false
}
% Get rid of rulers, keep the rest in draft mode
% Hyperref setup and pdf metadata
% ***********************************************
\hypersetup
{
%
pdftitle=
{
\docTitle
}
,
% title (PDF meta)
pdfsubject=
{
\docSubtitle
}
,
% subject (PDF meta)
pdfauthor=
{
\docAuthor
}
,
% author (PDF meta)
plainpages=false,
%
colorlinks=false,
% colorize links
pdfborder=
{
0 0 0
}
,
% link border
breaklinks=true,
% allow line break inside links
bookmarksnumbered=true,
%
bookmarksopen=true
%
}
% Other additional packages
% ***********************************************
% Style
\usepackage
{
ULiege-colors
}
% ULiege color theme
\usepackage
{
scrhack
}
% So other packages play nice with KOMA-Scripts
\usepackage
{
booktabs
}
% Better looking tables
% Functionality
\usepackage
{
amsmath
}
% Math
\usepackage
{
menukeys
}
% Keys, menus, directories, etc
\renewmenumacro
{
\directory
}{
pathswithfolder
}
% default: paths
\usepackage
[scale=2]
{
ccicons
}
% Icons for CC licenses
\usepackage
[nolinks]
{
qrcode
}
% QR codes
% For inkscape figures
\usepackage
{
xifthen
}
\usepackage
{
pdfpages
}
\usepackage
{
transparent
}
% Fixme for todo messages in text
\usepackage
[inline, marginclue]
{
fixme
}
\fxsetup
{
theme=color
}
This diff is collapsed.
Click to expand it.
rotare-doc.tex
+
13
−
95
View file @
6cd3afc3
...
@@ -29,93 +29,13 @@ draft, % toggle if draft version
...
@@ -29,93 +29,13 @@ draft, % toggle if draft version
]
{
scrreprt
}
%
]
{
scrreprt
}
%
% ==============================================================================
% Main document preamble
% DOCUMENT METADATA
\input
{
preamble.tex
}
% ==============================================================================
% Document metadata
% ***********************************************
\newcommand
{
\docDate
}{
\today
}
\newcommand
{
\docVersion
}{
v0.0.0
}
\newcommand
{
\docTitle
}{
Rotare
}
\newcommand
{
\docSubtitle
}{
Documentation
}
\newcommand
{
\docAuthor
}{
Thomas Lambert
}
\newcommand
{
\docAffiliation
}{
\protect
{
University of Liège
}}
% ==============================================================================
% PACKAGES
% ==============================================================================
% Encoding and language
% ***********************************************
\PassOptionsToPackage
{
utf8
}{
inputenc
}
\usepackage
{
inputenc
}
\usepackage
[english]
{
babel
}
% Debugging
% ***********************************************
%\listfiles % Used for debugging
% Document style
% ***********************************************
\PassOptionsToPackage
{
figuresep=colon,
%
hangfigurecaption=false,
%
hangsection=true,
%
hangsubsection=true,
%
sansserif=false,
%
configurelistings=true,
%
colorize=full,
%
colortheme=bluemagenta,
%
configurebiblatex=true,
%
bibsys=biber,
%
bibfile=rotare-bib,
%
bibstyle=alphabetic,
%
bibsorting=nty,
%
}{
cleanthesis
}
\usepackage
{
cleanthesis
}
\KOMAoptions
{
draft=false
}
% Get rid of rulers, keep the rest in draft mode
% Hyperref setup and pdf metadata
% ***********************************************
\hypersetup
{
%
pdftitle=
{
\docTitle
}
,
% title (PDF meta)
pdfsubject=
{
\docSubtitle
}
,
% subject (PDF meta)
pdfauthor=
{
\docAuthor
}
,
% author (PDF meta)
plainpages=false,
%
colorlinks=false,
% colorize links
pdfborder=
{
0 0 0
}
,
% link border
breaklinks=true,
% allow line break inside links
bookmarksnumbered=true,
%
bookmarksopen=true
%
}
% Other additional packages
% ***********************************************
\usepackage
{
ULiege-colors
}
% ULiege color theme
\usepackage
{
scrhack
}
% So other packages play nice with KOMA-Scripts
\usepackage
[nolinks]
{
qrcode
}
% QR codes
\usepackage
{
booktabs
}
% Better looking tables
\usepackage
{
amsmath
}
\usepackage
{
menukeys
}
% Keys, menus, directories, etc
\renewmenumacro
{
\directory
}{
pathswithfolder
}
% default: paths
\usepackage
[scale=2]
{
ccicons
}
% Icons for CC licenses
% For inkscape figures
\usepackage
{
xifthen
}
\usepackage
{
pdfpages
}
\usepackage
{
transparent
}
% Fixme for todo messages in text
% My custom packages
\usepackage
[inline, marginclue]
{
fixme
}
\usepackage
{
definitions
}
% Definitions (see style/definitions.sty)
\fxsetup
{
theme=color
}
\usepackage
{
symbols
}
% Math symbols (see style/symbols.sty)
\usepackage
{
commands
}
% New commands (see style/commands.sty)
% MY PACKAGES
\usepackage
{
definitions
}
% Custom definitions (see style/definitions.sty)
\usepackage
{
symbols
}
% Custom definitions (see style/definitions.sty)
\usepackage
{
commands
}
% Custom definitions (see style/definitions.sty)
% ==============================================================================
% ==============================================================================
% DOCUMENT CONTENT
% DOCUMENT CONTENT
...
@@ -130,16 +50,14 @@ draft, % toggle if draft version
...
@@ -130,16 +50,14 @@ draft, % toggle if draft version
\input
{
contents/titlepage
}
% Titlepage
\input
{
contents/titlepage
}
% Titlepage
\cleardoublepage
\cleardoublepage
\thispagestyle
{
empty
}
% Copyright statement
\input
{
contents/copyright
}
{
\thispagestyle
{
empty
}
% TODO: Add a copyright notice
\input
{
contents/copyright
}
% Documentation and images are CC-BY-SA-4.0
\cleardoublepage
% Code is MIT
}
% TOC
\currentpdfbookmark
{
\contentsname
}{
toc
}
\currentpdfbookmark
{
\contentsname
}{
toc
}
\setcounter
{
tocdepth
}{
2
}
% define depth of toc
\setcounter
{
tocdepth
}{
2
}
% define depth of toc
\tableofcontents
% display table of contents
\tableofcontents
% display table of contents
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment