Skip to content
Snippets Groups Projects
Commit 1a5abb99 authored by Rolf Niepraschk's avatar Rolf Niepraschk
Browse files

nichtgleitende figure-Umgebung

parent e6e73500
No related branches found
No related tags found
No related merge requests found
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
}{% }{%
\typeout{english} \typeout{english}
\RequirePackage[babel=once]{csquotes} \RequirePackage[babel=once]{csquotes}
\AtBeginDocument{\sisetup{locale=US}} \AtBeginDocument{\sisetup{locale=UK}}
} }
\def\huge{\@setfontsize\huge{20.26}{25.3}} \def\huge{\@setfontsize\huge{20.26}{25.3}}
...@@ -85,8 +85,6 @@ ...@@ -85,8 +85,6 @@
\RequirePackage{eso-pic,graphicx,booktabs} \RequirePackage{eso-pic,graphicx,booktabs}
\RequirePackage{zref-totpages} \RequirePackage{zref-totpages}
\RequirePackage{amsmath}
\newif\ifXeOrLua \XeOrLuafalse \newif\ifXeOrLua \XeOrLuafalse
\RequirePackage{ifxetex,ifluatex,ifpdf} \RequirePackage{ifxetex,ifluatex,ifpdf}
...@@ -102,16 +100,18 @@ ...@@ -102,16 +100,18 @@
\fi \fi
\fi \fi
\RequirePackage{amsmath}
\ifXeOrLua% XeLaTeX oder luaLaTeX \ifXeOrLua% XeLaTeX oder luaLaTeX
\typeout{############################ XeLaTeX oder luaLaTeX} \typeout{############################ XeLaTeX oder luaLaTeX}
\usepackage[no-math]{fontspec} %\usepackage[no-math]{fontspec}
\usepackage{unicode-math} \usepackage{unicode-math}
%\setmathfont[math-style=ISO,bold-style=ISO]{Asana Math}% damit sind Einheiten kursiv \setmathfont[math-style=ISO,bold-style=ISO]{Asana Math}% damit sind Einheiten kursiv
\setmathfont{Asana Math} %\setmathfont{Asana Math}
\setmainfont[Ligatures=TeX]{TeX Gyre Heros} \setmainfont[Ligatures=TeX]{TeXGyreHeros}
\setsansfont[Ligatures=TeX]{TeX Gyre Heros} \setsansfont[Ligatures=TeX]{TeXGyreHeros}
\setmathfont[range=\mathup,Scale=MatchLowercase]{TeXGyreHeros-Regular} \setmathfont[range=\mathup,Scale=MatchLowercase]{TeXGyreHeros-Regular}
\setmathfont[range=\mathit,Scale=MatchLowercase]{TeXGyreHeros-Italic} \setmathfont[range=\mathit,Scale=MatchLowercase]{TeXGyreHeros-Italic}
\setmathfont[range=\mathbfup,Scale=MatchLowercase]{TeXGyreHeros-Bold} \setmathfont[range=\mathbfup,Scale=MatchLowercase]{TeXGyreHeros-Bold}
...@@ -335,9 +335,13 @@ ...@@ -335,9 +335,13 @@
\fi \fi
} }
\DeclareSIUnit\torr{torr}
\DeclareSIUnit\mbar{mbar}
%%%\AtBeginDocument{% %%%\AtBeginDocument{%
\sisetup{% \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} %,output-exponent-marker=\text{E}
,table-alignment = center ,table-alignment = center
%%%,table-number-alignment = center %%%,table-number-alignment = center
...@@ -354,10 +358,14 @@ ...@@ -354,10 +358,14 @@
%%%,output-close-uncertainty = %%%,output-close-uncertainty =
,separate-uncertainty = true ,separate-uncertainty = true
,bracket-numbers = true ,bracket-numbers = true
,per-mode=symbol %,per-mode = symbol
,per-mode = reciprocal
,mode = text % !!!
}% }%
%%%} %%%}
\newcommand\resultTable[3][]{% \newcommand\resultTable[3][]{%
\@tempcnta=#2 % \@tempcnta=#2 %
\@tempcntb=\numexpr(\@tempcnta-1)*2 % \@tempcntb=\numexpr(\@tempcnta-1)*2 %
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
\NeedsTeXFormat{LaTeX2e}[1999/12/01] \NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesClass{ptbposter} \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@topmargin % Abstand zum Rahmen
\newdimen\PTB@leftmargin % Abstand zum Rahmen \newdimen\PTB@leftmargin % Abstand zum Rahmen
...@@ -457,6 +457,16 @@ ...@@ -457,6 +457,16 @@
\setlength\labelsep{.5em} \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} \setcounter{secnumdepth}{-2}
\renewcommand*\maketitle[1][1]{} \renewcommand*\maketitle[1][1]{}
\renewcommand*\tableofcontents{} \renewcommand*\tableofcontents{}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment