diff --git a/kalibrierschein/kalibrierschein.cls b/kalibrierschein/kalibrierschein.cls index 8e3aa1622dac2ea96e91675c7c3965df486785dc..d73d4f426aa5341c2591b7672e569b5fdc355248 100644 --- a/kalibrierschein/kalibrierschein.cls +++ b/kalibrierschein/kalibrierschein.cls @@ -46,7 +46,7 @@ }{% \typeout{english} \RequirePackage[babel=once]{csquotes} - \AtBeginDocument{\sisetup{locale=US}} + \AtBeginDocument{\sisetup{locale=UK}} } \def\huge{\@setfontsize\huge{20.26}{25.3}} @@ -85,8 +85,6 @@ \RequirePackage{eso-pic,graphicx,booktabs} \RequirePackage{zref-totpages} -\RequirePackage{amsmath} - \newif\ifXeOrLua \XeOrLuafalse \RequirePackage{ifxetex,ifluatex,ifpdf} @@ -102,16 +100,18 @@ \fi \fi +\RequirePackage{amsmath} + \ifXeOrLua% XeLaTeX oder luaLaTeX \typeout{############################ XeLaTeX oder luaLaTeX} -\usepackage[no-math]{fontspec} +%\usepackage[no-math]{fontspec} \usepackage{unicode-math} -%\setmathfont[math-style=ISO,bold-style=ISO]{Asana Math}% damit sind Einheiten kursiv -\setmathfont{Asana Math} -\setmainfont[Ligatures=TeX]{TeX Gyre Heros} -\setsansfont[Ligatures=TeX]{TeX Gyre Heros} +\setmathfont[math-style=ISO,bold-style=ISO]{Asana Math}% damit sind Einheiten kursiv +%\setmathfont{Asana Math} +\setmainfont[Ligatures=TeX]{TeXGyreHeros} +\setsansfont[Ligatures=TeX]{TeXGyreHeros} \setmathfont[range=\mathup,Scale=MatchLowercase]{TeXGyreHeros-Regular} \setmathfont[range=\mathit,Scale=MatchLowercase]{TeXGyreHeros-Italic} \setmathfont[range=\mathbfup,Scale=MatchLowercase]{TeXGyreHeros-Bold} @@ -335,9 +335,13 @@ \fi } +\DeclareSIUnit\torr{torr} +\DeclareSIUnit\mbar{mbar} + %%%\AtBeginDocument{% \sisetup{% - %%%,exponent-product = \ensuremath { \cdot } % wird per "locale" gesetzt + %%%,exponent-product = \ensuremath { \cdot } % wird per "locale" gesetzt + %%%,inter-unit-product = \ensuremath{{}\cdot{}} % wird per "locale" gesetzt %,output-exponent-marker=\text{E} ,table-alignment = center %%%,table-number-alignment = center @@ -354,10 +358,14 @@ %%%,output-close-uncertainty = ,separate-uncertainty = true ,bracket-numbers = true - ,per-mode=symbol + %,per-mode = symbol + ,per-mode = reciprocal + ,mode = text % !!! }% %%%} + + \newcommand\resultTable[3][]{% \@tempcnta=#2 % \@tempcntb=\numexpr(\@tempcnta-1)*2 % diff --git a/ptbposter/ptbposter.cls b/ptbposter/ptbposter.cls index 43ff98518bd3c796fa4e697e92d09a6ae623f3ec..3716e5e831af5be11713e3a06b78d6b271b22626 100644 --- a/ptbposter/ptbposter.cls +++ b/ptbposter/ptbposter.cls @@ -4,7 +4,7 @@ \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesClass{ptbposter} - [2015/03/30 v0.3c PTB-Poster-Klasse (RN)] + [2015/05/08 v0.3d PTB-Poster-Klasse (RN)] \newdimen\PTB@topmargin % Abstand zum Rahmen \newdimen\PTB@leftmargin % Abstand zum Rahmen @@ -457,6 +457,16 @@ \setlength\labelsep{.5em} } + +\renewenvironment{figure}[1][]{% + %\def\@captype{figure}% ??? + \renewcommand*\caption[2][]{\captionof{figure}{##2}}% +}{} +\addtokomafont{caption}{\small} +\addtokomafont{captionlabel}{\bfseries} +\setcapindent{1em} +\setcapwidth[l]{\textwidth} + \setcounter{secnumdepth}{-2} \renewcommand*\maketitle[1][1]{} \renewcommand*\tableofcontents{}