Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
ptb-latex
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
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
André Wählisch
ptb-latex
Commits
51fc1a97
Commit
51fc1a97
authored
10 years ago
by
Rolf Niepraschk
Browse files
Options
Downloads
Patches
Plain Diff
Tabelle, "siunitx", unicode,...
parent
be159ceb
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
arbeitsanweisung/test-arbeitsanweisung.tex
+121
-14
121 additions, 14 deletions
arbeitsanweisung/test-arbeitsanweisung.tex
arbeitsanweisung/vl-arbeitsanweisung.cls
+76
-20
76 additions, 20 deletions
arbeitsanweisung/vl-arbeitsanweisung.cls
with
197 additions
and
34 deletions
arbeitsanweisung/test-arbeitsanweisung.tex
+
121
−
14
View file @
51fc1a97
%---------------------------
\listfiles
\documentclass
[ngerman]
{
vl-arbeitsanweisung
}
\documentclass
[ngerman
,draft
]
{
vl-arbeitsanweisung
}
\usepackage
{
blindtext
}
%\usepackage{showframe}
...
...
@@ -16,6 +16,8 @@
\date
{
2007-05
}
\usepackage
{
hyperref
}
\begin{document}
\maketitle
...
...
@@ -25,22 +27,31 @@
\section
{
Zweck und Geltungsbereich
}
\begin{landscape}
\section
{
Begriffe und Abkürzungen
}
\Huge
ABCD
\hfill
1234
\vfill
UVWX
\hfill
1234
\end{landscape}
\section
{
Begriffe und Abkürzungen
}
\begin{landscape}
\section
{
Räumlichkeiten und Umgebungsbedingungen
}
\Huge
UVWX
\hfill
1234
\vfill
ABCD
\hfill
1234
\end{landscape}
\section
{
Räumlichkeiten und Umgebungsbedingungen
}
\section
{
Gerätetechnische Gegebenheiten
}
\subsection
{
Kalibriermethode
}
\subsection
{
Qualitätsanforderungen
}
\clearpage
\subsection
{
Kalibriereinrichtung
}
\begin{figure}
[!ht]
\includegraphics
[width=\textwidth]
{
Kalibriereinrichtung.pdf
}
\caption
{
Schemazeichnung der Kaliberiereinrichtung für den direkten Vergleich
(ZKG = zu kalibrierendes Gerät). Das Primärnormal SE2 wird als
Expansionssystem nicht genutzt, lediglich dessen Druckmessgeräte (am
Gaseinlass) und die Tischplatte zur Montage des ZKG. Als Gaseinlass können
QBS, DKM und FRS5 dienen.
}
\end{figure}
\FloatBarrier
% Verhindern, dass Abb./Tab. in nächsten Abschnitt gleitet.
\subsection
{
Normale und Messmittel
}
\section
{
Kalibrierverfahren
}
\section
{
Validierung
}
...
...
@@ -49,11 +60,107 @@
\section
{
Aufzeichnungs- und Ablagesystem (Aktenordnung)
}
\section
{
Literatur
}
\begin{thebibliography}
{
9
}
\bibitem
{
Jitschin1990
}
W. Jitschin, J.
\,
K. Migwi and G.
\,
Grosse: Pressures in the high and medium
vacuum range by a series expansion standard. Vacuum
\textbf
{
40
}
(1990),
293--304.
\bibitem
{
Jousten1990
}
Karl Jousten, Thomas Bock, Dominik Pražák, Zdeněk Krajíček: Final report on
the supplementary comparison Euromet.M.P-S2 (bilateral comparison) in the
pressure range from 30
\,
Pa to 7000
\,
Pa, Metrologia
\textbf
{
44
}
(2007), 07007.
\end{thebibliography}
\section
{
Anhang: Messunsicherheitsbudgets für verschiedene Geräte und
Beispielkalibrierschein
}
\begin{landscape}
\small
\sisetup
{
% für Spaltentyp "S"
table-format = +1.2e+1
}
\newcolumntype
{
y
}{
>
{
\small
}
S
}
%
\newcolumntype
{
P
}
[1]
{
>
{
\RaggedRight
}
p
{
#1
}}
%
\newcolumntype
{
Y
}{
>
{
\RaggedRight
}
X
}
%
\setlength\LTleft
{
0pt
}
\setlength\LTright
{
\fill
}
\noindent
\begin{tabular}
{
@
{}
yyyyyyyyyyy@
{}}
\multicolumn
{
11
}{
@
{}
l@
{}}{
%
{
\usekomafont
{
disposition
}
CDG 10-Torr MKS Baratron 5
\,
1/2 Stellen mit FRS
}}
\\
[1em]
% Kopf-Einträge in geschweifte Klammern wegen Zahlenformatierung ("S").
{$
p
$
/Pa
}
&
{$
p
$
/mbar
}
&
{
PTB/FRS
}
&
{
PTB/FRS
}
&
{
Digitalis.
}
&
{
Repeat.
}
&
{
Repeat.
}
&
{
Nullpunkt
}
&
{
Gesamt
}
&
{
Gesamt
}
&
{$
k
=
2
$}
\\
&
&
{
rel.
}
&
{
mbar
}
&
{
mbar
}
&
{
rel.
}
&
{
mbar
}
&
{
mbar
}
&
{
mbar
}
&
{
rel.
}
&
\\
\toprule
3,00E+01
&
3,0E-01
&
7,17E-04
&
2,15E-02
&
2,90E-05
&
2,00E-04
&
6,00E-03
&
2,90E-05
&
2,2E-02
&
7,4E-04
&
1,49E-03
\\
1,00E+02
&
1,0E+00
&
2,17E-04
&
2,17E-02
&
2,90E-05
&
2,00E-04
&
2,00E-02
&
2,90E-05
&
2,9E-02
&
2,9E-04
&
5,90E-04
\\
1,00E+03
&
1,0E+01
&
3,21E-05
&
3,21E-02
&
2,90E-04
&
2,00E-04
&
2,00E-01
&
2,90E-04
&
2,0E-01
&
2,0E-04
&
4,05E-04
\\
\bottomrule
\end{tabular}
\minisec
{
\usekomafont
{
disposition
}
Erläuterungen:
}
\par\medskip
\noindent
\begin{tabularx}
{
\linewidth
}{
@
{}
P
{
.275
\linewidth
}
Y@
{}}
$
p
$
/Pa
&
Eingestellter Druck in Pa
\\
$
p
$
/mbar
&
Eingestellter Druck in mbar
\\
[-2ex]
\multicolumn
{
2
}{
@
{}
p
{
\linewidth
}
@
{}}
{
\minisec
{
Unsicherheit durch Primärnormal FRS5
}}
\\
[-2ex]
PTB/FRS rel.
&
Relative Unsicherheit des eingestellten Drucks
\\
PTB/FRS mbar
&
Unsicherheit des eingestellten Drucks in mbar
\\
[-2ex]
\multicolumn
{
2
}{
@
{}
p
{
\linewidth
}
@
{}}
{
\minisec
{
Unsicherheit durch Gerät
}}
\\
[-2ex]
Digitalis.
&
Unsicherheit durch Digitalisierung:
\SI
{
0.29
}{}
mal letzte
Digit-Stelle
\\
Repeat. rel.
&
Relative Wiederholpräzision ermittelt durch die mittlere
Standardabweichung der Kalibrierwerte von einer Ausgleichskurve
\\
Repeat. mbar
&
dito. in mbar
\\
Nullpunkt mbar
&
Unsicherheit durch Nullpunktschwankungen, Nullpunktdrift,
einschl. durch Temp.-Änderungen
\\
Gesamt mbar
&
Gesamtunsicherheit in mbar (Wurzel aus obigen Varianzen)
\\
Gesamt rel.
&
relative Gesamtunsicherheit
\\
$
k
=
2
$
&
relative Gesamtunsicherheit mal 2 (
$
k
=
2
$
)
\\
[-2ex]
\multicolumn
{
2
}{
@
{}
p
{
\linewidth
}
@
{}}
{
\minisec
{
Zusätzliche Unsicherheiten, die keine Rolle bei
"`Best Meas. Capabilties"' spielen, aber bei der weiteren Verwendung
als Messgerät
}}
\\
[-2ex]
Unsicherheit der thermischen Transpiration bei
$
u
(
T
)=
\SI
{
0
.
3
}{
K
}$
&
druckabhängig, z.
\,
B.
\ \SI
{
0.05
}{
\%
}
bei
\SI
{
0.1
}{
Pa
}
\\
Temperatureinfluss (
\SI
{
0.3
}{
K
}
) auf Messkopf (Nullpunktdrift)
&
\SI
{
4.00E-06
}{
mbar
}
\\
Temperatureinfluss (
\SI
{
1
}{
K
}
) auf Messverstärker
&
\SI
{
2.00E-05
}{}
relativ
\\
Langzeitstabilität
&
\SI
{
1.00E-03
}{}
relativ
\\
\end{tabularx}
\end{landscape}
\clearpage
% Alle Seiten des Kalibrierscheines
\includepdf
[pages=-,frame,scale=.75,
%
pagecommand=
{
\thispagestyle
{
headings
}}
]
{
ks-75024
_
2014.pdf
}
...
...
This diff is collapsed.
Click to expand it.
arbeitsanweisung/vl-arbeitsanweisung.cls
+
76
−
20
View file @
51fc1a97
...
...
@@ -2,7 +2,7 @@
\setcounter
{
errorcontextlines
}{
100
}
\NeedsTeXFormat
{
LaTeX2e
}
[1999/12/01]
\ProvidesClass
{
arbeitsanweisung
}
[2014/08/0
5
v0.1
a
Dokumentenklasse (RN/PTB)]
[2014/08/0
6
v0.1
b
Dokumentenklasse (RN/PTB)]
\DeclareOption*
{
\PassOptionsToClass
{
\CurrentOption
}{
scrartcl
}}
\ProcessOptions\relax
\PassOptionsToPackage
{
paper=a4,pagesize,twoside,headinclude
}{
typearea
}
...
...
@@ -10,16 +10,19 @@
\LoadClass
[
%
,fontsize=12pt
% ???
,headings=normal
,toc=bibliographynumbered
,captions=oneline
]
{
scrartcl
}
\RequirePackage
{
babel
}
\RequirePackage
{
textcomp,pdflscape,picture,trimspaces,url,varwidth
}
\addto\extrasgerman
{
\sisetup
{
locale=DE
}}
\addto\extrasngerman
{
\sisetup
{
locale=DE
}}
\addto\extrasenglish
{
\sisetup
{
locale=US
}}
\RequirePackage
{
pdflscape,picture,trimspaces,url,varwidth,placeins
}
\RequirePackage
{
zref-totpages,graphicx,booktabs,array,tabularx,pdfpages
}
\RequirePackage
{
longtable,siunitx,ragged2e,ifxetex,ifluatex
}
\RequirePackage
[manualmark]
{
scrpage2
}
\RequirePackage
[babel=once,german=guillemets]
{
csquotes
}
\defineshorthand
{
"`
}{
\openautoquote
}
\defineshorthand
{
"'
}{
\closeautoquote
}
\let\@
tempdimd=
\@
clnwd
\let\@
tempdime=
\@
clnht
...
...
@@ -32,6 +35,7 @@
\newcommand*\ptb
@Ident
{}
\newcommand*\ptb
@Edition
{}
\newcommand*\ptb
@Date
{}
\newcommand*\ptb
@tempa
{
0
}
\newcommand*\Devision
[1]
{
\xdef\ptb
@Devision
{
\trim
@spaces
{
#1
}}}
\newcommand*\Department
[1]
{
\xdef\ptb
@Department
{
\trim
@spaces
{
#1
}}}
...
...
@@ -39,11 +43,28 @@
\newcommand*\Object
[1]
{
\xdef\ptb
@Object
{
\trim
@spaces
{
#1
}}}
\newcommand*\Edition
[1]
{
\xdef\ptb
@Edition
{
\trim
@spaces
{
#1
}}}
\RequirePackage
[T1]
{
fontenc
}
\RequirePackage
[utf8]
{
inputenc
}
\RequirePackage
{
lmodern
}
\RequirePackage
{
tgpagella
}
\RequirePackage
{
tgheros
}
\ifxetex
\def\ptb
@tempa
{
1
}
%
\else
\ifluatex
\def\ptb
@tempa
{
1
}
%
\fi
\fi
\ifcase\ptb
@tempa
% pdfTeX
\RequirePackage
[T1]
{
fontenc
}
\RequirePackage
[utf8]
{
inputenc
}
\RequirePackage
{
textcomp
}
\RequirePackage
{
lmodern
}
\RequirePackage
{
tgpagella,qpxmath
}
\RequirePackage
{
tgheros
}
\or
% Unicode (XeTeX oder luaTeX)
\RequirePackage
{
fontspec,unicode-math
}
\setmainfont
[Ligatures=TeX]
{
TeX Gyre Pagella
}
\setsansfont
[Ligatures=TeX]
{
TeX Gyre Heros
}
\setmonofont
[Scale=MatchLowercase]
{
Latin Modern Mono
}
\setmathfont
{
TeX Gyre Pagella Math
}
\fi
\RequirePackage
[
% factor=1500
...
...
@@ -53,16 +74,22 @@
,babel=true
]
{
microtype
}
\RequirePackage
[autostyle=true,babel=once,german=guillemets,maxlevel=3]
{
csquotes
}
%
\defineshorthand
{
"`
}{
\openautoquote
}
%
\defineshorthand
{
"'
}{
\closeautoquote
}
%
\MakeAutoQuote
{
»
}{
«
}
% Alt Gr + y / Alt Gr + x
\MakeAutoQuote
{
„
}{
“
}
% Alt Gr + v / Alt Gr + b
\newcommand*\ptb
@rulewidth
{
.4mm
}
\newcolumntype
{
C
}{
>
{
\centering
}
X
}
\newcommand*\ptb
@f@@t
{
%
\begingroup
\normalfont\sffamily\tiny\extrarowheight
=.3
\baselineskip
%
\normalfont\sffamily\tiny\extrarowheight
=.3
\baselineskip
\arrayrulewidth
=
\ptb
@rulewidth
\extratabsurround
=0pt
%
\renewcommand\tabularxcolumn
[1]
{
m
{
##1
}}
\begin{tabularx}
{
\textwidth
}
[t]
{
|C|C|C|C|C|
}
\firsthline
\renewcommand\tabularxcolumn
[1]
{
m
{
##1
}}
%
\begin{tabularx}
{
\textwidth
}
[t]
{
@
{}
|C|C|C|C|C|
@
{}
}
\firsthline
Erstellt:
\\
Abteilung~
\ptb
@Devision, Fachbereich~
\ptb
@Department
&
...
...
@@ -74,7 +101,7 @@
&
Seite von Seiten
\\
\thepage
~von
\ztotpages
\tabularnewline
\lasthline
\end{tabularx}
\end{tabularx}
%
\endgroup
}
...
...
@@ -83,10 +110,10 @@
\newcommand*\ptb
@firstf@@t
{
%
\begingroup
\normalfont\sffamily\tiny\extrarowheight
=.3
\baselineskip
%
\normalfont\sffamily\tiny\extrarowheight
=.3
\baselineskip
\arrayrulewidth
=
\ptb
@rulewidth
\extratabsurround
=0pt
%
\renewcommand\tabularxcolumn
[1]
{
m
{
##1
}}
\begin{tabularx}
{
\textwidth
}{
|C|C|C|c|c|c|
}
\firsthline
\renewcommand\tabularxcolumn
[1]
{
m
{
##1
}}
%
\begin{tabularx}
{
\textwidth
}{
@
{}
|C|C|C|c|c|c|
@
{}
}
\firsthline
Erstellt:
\\
Abteilung~
\ptb
@Devision, Fachbereich~
\ptb
@Department
\\
AG~
\ptb
@WorkingGroup
...
...
@@ -112,7 +139,7 @@
am:~
\dotfill
&
&&
\tabularnewline
\lasthline
\end{tabularx}
\end{tabularx}
%
\endgroup
}
...
...
@@ -154,7 +181,7 @@
}
\RequirePackage
[
%
headheight=
46bp
,
headheight=
16mm
,
marginparwidth=5mm,
left=22mm,
right=16mm,
...
...
@@ -171,13 +198,42 @@ footskip=15mm,
\endgroup
}
\emergencystretch
=
1
em
%
\emergencystretch
=
3
em
%
\pagestyle
{
headings
}
\def\titlepagestyle
{
headings
}
\RequirePackage
{
tocstyle
}
%\RequirePackage[tocflat]{tocstyle}
%\usetocstyle{KOMAlike}
\usetocstyle
{
allwithdot
}
\settocfeature
{
raggedhook
}{
\raggedright
}
% verhindert auch Trennung
\settocfeature
{
pagenumberbox
}{
\makebox
[1.5em][r]
}
\settocfeature
{
entryhook
}{
\overfullrule
=
\z
@
}
\addtokomafont
{
caption
}{
\small
}
\addtokomafont
{
captionlabel
}{
\bfseries\sffamily
}
\setcapindent
{
1em
}
%\setcapwidth[c]{.8\textwidth}
\renewcommand
{
\floatpagefraction
}{
.9
}
\renewcommand
{
\textfraction
}{
.1
}
\renewcommand
{
\topfraction
}{
.9
}
\renewcommand
{
\bottomfraction
}{
.5
}
\setcounter
{
topnumber
}{
3
}
\setcounter
{
bottomnumber
}{
1
}
\setcounter
{
totalnumber
}{
5
}
\renewcommand
{
\dbltopfraction
}{
.8
}
\renewcommand
{
\dblfloatpagefraction
}{
.6
}
% Einzelne Abbildungen nicht auf dem leeren Blatt zentrieren.
\setlength\@
fptop
{
0pt
}
\raggedbottom
\endinput
%%
%% End of file `arbeitsanweisung.cls'.
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