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

tt-Schrift "AnonymousPro"

parent a7b4d489
Branches
No related tags found
No related merge requests found
No preview for this file type
No preview for this file type
......@@ -4,7 +4,7 @@
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesClass{ptbposter}
[2015/03/27 v0.3b PTB-Poster-Klasse (RN)]
[2015/03/30 v0.3c PTB-Poster-Klasse (RN)]
\newdimen\PTB@topmargin % Abstand zum Rahmen
\newdimen\PTB@leftmargin % Abstand zum Rahmen
......@@ -83,7 +83,14 @@
\setromanfont[Ligatures=TeX]{TeXGyrePagella}
\setsansfont[Ligatures=TeX]{TeXGyreHeros}
%\setmonofont[Scale=0.88]{DejaVu Sans Mono}
\setmonofont[Scale=1.05]{Latin Modern Mono}
%%%\setmonofont[Scale=1.05]{Latin Modern Mono}
\setmonofont{AnonymousPro-Regular}[%
Extension = .ttf,
BoldFont = AnonymousPro-Bold,
ItalicFont = AnonymousPro-Italic.ttf,
BoldItalicFont = AnonymousPro-BoldItalic,
Scale = MatchLowercase
]
%%%\setmonofont[Scale=MatchLowercase]{Anonymous Pro}%
%%% Fehler "This font using the "seac" command for accented characters"
%%% Behoben in "XeTeX 3.14159265-2.6-0.99992 "!
......@@ -108,8 +115,8 @@
\RequirePackage{tgpagella,qpxmath}
\RequirePackage{tgheros}
%\RequirePackage[scaled=.88]{DejaVuSansMono}
\RequirePackage[scaled=1.05]{zlmtt}% ist lmodern!
%\RequirePackage[ttdefault=true,scale=1]{AnonymousPro}
%%%\RequirePackage[scaled=1.05]{zlmtt}% ist lmodern!
\RequirePackage[ttdefault=true,scale=1]{AnonymousPro}
\ifPTB@serif\else\RequirePackage{sfmath}\fi
\fi
......@@ -246,7 +253,7 @@
\ifx\PTB@qrcode\@empty
\color{PTBcolor}\framebox(\PTB@tempdima,\PTB@tempdima){}%
\else
\raisebox{0.71\height}{%
\raisebox{0.7\height}{%
\qrcode[height=\PTB@tempdima,tight]{\PTB@qrcode}}%
\fi
\color{PTBcolor}
......@@ -381,8 +388,8 @@
\c@PTB@tempcnta=\paperheight
\iso@paper{#1}%
\c@PTB@tempcntb=\paperheight
\PTB@tempdima=\dimexpr \c@PTB@tempcntb sp * 1000 / \c@PTB@tempcnta %
\global\mag\PTB@tempdima
\c@PTB@tempcnta=\dimexpr \c@PTB@tempcntb sp * 1000 / \c@PTB@tempcnta %
\global\mag\c@PTB@tempcnta
\endgroup
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment