Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
LaTeX Template HsH
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jan Wille
LaTeX Template HsH
Commits
e2e83f16
Commit
e2e83f16
authored
3 years ago
by
Jan Wille
Browse files
Options
Downloads
Patches
Plain Diff
included autogobble for listings (
#8
)
parent
1e1da135
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
CHANGELOG.md
+5
-0
5 additions, 0 deletions
CHANGELOG.md
HsH-classes.dtx
+2
-0
2 additions, 0 deletions
HsH-classes.dtx
src/config.tex
+2
-0
2 additions, 0 deletions
src/config.tex
with
9 additions
and
0 deletions
CHANGELOG.md
+
5
−
0
View file @
e2e83f16
...
...
@@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
## [Current]
### Added
-
autobobble option for
`listings`
, which automaticly determins the indentation width and gooble it up, removing the need to put
`gobble=n`
manually
every time. (#8)
### Changed
-
`\title`
now accepts an optional argument. It will be used as a short version of the title and will be put into the header.
...
...
This diff is collapsed.
Click to expand it.
HsH-classes.dtx
+
2
−
0
View file @
e2e83f16
...
...
@@ -658,6 +658,7 @@
\@ifpackageloaded{listings}{
\PassOptionsToPackage{svgnames}{xcolor}
\RequirePackage{xcolor}
\RequirePackage{lstautogobble}
\lstset{
commentstyle=\color{gray},
keywordstyle=\color{FireBrick}\bfseries,
...
...
@@ -667,6 +668,7 @@
tabsize=4,
literate={Ö}{{\"O}}1{Ä}{{\"A}}1{Ü}{{\"U}}1{ß}{{\ss}}1{ü}{{\"u}}1{ä}{{\"a}}1{ö}{{\"o}}1,
escapeinside={(*@}{@*)},
autogobble=true,
}
}{}
\@ifpackageloaded{enumitem}{
...
...
This diff is collapsed.
Click to expand it.
src/config.tex
+
2
−
0
View file @
e2e83f16
...
...
@@ -33,6 +33,7 @@
\@
ifpackageloaded
{
listings
}{
\PassOptionsToPackage
{
svgnames
}{
xcolor
}
\RequirePackage
{
xcolor
}
\RequirePackage
{
lstautogobble
}
\lstset
{
commentstyle=
\color
{
gray
}
,
keywordstyle=
\color
{
FireBrick
}
\bfseries
,
...
...
@@ -42,6 +43,7 @@
tabsize=4,
literate=
{
Ö
}{{
\"
O
}}
1
{
Ä
}{{
\"
A
}}
1
{
Ü
}{{
\"
U
}}
1
{
ß
}{{
\ss
}}
1
{
ü
}{{
\"
u
}}
1
{
ä
}{{
\"
a
}}
1
{
ö
}{{
\"
o
}}
1,
escapeinside=
{
(*@
}{
@*)
}
,
autogobble=true,
}
}{}
\@
ifpackageloaded
{
enumitem
}{
...
...
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