summaryrefslogtreecommitdiff
path: root/macros/unicodetex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2023-05-16 03:01:57 +0000
committerNorbert Preining <norbert@preining.info>2023-05-16 03:01:57 +0000
commit95bdae3d8a40af1f2f82f786dc29d3761fe431f1 (patch)
tree4cb1b7c64be8c954ee57d5154a0f1dd1b04591b5 /macros/unicodetex
parent014993dedbe2d05e6d159a257213d1113ccb2183 (diff)
CTAN sync 202305160301
Diffstat (limited to 'macros/unicodetex')
-rw-r--r--macros/unicodetex/latex/adobeornaments/README16
-rw-r--r--macros/unicodetex/latex/adobeornaments/adobeornaments-documentation.pdfbin0 -> 334885 bytes
-rw-r--r--macros/unicodetex/latex/adobeornaments/adobeornaments-documentation.tex236
-rw-r--r--macros/unicodetex/latex/adobeornaments/adobeornaments-list.pdfbin0 -> 263773 bytes
-rw-r--r--macros/unicodetex/latex/adobeornaments/adobeornaments-list.tex184
-rw-r--r--macros/unicodetex/latex/adobeornaments/adobeornaments.sty116
6 files changed, 552 insertions, 0 deletions
diff --git a/macros/unicodetex/latex/adobeornaments/README b/macros/unicodetex/latex/adobeornaments/README
new file mode 100644
index 0000000000..26ab362f34
--- /dev/null
+++ b/macros/unicodetex/latex/adobeornaments/README
@@ -0,0 +1,16 @@
+adobeornaments - adobe ornaments in LaTeX
+
+version: 1.0.0
+
+This package provides an easy way to use Adobe fonts' ornaments in LaTeX. NOTE: the Adobe fonts are not included with the package and must be purchased separately.
+
+
+This work may be distributed and/or modified under the conditions of the
+LaTeX Project Public License (LPPL), version 1.3 or later.
+
+
+For suggestions, feature requests, and bug reports, please use the project's
+GitHub site: https://github.com/ezgranet/adobeornaments
+
+Version history:
+14/05/2023 - package creation \ No newline at end of file
diff --git a/macros/unicodetex/latex/adobeornaments/adobeornaments-documentation.pdf b/macros/unicodetex/latex/adobeornaments/adobeornaments-documentation.pdf
new file mode 100644
index 0000000000..153a613396
--- /dev/null
+++ b/macros/unicodetex/latex/adobeornaments/adobeornaments-documentation.pdf
Binary files differ
diff --git a/macros/unicodetex/latex/adobeornaments/adobeornaments-documentation.tex b/macros/unicodetex/latex/adobeornaments/adobeornaments-documentation.tex
new file mode 100644
index 0000000000..2d2210bd5f
--- /dev/null
+++ b/macros/unicodetex/latex/adobeornaments/adobeornaments-documentation.tex
@@ -0,0 +1,236 @@
+\documentclass[12pt]{article}
+\usepackage{adobeornaments}
+\usepackage{textcsc}
+\usepackage{xcolor}
+\usepackage{fontspec}\definecolor{darkspringgreen}{rgb}{0.09, 0.45, 0.27}
+\usepackage{titlesec}
+\titleformat{\subsection}
+ {\bfseries}{\thesection.\thesubsection}{1em}{\normalfont\bfseries}
+\usepackage[hidelinks]{hyperref}
+%\usepackage{fancyvrb}
+\usepackage{hologo}
+\usepackage{pdfpages}
+\usepackage[british]{babel}
+\usepackage[useregional]{datetime2}
+\DTMlangsetup[en-GB]{ord=omit}
+\definecolor{LightGray}{gray}{0.9}
+%\usepackage{mathpazo}
+\IfFontExistsTF{Palatine Parliamentary}{%
+\setromanfont[SmallCapsFeatures={LetterSpace=10},
+RawFeature={+calt,+hlig,+liga,+dlig,+onum,+pnum},
+BoldFont={Palatine Parliamentary Bold},
+ItalicFont={Palatine Parliamentary Italic}
+]{Palatine Parliamentary Regular}
+}{\setromanfont[RawFeature={+onum,+pnum}]{TeX Gyre PagellaX}}
+\setmonofont[Scale=.9,BoldFont=Source Code Pro Bold]{Source Code Pro}
+
+\usepackage{minted}
+\date{\today\\\smallskip\ttfamily Version \adobeornamentsversionnumber}
+\author{Elijah Z Granet\thanks{e-mail: \href{mailto:ezg21@cantab.ac.uk}{\ttfamily ezg21@cantab.ac.uk}}}
+
+\title{\texttt{adobeornaments}:\\A package for typesetting ornaments in Adobe\textsuperscript{®️} Fonts}
+\begin{document}
+\maketitle
+\tableofcontents
+\clearpage
+\section{Overview}
+Several Adobe\textsuperscript{®️} fonts provide `hidden' ornaments, fleurons, and other typographic flourishes as additional features. These can be annoying to access in \LaTeX. This package provides any easy command to use the ornaments, and a guide to the individual ornaments to enable easy use (appended to this documentation and available separately in the package as \texttt{adobeornaments-list.pdf}). \textcolor{red}{The fonts with these ornaments are sold by Adobe\textsuperscript{®️} and not provided with this package. You must purchase them separately for the package to work, or, in the case of Minion Pro only, obtain the free copy bundled with Adobe Reader.}
+\section{Usage}
+The package provides a single command
+{\color{darkspringgreen}\ttfamily\bfseries{%
+\verb|\orn{$font}{$number}|%
+}%
+}%
+. The numbers of each ornament are provided in the aforementioned guide. The font options, as shown in the appendix, are:
+\begin{center}
+ \begin{tabular}{lr}
+ \textbf{Font} & \textbf{Command}\\
+Adobe Caslon Pro & \texttt{caslon}\\
+Adobe Garamond Pro & \texttt{agp}\\
+Adobe Jenson Pro & \texttt{jenson}\\
+Arno Pro & \texttt{arno} \\
+Bickham Script Pro & \texttt{bickham}\\
+Brioso Pro & \texttt{brioso}\\
+Chaparral & \texttt{chaparral}\\
+Cronos Pro & \texttt{cronos}\\
+Garamond Premier Pro & \texttt{gpp}\\\
+Kepler Std & \texttt{kepler}\\
+Minion Pro & \texttt{minion}\\
+Warnock Pro & \texttt{warnock}\\
+Silentium Pro & \texttt{silentium}\\
+Voluta Script Pro & \texttt{voluta}\\
+
+ \end{tabular}
+ \end{center}
+\clearpage
+For example, the commands
+\begin{minted}[
+framesep=2mm,
+baselinestretch=1.2,
+bgcolor=LightGray,
+fontsize=\footnotesize,
+breaklines,
+firstnumber=last
+]
+{latex}
+ \orn{minion}{1}\orn{caslon}{44}\orn{kepler}{31}
+\end{minted}
+Produce:
+\begin{quote}
+ \orn{minion}{1} \orn{caslon}{44}\orn{kepler}{31}\orn{bickham}{17}
+
+\end{quote}
+
+
+\normalfont
+
+
+\section{Development}
+Bugs, feature requests, \textit{etc}, should be submitted to the project's official Github page: (\url{github.com/ezgranet/adobeornaments}).
+\section{Licence}
+ This project is licensed under the \LaTeX\ Public Project Licence version 1.3\textit{c}. This documentation is copyright of the author but licensed under \textcsc{CC-BY-SA} 3.0.
+ \clearpage
+\section{Implementation}
+\begin{minted}[
+frame=lines,
+framesep=2mm,
+baselinestretch=1.2,
+bgcolor=LightGray,
+fontsize=\footnotesize,
+linenos,
+breaklines,
+firstnumber=last
+]
+{latex}
+\def\adobeornamentsversionnumber{1.0.0}
+\ProvidesPackage{adobeornaments}
+[2023/05/13\adobeornamentsversionnumber\
+ Command for ornaments in Adobe fonts]
+% This work may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either version 1.3c
+% of this license or (at your option) any later version.
+% The latest version of this license is in
+% http://www.latex-project.org/lppl.txt
+% and version 1.3c or later is part of all distributions of LaTeX
+% version 2005/12/01 or later.
+%
+% This work has the LPPL maintenance status `maintained'.
+%
+% The Current Maintainer of this work is Elijah Z Granet
+%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Warning that you need
+% fontspec
+%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\RequirePackage{iftex}
+\ifPDFTeX {
+ \PackageError{textcsc}
+ {You are using pdfTeX but this package only works
+ \MessageBreak with XeTeX or LuaTeX}{}
+ }
+\fi
+%obviously you need fontspec
+\RequirePackage{fontspec}%
+% if structure to stop error if someone only has *some* of the fonts
+\IfFontExistsTF{Arno Pro}%
+{%%%%%
+\newfontfamily\arno[Scale=1.01]{Arno Pro}%%%%%
+}{}%%%%%
+\IfFontExistsTF{Minion Pro}{%%%%
+\newfontfamily\minion[Scale=1.01]{Minion Pro}%%%%
+}{}%%%
+\IfFontExistsTF{Warnock Pro}%%%%%
+{%%%%%
+\newfontfamily\warnock[Scale=1.01]{Warnock Pro}
+}%%%%%
+{}
+\IfFontExistsTF{Brioso Pro}{%
+\newfontfamily\brioso[Scale=1.01]{Brioso Pro}%
+}{}%
+\IfFontExistsTF{Adobe Caslon Pro}{%
+\newfontfamily\caslon[Scale=1.01]{Adobe Caslon Pro}%
+}{}
+\IfFontExistsTF{Adobe Jenson Pro}{%%%%
+\newfontfamily\jenson[Scale=1.01]{Adobe Jenson Pro}%
+}%
+{}%%%%
+\IfFontExistsTF{Adobe Garamond Pro}{%%%%%
+\newfontfamily\agp[Scale=1.01]{Adobe Garamond Pro}%
+}{}%%%%
+\IfFontExistsTF{Kepler Std}{%%%%%
+\newfontfamily\kepler[Scale=1.01]{Kepler Std}%%%%%
+}%%%%
+{}
+\IfFontExistsTF{Voluta Script Pro}{%%%%%
+\newfontfamily\voluta[Scale=1.01]{Voluta Script Pro}%%%%%
+}%%%%
+{}%
+\IfFontExistsTF{Garamond Premier Pro}{%
+\newfontfamily\gpp[Scale=1.01]{Garamond Premier Pro}%
+}%
+{}
+\IfFontExistsTF{Cronos Pro}{%
+\newfontfamily\cronos[Scale=1.01]{Cronos Pro}%
+}{}
+\IfFontExistsTF{Bickham Script Pro}{%
+\newfontfamily\bickham[Scale=1.01]{Bickham Script Pro}%
+}{}
+\IfFontExistsTF{Chaparral Pro}{
+\newfontfamily\chaparral%
+[Scale=1.01]{Chaparral Pro}%
+}{}
+\IfFontExistsTF{Silentium Pro}{
+\newfontfamily\silentium%
+[Scale=1.01]{Silentium Pro}%
+}{}
+% xstring is required in order to apply if cases
+\RequirePackage{xstring}
+\newcommand{\orn}[2]{%
+ \IfEqCase{#1}{%
+{minion}%
+{{\minion\addfontfeatures{Ornament=#2}•}}%
+{arno}%
+{{\arno\addfontfeatures{Ornament=#2}•}}%
+{warnock}%
+{{\warnock\addfontfeatures{Ornament=#2}•}}
+{brioso}%
+{{\brioso\addfontfeatures{Ornament=#2}•}}
+{caslon}%
+{{\caslon\addfontfeatures{Ornament=#2}•}}
+{jenson}%
+{{\jenson\addfontfeatures{Ornament=#2}•}}
+{agp}%
+{{\agp\addfontfeatures{Ornament=#2}•}}
+{kepler}%
+{{\kepler\addfontfeatures{Ornament=#2}•}}
+{voluta}%
+{{\voluta\addfontfeatures{Ornament=#2}•}}
+{gpp}%
+{{\gpp\addfontfeatures{Ornament=#2}•}}
+{cronos}%
+{{\cronos\addfontfeatures{Ornament=#2}•}}
+{bickham}%
+{{\bickham\addfontfeatures{Ornament=#2}•}}
+{chaparral}%
+{{\chaparral\addfontfeatures{Ornament=#2}•}}
+{silentium}%
+{{\silentium\addfontfeatures{Ornament=#2}•}}
+ % you can add more cases here as desired
+ }[\PackageError{orn}{Undefined font: #1}{}]%
+}%
+
+\end{minted}
+
+
+\section{Version History}
+
+\subsection{\texttt{1.0.0}}
+
+\ttfamily 14 May 2023: Package creation
+\clearpage
+\pagestyle{empty}\addcontentsline{toc}{section}{Appendix: Ornaments List}
+
+\includepdf[pages=-]{adobeornaments-list.pdf}
+
+
+\end{document} \ No newline at end of file
diff --git a/macros/unicodetex/latex/adobeornaments/adobeornaments-list.pdf b/macros/unicodetex/latex/adobeornaments/adobeornaments-list.pdf
new file mode 100644
index 0000000000..1900d16276
--- /dev/null
+++ b/macros/unicodetex/latex/adobeornaments/adobeornaments-list.pdf
Binary files differ
diff --git a/macros/unicodetex/latex/adobeornaments/adobeornaments-list.tex b/macros/unicodetex/latex/adobeornaments/adobeornaments-list.tex
new file mode 100644
index 0000000000..7d78018b60
--- /dev/null
+++ b/macros/unicodetex/latex/adobeornaments/adobeornaments-list.tex
@@ -0,0 +1,184 @@
+\documentclass[12pt]{article}
+\usepackage{adobeornaments}
+% stuff just for ornament example page
+\usepackage{verbatim}
+\setmonofont{Source Code Pro}
+\newcounter{orntest}
+\newcommand{\orntest}{\stepcounter{orntest}
+\texttt{\Alph{orntest}}\quad\Alph{orntest}\\
+\texttt{\alph{orntest}}\quad\alph{orntest}}
+\newcommand{\testorn}[1]{%
+{\ttfamily #1}%
+\quad\addfontfeatures{Ornament=#1}•\\}%
+\newcommand{\orninfo}[3]{\addcontentsline{toc}{section}{#1}
+#2\large\centering
+#1\\\texttt{#3}\normalsize
+\begin{multicols}{2}
+\testorn{1}
+\testorn{2}
+\testorn{3}
+\testorn{4}
+\testorn{5}
+\testorn{6}
+\testorn{7}
+\testorn{8}
+\testorn{9}
+\testorn{10}
+\testorn{11}
+\testorn{12}
+\testorn{13}
+\testorn{14}
+\testorn{15}
+\testorn{16}
+\testorn{17}
+\testorn{18}
+\testorn{19}
+\testorn{20}
+\testorn{21}
+\testorn{22}
+\testorn{23}
+\testorn{24}
+\testorn{25}
+\testorn{26}
+\testorn{27}
+\testorn{28}
+\testorn{29}
+\testorn{30}
+\testorn{31}
+\testorn{32}
+\testorn{33}
+\testorn{34}
+\testorn{35}
+\testorn{36}
+\testorn{37}
+\testorn{38}
+\testorn{39}
+\testorn{40}
+\testorn{41}
+\testorn{42}
+\testorn{43}
+\testorn{44}
+\testorn{45}
+\testorn{46}
+\testorn{47}
+\testorn{48}
+\testorn{49}
+\testorn{50}
+\testorn{51}
+\testorn{52}
+\testorn{53}
+\testorn{54}
+\testorn{55}
+\testorn{56}
+\testorn{57}
+\testorn{58}
+\testorn{59}
+\testorn{60}
+\end{multicols}\clearpage}
+
+\title{Ornaments List for use with the \texttt{adobeornaments} package }
+\author{Elijah Z. Granet}
+\usepackage{multicol}
+
+\begin{document}
+
+\maketitle
+\tableofcontents
+\clearpage
+\orninfo{Adobe Caslon Pro}{\caslon}{caslon}
+\orninfo{Adobe Garamond Pro}{\agp}{agp}
+\orninfo{Adobe Jenson Pro}{\jenson}{jenson}
+
+\orninfo{Arno Pro}{\arno}{arno}
+\orninfo{Bickham Script Pro}{\bickham}{bickham}
+
+\orninfo{Brioso Pro}{\brioso}{brioso}
+\orninfo{Chaparral Pro}{\chaparral}{chaparral}
+
+
+\orninfo{Cronos Pro}{\cronos}{cronos}
+\orninfo{Garamond Premier Pro}{\gpp}{gpp}
+
+\orninfo{Kepler Std}{\kepler}{kepler}
+
+ \clearpage
+
+\begin{multicols}{2}
+\testorn{60}
+\testorn{61}
+\testorn{62}
+\testorn{63}
+\testorn{64}
+\testorn{65}
+\testorn{66}
+\testorn{67}
+\testorn{68}
+\testorn{69}
+\testorn{70}
+\testorn{71}
+\testorn{72}
+\testorn{73}
+\testorn{74}
+\testorn{75}
+\testorn{76}
+\testorn{77}
+\testorn{78}
+\testorn{79}
+\testorn{80}
+\testorn{81}
+\testorn{82}
+\testorn{83}
+\testorn{84}
+\testorn{85}
+\testorn{86}
+\testorn{87}
+\testorn{88}
+\testorn{89}
+\testorn{90}
+\testorn{91}
+\testorn{92}
+\testorn{93}
+\testorn{94}
+\testorn{95}
+\testorn{96}
+\testorn{97}
+\testorn{98}
+\testorn{99}
+\testorn{100}
+\testorn{101}
+\testorn{102}
+\testorn{103}
+\testorn{104}
+\testorn{105}
+\testorn{106}
+\testorn{107}
+\testorn{108}
+\testorn{109}
+\testorn{110}
+\testorn{111}
+\testorn{112}
+\testorn{113}
+\testorn{114}
+\testorn{115}
+\testorn{116}
+\testorn{117}
+\testorn{118}
+\testorn{119}
+\testorn{120}
+\testorn{121}
+\testorn{122}
+\testorn{123}
+\testorn{124}
+\testorn{125}
+\end{multicols}\clearpage
+
+\orninfo{Minion Pro}{\minion}{minion}
+
+\orninfo{Silentium Pro}{\silentium}{silentium}
+
+\orninfo{Voluta Script Pro}{\voluta}{voluta}
+%
+\orninfo{Warnock Pro}{\warnock}{warnock}
+
+%
+\end{document} \ No newline at end of file
diff --git a/macros/unicodetex/latex/adobeornaments/adobeornaments.sty b/macros/unicodetex/latex/adobeornaments/adobeornaments.sty
new file mode 100644
index 0000000000..b4718c86da
--- /dev/null
+++ b/macros/unicodetex/latex/adobeornaments/adobeornaments.sty
@@ -0,0 +1,116 @@
+\def\adobeornamentsversionnumber{1.0.0}
+\ProvidesPackage{adobeornaments}
+[2023/05/13\adobeornamentsversionnumber\
+ Command for ornaments in Adobe fonts]
+% This work may be distributed and/or modified under the
+% conditions of the LaTeX Project Public License, either version 1.3c
+% of this license or (at your option) any later version.
+% The latest version of this license is in
+% http://www.latex-project.org/lppl.txt
+% and version 1.3c or later is part of all distributions of LaTeX
+% version 2005/12/01 or later.
+%
+% This work has the LPPL maintenance status `maintained'.
+%
+% The Current Maintainer of this work is Elijah Z Granet
+%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Warning that you need
+% fontspec
+%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\RequirePackage{iftex}
+\ifPDFTeX {
+ \PackageError{textcsc}
+ {You are using pdfTeX but this package only works
+ \MessageBreak with XeTeX or LuaTeX}{}
+ }
+\fi
+%obviously you need fontspec
+\RequirePackage{fontspec}%
+% if structure to stop error if someone only has *some* of the fonts
+\IfFontExistsTF{Arno Pro}%
+{%%%%%
+\newfontfamily\arno[Scale=1.01]{Arno Pro}%%%%%
+}{}%%%%%
+\IfFontExistsTF{Minion Pro}{%%%%
+\newfontfamily\minion[Scale=1.01]{Minion Pro}%%%%
+}{}%%%
+\IfFontExistsTF{Warnock Pro}%%%%%
+{%%%%%
+\newfontfamily\warnock[Scale=1.01]{Warnock Pro}
+}%%%%%
+{}
+\IfFontExistsTF{Brioso Pro}{%
+\newfontfamily\brioso[Scale=1.01]{Brioso Pro}%
+}{}%
+\IfFontExistsTF{Adobe Caslon Pro}{%
+\newfontfamily\caslon[Scale=1.01]{Adobe Caslon Pro}%
+}{}
+\IfFontExistsTF{Adobe Jenson Pro}{%%%%
+\newfontfamily\jenson[Scale=1.01]{Adobe Jenson Pro}%
+}%
+{}%%%%
+\IfFontExistsTF{Adobe Garamond Pro}{%%%%%
+\newfontfamily\agp[Scale=1.01]{Adobe Garamond Pro}%
+}{}%%%%
+\IfFontExistsTF{Kepler Std}{%%%%%
+\newfontfamily\kepler[Scale=1.01]{Kepler Std}%%%%%
+}%%%%
+{}
+\IfFontExistsTF{Voluta Script Pro}{%%%%%
+\newfontfamily\voluta[Scale=1.01]{Voluta Script Pro}%%%%%
+}%%%%
+{}%
+\IfFontExistsTF{Garamond Premier Pro}{%
+\newfontfamily\gpp[Scale=1.01]{Garamond Premier Pro}%
+}%
+{}
+\IfFontExistsTF{Cronos Pro}{%
+\newfontfamily\cronos[Scale=1.01]{Cronos Pro}%
+}{}
+\IfFontExistsTF{Bickham Script Pro}{%
+\newfontfamily\bickham[Scale=1.01]{Bickham Script Pro}%
+}{}
+\IfFontExistsTF{Chaparral Pro}{
+\newfontfamily\chaparral%
+[Scale=1.01]{Chaparral Pro}%
+}{}
+\IfFontExistsTF{Silentium Pro}{
+\newfontfamily\silentium%
+[Scale=1.01]{Silentium Pro}%
+}{}
+% xstring is required in order to apply if cases
+\RequirePackage{xstring}
+\newcommand{\orn}[2]{%
+ \IfEqCase{#1}{%
+{minion}%
+{{\minion\addfontfeatures{Ornament=#2}•}}%
+{arno}%
+{{\arno\addfontfeatures{Ornament=#2}•}}%
+{warnock}%
+{{\warnock\addfontfeatures{Ornament=#2}•}}
+{brioso}%
+{{\brioso\addfontfeatures{Ornament=#2}•}}
+{caslon}%
+{{\caslon\addfontfeatures{Ornament=#2}•}}
+{jenson}%
+{{\jenson\addfontfeatures{Ornament=#2}•}}
+{agp}%
+{{\agp\addfontfeatures{Ornament=#2}•}}
+{kepler}%
+{{\kepler\addfontfeatures{Ornament=#2}•}}
+{voluta}%
+{{\voluta\addfontfeatures{Ornament=#2}•}}
+{gpp}%
+{{\gpp\addfontfeatures{Ornament=#2}•}}
+{cronos}%
+{{\cronos\addfontfeatures{Ornament=#2}•}}
+{bickham}%
+{{\bickham\addfontfeatures{Ornament=#2}•}}
+{chaparral}%
+{{\chaparral\addfontfeatures{Ornament=#2}•}}
+{silentium}%
+{{\silentium\addfontfeatures{Ornament=#2}•}}
+ % you can add more cases here as desired
+ }[\PackageError{orn}{Undefined font: #1}{}]%
+}% \ No newline at end of file