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
585277c7
Commit
585277c7
authored
1 year ago
by
Jan Wille
Browse files
Options
Downloads
Patches
Plain Diff
use more compact command for abstract
parent
bab0ebc9
No related branches found
No related tags found
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
HsH-classes.dtx
+7
-7
7 additions, 7 deletions
HsH-classes.dtx
src/HsH-article.cls
+1
-14
1 addition, 14 deletions
src/HsH-article.cls
src/HsH-report.cls
+2
-2
2 additions, 2 deletions
src/HsH-report.cls
src/HsH-standalone.cls
+1
-0
1 addition, 0 deletions
src/HsH-standalone.cls
with
11 additions
and
23 deletions
HsH-classes.dtx
+
7
−
7
View file @
585277c7
...
@@ -74,6 +74,8 @@
...
@@ -74,6 +74,8 @@
\@todostrue
\@todostrue
}
}
%</article|report>
%</article|report>
%
%% defere all other options to the base class
%<article>\DeclareOption*{\expandafter\PassOptionsToClass\expandafter{\CurrentOption}{scrartcl}}
%<article>\DeclareOption*{\expandafter\PassOptionsToClass\expandafter{\CurrentOption}{scrartcl}}
%<report>\DeclareOption*{\expandafter\PassOptionsToClass\expandafter{\CurrentOption}{scrreprt}}
%<report>\DeclareOption*{\expandafter\PassOptionsToClass\expandafter{\CurrentOption}{scrreprt}}
%<standalone>\DeclareOption*{\expandafter\PassOptionsToClass\expandafter{\CurrentOption}{standalone}}
%<standalone>\DeclareOption*{\expandafter\PassOptionsToClass\expandafter{\CurrentOption}{standalone}}
...
@@ -341,24 +343,22 @@
...
@@ -341,24 +343,22 @@
\makeatother
\makeatother
}
}
%
%
%<*
article|
report>
%<*report>
%% nicer abstract ---------------------------------------------------------------------------------
%% nicer abstract ---------------------------------------------------------------------------------
\renewenvironment{abstract}{
\renewenvironment{abstract}{
\quotation
\quotation
\setlength\parindent{0pt}
\setlength\parindent{0pt}
%<article> \section*{\abstractname}
\addchap{\abstractname}
%<article> \addcontentsline{toc}{section}{\abstractname}
%<report> \chapter*{\abstractname}
%<report> \addcontentsline{toc}{chapter}{\abstractname}
}{%
}{%
\ifx\@keywords\@empty\else
\ifx\@keywords\@empty\else
%<article> \vskip 0.5em
\vskip 2em
%<report> \vskip 2em
\paragraph{\if@german Schlüsselwörter:\else Keywords:\fi}
\paragraph{\if@german Schlüsselwörter:\else Keywords:\fi}
\@keywords
\@keywords
\fi
\fi
\endquotation
\endquotation
}
}
%</report>
%<*article|report>
%% decloration of Authorship ----------------------------------------------------------------------
%% decloration of Authorship ----------------------------------------------------------------------
\newif\if@oneAuthor \@oneAuthortrue
\newif\if@oneAuthor \@oneAuthortrue
\if@german
\if@german
...
...
This diff is collapsed.
Click to expand it.
src/HsH-article.cls
+
1
−
14
View file @
585277c7
...
@@ -73,6 +73,7 @@
...
@@ -73,6 +73,7 @@
\DeclareOption
{
todos
}{
\DeclareOption
{
todos
}{
\@
todostrue
\@
todostrue
}
}
%% defere all other options to the base class
\DeclareOption*
{
\expandafter\PassOptionsToClass\expandafter
{
\CurrentOption
}{
scrartcl
}}
\DeclareOption*
{
\expandafter\PassOptionsToClass\expandafter
{
\CurrentOption
}{
scrartcl
}}
\ExecuteOptions
{
fontsize=11pt,a4paper,ngerman,sans
}
% default options
\ExecuteOptions
{
fontsize=11pt,a4paper,ngerman,sans
}
% default options
\ProcessOptions\relax
\ProcessOptions\relax
...
@@ -240,20 +241,6 @@
...
@@ -240,20 +241,6 @@
\providecommand
{
\abs
}
[1]
{
\ensuremath
{
\left\vert
#1
\right\vert
}}
\providecommand
{
\abs
}
[1]
{
\ensuremath
{
\left\vert
#1
\right\vert
}}
\makeatother
\makeatother
}
}
%% nicer abstract ---------------------------------------------------------------------------------
\renewenvironment
{
abstract
}{
\quotation
\setlength\parindent
{
0pt
}
\section*
{
\abstractname
}
\addcontentsline
{
toc
}{
section
}{
\abstractname
}
}{
%
\ifx\@
keywords
\@
empty
\else
\vskip
0.5em
\paragraph
{
\if
@german Schlüsselwörter:
\else
Keywords:
\fi
}
\@
keywords
\fi
\endquotation
}
%% decloration of Authorship ----------------------------------------------------------------------
%% decloration of Authorship ----------------------------------------------------------------------
\newif\if
@oneAuthor
\@
oneAuthortrue
\newif\if
@oneAuthor
\@
oneAuthortrue
\if
@german
\if
@german
...
...
This diff is collapsed.
Click to expand it.
src/HsH-report.cls
+
2
−
2
View file @
585277c7
...
@@ -73,6 +73,7 @@
...
@@ -73,6 +73,7 @@
\DeclareOption
{
todos
}{
\DeclareOption
{
todos
}{
\@
todostrue
\@
todostrue
}
}
%% defere all other options to the base class
\DeclareOption*
{
\expandafter\PassOptionsToClass\expandafter
{
\CurrentOption
}{
scrreprt
}}
\DeclareOption*
{
\expandafter\PassOptionsToClass\expandafter
{
\CurrentOption
}{
scrreprt
}}
\ExecuteOptions
{
fontsize=11pt,a4paper,ngerman,sans
}
% default options
\ExecuteOptions
{
fontsize=11pt,a4paper,ngerman,sans
}
% default options
\ProcessOptions\relax
\ProcessOptions\relax
...
@@ -260,8 +261,7 @@
...
@@ -260,8 +261,7 @@
\renewenvironment
{
abstract
}{
\renewenvironment
{
abstract
}{
\quotation
\quotation
\setlength\parindent
{
0pt
}
\setlength\parindent
{
0pt
}
\chapter*
{
\abstractname
}
\addchap
{
\abstractname
}
\addcontentsline
{
toc
}{
chapter
}{
\abstractname
}
}{
%
}{
%
\ifx\@
keywords
\@
empty
\else
\ifx\@
keywords
\@
empty
\else
\vskip
2em
\vskip
2em
...
...
This diff is collapsed.
Click to expand it.
src/HsH-standalone.cls
+
1
−
0
View file @
585277c7
...
@@ -69,6 +69,7 @@
...
@@ -69,6 +69,7 @@
\DeclareOption
{
roman
}{
\DeclareOption
{
roman
}{
\renewcommand
{
\familydefault
}{
\rmdefault
}
\renewcommand
{
\familydefault
}{
\rmdefault
}
}
}
%% defere all other options to the base class
\DeclareOption*
{
\expandafter\PassOptionsToClass\expandafter
{
\CurrentOption
}{
standalone
}}
\DeclareOption*
{
\expandafter\PassOptionsToClass\expandafter
{
\CurrentOption
}{
standalone
}}
\ExecuteOptions
{
margin=0.25cm,fontsize=11pt,a4paper,ngerman,sans
}
% default options
\ExecuteOptions
{
margin=0.25cm,fontsize=11pt,a4paper,ngerman,sans
}
% default options
\ProcessOptions\relax
\ProcessOptions\relax
...
...
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