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
c89a4691
Commit
c89a4691
authored
3 years ago
by
Jan Wille
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' into example
parents
ffa3ef03
3127265d
No related branches found
No related tags found
No related merge requests found
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
CHANGELOG.md
+10
-0
10 additions, 0 deletions
CHANGELOG.md
README.md
+1
-0
1 addition, 0 deletions
README.md
src/HsH-article.cls
+5
-3
5 additions, 3 deletions
src/HsH-article.cls
src/HsH-report.cls
+19
-3
19 additions, 3 deletions
src/HsH-report.cls
src/HsH-standalone.cls
+2
-2
2 additions, 2 deletions
src/HsH-standalone.cls
with
37 additions
and
8 deletions
CHANGELOG.md
+
10
−
0
View file @
c89a4691
...
@@ -2,6 +2,16 @@
...
@@ -2,6 +2,16 @@
All notable changes to this project will be documented in this file.
All notable changes to this project will be documented in this file.
## [1.4] - 2022-03-28
### Added
-
defined
`\fronmatter`
,
`\mainmatter`
and
`\backmatter`
for HsH-report class
-
included the caption package to fix #6
### Fixes
-
references now get point to the to of floats, not to the captions position (#6)
## [1.3] - 2022-03-07
## [1.3] - 2022-03-07
### Changed
### Changed
...
...
This diff is collapsed.
Click to expand it.
README.md
+
1
−
0
View file @
c89a4691
...
@@ -124,6 +124,7 @@ used in pretty much every project anyway.
...
@@ -124,6 +124,7 @@ used in pretty much every project anyway.
-
`pgffor`
allows for the use of for-loops (internal)
-
`pgffor`
allows for the use of for-loops (internal)
-
`graphicx`
for importing images
-
`graphicx`
for importing images
-
`hyperref`
for references and links
-
`hyperref`
for references and links
-
`caption`
to customise captions and make references point to the begining of the floats
-
`bookmark`
for bookmarking
-
`bookmark`
for bookmarking
-
`amsmath`
for a lot of general purpose maths features
-
`amsmath`
for a lot of general purpose maths features
-
`csquotes`
makes quotations easier
-
`csquotes`
makes quotations easier
...
...
This diff is collapsed.
Click to expand it.
src/HsH-article.cls
+
5
−
3
View file @
c89a4691
...
@@ -20,10 +20,10 @@
...
@@ -20,10 +20,10 @@
%% and version 1.3 or later is part of all distributions of LaTeX version
%% and version 1.3 or later is part of all distributions of LaTeX version
%% 2021/01/01 or later.
%% 2021/01/01 or later.
%%
%%
\typeout
{
Adapted from KOMA script for use in Hochschule Hannover <2022-03-
07
> Jan Wille
}
\typeout
{
Adapted from KOMA script for use in Hochschule Hannover <2022-03-
28
> Jan Wille
}
\NeedsTeXFormat
{
LaTeX2e
}
\NeedsTeXFormat
{
LaTeX2e
}
\newcommand
{
\myClassName
}{
HsH-article
}
\newcommand
{
\myClassName
}{
HsH-article
}
\ProvidesClass
{
\myClassName
}
[2022/03/
07
v1.
3
HsH-Class based on KOMA]
\ProvidesClass
{
\myClassName
}
[2022/03/
28
v1.
4
HsH-Class based on KOMA]
%% commands for HsH-logo
%% commands for HsH-logo
\newcommand
{
\HsHlogoPath
}{
HSH-Logo.pdf
}
\newcommand
{
\HsHlogoPath
}{
HSH-Logo.pdf
}
...
@@ -87,6 +87,8 @@
...
@@ -87,6 +87,8 @@
\RequirePackage
{
scrhack
}
\RequirePackage
{
scrhack
}
\PassOptionsToPackage
{
hidelinks
}{
hyperref
}
\PassOptionsToPackage
{
hidelinks
}{
hyperref
}
\RequirePackage
{
hyperref
}
\RequirePackage
{
hyperref
}
\PassOptionsToPackage
{
hypcap=true
}{
caption
}
\RequirePackage
{
caption
}
\RequirePackage
{
bookmark
}
\RequirePackage
{
bookmark
}
\PassOptionsToPackage
{
babel
}{
csquotes
}
\PassOptionsToPackage
{
babel
}{
csquotes
}
\if
@german
\PassOptionsToPackage
{
german=quotes
}{
csquotes
}
\fi
\if
@german
\PassOptionsToPackage
{
german=quotes
}{
csquotes
}
\fi
...
@@ -129,7 +131,7 @@
...
@@ -129,7 +131,7 @@
\renewcommand
{
\fps
@table
}{
h!t
}
\renewcommand
{
\fps
@table
}{
h!t
}
\ifx\KOMAScriptVersion\undefined\else
\ifx\KOMAScriptVersion\undefined\else
\g
@addto@macro
\@
floatboxreset
\centering
\g
@addto@macro
\@
floatboxreset
\centering
\setcapwidth
[c]
{
0.8
\textwidth
}
\setcapwidth
{
0.8
\textwidth
}
\fi
\fi
\if
@german
\if
@german
\renewcaptionname
{
ngerman
}{
\figurename
}{
Abb.
}
\renewcaptionname
{
ngerman
}{
\figurename
}{
Abb.
}
...
...
This diff is collapsed.
Click to expand it.
src/HsH-report.cls
+
19
−
3
View file @
c89a4691
...
@@ -20,10 +20,10 @@
...
@@ -20,10 +20,10 @@
%% and version 1.3 or later is part of all distributions of LaTeX version
%% and version 1.3 or later is part of all distributions of LaTeX version
%% 2021/01/01 or later.
%% 2021/01/01 or later.
%%
%%
\typeout
{
Adapted from KOMA script for use in Hochschule Hannover <2022-03-
07
> Jan Wille
}
\typeout
{
Adapted from KOMA script for use in Hochschule Hannover <2022-03-
28
> Jan Wille
}
\NeedsTeXFormat
{
LaTeX2e
}
\NeedsTeXFormat
{
LaTeX2e
}
\newcommand
{
\myClassName
}{
HsH-report
}
\newcommand
{
\myClassName
}{
HsH-report
}
\ProvidesClass
{
\myClassName
}
[2022/03/
07
v1.
3
HsH-Class based on KOMA]
\ProvidesClass
{
\myClassName
}
[2022/03/
28
v1.
4
HsH-Class based on KOMA]
%% commands for HsH-logo
%% commands for HsH-logo
\newcommand
{
\HsHlogoPath
}{
HSH-Logo.pdf
}
\newcommand
{
\HsHlogoPath
}{
HSH-Logo.pdf
}
...
@@ -87,6 +87,8 @@
...
@@ -87,6 +87,8 @@
\RequirePackage
{
scrhack
}
\RequirePackage
{
scrhack
}
\PassOptionsToPackage
{
hidelinks
}{
hyperref
}
\PassOptionsToPackage
{
hidelinks
}{
hyperref
}
\RequirePackage
{
hyperref
}
\RequirePackage
{
hyperref
}
\PassOptionsToPackage
{
hypcap=true
}{
caption
}
\RequirePackage
{
caption
}
\RequirePackage
{
bookmark
}
\RequirePackage
{
bookmark
}
\PassOptionsToPackage
{
babel
}{
csquotes
}
\PassOptionsToPackage
{
babel
}{
csquotes
}
\if
@german
\PassOptionsToPackage
{
german=quotes
}{
csquotes
}
\fi
\if
@german
\PassOptionsToPackage
{
german=quotes
}{
csquotes
}
\fi
...
@@ -130,7 +132,7 @@
...
@@ -130,7 +132,7 @@
\renewcommand
{
\fps
@table
}{
h!t
}
\renewcommand
{
\fps
@table
}{
h!t
}
\ifx\KOMAScriptVersion\undefined\else
\ifx\KOMAScriptVersion\undefined\else
\g
@addto@macro
\@
floatboxreset
\centering
\g
@addto@macro
\@
floatboxreset
\centering
\setcapwidth
[c]
{
0.8
\textwidth
}
\setcapwidth
{
0.8
\textwidth
}
\fi
\fi
\if
@german
\if
@german
\renewcaptionname
{
ngerman
}{
\figurename
}{
Abb.
}
\renewcaptionname
{
ngerman
}{
\figurename
}{
Abb.
}
...
@@ -152,6 +154,20 @@
...
@@ -152,6 +154,20 @@
\raggedbottom
\raggedbottom
\renewcommand
{
\layercontentsmeasure
}{
\@
empty
}
\renewcommand
{
\layercontentsmeasure
}{
\@
empty
}
%% define easy shorthands to switch pagenumbering
\newif\if
@mainmatter
\@
mainmattertrue
\newcommand*\frontmatter
{
%
\if
@twoside
\cleardoubleoddpage\else\clearpage\fi
\@
mainmatterfalse
\pagenumbering
{
Roman
}
%
}
\newcommand*\mainmatter
{
%
\if
@twoside
\cleardoubleoddpage\else\clearpage\fi
\@
mainmattertrue
\pagenumbering
{
arabic
}
%
}
\newcommand*\backmatter
{
%
\if
@openright
\cleardoubleoddpage\else\clearpage\fi\@
mainmatterfalse
}
%% custom commands
%% custom commands
\newcommand
{
\uproman
}
[1]
{
\uppercase\expandafter
{
\romannumeral
#1
}}
\newcommand
{
\uproman
}
[1]
{
\uppercase\expandafter
{
\romannumeral
#1
}}
\newcommand
{
\lowroman
}
[1]
{
\romannumeral
#1
\relax
}
\newcommand
{
\lowroman
}
[1]
{
\romannumeral
#1
\relax
}
...
...
This diff is collapsed.
Click to expand it.
src/HsH-standalone.cls
+
2
−
2
View file @
c89a4691
...
@@ -20,10 +20,10 @@
...
@@ -20,10 +20,10 @@
%% and version 1.3 or later is part of all distributions of LaTeX version
%% and version 1.3 or later is part of all distributions of LaTeX version
%% 2021/01/01 or later.
%% 2021/01/01 or later.
%%
%%
\typeout
{
Adapted from KOMA script for use in Hochschule Hannover <2022-03-
07
> Jan Wille
}
\typeout
{
Adapted from KOMA script for use in Hochschule Hannover <2022-03-
28
> Jan Wille
}
\NeedsTeXFormat
{
LaTeX2e
}
\NeedsTeXFormat
{
LaTeX2e
}
\newcommand
{
\myClassName
}{
HsH-standalone
}
\newcommand
{
\myClassName
}{
HsH-standalone
}
\ProvidesClass
{
\myClassName
}
[2022/03/
07
v1.
3
HsH-Class based on KOMA]
\ProvidesClass
{
\myClassName
}
[2022/03/
28
v1.
4
HsH-Class based on KOMA]
%% commands for HsH-logo
%% commands for HsH-logo
\newcommand
{
\HsHlogoPath
}{
HSH-Logo.pdf
}
\newcommand
{
\HsHlogoPath
}{
HSH-Logo.pdf
}
...
...
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