Add default to specimen

This commit is contained in:
Silke Hofstra 2018-11-10 17:41:48 +01:00
parent 0390726ac9
commit 0bcbc99f6a
4 changed files with 6 additions and 4 deletions

View File

@ -3,17 +3,18 @@
\usepackage[opentype]{sourceserifpro}
\newcommand*\spA{abcde}
\newcommand*\spB{01469}
\newcommand*\spr[1][\spA]{& #1 & #1 & #1 & #1 & #1 & #1\\}
\newcommand*\spr[1][\spA]{& #1 & #1 & #1 & #1 & #1 & #1 & #1\\}
\begin{document}
\begin{tabular}{
>{\sourceserifpro}l
>{}c
>{\sourceserifproextreme}c
>{\sourceserifprolight}c
>{\sourceserifpro}c
>{\sourceserifprolight\bfseries}c
>{\sourceserifpro\bfseries}c
>{\sourceserifproextreme\bfseries}c }
& ExtraLight & Light & Regular & Semibold & Bold & Black \\
& Default & ExtraLight & Light & Regular & Semibold & Bold & Black \\
normal \spr
italic \spr[\itshape\spA]
small-caps \spr[\scshape\spA]

View File

@ -3,17 +3,18 @@
\usepackage[type1]{sourceserifpro}
\newcommand*\spA{abcde}
\newcommand*\spB{01469}
\newcommand*\spr[1][\spA]{& #1 & #1 & #1 & #1 & #1 & #1\\}
\newcommand*\spr[1][\spA]{& #1 & #1 & #1 & #1 & #1 & #1 & #1\\}
\begin{document}
\begin{tabular}{
l
>{}c
>{\fontseries{el}\fontshape{n}\selectfont}c
>{\fontseries{l}\fontshape{n}\selectfont}c
>{\fontseries{m}\fontshape{n}\selectfont}c
>{\fontseries{sb}\fontshape{n}\selectfont}c
>{\fontseries{b}\fontshape{n}\selectfont}c
>{\fontseries{k}\fontshape{n}\selectfont}c }
& ExtraLight & Light & Regular & Semibold & Bold & Black \\
& Default & ExtraLight & Light & Regular & Semibold & Bold & Black \\
normal \spr
italic \spr[\itshape\spA]
small-caps \spr[\scshape\spA]