summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/fonts/rosario
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-05-02 23:43:02 +0000
committerKarl Berry <karl@freefriends.org>2016-05-02 23:43:02 +0000
commitb8b5ddf59ef3f71bc95ca4c12ff3a99592bdaa27 (patch)
tree29f5de5fafa45890d1843e8abd13491cfbd5bbf9 /Master/texmf-dist/source/fonts/rosario
parent4141c4aa83d1ead340876cdc2b8408b754bd9b69 (diff)
rosario (1may16)
git-svn-id: svn://tug.org/texlive/trunk@40843 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/fonts/rosario')
-rw-r--r--Master/texmf-dist/source/fonts/rosario/Rosario.dtx368
-rw-r--r--Master/texmf-dist/source/fonts/rosario/Rosario.ins43
2 files changed, 411 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/fonts/rosario/Rosario.dtx b/Master/texmf-dist/source/fonts/rosario/Rosario.dtx
new file mode 100644
index 00000000000..243621b0015
--- /dev/null
+++ b/Master/texmf-dist/source/fonts/rosario/Rosario.dtx
@@ -0,0 +1,368 @@
+% \iffalse meta-comment
+%
+% File: Rosario.dtx
+% Copyright (C) 2016 Arash Esbati <esbati'at'gmx.de>
+%
+% This work may be distributed and/or modified under the conditions
+% of the LaTeX Project Public License (LPPL), either version 1.3c of
+% this license or (at your option) any later version. The latest
+% version of this license is in the file:
+%
+% http://www.latex-project.org/lppl.txt
+%
+% \fi
+%
+% \iffalse
+%<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
+%<package>\ProvidesPackage{Rosario}
+%<package> [2016/05/01 v1.0 Support for Rosario fonts (AE)]
+%
+%<*driver>
+\documentclass[a4paper]{ltxdoc}
+\usepackage[osf]{mathpazo}
+\usepackage[scale=0.97]{Rosario}
+\usepackage[utf8]{inputenc}
+\usepackage[OT1,LY1,T1]{fontenc}
+\usepackage{textcomp,fonttable,zlmtt}
+\usepackage[activate]{microtype}
+\usepackage{hypdoc}
+\newcommand*\pkg[1]{\textsf{#1}}
+\DisableCrossrefs
+\RecordChanges
+\setlength\hfuzz{15pt}
+\hbadness=7000
+\frenchspacing
+\raggedbottom
+\makeatletter
+\renewcommand\section{\@startsection{section}{1}{\z@}%
+ {-3.5ex \@plus -1ex \@minus -.2ex}%
+ {2.3ex \@plus.2ex}%
+ {\normalfont\sffamily\Large\bfseries}}
+\renewcommand\subsection{\@startsection{subsection}{2}{\z@}%
+ {-3.25ex\@plus -1ex \@minus -.2ex}%
+ {1.5ex \@plus .2ex}%
+ {\normalfont\sffamily\large\bfseries}}
+\renewcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}%
+ {-3.25ex\@plus -1ex \@minus -.2ex}%
+ {1.5ex \@plus .2ex}%
+ {\normalfont\sffamily\normalsize\bfseries}}
+\renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}%
+ {3.25ex \@plus1ex \@minus.2ex}%
+ {-1em}%
+ {\normalfont\sffamily\normalsize\bfseries}}
+\renewcommand\subparagraph{\@startsection{subparagraph}{5}{\parindent}%
+ {3.25ex \@plus1ex \@minus .2ex}%
+ {-1em}%
+ {\normalfont\sffamily\normalsize\bfseries}}
+\renewcommand\@makefntext[1]{%
+ \@setpar{%
+ \@@par \@tempdima=\hsize
+ \advance\@tempdima by -1.5em\relax
+ \parshape \@ne 1.5em \@tempdima
+ }%
+ \par \parindent=\z@ \noindent %
+ \hb@xt@ \z@{\hss \hb@xt@ 1.5em{\@thefnmark.\hss}}%
+ #1%
+}
+\makeatother
+\begin{document}
+ \DocInput{\jobname.dtx}
+\end{document}
+%</driver>
+% \fi
+%
+% \CheckSum{13}
+%
+% \CharacterTable
+% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
+% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
+% Digits \0\1\2\3\4\5\6\7\8\9
+% Exclamation \! Double quote \" Hash (number) \#
+% Dollar \$ Percent \% Ampersand \&
+% Acute accent \' Left paren \( Right paren \)
+% Asterisk \* Plus \+ Comma \,
+% Minus \- Point \. Solidus \/
+% Colon \: Semicolon \; Less than \<
+% Equals \= Greater than \> Question mark \?
+% Commercial at \@ Left bracket \[ Backslash \\
+% Right bracket \] Circumflex \^ Underscore \_
+% Grave accent \` Left brace \{ Vertical bar \|
+% Right brace \} Tilde \~}
+%
+%
+% \GetFileInfo{\jobname.sty}
+%
+% \MakeShortVerb{\"}
+%
+% \changes{v1.0}{2016/05/01}{Initial version}
+%
+% \title{Using \textsf{Rosario} fonts with LaTeX\thanks{This file has
+% version number \fileversion, last revised \filedate.}}
+% \author{Arash Esbati}
+% \date{\filedate}
+% \maketitle
+%
+% \begin{abstract}
+% \noindent
+% This package provides the necessary files to use the
+% \textsf{Rosario} fonts with LaTeX. \textsf{Rosario} is a set of
+% four fonts provided by Héctor Gatti, Adobe Typekit \& Omnibus-Type
+% Team under the Open Font License (OFL).
+% \end{abstract}
+%
+% \tableofcontents \clearpage
+%
+% \section{Introduction}
+% \label{sec:introduction}
+%
+% \textsf{Rosario}\footnote{Copyright \textcopyright\ 2012--2015,
+% Omnibus-Type (\url{http://www.omnibus-type.com})} is a set of four
+% fonts created by Héctor Gatti, Adobe Typekit \& Omnibus-Type Team
+% and provided by Omnibus-Type\footnote{Many thanks to Omnibus-Type
+% team for their explicit permission to upload the files to CTAN.}
+% under the SIL Open Font License, Version 1.1. From the web page:
+% \begin{quote}\sffamily
+% ``\textsf{Rosario} is a classic semiserif typeface, weak contrast
+% and smooth endings. Produced carefully, nice and elegant, ideal
+% for magazines and academic journals. \textsf{Rosario} is the name
+% of the city where the designer lives.''
+% \end{quote}
+%
+% The fonts were obtained from Omni-Type web
+% page\footnote{\url{http://www.omnibus-type.com/fonts/rosario.php}}.
+% (v1.001, 4~fonts, 249~glyphs each).
+%
+% \section{Installation}
+% \label{sec:installation}
+%
+% I suggest you use MikTeX or TeXlive and wait until the fonts are
+% distributed for your TeX installation via their package manager.
+%
+% \section{Usage}
+% \label{sec:usage}
+%
+% The fonts can be used with traditional (pdf)TeX engine and newer
+% XeTeX and LuaTeX engines which can access \textsc{otf} fonts
+% directly. They are described below. In general, this bundle tries
+% not to be smart and loads only \pkg{kvoptions}. As the result, some
+% work must be done by the user.
+%
+% \subsection{Under (pdf)LaTeX}
+% \label{sec:under-pdflatex}
+%
+% A package \pkg{Rosario.sty} is provided which can be loaded in the
+% preamble as usual:
+% \begin{quote}
+% "\usepackage{Rosario}"
+% \end{quote}
+% Loading the package changes the document's sans serif font to
+% \textsf{Rosario}.
+%
+% \DescribeMacro{familydefault}%
+% The main font of a document can be switched to \textsf{Rosario} with
+% package option "`familydefault'" or "`familydefault=true'", e.g.:
+% \begin{quote}
+% "\usepackage[familydefault]{Rosario}"
+% \end{quote}
+%
+% \DescribeMacro{scale}%
+% The size of the \textsf{Rosario} fonts can be adjusted with the
+% "`scale'" option. This document uses Palatino as main font and
+% scales \textsf{Rosario} with:
+% \begin{quote}
+% "\usepackage[scale=0.97]{Rosario}"
+% \end{quote}
+%
+% \textsc{ot1}, \textsc{ly1}, \textsc{t1} and \textsc{ts}1 encodings
+% are supported. \pkg{Rosario.sty} does not load the respective
+% packages, it is up to user to load them, e.g.:
+% \begin{quote}
+% "\usepackage[T1]{fontenc}" \\
+% "\usepackage{Rosario}" \\
+% "\usepackage{textcomp}"
+% \end{quote}
+%
+% \subsection{Under XeLaTeX and LuaLaTeX}
+% \label{sec:under-xelat-lual}
+%
+% Key message: Do not load \pkg{Rosario.sty} when using XeLaTeX or
+% LuaLaTeX.
+%
+% These engines can access \textsc{otf} fonts directly. The standard
+% interface for this purpose is
+% \pkg{fontspec.sty}\footnote{\url{http://ctan.org/pkg/fontspec}}.
+% \pkg{Rosario.sty} does not make any provision to load
+% \pkg{fontspec.sty}. This bundle provides only a file called
+% \pkg{Rosario.fontspec} which can be loaded by \pkg{fontspec.sty}.
+%
+% \pkg{Rosario.fontspec} contains the following lines:
+% \begin{quote}
+% "\defaultfontfeatures[Rosario]" \\
+% " {" \\
+% " Extension = .otf ," \\
+% " BoldFont = Rosario-Bold ," \\
+% " ItalicFont = Rosario-Italic ," \\
+% " BoldItalicFont = Rosario-BoldItalic ," \\
+% " UprightFont = Rosario-Regular" \\
+% " }"
+% \end{quote}
+%
+% The following lines in the preamble set \textsf{Rosario} as the sans
+% serif font:
+% \begin{quote}
+% "\usepackage{fontspec}" \\
+% "% Load Rosario.fontspec" \\
+% "\fontspec{Rosario}" \\
+% "\setsansfont{Rosario}"
+% \end{quote}
+%
+% Other font features can be added to the font with the following
+% lines:
+% \begin{quote}
+% "\usepackage{fontspec}" \\
+% "% Load Rosario.fontspec" \\
+% "\fontspec{Rosario}" \\
+% "% Add features beside the ones in Rosario.fontspec" \\
+% "\defaultfontfeatures+{Color=blue}" \\
+% "\setsansfont{Rosario}"
+% \end{quote}
+%
+% \clearpage
+%
+% \section{OT1 encoding font table}
+% \label{sec:ot1-font-table}
+%
+% \xfonttable{OT1}{Rosario-LF}{m}{n}
+%
+% \clearpage
+%
+% \section{LY1 encoding font table}
+% \label{sec:ly1-font-table}
+%
+% \xfonttable{LY1}{Rosario-LF}{m}{n}
+%
+% \section{T1 encoding font table}
+% \label{sec:t1-font-table}
+%
+% \xfonttable{T1}{Rosario-LF}{m}{n}
+%
+% \section{TS1 encoding font table}
+% \label{sec:ts1-font-table}
+%
+% \xfonttable{TS1}{Rosario-LF}{m}{n}
+%
+% \StopEventually{^^A
+% \PrintChanges
+% }
+%
+% \clearpage
+%
+% \section{Implementation}
+% \label{sec:implementation}
+%
+% Font support files are generated by "autoinst". As a random note,
+% "autoinst" is invoked with:
+% \begin{verbatim}
+% autoinst \
+% --encoding=OT1,T1,LY1 \
+% --ts1 \
+% --sanserif \
+% --defaultlining \
+% --defaultproportional \
+% --nooldstyle \
+% --notabular \
+% --nosmallcaps \
+% --noswash \
+% --notitling \
+% --nosuperiors \
+% --noinferiors \
+% --fractions \
+% --noornaments \
+% --noupdmap \
+% --verbose \
+% Rosario-*.otf
+% \end{verbatim}
+% \vspace{-\baselineskip}
+%
+% We don't use the \pkg{Rosario.sty} generated by "autoinst" and use
+% our version instead. We extract two files out of \pkg{Rosario.dtx}:
+% \pkg{Rosario.sty} and \pkg{Rosario.fontspec}.
+%
+%
+% \subsection{Rosario.sty}
+% \label{sec:rosario.sty}
+%
+% \begin{macrocode}
+%<*package>
+% \end{macrocode}
+%
+% We use
+% \pkg{kvoptions}\footnote{\url{http://www.ctan.org/pkg/kvoptions}}
+% for our purposes:
+% \begin{macrocode}
+\RequirePackage{kvoptions}
+% \end{macrocode}
+% Setup the keyval options:
+% \begin{macrocode}
+\SetupKeyvalOptions{%
+ family = Rosario ,
+ prefix = Rosario@
+}
+% \end{macrocode}
+%
+% Declare the keys provided by the package und process them:
+% \begin{macrocode}
+\DeclareStringOption[1.0]{scale}
+\DeclareBoolOption{familydefault}
+\ProcessKeyvalOptions{Rosario}
+% \end{macrocode}
+%
+% Switch the sans serif font to \textsf{Rosario}; the fonts provide
+% only proportional lining figures, hence we hard-code them to our
+% font:
+% \begin{macrocode}
+\renewcommand*{\sfdefault}{Rosario-LF}
+% \end{macrocode}
+%
+% Switch the default font if the respective key is given:
+% \begin{macrocode}
+\ifRosario@familydefault
+ \renewcommand*{\familydefault}{\sfdefault}
+\fi
+% \end{macrocode}
+%
+% \begin{macrocode}
+%</package>
+% \end{macrocode}
+%
+% \subsection{Rosario.fontspec}
+% \label{sec:rosario.fontspec}
+%
+% \begin{macrocode}
+%<*fontspec>
+% \end{macrocode}
+%
+% This is pretty straight forward:
+% \begin{macrocode}
+\defaultfontfeatures[Rosario]
+ {
+ Extension = .otf ,
+ BoldFont = Rosario-Bold ,
+ ItalicFont = Rosario-Italic ,
+ BoldItalicFont = Rosario-BoldItalic ,
+ UprightFont = Rosario-Regular
+ }
+% \end{macrocode}
+%
+% \begin{macrocode}
+%</fontspec>
+% \end{macrocode}
+%
+% \Finale
+%
+\endinput
+%
+% Local Variables:
+% mode: doctex
+% TeX-master: t
+% End:
diff --git a/Master/texmf-dist/source/fonts/rosario/Rosario.ins b/Master/texmf-dist/source/fonts/rosario/Rosario.ins
new file mode 100644
index 00000000000..a6f61044396
--- /dev/null
+++ b/Master/texmf-dist/source/fonts/rosario/Rosario.ins
@@ -0,0 +1,43 @@
+%%
+%% File: Rosario.ins
+%% Copyright (c) 2016 Arash Esbati
+%%
+%% This work may be distributed and/or modified under the conditions
+%% of the LaTeX Project Public License (LPPL), either version 1.3c of
+%% this license or (at your option) any later version.
+%%
+%% It is an installation file for extracting package and other files
+%% from the original source file. Simply process it under LaTeX.
+
+\input docstrip.tex
+
+\keepsilent
+\askforoverwritefalse
+
+\preamble
+
+Copyright (C) 2016 Arash Esbati <esbati'at'gmx.de>
+
+This work may be distributed and/or modified under the conditions
+of the LaTeX Project Public License (LPPL), either version 1.3c of
+this license or (at your option) any later version. The latest
+version of this license is in the file:
+
+ http://www.latex-project.org/lppl.txt
+
+\endpreamble
+\generate{
+ \file{\jobname.sty}{\from{\jobname.dtx}{package}}
+ \file{\jobname.fontspec}{\from{\jobname.dtx}{fontspec}}
+}
+
+\obeyspaces
+\Msg{****************************************************************}%
+\Msg{* For documentation in pdf, process with: *}%
+\Msg{* pdflatex Rosario.dtx *}%
+\Msg{* makeindex.exe -s gglo.ist -o Rosario.gls Rosario.glo *}%
+\Msg{* pdflatex Rosario.dtx *}%
+\Msg{****************************************************************}%
+
+
+\endbatchfile