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
9cfd2174
Verified
Commit
9cfd2174
authored
2 years ago
by
Thomas Lambert
Browse files
Options
Downloads
Patches
Plain Diff
refact: organize preamble
parent
cd739e1a
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#8751
passed
2 years ago
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
rotare-doc.tex
+5
-26
5 additions, 26 deletions
rotare-doc.tex
style/commands.sty
+41
-0
41 additions, 0 deletions
style/commands.sty
with
46 additions
and
26 deletions
rotare-doc.tex
+
5
−
26
View file @
9cfd2174
...
...
@@ -92,9 +92,6 @@ draft, % toggle if draft version
% Other additional packages
% ***********************************************
\usepackage
{
definitions
}
% Custom definitions (see style/definitions.sty)
\usepackage
{
symbols
}
% Custom definitions (see style/definitions.sty)
\usepackage
{
commmmands
}
% Custom definitions (see style/definitions.sty)
\usepackage
{
ULiege-colors
}
% ULiege color theme
\usepackage
{
scrhack
}
% So other packages play nice with KOMA-Scripts
...
...
@@ -111,32 +108,14 @@ draft, % toggle if draft version
\usepackage
{
pdfpages
}
\usepackage
{
transparent
}
% Fixme for todo messages in text
\usepackage
[inline, marginclue]
{
fixme
}
\fxsetup
{
theme=color
}
\newcommand\fxcite
{
\fxerror
{
Citation missing
}}
\newcommand
{
\todo
}
[1]
{
\fxnote
{
#1
}}
% ==============================================================================
% COMMANDS AND ENVIRONMENTS
% ==============================================================================
\newcommand
{
\describeOption
}
[4]
{
\par\noindent
\textbf
{
\textsf
{
#1
}}
\if\relax\detokenize
{
#2
}
\relax
% nothing
\else
[#2]
\fi
\dotfill\,
#3
\newline
#4
}
\newcommand
{
\incfig
}
[2][1]
{
%
\def\svgwidth
{
#1
\textwidth
}
\input
{
#2.pdf
_
tex
}
}
% 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
...
...
This diff is collapsed.
Click to expand it.
style/comm
mm
ands.sty
→
style/commands.sty
+
41
−
0
View file @
9cfd2174
...
...
@@ -10,3 +10,32 @@
% --- Listings -----------------------------------------------------------------
\newcommand\lst
[1]
{
\lstinline
[basicstyle=\ttfamily\normalsize]
{
#1
}}
\newcommand\lstmat
[1]
{
\lstinline
[language=matlab]
{
#1
}}
% --- Fixme --------------------------------------------------------------------
\newcommand\fxcite
{
\fxerror
{
REF: Citation missing
}}
\newcommand\fxref
{
\fxerror
{
REF: Reference missing
}}
\newcommand
{
\todo
}
[1]
{
\fxnote
{
#1
}}
% --- Custom -------------------------------------------------------------------
% Format option description
\newcommand
{
\describeOption
}
[4]
{
\par\noindent
\textbf
{
\textsf
{
#1
}}
\if\relax\detokenize
{
#2
}
\relax
% nothing
\else
[#2]
\fi
\dotfill\,
#3
\newline
#4
}
% Include inkscape figures
\newcommand
{
\incfig
}
[2][1]
{
%
\def\svgwidth
{
#1
\textwidth
}
\input
{
#2.pdf
_
tex
}
}
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