Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • vaclab/ptb-latex
  • andre.waehlisch/ptb-latex
2 results
Show changes
Showing
with 4922 additions and 473 deletions
No preview for this file type
......@@ -3,8 +3,8 @@
,landscape
%,english
%,a4paper
,layout2018
%,layout2020
%,layout2018
,layout2020
]{ptbposter}
\phone{+49-30-3481-7316}
......@@ -14,7 +14,6 @@
\department{7.5 Wärme und Vakuum}
\location{10587 Berlin}
\street{Abbestraße 2--12}
\QRcode{http://www.ptb.de/cms/fachabteilungen/abt7/fb-75/ag-754.html}
\Author{Rolf}{Niepraschk}[Physikalisch-Technische Bundesanstalt]
\Author*{Max}{Mustermann}
......@@ -22,6 +21,7 @@
\Author*{Peter}{Silie}[XYZ GmbH]
\logo{penguin.pdf}
\QRcode{https://www.ctan.org/}
%%\scaleFontSizes{1.05}% Werte nahe an "1" wählen!
......@@ -38,37 +38,36 @@ Anleitung.}
\begin{itemize}
\item \verb|\scaleFontSizes|: Skaliert alle Schriftgrößen im Textbereich um
den angegebenen Wert. Beispiel: Mit \verb|\scaleFontSizes{1.04}| wird der
Fließtext um 4\,\% vergrößert gesetzt.
den angegebenen Wert, sodass die Seite günstig gefüllt ist. Beispiel: Mit
\verb|\scaleFontSizes{1.04}| wird der Fließtext um 4\,\% vergrößert gesetzt
(global in der Preamble).
\item \verb|\relscale| Skaliert aktuelle Schriftgröße (lokal). Siehe dazu
auch Beschreibung zum Paket \verb|relsize|. \columnbreak
\item \verb|\scaleTitleFontSize|: Skaliert die Schrift des Titels um den
angegebenen Wert. Sobald der Titel mehr als eine Zeile einnimmt, wird er
unabhängig von diesem Wert derart skaliert, dass er die mehreren Zeilen
ausfüllt.
unabhängig von diesem Wert sinnvoll skaliert.
\item \verb|\scaleFont|: Skaliert die aktuelle Schrift lokal um den
angegebenen Wert.
\item \verb|\logo|: Spezielles Logo im Kopfbereich (rechtsbündig)
%\columnbreak
\end{itemize}
Die Zahlenwerten für \verb|\scaleFontSizes| und \verb|\scaleTitleFontSize|
sollten nicht stark von "`1"' abweichen, um das Gesamtbild nicht zu
beeinträchtigen. Die Makros \verb|\phone|, \verb|\fax|, \verb|\email|,
Die Zahlenwerten für \verb|\scaleFontSizes|, \verb|\scaleTitleFontSize| und
\verb|\relscale| sollten nicht stark von "`1"' abweichen, um das Gesamtbild
nicht zu beeinträchtigen. Die Makros \verb|\phone|, \verb|\fax|, \verb|\email|,
\verb|\workingGroup|, \verb|\department|, \verb|\location|, \verb|\street| und
\verb|\QRcode| setzen die Informationen im Fußbereich und sind selbsterklärend.
Die Größe der Schrift des Titels verringert sich automatisch, wenn der Platz
nicht ausreicht (Beginn einer zweiten Zeile).
\end{multicols}
\bigskip
Die jeweils aktuelle Version der Dokumentenklasse und der Beispieldokumente
sind im Git"=Repositorium der Arbeitsgruppe~7.54 unter der Adresse
\url{https://a75436.berlin.ptb.de/vaclab/ptb-latex/tree/master/ptbposter} zu
\url{https://gitlab1.ptb.de/vaclab/ptb-latex/-/tree/master/ptbposter} zu
finden. Für Anregungen und Kritiken bin ich dankbar.
\medskip
Rolf Niepraschk
Rolf Niepraschk, 3/2025
\end{document}
This diff is collapsed.
% Rolf Niepraschk, Rolf.Niepraschk@ptb.de
\ProvidesFile{ptbposter-new-engines.clo}%
[2020/03/09 v0.1f `PTB-Poster' new engines (RN/PTB)]
\RequirePackage{unicode-math}
\setmainfont{texgyrepagella}[
Ligatures=TeX,
Extension=.otf,
UprightFont=*-regular,
BoldFont=*-bold,
ItalicFont=*-italic,
BoldItalicFont=*-bolditalic]
\setmonofont{AnonymousPro-Regular}[%
Extension = .ttf,
BoldFont = AnonymousPro-Bold,
ItalicFont = AnonymousPro-Italic,
BoldItalicFont = AnonymousPro-BoldItalic,
Scale = MatchLowercase]
\setmathfont{texgyrepagella-math.otf}[math-style=ISO,bold-style=ISO]
\unimathsetup{partial=upright}
[2022/09/08 v0.1g `PTB-Poster' new engines (RN/PTB)]
\makeatletter % wegen Laden aus normalem LaTeX-Dokument
\@ifundefined{ifSERIF}{%
\newif\ifSERIF \SERIFfalse
}{}
\@ifundefined{ifMATHSERIF}{%
\newif\ifMATHSERIF \MATHSERIFfalse
}{}
\ifSERIF\else
\RequirePackage[usefilenames,weight=Regular]{firamath-otf}
\setmathfont[range=it]{texgyreheros-italic.otf}
\setoperatorfont\mathsf
\renewcommand*\familydefault{\sfdefault}
\RequirePackage[no-math]{fontspec}
\RequirePackage[mathit=sym]{unicode-math}
\ifSERIF
\setmainfont{texgyrepagella}[
Ligatures=TeX,
Extension=.otf,
UprightFont=*-regular,
BoldFont=*-bold,
ItalicFont=*-italic,
BoldItalicFont=*-bolditalic]
\else
\setsansfont{texgyreheros}[
Ligatures=TeX,
Extension=.otf,
UprightFont=*-regular,
BoldFont=*-bold,
ItalicFont=*-italic,
BoldItalicFont=*-bolditalic]
\setromanfont{texgyreheros}[
Ligatures=TeX,
Extension=.otf,
UprightFont=*-regular,
BoldFont=*-bold,
ItalicFont=*-italic,
BoldItalicFont=*-bolditalic]
\renewcommand*\familydefault{\sfdefault}%
\fi
\ifMATHSERIF
\setmathfont{texgyrepagella-math.otf}[
math-style=TeX,
bold-style=TeX,
]
\else
\setmathfont{FiraMath-Regular.otf}[
Scale=1,
math-style=TeX,
bold-style=TeX,
Numbers={Lining,Proportional},
]
%\RequirePackage[usefilenames,weight=Regular]{firamath-otf}
\setoperatorfont\mathsf
\unimathsetup{partial=upright}%
%\RequirePackage{mathastext}% nicht so gut
\setmathfont{texgyreheros-regular.otf}[range=up/{Latin,Greek,num}]
\setmathfont{texgyreheros-italic.otf}[range=it/{latin,greek}]
\setmathfont{texgyreheros-bolditalic.otf}[range=bfit/{latin,greek}]
\setmathfont{texgyreheros-bold.otf}[range=bfup/{latin,greek}]
\fi
\setmonofont{AnonymousPro-Regular}[%
Extension = .ttf,
BoldFont = AnonymousPro-Bold,
ItalicFont = AnonymousPro-Italic,
BoldItalicFont = AnonymousPro-BoldItalic,
Scale = 1.05,
RawFeature={embolden=.5}
]
\RequirePackage{newunicodechar}
\newunicodechar{^^^^202f}{\,}% 'NARROW NO-BREAK SPACE' (\u202F, 8239)
\newunicodechar{^^^^2009}{\,\hspace{0pt}}% 'THIN SPACE'
\newunicodechar{^^^^00ad}{\-}% 'SOFT HYPHEN'
\endinput
\endinput
\ProvidesPackage{ptbposter-tcb}[2020/02/28 v0.1f ptbposter/tcolorbox (RN)]
\NeedsTeXFormat{LaTeX2e}[2020/10/01]
\ProvidesPackage{ptbposter-tcb}[2021/09/21 1.0.1 ptbposter/tcolorbox (RN)]
\newcommand*\PTB@posterSet{%
columns=3,rows=5,spacing=\PTB@texthsep,showframe=false,}
......@@ -77,13 +78,13 @@
adjusted title/.style={title={\raisebox{0pt}[\height][0pt]{#1}}}
}
\AtBeginDocument{%
\AddToHook{begindocument/end}{%
\protected@edef\PTB@tempa{\noexpand\tcbposterset{poster={\PTB@posterSet},%
boxes={\PTB@boxesSet}}}%
\PTB@tempa
\begin{tcbposter}%
}
\AtEndDocument{%
\AddToHook{enddocument}{%
\end{tcbposter}%
}
......
This diff is collapsed.
File added
This diff is collapsed.
No preview for this file type
......@@ -5,7 +5,7 @@
,layout2018
]{ptbposter}
\usepackage[
boxlayout=2 % 0, 1, 2, 3 # default: 2
boxlayout=2 % 0, 1, 2, 3 -- default: 2
]{ptbposter-tcb}
\phone{+49-30-3481-7316}
......@@ -25,22 +25,22 @@ boxlayout=2 % 0, 1, 2, 3 # default: 2
\colorlet{backgroundBottom}{IndianRed3!90}
\posterSet{showframe=false,columns=3,rows=3}
\title{Poster-Test (\texttt{tcolorbox}, \textup{Ti\textit{k}Z}) -- Nr.~2}
\title{Poster-Test (\texttt{ptbposter-tcb.sty}) -- Nr.~2}
\begin{document}
\begin{posterboxenv}[title=John Lennon]{name=John,column=1}
\begin{posterboxenv}[adjusted title=John Lennon]{name=John,column=1}
\includegraphics[width=\linewidth]{John.png}
\end{posterboxenv}
\begin{posterboxenv}[title=Paul McCartney]{name=Paul,column=3}
\begin{posterboxenv}[adjusted title=Paul McCartney]{name=Paul,column=3}
\includegraphics[width=\linewidth]{Paul.png}
\end{posterboxenv}
\begin{posterboxenv}{name=Beatles,column=2,at=middle}
\includegraphics[width=\linewidth]{The_Beatles_official_logo.pdf}
\end{posterboxenv}
\begin{posterboxenv}[title=George Harrison]{name=George,column=1,above=bottom}
\begin{posterboxenv}[adjusted title=George Harrison]{name=George,column=1,above=bottom}
\includegraphics[width=\linewidth]{George.png}
\end{posterboxenv}
\begin{posterboxenv}[title=Ringo Starr]{name=Ringo,column=3,above=bottom}
\begin{posterboxenv}[adjusted title=Ringo Starr]{name=Ringo,column=3,above=bottom}
\includegraphics[width=\linewidth]{Ringo.png}
\end{posterboxenv}
......
# Rolf Niepraschk, 2021-09-29, Rolf.Niepraschk@ptb.de
.SUFFIXES : .tex .ltx .dvi .ps .pdf .eps .bbx .cbx .dbx .glo .gls .bcf .bbl .bib
MAIN = publikationen_vakuum_PTB
LATEX = lualatex
BIBTEX = biber
BIBTEX_PARAMS = --isbn-normalise --validate-datamodel
EGREP = grep -E
ADDINPUTS =
BIBS = $(MAIN).bib journal-short-names.bib
BIBTEX_WARN = run Biber on the file
RERUN_WARN1 = Rerun to get cross-references right
RERUN_WARN2 = Please rerun LaTeX
RERUN_WARN3 = There were undefined references
RERUN_WARN4 = Linenumber reference failed
RERUN_WARNINGS = ($(RERUN_WARN1)|$(RERUN_WARN2)|$(RERUN_WARN3)|$(RERUN_WARN4))
MAX_LTX_RUNS = 5
all : pdf
pdf : $(MAIN).pdf
$(MAIN).pdf : $(MAIN).tex $(BIBS) $(ADDINPUTS)
$(LATEX) $<
$(BIBTEX) $(BIBTEX_PARAMS) $(basename $<)
# if $(EGREP) '$(BIBTEX_WARN)' $(basename $<).log > /dev/null; \
# then $(BIBTEX) $(BIBTEX_PARAMS) $(basename $<); $(LATEX) $<; fi;
$(LATEX) $<
@for (( i=0; i < $(MAX_LTX_RUNS); i++ )) do \
if $(EGREP) '$(RERUN_WARNINGS)' $(basename $<).log > /dev/null; \
then $(LATEX) $<; fi; \
done
clean :
$(RM) $(addprefix $(MAIN), .log .aux .blg .toc .bbl .glo .gls .bcf)
veryclean : clean
$(RM) $(addprefix $(MAIN), .pdf)
This diff is collapsed.
@comment{Commonly used names of journals -- long versions}
@STRING{ZFAP={Zeitschrift für angewandte Physik}}
@STRING{PTB_J={PTB-Jahresbericht}}
@STRING{PTB_M={PTB-Mitteilungen}}
@STRING{PTB_B={PTB-Bericht}}
@STRING{JJAP={Japanese Journal of Applied Physics}}
@STRING{JPB={Journal of Physics B: Atomic, Molecular and Optical Physics}}
@STRING{JPD={Journal of Physics D: Applied Physics}}
@STRING{JPE={Journal of Physics E: Scientific Instruments}}
@STRING{JPCS={Journal of Physics: Conference Series}}
@STRING{PBL={Physikalische Blätter}}
@STRING{JVT={Journal of Vacuum Science and Technology}}
@STRING{JVTA={Journal of Vacuum Science \& Technology A}}
@STRING{PRA={Physical Review A}}
@STRING{JVSJ={Journal of the Vacuum Society of Japan}}
@STRING{JKPS={Journal of the Korean Physical Society}}
@STRING{IEEE_J_IM={{IEEE} Transactions on Instrumentation and Measurement}}
@STRING{JCP={The Journal of Chemical Physics}}
@STRING{MT={Measurement Techniques}}
@STRING{APCP={AIP Conference Proceedings}}
@STRING{IJHMT={International Journal of Heat and Mass Transfer}}
@STRING{NP={Nature Physics}}
@STRING{VIPR={Vakuum in Forschung und Praxis}}
@STRING{MEASEN={Measurement: Sensors}}
@STRING{ZFPA={Zeitschrift für Physik A: Atomic Nuclei}}
@STRING{ZFPB={Zeitschrift für Physik B}}
@STRING{ZFPC={Zeitschrift für Physik C: Particles and Fields}}
@STRING{ZFPD={Zeitschrift für Physik D: Atoms, Molecules and Clusters}}
@STRING{PRLT={Physical Review Letters}}
% More journals ...
% https://github.com/plk/biblatex/issues/795
% https://abbrv.jabref.org/journals/
% http://www.michaelshell.org/tex/ieeetran/bibtex/ (IEEE journals)
This diff is collapsed.
This diff is collapsed.
File added
This diff is collapsed.
File added
This diff is collapsed.