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
4e99115e
Commit
4e99115e
authored
3 years ago
by
Jan Wille
Browse files
Options
Downloads
Patches
Plain Diff
load the caption package to fix
#6
parent
509e25ae
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
+4
-0
4 additions, 0 deletions
CHANGELOG.md
HsH-classes.dtx
+5
-1
5 additions, 1 deletion
HsH-classes.dtx
README.md
+1
-0
1 addition, 0 deletions
README.md
src/HsH-article.cls
+3
-1
3 additions, 1 deletion
src/HsH-article.cls
src/HsH-report.cls
+3
-1
3 additions, 1 deletion
src/HsH-report.cls
with
16 additions
and
3 deletions
CHANGELOG.md
+
4
−
0
View file @
4e99115e
...
@@ -6,6 +6,10 @@ All notable changes to this project will be documented in this file.
...
@@ -6,6 +6,10 @@ All notable changes to this project will be documented in this file.
### Added
### Added
-
defined
`\fronmatter`
,
`\mainmatter`
and
`\backmatter`
for HsH-report class
-
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
...
...
This diff is collapsed.
Click to expand it.
HsH-classes.dtx
+
5
−
1
View file @
4e99115e
...
@@ -115,6 +115,10 @@
...
@@ -115,6 +115,10 @@
\PassOptionsToPackage{hidelinks}{hyperref}
\PassOptionsToPackage{hidelinks}{hyperref}
\RequirePackage{hyperref}
\RequirePackage{hyperref}
%
%
% put anchors at the beginning of floats
\PassOptionsToPackage{hypcap=true}{caption}
\RequirePackage{caption}
%
% generat bookmarkes
% generat bookmarkes
\RequirePackage{bookmark}
\RequirePackage{bookmark}
%
%
...
@@ -184,7 +188,7 @@
...
@@ -184,7 +188,7 @@
% center all floats
% center all floats
\g@addto@macro\@floatboxreset\centering
\g@addto@macro\@floatboxreset\centering
% center all captions
% center all captions
\setcapwidth
[c]
{0.8\textwidth}
\setcapwidth{0.8\textwidth}
\fi
\fi
% abbreviations for names:
% abbreviations for names:
\if@german
\if@german
...
...
This diff is collapsed.
Click to expand it.
README.md
+
1
−
0
View file @
4e99115e
...
@@ -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
+
3
−
1
View file @
4e99115e
...
@@ -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
+
3
−
1
View file @
4e99115e
...
@@ -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.
}
...
...
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