Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
hbrs-latex-vorlage
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
Anselm Eberhardt (Archived)
hbrs-latex-vorlage
Commits
9403c9a3
Commit
9403c9a3
authored
13 years ago
by
Daniel Meißner
Browse files
Options
Downloads
Patches
Plain Diff
Nicht mehr benötigte Ressourcen Dateien entfernt.
parent
ef61389e
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
resources/LaTeX-Packages/chngcntr/chngcntr.sty
+0
-107
0 additions, 107 deletions
resources/LaTeX-Packages/chngcntr/chngcntr.sty
resources/LaTeX-Packages/floatflt/floatflt.sty
+0
-348
0 additions, 348 deletions
resources/LaTeX-Packages/floatflt/floatflt.sty
with
0 additions
and
455 deletions
resources/LaTeX-Packages/chngcntr/chngcntr.sty
deleted
100644 → 0
+
0
−
107
View file @
ef61389e
% chngcntr.sty
%
% Provides commands to change the resetting of counters.
% Instructions for use are at the end of this file.
%
% author: Peter Wilson (CUA)
% (now at peter.r.wilson@boeing.com)
% Released under the Latex Project Public License
%
%
\NeedsTeXFormat
{
LaTeX2e
}
\ProvidesPackage
{
chngcntr
}
[2001/03/30 v1.0 change counter resetting]
%
% This package uses David Carlisle's \@removefromreset command as
% specified in the remreset package available from CTAN as
% macros/latex/contrib/supported/carlisle/remreset.sty
% It is \provided here as a convenience to the user, and with
% David Carlisle's permission.
% START OF DAVID CARLISLE'S CODE
\providecommand
{
\@
removefromreset
}
[2]
{{
%
\expandafter\let\csname
c@#1
\endcsname\@
removefromreset
\def\@
elt##1
{
%
\expandafter\ifx\csname
c@##1
\endcsname\@
removefromreset
\else
\noexpand\@
elt
{
##1
}
%
\fi
}
%
\expandafter\xdef\csname
cl@#2
\endcsname
{
%
\csname
cl@#2
\endcsname
}}}
% END OF DAVID CARLISLE'S CODE
%%\@ifbothc@t@s{<package>}{<counter>}{<within>}{<code when both are counters>}
\newcommand
{
\@
ifbothc@t@s
}
[4]
{
%
\@
ifundefined
{
c@#2
}{
% counter undefined
\PackageError
{
#1
}{
#2 is not a counter
}{
\@
eha
}}
%
{
% else counter is defined
\@
ifundefined
{
c@#3
}{
% within undefined
\PackageError
{
#1
}{
#3 is not a counter
}{
\@
eha
}}
%
{
% else both counter and within are defined
#4
}}}
%%\counterwithout*{<counter>}{<within>}
\newcommand
{
\counterwithout
}{
\@
ifstar
{
\c
@t@soutstar
}{
\c
@t@sout
}}
\newcommand
{
\c
@t@soutstar
}
[2]
{
%
\@
ifbothc@t@s
{
chngcntr
}{
#1
}{
#2
}{
\@
removefromreset
{
#1
}{
#2
}}}
\newcommand
{
\c
@t@sout
}
[2]
{
%
\@
ifbothc@t@s
{
chngcntr
}{
#1
}{
#2
}{
\@
removefromreset
{
#1
}{
#2
}
%
\@
namedef
{
the#1
}{
\arabic
{
#1
}}}}
%%\counterwithin*{<counter>}{<within>}
\newcommand
{
\counterwithin
}{
\@
ifstar
{
\c
@t@sinstar
}{
\c
@t@sin
}}
\newcommand
{
\c
@t@sinstar
}
[2]
{
%
\@
ifbothc@t@s
{
chngcntr
}{
#1
}{
#2
}{
\@
addtoreset
{
#1
}{
#2
}}}
\newcommand
{
\c
@t@sin
}
[2]
{
%
\@
ifbothc@t@s
{
chngcntr
}{
#1
}{
#2
}{
\@
addtoreset
{
#1
}{
#2
}
%
\@
namedef
{
the#1
}{
\@
nameuse
{
the#2
}
.
\arabic
{
#1
}}}}
\endinput
%%%%%%%%%%%%%%%%%%
% USAGE
%%%%%%%%%%%%%%%%%%
%
% In LaTeX, a new counter called, say `ctr', is created by the command
% \newcounter{ctr}[within]. If the optional within argument is given
% the the counter `ctr' is reset to zero each time the counter `within'
% changes. The command \thectr typesets the value of the counter ctr.
% This is automatically defined by \newcounter and is initialised
% to typeset arabic numerals.
%
%%%%%%%%%%%%%%%%%
% \counterwithin
% \counterwithin*
%%%%%%%%%%%%%%%%%
% It is sometimes desireable to change a counter that has been defined
% by \newcounter{ctr} to act as though it had been defined as
% \newcounter{ctr}[within]. The package provides the command
% \counterwithin{ctr}{within} that accomplishes this. By default,
% it also redefines the \thectr command so that it typesets values
% in the style \thewithin.\arabic{ctr}. The starred version of the
% command suppresses the redefinition of \thectr
% (e.g., \counterwithin*{ctr}{within}).
%
%%%%%%%%%%%%%%%%%%
% \counterwithout
% \counterwithout*
%%%%%%%%%%%%%%%%%%
% Likewise, the command \counterwithout{ctr}{within} changes a
% counter that has been created by \newcounter{ctr}[within] to act
% as though it had been created by \newcounter{ctr}. By default it
% also redefines the \thectr command so that it just typesets an arabic
% numeral. The starred version of the command suppresses the redefinition
% of \thectr.
%
% Any number of \counterwithin{ctr}{...} and \counterwithout{ctr}{...}
% commands can be issued for a given counter, ctr, if you wish to toggle
% between the two styles. The current value of ctr is unaffected by
% \counterwithin and \counterwithout. If you want to change the value
% after one of these commands, use \setcounter{ctr}{...}, and to change
% the typeseting style use \renewcommand{\thectr}{...}.
%
%
% Peter W.
% 2001/03/30
%
This diff is collapsed.
Click to expand it.
resources/LaTeX-Packages/floatflt/floatflt.sty
deleted
100644 → 0
+
0
−
348
View file @
ef61389e
%%
%% This is file `floatflt.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% floatflt.dtx (with options: `paketkod')
%%
%% Copyright (c) 1994-1998 by Mats Dahlgren <matsd@sssk.se>.
%% All rights reserved. See the file `floatflt.ins' for information
%% on how you may (re-)distribute the `floatflt' package files.
%% You are not allowed to make any changes to this file without
%% explicit permission from the author.
%%
\NeedsTeXFormat
{
LaTeX2e
}
[1996/12/01]
\ProvidesPackage
{
floatflt
}
[1997/07/16 v. 1.31]
\newcounter
{
OptionTest
}
\setcounter
{
OptionTest
}{
0
}
\DeclareOption
{
rflt
}{
\setcounter
{
OptionTest
}{
1
}}
\DeclareOption
{
lflt
}{
\setcounter
{
OptionTest
}{
2
}}
\DeclareOption
{
vflt
}{
\setcounter
{
OptionTest
}{
0
}}
\DeclareOption*
{
\OptionNotUsed
}
\ProcessOptions
\newbox\figbox
\newbox\tabbox
\newbox\pagebox
\newcount\ffigcount
\newcount\ftabcount
\newcount\fftest
\newcount\hangcount
\newcount\nosuccesstryfig
\newcount\nosuccesstrytab
\newdimen\figgutter
\figgutter
=1truepc
\newdimen\tabgutter
\tabgutter
=1truepc
\newdimen\htdone
\htdone
=0pt
\newdimen\pageht
\newdimen\startpageht
\newdimen\tabbredd
\newdimen\floatfltwidth
\newdimen\fltitemwidth
\newif\iftryingfig
\tryingfigfalse
\newif\iftryingtab
\tryingtabfalse
\newif\ifdoingfig
\doingfigfalse
\newif\ifdoingtab
\doingtabfalse
\newif\iffigprocessing
\figprocessingfalse
\newif\iftabprocessing
\tabprocessingfalse
\newif\ifpageafterfig
\pageafterfigfalse
\newif\ifpageaftertab
\pageaftertabfalse
\newif\ifoddpages
\newif\ifoutput
\newtoks\outputpretest
\newenvironment
{
floatingfigure
}
[2][v]
%
{
\@
tfor
\@
tempa :=#1
\do
{
\if\@
tempa r
\global\oddpagestrue\fi
\if\@
tempa l
\global\oddpagesfalse\fi
\if\@
tempa p
%
\ifodd\c
@page
\global\oddpagestrue
\else\global\oddpagesfalse\fi
\fi
\if\@
tempa v
%
\ifnum\theOptionTest
=0
\ifodd\c
@page
\global\oddpagestrue
\else\global\oddpagesfalse\fi
\else
\ifodd\theOptionTest\global\oddpagestrue
\else\global\oddpagesfalse\fi
\fi
\fi
}
\expandafter\ifx\csname
oldoutput
\endcsname\relax
% ref. TeXbook Ex.7.7
\PackageError
{
floatflt
}{
The `floatflt' package is not initialized
}
{
Try to reinstall the `floatflt' package.
\MessageBreak
Type `x' to quit or <Return> to try to go on.
}
\@
@end
\fi
\global\everypar
=
{
\tryfig\oldeverypar
}
% must be set globally!
\global\advance\ffigcount
by 1
\iffigprocessing
{
\count
0=
\ffigcount\advance\count
0 by -1
\PackageWarningNoLine
{
floatflt
}{
Floating figures
\the\count
0
\space
%
\space
and
\the\ffigcount\space
colliding
}
%
}
%
\fi
\iftabprocessing
\PackageWarningNoLine
{
floatflt
}{
Floating figure
%
\the\ffigcount\space
and floating table
\the\ftabcount\space
colliding
}
\fi
\def\@
captype
{
figure
}
\global\setlength
{
\floatfltwidth
}{
#2
}
\global\figprocessingtrue
\global\setbox\figbox
=
\vbox\bgroup
% begin of figbox
\hrule
height 0pt width #2 depth 0pt
%
\hsize
=#2
%
}
{
\egroup
\figinsert\par
%
}
\newenvironment
{
floatingtable
}
[2][v]
%
{
\@
tfor
\@
tempa :=#1
\do
{
\if\@
tempa r
\global\oddpagestrue\fi
\if\@
tempa l
\global\oddpagesfalse\fi
\if\@
tempa p
%
\ifodd\c
@page
\global\oddpagestrue
\else\global\oddpagesfalse\fi
\fi
\if\@
tempa v
%
\ifnum
\theOptionTest
=0
\ifodd\c
@page
\global\oddpagestrue
\else\global\oddpagesfalse\fi
\else
\ifodd\theOptionTest\global\oddpagestrue
\else\global\oddpagesfalse\fi
\fi
\fi
}
\expandafter\ifx\csname
oldoutput
\endcsname\relax
% ref. TeXbook Ex.7.7
\PackageError
{
floatflt
}{
The `floatflt' package is not initialized
}
{
Try to reinstall the `floatflt' package.
\MessageBreak
Type `x' to quit or <Return> to try to go on.
}
\@
@end
\fi
\global\setbox\tabbox
=
\vbox\bgroup\hrule
height 0pt width 0pt depth 0pt
%
\hsize
=0pt
\egroup
\global\everypar
=
{
\trytab\oldeverypar
}
\global\advance\ftabcount
by 1
\iftabprocessing
{
\count
0=
\ftabcount\advance\count
0 by -1
\PackageWarningNoLine
{
floatflt
}{
Floating tables
\the\count
0
\space
%
\space
and
\the\ftabcount
\space
colliding
}
%
}
\fi
\iftabprocessing
\PackageWarningNoLine
{
floatflt
}{
Floating table
%
\the\ffigcount\space
and floating figure
\the\ftabcount\space
colliding
}
\fi
\settowidth
{
\tabbredd
}{
#2
}
\global\setlength
{
\floatfltwidth
}{
\tabbredd
}
\def\@
captype
{
table
}
\global\tabprocessingtrue
\global\setbox\tabbox
=
\vbox\bgroup
% begin of tabbox
\hrule
height 0pt width
\tabbredd
depth 0pt
%
\hsize
=
\tabbredd
\noindent\ifnum\ftabcount
>1
\ifoddpages\else\hspace*
{
-12pt
}
\fi\fi
%
#2
\vspace
{
0.2
\baselineskip
}
%
}
{
\egroup
% end of \tabbox
\tabinsert\par
%
}
\AtBeginDocument
{
%
\edef\oldoutput
{
\the\output
}
%
\output
=
{
\the\outputpretest
%
\ifoutput\oldoutput\fi
}
\outputpretest
=
{
\outputtrue
}
\edef\oldeverypar
{
\the\everypar
}
}
\def\dofigtest
{
%
\ifnum\outputpenalty
=-10005
\setbox\pagebox
=
\vbox
{
\unvbox
255
}
%
\global\pageht
=
\ht\pagebox
\global\outputfalse
\unvbox\pagebox
\else
\global\outputtrue
\ifdoingfig
\global\pageafterfigtrue
\fi
\fi
}
%
\def\dotabtest
{
%
\ifnum\outputpenalty
=-10005
\setbox\pagebox
=
\vbox
{
\unvbox
255
}
%
\global\pageht
=
\ht\pagebox
\global\outputfalse
\unvbox\pagebox
\else
\global\outputtrue
\ifdoingtab
\global\pageaftertabtrue
\fi
\fi
}
%
\def\tryfig
{
%
\iftryingfig
{
\everypar
=
{
\relax
}
\setbox
0=
\lastbox
%
\parindent
=
\wd
0
\parskip
=0pt
\par
%
\penalty
-10005
\leavevmode
}
%
\dimen
0=
\vsize
%
\advance\dimen
0 by -
\pageht
%
\advance\dimen
0 by -2
\baselineskip
%
\ifdim\dimen
0>
\ht\figbox
%
\dimen
0=0.3
\baselineskip
\vrule
depth
\dimen
0 width 0pt
\vadjust
{
\kern
-
\dimen
0
%
\vtop
to
\dimen
0
{
%
\baselineskip
=
\dimen
0
%
\vss
\vbox
to 1ex
{
%
\ifoddpages
%
\hbox
to
\hsize
{
\hss\copy\figbox
}
%
\else
% leftsetting
\hbox
to
\hsize
{
\copy\figbox\hss
}
%
\fi
% \ifodd\count0
\vss
}
\null
}}
%
\global\tryingfigfalse
%
\global\doingfigtrue
\global\startpageht
=
\pageht
\global\htdone
=0pt
\dohangf
\ifnum\nosuccesstryfig
>0
%
\typeout
{
floatflt Message: Flt. fig.
\the\ffigcount\space
set on page
\the\count
0, shifted
\the\nosuccesstryfig\space
par(s) forward.
}
%
\else
\typeout
{
Package floatflt Message: Floating figure
\the\ffigcount
\space
set on page
\the\count
0
}
%
\fi
\else
\global\advance\nosuccesstryfig
by 1
\fi
\else
%
\ifdoingfig
{
\everypar
=
{
\relax
}
\setbox
0=
\lastbox
\parindent
=
\wd
0
\parskip
=0pt
\par
\penalty
-10005
\leavevmode
}
%
\global\htdone
=
\pageht
\global\advance\htdone
by -
\startpageht
\ifpageafterfig
\global\doingfigfalse
\else
\dimen
0=
\ht\figbox
%
\advance\dimen
0 by 0.5
\baselineskip
%
\ifdim\htdone
<
\dimen
0
%
\dohangf
\else
\global\doingfigfalse
\fi
\fi
\ifdoingfig\relax\else\global\figprocessingfalse\fi
\else
\global\outputpretest
=
{
\outputtrue
}
%
\fi
\fi
}
\def\trytab
{
%
\iftryingtab
%
{
\everypar
=
{
\relax
}
\setbox
0=
\lastbox
%
\parindent
=
\wd
0
\parskip
=0pt
\par
%
\penalty
-10005
\leavevmode
}
%
\dimen
0=
\vsize
%
\advance\dimen
0 by -
\pageht
%
\advance\dimen
0 by -2
\baselineskip
%
\ifdim\dimen
0>
\ht\tabbox
%
\dimen
0=0.3
\baselineskip
\vrule
depth
\dimen
0 width 0pt
\vadjust
{
\kern
-
\dimen
0
%
\vtop
to
\dimen
0
{
%
\baselineskip
=
\dimen
0
%
\vss
\vbox
to 1ex
{
%
\ifoddpages
%
\hbox
to
\hsize
{
\hss\copy\tabbox
}
%
\else
% leftsetting
\hbox
to
\hsize
{
\copy\tabbox\hss
}
%
\fi
% \ifodd\count0
\vss
}
\null
}}
%
\global\tryingtabfalse
%
\global\doingtabtrue
\global\startpageht
=
\pageht
\global\htdone
=0pt
\dohangt
\ifnum\nosuccesstrytab
>0
%
\typeout
{
floatflt Message: Flt. tab.
\the\ftabcount\space
set on page
\the\count
0, shifted
\the\nosuccesstrytab\space
par(s) forward.
}
%
\else
\typeout
{
Package floatflt Message: Floating table
\the\ftabcount\space
set on page
\the\count
0
}
%
\fi
\else
\global\advance\nosuccesstrytab
by 1
\fi
\else
\ifdoingtab
{
\everypar
=
{
\relax
}
\setbox
0=
\lastbox
\parindent
=
\wd
0
\parskip
=0pt
\par
\penalty
-10005
\leavevmode
}
%
\global\htdone
=
\pageht
\global\advance\htdone
by -
\startpageht
\ifpageaftertab
\global\doingtabfalse
\else
\dimen
0=
\ht\tabbox
%
\advance\dimen
0 by 0.5
\baselineskip
%
\ifdim\htdone
<
\dimen
0
%
\dohangt
\else
\global\doingtabfalse
\fi
\fi
\ifdoingtab\relax\else\global\tabprocessingfalse\fi
\else
\global\outputpretest
=
{
\outputtrue
}
%
\fi
\fi
}
\def\figinsert
{
%
\global\nosuccesstryfig
=0
%
\global\outputpretest
=
{
\dofigtest
}
%
\global\tryingfigtrue
\global\doingfigfalse
%
\global\pageafterfigfalse
}
%
\def\tabinsert
{
%
\global\nosuccesstrytab
=0
%
\global\outputpretest
=
{
\dotabtest
}
%
\global\tryingtabtrue
\global\doingtabfalse
%
\global\pageaftertabfalse
}
%
\def\dohangf
{
%
\dimen
0=
\ht\figbox
%
\advance\dimen
0 by -
\htdone
%
\advance\dimen
0 by 1.49
\baselineskip
%
\hangcount
=
\dimen
0
%
\divide\hangcount
by
\baselineskip
%
\dimen
0=
\wd\figbox
%
\advance\dimen
0 by
\figgutter
%
\ifoddpages
%
\global\hangafter
=-
\hangcount
% placing right
\global\hangindent
=-
\dimen
0
%
\else
% \ifleftsetting
\global\hangafter
=-
\hangcount
% placing left
\global\hangindent
=
\dimen
0
%
\fi
}
\def\dohangt
{
%
\dimen
0=
\ht\tabbox
%
\advance\dimen
0 by -
\htdone
%
\advance\dimen
0 by 1.49
\baselineskip
%
\hangcount
=
\dimen
0
%
\divide\hangcount
by
\baselineskip
%
\dimen
0=
\wd\tabbox
%
\advance\dimen
0 by
\tabgutter
%
\ifoddpages
%
\global\hangafter
=-
\hangcount
% placing right
\global\hangindent
=-
\dimen
0
%
\else
% \ifleftsetting
\global\hangafter
=-
\hangcount
% placing left
\global\hangindent
=
\dimen
0
%
\fi
}
\newcommand
{
\fltitem
}
[2][0pt]
{
\setlength
{
\fltitemwidth
}{
\linewidth
}
%
\addtolength
{
\fltitemwidth
}{
-
\floatfltwidth
}
%
\addtolength
{
\fltitemwidth
}{
-0.5em
}
%
\item
\parbox
[t]
{
\fltitemwidth
}{
#2
}
\\
[#1]
}
\newcommand
{
\fltditem
}
[3][0pt]
{
\setlength
{
\fltitemwidth
}{
\linewidth
}
%
\addtolength
{
\fltitemwidth
}{
-
\floatfltwidth
}
%
\addtolength
{
\fltitemwidth
}{
-0.5em
}
%
\item
[#2]
\parbox
[t]
{
\fltitemwidth
}{
#3
}
\\
[#1]
}
\endinput
%%
%% End of file `floatflt.sty'.
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