diff options
author | Norbert Preining <norbert@preining.info> | 2017-07-12 11:32:42 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2017-07-12 11:32:42 +0900 |
commit | 93268b239f07da519a150bf57afcb050dfa13258 (patch) | |
tree | 25fef6958282aa0454f4901cddae0ec30c6666b3 /texmf-dist/doc/latex/imprintmtshadow | |
parent | 1056b3ce4d1b9decc5448c99f836739f2511c854 (diff) |
add imprintmtshadow
Diffstat (limited to 'texmf-dist/doc/latex/imprintmtshadow')
-rw-r--r-- | texmf-dist/doc/latex/imprintmtshadow/README | 18 | ||||
-rw-r--r-- | texmf-dist/doc/latex/imprintmtshadow/imprintmtshadow.bib | 19 | ||||
-rw-r--r-- | texmf-dist/doc/latex/imprintmtshadow/imprintmtshadow.dtx | 368 | ||||
-rw-r--r-- | texmf-dist/doc/latex/imprintmtshadow/imprintmtshadow.ins | 52 | ||||
-rw-r--r-- | texmf-dist/doc/latex/imprintmtshadow/imprintmtshadow.pdf | bin | 0 -> 262636 bytes | |||
-rw-r--r-- | texmf-dist/doc/latex/imprintmtshadow/miihsample.pdf | bin | 0 -> 37584 bytes | |||
-rw-r--r-- | texmf-dist/doc/latex/imprintmtshadow/miihsample.tex | 26 |
7 files changed, 483 insertions, 0 deletions
diff --git a/texmf-dist/doc/latex/imprintmtshadow/README b/texmf-dist/doc/latex/imprintmtshadow/README new file mode 100644 index 00000000..957ca7eb --- /dev/null +++ b/texmf-dist/doc/latex/imprintmtshadow/README @@ -0,0 +1,18 @@ +This package provides support files for the Monotype Imprint Shadow +font. + + +Installation: + +1. Purchase and install the pfb file ImpriMTSha.pfb in + $TEXMFLOCAL/fonts/type1/monotype/imprintmtshadow + +2. Unzip the file imprintmtshadow.tds.zip in $TEXMFLOCAL. + +3. Add +miih.map to the configuration files of dvips, pdftex and your + dvi previewer. + +4. Run texhash and updmap + + + diff --git a/texmf-dist/doc/latex/imprintmtshadow/imprintmtshadow.bib b/texmf-dist/doc/latex/imprintmtshadow/imprintmtshadow.bib new file mode 100644 index 00000000..1b25e1d0 --- /dev/null +++ b/texmf-dist/doc/latex/imprintmtshadow/imprintmtshadow.bib @@ -0,0 +1,19 @@ + + +@manual{fontname, + author = {Karl Berry}, + month = {September}, + note = {\url{http://mirrors.ctan.org/info/fontname}}, + title = {Fontname. Filenames For {\TeX} Fonts}, + year = {2005}, +} + +@manual{fontinstallationguide, + author = {Philipp Lehman}, + month = {December}, + note = + {\url{http://mirrors.ctan.org/info/Type1fonts/fontinstallationguide}}, + title = {The Font Installation Guide}, + year = {2004}, +} + diff --git a/texmf-dist/doc/latex/imprintmtshadow/imprintmtshadow.dtx b/texmf-dist/doc/latex/imprintmtshadow/imprintmtshadow.dtx new file mode 100644 index 00000000..54cda14b --- /dev/null +++ b/texmf-dist/doc/latex/imprintmtshadow/imprintmtshadow.dtx @@ -0,0 +1,368 @@ +% \iffalse +% $Id: imprintmtshadow.dtx,v 1.3 2012-08-11 20:19:26 boris Exp $ +% +% Copyright (c) 2012, Boris Veytsman +% +% All rights reserved. +% +% Redistribution and use in source and binary forms, with or without +% modification, are permitted provided that the following conditions +% are met: +% +% * Redistributions of source code must retain the above copyright +% notice, this list of conditions and the following disclaimer. +% * Redistributions in binary form must reproduce the above +% copyright notice, this list of conditions and the following +% disclaimer in the documentation and/or other materials provided +% with the distribution. +% * Neither the name of the original author nor the names of the +% contributors may be used to endorse or promote products derived +% from this software without specific prior written permission. +% +% THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND +% CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, +% INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +% MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +% DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS +% BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +% EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +% TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +% DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +% ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +% OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +% OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +% POSSIBILITY OF SUCH DAMAGE. +% +% \fi +% \CheckSum{221} +% +% +%% \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 \~} +% +% +% \MakeShortVerb{|} +% \GetFileInfo{imprintmtshadow.dtx} +% \title{\LaTeX{} Support For Monotype Imprint Shadow Font} +% \author{Boris Veytsman\thanks{% +% \href{mailto:borisv@lk.net}{\texttt{borisv@lk.net}}, +% \href{mailto:boris@varphi.com}{\texttt{boris@varphi.com}}}} +% \date{\filedate, \fileversion} +% \maketitle +% \begin{abstract} +% This package provides \LaTeX{} support for the Monotype Imprint +% Shadow font. It has everything you need to +% typeset in this font - except the font itself. +% \end{abstract} +% \tableofcontents +% +% \clearpage +% +% +%\section{Introduction} +%\label{sec:intro} +% +% While such engines as \texttt{xetex} and \texttt{luatex} can use +% native system fonts, the installation base of \texttt{pdftex} is +% large enough to justify its continuing support with new fonts. +% +% +% This package provides support files for the Monotype Imprint Shadow +% font. According to the Fontname +% scheme~\cite{fontname}, this corresponds to the family |miih|. We +% provide the necessary font files---everything but the fonts. +% +% +% +%\section{Installation} +%\label{sec:install} +% +% +% +% First, you need to purchase the fonts themselves: the |pfb| files +% are \emph{not} included in the package. We assume that the |pfb| +% file is called |ImpriMTSha.pfb|. If your \TeX{} system is +% TDS-compliant, install the this file into +% \path{$TEXMFLOCAL/fonts/type1/monotype/imprintmtshadow}. Download +% \url{http://mirrors.ctan.org/install/fonts/psfonts/imprintmtshadow.tds.zip} +% and unzip this file in \path{$TEXMFLOCAL}. Add |+miih.map| to the +% configuration files of dvips, pdftex and your dvi previewer. Run +% texhash and updmap programs to update the configuration files and +% file names database. +% +% +% The style |imprintmtshadow.sty| provides a number of commands for using the +% font family (see Section~\ref{sec:imprintmtshadow.sty}) +% +% +%\section{Using \LaTeX{} Style } +%\label{sec:imprintmtshadow.sty} +% +% To use the package, add to the preamble of your document the usual +% incantation \cmd{\usepackage}\oarg{options}|{imprintmtshadow}|. +% +% +% The package option |scaled=...| scales the font to the given scale. +% +% The font can be selected in the usual way, for example +% \begin{verbatim} +% \fontfamily{miih}\selectfont +% \end{verbatim} +% +% \DescribeMacro{\imprintmtshadowfamily} +% \DescribeMacro{\textimprintmtshadow} +% Alternatively you can use a declaration |\imprintmtshadowfamily| and a +% command |\textimprintmtshadow| to set the family. + +% +% +% \StopEventually{ +% \clearpage +% +% \bibliography{tex} +% \bibliographystyle{unsrt}} +% +% \clearpage +%\section{Implementation} +%\label{sec:impl} +% +%\subsection{Identification} +%\label{sec:ident} +% +% We start with the declaration who we are. Most |.dtx| files put +% driver code in a separate driver file |.drv|. We roll this code into the +% main file, and use the pseudo-guard |<gobble>| for it. +% \begin{macrocode} +%<style>\NeedsTeXFormat{LaTeX2e} +%<*gobble> +\ProvidesFile{imprintmtshadow.dtx} +%</gobble> +%<style>\ProvidesClass{imprintmtshadow} +%<miih-drv>\ProvidesFile{miih-drv.tex} +%<miih-map>\ProvidesFile{miih-map.tex} +[2012/08/03 v1.0 Using Monotype Imprint Shadow font in LaTeX] +% \end{macrocode} +% And the driver code: +% \begin{macrocode} +%<*gobble> +\documentclass{ltxdoc} +\usepackage{booktabs} +\usepackage{url} +\usepackage[tableposition=top]{caption} +\usepackage{hypdoc} +\PageIndex +\CodelineIndex +\RecordChanges +\EnableCrossrefs +\begin{document} + \DocInput{imprintmtshadow.dtx} +\end{document} +%</gobble> +% \end{macrocode} +% +% +% +%\subsection{Fontinst Driver} +%\label{sec:miih-drv} +% +% This follows~\cite{fontinstallationguide}. +% +% First, the preamble +% \begin{macrocode} +%<*miih-drv> +\input fontinst.sty +\substitutesilent{bx}{b} +% \end{macrocode} +% +% +% Starting recording transforms: +% \begin{macrocode} +\recordtransforms{miih-rec.tex} +% \end{macrocode} +% We have only one font: +% \begin{macrocode} +\transformfont{miih8r}{\reencodefont{8r}{\fromafm{ImpriMTSha}}} +% \end{macrocode} +% +% There is no hook in |fontinst.sty| for writing our own preamble to +% |.fd| file. However, we need to add scaling commands to the +% preamble. OK, we will patch fontinst: +% \begin{macrocode} +\fontinstcc +\def\fd_family#1#2#3{ + \a_toks{#3} + \edef\lowercase_file{\lowercase{ + \edef\noexpand\lowercase_file{#1#2.fd}}} + \lowercase_file + \open_out{\lowercase_file} + \out_line{\percent_char~Filename:~\lowercase_file} + \out_line{\percent_char~Created~by:~tex~\jobname} + \out_line{\percent_char~Created~using~fontinst~v\fontinstversion} + \out_line{} + \out_line{\percent_char~THIS~FILE~SHOULD~BE~PUT~IN~A~TEX~INPUTS~ + DIRECTORY} + \out_line{} + \out_line{\string\ProvidesFile{\lowercase_file}} + \out_lline{[ + \the\year/ + \ifnum10>\month0\fi\the\month/ + \ifnum10>\day0\fi\the\day\space + Fontinst~v\fontinstversion\space + font~definitions~for~#1/#2. + ]} + \out_line{} +% \end{macrocode} +% Here is our patch: +% \begin{macrocode} + \out_line{\string\expandafter\string\ifx\string\csname\space + MIIH@scale\string\endcsname\string\relax} + \out_line{\space\string\let\string\MIIH@@scale\string\@empty} + \out_line{\string\else} + \out_line{\space\string\edef\string\MIIH@@scale\left_brace_char + s*[\string\csname\space MIIH@scale\string\endcsname] + \right_brace_char\percent_char} + \out_line{\string\fi\percent_char} + \out_line{} +% \end{macrocode} +% End of the patch. +% \begin{macrocode} + \out_line{\string\DeclareFontFamily{#1}{#2}{\the\a_toks}} + { + \csname #1-#2\endcsname + \out_line{} + \let\do_shape=\substitute_shape + \csname #1-#2\endcsname + \let\do_shape=\remove_shape + \csname #1-#2\endcsname + } + \x_cs\g_let{#1-#2}\x_relax + \out_line{} + \out_line{\string\endinput} + \close_out{Font~definitions} +} +\normalcc +% \end{macrocode} +% +% +% Now we install the fonts. First T1 +% \begin{macrocode} +\installfonts +\installfamily{T1}{miih}{} +\installfont{miih8t}{miih8r,newlatin}{t1}{T1}{miih}{m}{n}{ + <->\string\MIIH@@scale} +\endinstallfonts +% \end{macrocode} +% +% +% Then TS1 +% \begin{macrocode} +\installfonts +\installfamily{TS1}{miih}{} +\installfont{miih8c}{miih8r,textcomp}{ts1}{TS1}{miih}{m}{n}{ + <->\string\MIIH@@scale} +\endinstallfonts +% \end{macrocode} +% +% +% And OT1 +% \begin{macrocode} +\installfonts +\installfamily{OT1}{miih}{} +\installfont{miih7t}{miih8r,newlatin}{ot1}{OT1}{miih}{m}{n}{ + <->\string\MIIH@@scale} +\endinstallfonts +% \end{macrocode} +% +% +% And the end: +% \begin{macrocode} +\endrecordtransforms +\bye +%</miih-drv> +% \end{macrocode} +% +%\subsection{Fontmap Generation} +%\label{sec:fontmap} +% +% This is a standard procedure~\cite{fontinstallationguide} +% \begin{macrocode} +%<*miih-map> +\input finstmsc.sty +\resetstr{PSfontsuffix}{.pfb} +\adddriver{dvips}{miih.map} +\input miih-rec.tex +\donedrivers +\bye +%</miih-map> +% \end{macrocode} +% +% +% +%\subsection{Style File} +%\label{sec:style} +% +% +% The scaling code is from the |helvet| package: +% \begin{macrocode} +%<*style> +\RequirePackage{keyval} +\define@key{MIIH}{scaled}[1.00]{% + \def\MIIH@scale{#1}} +\def\ProcessOptionsWithKV#1{% + \let\@tempc\relax + \let\MIIH@tempa\@empty + \ifx\@classoptionslist\relax\else + \@for\CurrentOption:=\@classoptionslist\do{% + \@ifundefined{KV@#1@\CurrentOption}% + {}% + {% + \edef\MIIH@tempa{\MIIH@tempa,\CurrentOption,}% + \@expandtwoargs\@removeelement\CurrentOption + \@unusedoptionlist\@unusedoptionlist + }% + }% + \fi + \edef\MIIH@tempa{% + \noexpand\setkeys{#1}{% + \MIIH@tempa\@ptionlist{\@currname.\@currext}% + }% + }% + \MIIH@tempa + \let\CurrentOption\@empty +} +\ProcessOptionsWithKV{MIIH} +\AtEndOfPackage{% + \let\@unprocessedoptions\relax +} +% \end{macrocode} +% +% +% Some new commands: +% \begin{macrocode} +\DeclareRobustCommand\imprintmtshadowfamily{\fontfamily{miih}\selectfont} +\DeclareTextFontCommand{\textimprintmtshadow}{\imprintmtshadowfamily} +%</style> +% \end{macrocode} +% +% +%\Finale +%\clearpage +% +%\PrintChanges +%\clearpage +%\PrintIndex +% +\endinput diff --git a/texmf-dist/doc/latex/imprintmtshadow/imprintmtshadow.ins b/texmf-dist/doc/latex/imprintmtshadow/imprintmtshadow.ins new file mode 100644 index 00000000..56adc7fd --- /dev/null +++ b/texmf-dist/doc/latex/imprintmtshadow/imprintmtshadow.ins @@ -0,0 +1,52 @@ +% +% Doctrip file for imprintmtshadow +% This file is in public domain +% $Id: imprintmtshadow.ins,v 1.1 2012-08-03 02:37:45 boris Exp $ +% +\def\batchfile{imprintmtshadow.ins} +\input docstrip +\keepsilent +\showprogress +\preamble +Copyright (c) 2012, Boris Veytsman + +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + * Neither the name of the original author nor the names of the + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND +CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, +INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS +BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED +TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +POSSIBILITY OF SUCH DAMAGE. + +\endpreamble + +\askforoverwritefalse + +\generate{% + \file{imprintmtshadow.sty}{\from{imprintmtshadow.dtx}{style}}% + \file{miih-drv.tex}{\from{imprintmtshadow.dtx}{miih-drv}}% + \file{miih-map.tex}{\from{imprintmtshadow.dtx}{miih-map}}} + + diff --git a/texmf-dist/doc/latex/imprintmtshadow/imprintmtshadow.pdf b/texmf-dist/doc/latex/imprintmtshadow/imprintmtshadow.pdf Binary files differnew file mode 100644 index 00000000..7afd90d8 --- /dev/null +++ b/texmf-dist/doc/latex/imprintmtshadow/imprintmtshadow.pdf diff --git a/texmf-dist/doc/latex/imprintmtshadow/miihsample.pdf b/texmf-dist/doc/latex/imprintmtshadow/miihsample.pdf Binary files differnew file mode 100644 index 00000000..6188b7b9 --- /dev/null +++ b/texmf-dist/doc/latex/imprintmtshadow/miihsample.pdf diff --git a/texmf-dist/doc/latex/imprintmtshadow/miihsample.tex b/texmf-dist/doc/latex/imprintmtshadow/miihsample.tex new file mode 100644 index 00000000..a0f4d1a2 --- /dev/null +++ b/texmf-dist/doc/latex/imprintmtshadow/miihsample.tex @@ -0,0 +1,26 @@ +\documentclass{article} +\usepackage{ifpdf} +\ifpdf + \pdfmapfile{+miih.map} + \usepackage{microtype} +\fi +\usepackage{imprintmtshadow,textcomp,color} +\usepackage{kantlipsum} +\begin{document} + +\imprintmtshadowfamily + +Imprint MT Shadow: 0123456789. \AE, \ae, \ss, fi, ffi. \kant[1] + + + +Package ``textcomp'' allows us to typeset currencies: \texteuro25.00, +\pounds4.5, \textdollar6, \textyen4. + +\fcolorbox{black}{black}{\color{white} + \begin{minipage}{.8\linewidth} + The font is good in reverse + colors. \kant[2] + \end{minipage}} + +\end{document} |