texlive[51101] Master/texmf-dist: cinzel (12may19)
commits+karl at tug.org
commits+karl at tug.org
Sun May 12 22:16:41 CEST 2019
Revision: 51101
http://tug.org/svn/texlive?view=revision&revision=51101
Author: karl
Date: 2019-05-12 22:16:41 +0200 (Sun, 12 May 2019)
Log Message:
-----------
cinzel (12may19)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/fonts/cinzel/README
trunk/Master/texmf-dist/doc/fonts/cinzel/cinzel-samples.pdf
trunk/Master/texmf-dist/doc/fonts/cinzel/cinzel-samples.tex
trunk/Master/texmf-dist/tex/latex/cinzel/cinzel.sty
Modified: trunk/Master/texmf-dist/doc/fonts/cinzel/README
===================================================================
--- trunk/Master/texmf-dist/doc/fonts/cinzel/README 2019-05-12 19:57:29 UTC (rev 51100)
+++ trunk/Master/texmf-dist/doc/fonts/cinzel/README 2019-05-12 20:16:41 UTC (rev 51101)
@@ -1,4 +1,4 @@
-This is the README for the cinzel package, version 2014-05-24.
+This is the README for the cinzel package, version 2019-05-12.
This package provides LaTeX, pdfLaTeX, XeLaTeX and LuaLaTeX support
for the Cinzel and Cinzel Decorative families of fonts, designed
@@ -24,13 +24,25 @@
\usepackage{cinzel}
-to the preamble of your document. This will activate Cinzel as the
-main (serifed) text font and Cinzel Decorative as the "italic"
-variants.
+to the preamble of your document. This will define
-The black option selects the Black variants as the default bold
-series.
+\cinzel and \textcinzel{...}
+and
+
+\cinzelblack and \textcinzelblack{...}
+
+for localized use of Cinzel and the black series,
+respectively. Cinzel Decorative is treated as the italic
+shape.
+
+To activate Cinzel as the main (serifed) text font and
+Cinzel Decorative as the "italic" variants, use the
+"default" option.
+
+The "black" option selects the Black variants as the default
+bold series.
+
LuaLaTeX and xeLaTeX users who might prefer type1 fonts or who wish
to avoid fontspec may use the type1 option.
@@ -38,10 +50,6 @@
Font encodings supported are OT1, T1, LY1 and TS1.
-Command \cinzel allows for localized use of Cinzel (and Cinzel
-Decorative). Command \cinzelblack allows for localized use of the
-Black series.
-
The truetype fonts were downloaded from
http://www.google.com/webfonts and are licensed under the SIL Open
Font License, (version 1.1); the text may be found in the doc
Modified: trunk/Master/texmf-dist/doc/fonts/cinzel/cinzel-samples.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/fonts/cinzel/cinzel-samples.tex
===================================================================
--- trunk/Master/texmf-dist/doc/fonts/cinzel/cinzel-samples.tex 2019-05-12 19:57:29 UTC (rev 51100)
+++ trunk/Master/texmf-dist/doc/fonts/cinzel/cinzel-samples.tex 2019-05-12 20:16:41 UTC (rev 51101)
@@ -1,12 +1,12 @@
\documentclass[12pt]{article}
\usepackage[T1]{fontenc}
-\usepackage{cinzel}
+\usepackage[default]{cinzel}
\usepackage{lipsum}
\begin{document}
\thispagestyle{empty}
-\begin{center}\LARGE\bfseries\itshape
-Cinzel and Cinzel Decorative
+\begin{center}\LARGE\bfseries
+\cinzel Cinzel and \Large\itshape Cinzel Decorative
\end{center}
\sloppy
Modified: trunk/Master/texmf-dist/tex/latex/cinzel/cinzel.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/cinzel/cinzel.sty 2019-05-12 19:57:29 UTC (rev 51100)
+++ trunk/Master/texmf-dist/tex/latex/cinzel/cinzel.sty 2019-05-12 20:16:41 UTC (rev 51101)
@@ -1,6 +1,6 @@
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{cinzel}
- [2014/05/24 (Bob Tennent) Supports Cinzel and CinzelDecorative for all LaTeX engines.]
+ [2019/05/12 (Bob Tennent) Supports Cinzel and CinzelDecorative for all LaTeX engines.]
\RequirePackage{ifxetex,ifluatex,xkeyval,textcomp}
@@ -14,9 +14,11 @@
\fi\fi
\newif\ifcinzel at black \cinzel at blackfalse
+\newif\ifcinzel at default \cinzel at defaultfalse
\DeclareOptionX{type1}{\cinzel at ttffalse}
\DeclareOptionX{black}{\cinzel at blacktrue}
+\DeclareOptionX{default}{\cinzel at defaulttrue}
\ProcessOptionsX\relax
\ifcinzel at ttf
@@ -41,12 +43,14 @@
\defaultfontfeatures{
Ligatures = TeX ,
Extension = .ttf }
- \setmainfont
+ \ifcinzel at default
+ \setmainfont
[ UprightFont = *-Regular ,
ItalicFont = *Decorative-Regular ,
BoldFont = *-\cinzel at boldstyle ,
BoldItalicFont = *Decorative-\cinzel at boldstyle ]
{Cinzel}
+ \fi
\newfontfamily\cinzel
[ UprightFont = *-Regular ,
ItalicFont = *Decorative-Regular ,
@@ -60,13 +64,24 @@
\else % type1
\def\cinzelfamily{Cinzel-LF}
- \newcommand*\cinzel{\fontfamily{\cinzelfamily}\def\itshape{\fontfamily{CinzelDecorative-LF}\fontshape{n}\selectfont}\selectfont}
- \def\rmdefault{\cinzelfamily}
- \def\itshape{\fontfamily{CinzelDecorative-LF}\fontshape{n}\selectfont}
- \newcommand*\cinzelblack{\fontfamily{\cinzelfamily}\fontseries{k}\def\itshape{\fontfamily{CinzelDecorative-LF}\fontshape{n}\selectfont}\selectfont}
+ \newcommand*\cinzel{%
+ \fontfamily{\cinzelfamily}\selectfont
+ \def\itshape{\ifx\f at family\cinzelfamily\fontfamily{CinzelDecorative-LF}\fontshape{n}\else\fontshape{\itdefault}\fi\selectfont}
+ }
+ \ifcinzel at default
+ \def\rmdefault{\cinzelfamily}
+ \def\itshape{\ifx\f at family\cinzelfamily\fontfamily{CinzelDecorative-LF}\fontshape{n}\else\fontshape{\itdefault}\fi\selectfont}
+ \fi
+ \newcommand*\cinzelblack{%
+ \fontfamily{\cinzelfamily}\fontseries{k}\selectfont
+ \def\itshape{\ifx\f at family\cinzelfamily\fontfamily{CinzelDecorative-LF}\fontseries{k}\else\fontshape{\itdefault}\fi\selectfont}
+ }
\fi
+\DeclareTextFontCommand{\textcinzel}{\cinzel}
+\DeclareTextFontCommand{\textcinzelblack}{\cinzelblack}
+
\ifcinzel at ttf
% turn off defaults in case other fonts are selected:
\defaultfontfeatures{}
More information about the tex-live-commits
mailing list