diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r-- | Master/texmf-dist/tex/latex/ocr-latex/ocr.sty | 42 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/ocr-latex/ot1oca.fd | 20 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/ocr-latex/ot1ocra.fd | 20 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/ocr-latex/ot1ocrb.fd | 25 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/ocr-latex/ot1ocrbn.fd | 18 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/ocr-latex/ot1ocrbns.fd | 18 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/ocr-latex/ot1ocrbo.fd | 20 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/ocr-latex/ot1ocrbs.fd | 18 |
8 files changed, 181 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/ocr-latex/ocr.sty b/Master/texmf-dist/tex/latex/ocr-latex/ocr.sty new file mode 100644 index 00000000000..02d125c3159 --- /dev/null +++ b/Master/texmf-dist/tex/latex/ocr-latex/ocr.sty @@ -0,0 +1,42 @@ +\ProvidesPackage{ocr}[2006/09/18 LaTeX support for the various OCR +fonts. Created by Palle Jorgensen, hamselv@pallej.dk] + +\RequirePackage{ifthen} + +\def\ocrdefault{ocrb} +\DeclareOption{ocr-a}{\def\ocrdefault{ocra}} +\DeclareOption{oca}{\def\ocrdefault{oca}% + \PackageWarning{ocr}{The OCA fonts are buggy. Use the 'ocr-a' option + to get proper OCR-A fonts.^^J}} +\DeclareOption{ocr-b}{\def\ocrdefault{ocrb}} +\DeclareOption{ocr-b-outline}{\def\ocrdefault{ocrbo}} +\DeclareOption{ocr-b-negative}{\def\ocrdefault{ocrbn}} +\DeclareOption{ocr-b-sharp}{\def\ocrdefault{ocrbs}% + \PackageWarning{ocr}{The sharp OCR-B fonts are buggy. Use with care.^^J}} +\DeclareOption{ocr-b-sharp-negative}{\def\ocrdefault{ocrbns}% + \PackageWarning{ocr}{The sharp OCR-B fonts are buggy. Use with care.^^J}} +\ProcessOptions* + +\def\ocrfamily{\fontencoding{OT1}\fontfamily{\ocrdefault}\selectfont} +\DeclareTextFontCommand{\ocr}{\ocrfamily} + +\def\ocrnegfamily{% + \ifthenelse{\equal{\ocrdefault}{ocrb}}{}{% + \PackageWarning{ocr}{% + Using the 'negative OCR-B' fonts without using the\MessageBreak + OCR-B fonts may give a funny result.^^J}} + \fontencoding{OT1}\fontfamily{ocrbn}\selectfont} + +\def\ocrs@negfamily{% + \ifthenelse{\equal{\ocrdefault}{ocrbs}}{}{ + \PackageWarning{ocr}{% + Using the 'negative OCR-B Sharp' fonts without using the\MessageBreak + OCR-B Sharp fonts may give a funny result.^^J}} + \fontencoding{OT1}\fontfamily{ocrbns}\selectfont} + +\ifthenelse{\equal{\ocrdefault}{ocrbs}}{% + \def\ocrnegfamily{\ocrs@negfamily}}{} + +\DeclareTextFontCommand{\ocrneg}{\ocrnegfamily} + +\endinput
\ No newline at end of file diff --git a/Master/texmf-dist/tex/latex/ocr-latex/ot1oca.fd b/Master/texmf-dist/tex/latex/ocr-latex/ot1oca.fd new file mode 100644 index 00000000000..39ee21f4773 --- /dev/null +++ b/Master/texmf-dist/tex/latex/ocr-latex/ot1oca.fd @@ -0,0 +1,20 @@ +\ProvidesFile{ot1oca.fd}[2006/09/18 Font definitions for the OCA fonts. Look in ocr.sty for further information.] + +\DeclareFontFamily{OT1}{oca}{} +\DeclareFontShape{OT1}{oca}{m}{n}{% + <5><6><7><8><9><10><10.95>ocra10% + <12><14.4>ocra12% + <17.28><20.74><24.88>ocra17}{} + +\DeclareFontShape{OT1}{oca}{m} {it}{<->ssub * oca/m/n}{} +\DeclareFontShape{OT1}{oca}{m} {sl}{<->ssub * oca/m/n}{} +\DeclareFontShape{OT1}{oca}{m} {sc}{<->ssub * oca/m/n}{} +\DeclareFontShape{OT1}{oca}{b} {n} {<->ssub * oca/m/n}{} +\DeclareFontShape{OT1}{oca}{b} {it}{<->ssub * oca/m/it}{} +\DeclareFontShape{OT1}{oca}{b} {sl}{<->ssub * oca/m/sl}{} +\DeclareFontShape{OT1}{oca}{b} {sc}{<->ssub * oca/m/sc}{} +\DeclareFontShape{OT1}{oca}{bx}{n} {<->ssub * oca/b/n}{} +\DeclareFontShape{OT1}{oca}{bx}{it}{<->ssub * oca/b/it}{} +\DeclareFontShape{OT1}{oca}{bx}{sl}{<->ssub * oca/b/sl}{} +\DeclareFontShape{OT1}{oca}{bx}{sc}{<->ssub * oca/b/sc}{} +\endinput
\ No newline at end of file diff --git a/Master/texmf-dist/tex/latex/ocr-latex/ot1ocra.fd b/Master/texmf-dist/tex/latex/ocr-latex/ot1ocra.fd new file mode 100644 index 00000000000..c726d81671f --- /dev/null +++ b/Master/texmf-dist/tex/latex/ocr-latex/ot1ocra.fd @@ -0,0 +1,20 @@ +\ProvidesFile{ot1ocra.fd}[2006/09/18 Font definitions for the OCR-A fonts. Look in ocr.sty for further information.] + +\DeclareFontFamily{OT1}{ocra}{} +\DeclareFontShape{OT1}{ocra}{m}{n}{% + <5><6><7><8><9><10><10.95>ocr10% + <12><14.4>ocr12% + <16><17.28><20.74><24.88>ocr16}{} + +\DeclareFontShape{OT1}{ocra}{m} {it}{<->ssub * ocra/m/n}{} +\DeclareFontShape{OT1}{ocra}{m} {sl}{<->ssub * ocra/m/n}{} +\DeclareFontShape{OT1}{ocra}{m} {sc}{<->ssub * ocra/m/n}{} +\DeclareFontShape{OT1}{ocra}{b} {n} {<->ssub * ocra/m/n}{} +\DeclareFontShape{OT1}{ocra}{b} {it}{<->ssub * ocra/m/it}{} +\DeclareFontShape{OT1}{ocra}{b} {sl}{<->ssub * ocra/m/sl}{} +\DeclareFontShape{OT1}{ocra}{b} {sc}{<->ssub * ocra/m/sc}{} +\DeclareFontShape{OT1}{ocra}{bx}{n} {<->ssub * ocra/b/n}{} +\DeclareFontShape{OT1}{ocra}{bx}{it}{<->ssub * ocra/b/it}{} +\DeclareFontShape{OT1}{ocra}{bx}{sl}{<->ssub * ocra/b/sl}{} +\DeclareFontShape{OT1}{ocra}{bx}{sc}{<->ssub * ocra/b/sc}{} +\endinput
\ No newline at end of file diff --git a/Master/texmf-dist/tex/latex/ocr-latex/ot1ocrb.fd b/Master/texmf-dist/tex/latex/ocr-latex/ot1ocrb.fd new file mode 100644 index 00000000000..45a522974c3 --- /dev/null +++ b/Master/texmf-dist/tex/latex/ocr-latex/ot1ocrb.fd @@ -0,0 +1,25 @@ +\ProvidesFile{ot1ocrb.fd}[2006/09/18 Font definitions for the OCR-B fonts. Look in ocr.sty for further information.] + +\DeclareFontFamily{OT1}{ocrb}{} +\DeclareFontShape{OT1}{ocrb}{m}{n}{% + <5>ocrb5% + <6>ocrb6% + <7>ocrb7% + <8>ocrb8% + <9>ocrb9% + <10><10.95><12><14.4><17.28><20.74><24.88>ocrb10}{} + +\DeclareFontShape{OT1}{ocrb}{m}{sl}{% + <5><6><7><8><9><10><10.95><12><14.4><17.28><20.74><24.88>ocrb10l}{} + +\DeclareFontShape{OT1}{ocrb}{m} {it}{<->ssub * ocrb/m/sl}{} +\DeclareFontShape{OT1}{ocrb}{m} {sc}{<->ssub * ocrb/m/n}{} +\DeclareFontShape{OT1}{ocrb}{b} {n} {<->ssub * ocrb/m/n}{} +\DeclareFontShape{OT1}{ocrb}{b} {sc}{<->ssub * ocrb/m/n}{} +\DeclareFontShape{OT1}{ocrb}{b} {sl}{<->ssub * ocrb/m/sl}{} +\DeclareFontShape{OT1}{ocrb}{b} {it}{<->ssub * ocrb/m/it}{} +\DeclareFontShape{OT1}{ocrb}{bx}{n} {<->ssub * ocrb/b/n}{} +\DeclareFontShape{OT1}{ocrb}{bx}{sc}{<->ssub * ocrb/b/sc}{} +\DeclareFontShape{OT1}{ocrb}{bx}{sl}{<->ssub * ocrb/b/sl}{} +\DeclareFontShape{OT1}{ocrb}{bx}{it}{<->ssub * ocrb/b/it}{} +\endinput diff --git a/Master/texmf-dist/tex/latex/ocr-latex/ot1ocrbn.fd b/Master/texmf-dist/tex/latex/ocr-latex/ot1ocrbn.fd new file mode 100644 index 00000000000..fa042c90267 --- /dev/null +++ b/Master/texmf-dist/tex/latex/ocr-latex/ot1ocrbn.fd @@ -0,0 +1,18 @@ +\ProvidesFile{ot1ocrb.fd}[2006/09/18 Font definitions for the OCR-B negative font. Look in ocr.sty for further information.] + +\DeclareFontFamily{OT1}{ocrbn}{} +\DeclareFontShape{OT1}{ocrbn}{m}{n}{% + <5><6><7><8><9><10><10.95><12><14.4><17.28><20.74><24.88>ocrb10x}{} + +\DeclareFontShape{OT1}{ocrbn}{m} {it}{<->ssub * ocrbn/m/n}{} +\DeclareFontShape{OT1}{ocrbn}{m} {sl}{<->ssub * ocrbn/m/n}{} +\DeclareFontShape{OT1}{ocrbn}{m} {sc}{<->ssub * ocrbn/m/n}{} +\DeclareFontShape{OT1}{ocrbn}{b} {n} {<->ssub * ocrbn/m/n}{} +\DeclareFontShape{OT1}{ocrbn}{b} {sc}{<->ssub * ocrbn/m/n}{} +\DeclareFontShape{OT1}{ocrbn}{b} {sl}{<->ssub * ocrbn/m/sl}{} +\DeclareFontShape{OT1}{ocrbn}{b} {it}{<->ssub * ocrbn/m/it}{} +\DeclareFontShape{OT1}{ocrbn}{bx}{n} {<->ssub * ocrbn/b/n}{} +\DeclareFontShape{OT1}{ocrbn}{bx}{sc}{<->ssub * ocrbn/b/sc}{} +\DeclareFontShape{OT1}{ocrbn}{bx}{sl}{<->ssub * ocrbn/b/sl}{} +\DeclareFontShape{OT1}{ocrbn}{bx}{it}{<->ssub * ocrbn/b/it}{} +\endinput
\ No newline at end of file diff --git a/Master/texmf-dist/tex/latex/ocr-latex/ot1ocrbns.fd b/Master/texmf-dist/tex/latex/ocr-latex/ot1ocrbns.fd new file mode 100644 index 00000000000..58c6a8108cb --- /dev/null +++ b/Master/texmf-dist/tex/latex/ocr-latex/ot1ocrbns.fd @@ -0,0 +1,18 @@ +\ProvidesFile{ot1ocrb.fd}[2006/09/18 Font definitions for the OCR-B negative font with sharp corners. Look in ocr.sty for further information.] + +\DeclareFontFamily{OT1}{ocrbns}{} +\DeclareFontShape{OT1}{ocrbns}{m}{n}{% + <5><6><7><8><9><10><10.95><12><14.4><17.28><20.74><24.88>ocrb10e}{} + +\DeclareFontShape{OT1}{ocrbns}{m} {it}{<->ssub * ocrbns/m/n}{} +\DeclareFontShape{OT1}{ocrbns}{m} {sl}{<->ssub * ocrbns/m/n}{} +\DeclareFontShape{OT1}{ocrbns}{m} {sc}{<->ssub * ocrbns/m/n}{} +\DeclareFontShape{OT1}{ocrbns}{b} {n} {<->ssub * ocrbns/m/n}{} +\DeclareFontShape{OT1}{ocrbns}{b} {sc}{<->ssub * ocrbns/m/n}{} +\DeclareFontShape{OT1}{ocrbns}{b} {sl}{<->ssub * ocrbns/m/sl}{} +\DeclareFontShape{OT1}{ocrbns}{b} {it}{<->ssub * ocrbns/m/it}{} +\DeclareFontShape{OT1}{ocrbns}{bx}{n} {<->ssub * ocrbns/b/n}{} +\DeclareFontShape{OT1}{ocrbns}{bx}{sc}{<->ssub * ocrbns/b/sc}{} +\DeclareFontShape{OT1}{ocrbns}{bx}{sl}{<->ssub * ocrbns/b/sl}{} +\DeclareFontShape{OT1}{ocrbns}{bx}{it}{<->ssub * ocrbns/b/it}{} +\endinput
\ No newline at end of file diff --git a/Master/texmf-dist/tex/latex/ocr-latex/ot1ocrbo.fd b/Master/texmf-dist/tex/latex/ocr-latex/ot1ocrbo.fd new file mode 100644 index 00000000000..ec7e2d30f67 --- /dev/null +++ b/Master/texmf-dist/tex/latex/ocr-latex/ot1ocrbo.fd @@ -0,0 +1,20 @@ +\ProvidesFile{ot1ocro.fd}[2006/09/18 Font definitions for the OCR-B outline fonts. Look in ocr.sty for further information.] + +\DeclareFontFamily{OT1}{ocrbo}{} +\DeclareFontShape{OT1}{ocrbo}{m}{n}{% + <5><6><7><8><9><10><10.95><12><14.4><17.28><20.74><24.88>ocrb10f}{} + +\DeclareFontShape{OT1}{ocrbo}{m}{sl}{% + <5><6><7><8><9><10><10.95><12><14.4><17.28><20.74><24.88>ocrb10g}{} + +\DeclareFontShape{OT1}{ocrbo}{m} {it}{<->ssub * ocrbo/m/sl}{} +\DeclareFontShape{OT1}{ocrbo}{m} {sc}{<->ssub * ocrbo/m/n}{} +\DeclareFontShape{OT1}{ocrbo}{b} {n} {<->ssub * ocrbo/m/n}{} +\DeclareFontShape{OT1}{ocrbo}{b} {sc}{<->ssub * ocrbo/m/n}{} +\DeclareFontShape{OT1}{ocrbo}{b} {sl}{<->ssub * ocrbo/m/sl}{} +\DeclareFontShape{OT1}{ocrbo}{b} {it}{<->ssub * ocrbo/m/it}{} +\DeclareFontShape{OT1}{ocrbo}{bx}{n} {<->ssub * ocrbo/b/n}{} +\DeclareFontShape{OT1}{ocrbo}{bx}{sc}{<->ssub * ocrbo/b/sc}{} +\DeclareFontShape{OT1}{ocrbo}{bx}{sl}{<->ssub * ocrbo/b/sl}{} +\DeclareFontShape{OT1}{ocrbo}{bx}{it}{<->ssub * ocrbo/b/it}{} +\endinput
\ No newline at end of file diff --git a/Master/texmf-dist/tex/latex/ocr-latex/ot1ocrbs.fd b/Master/texmf-dist/tex/latex/ocr-latex/ot1ocrbs.fd new file mode 100644 index 00000000000..1d1fcbe583e --- /dev/null +++ b/Master/texmf-dist/tex/latex/ocr-latex/ot1ocrbs.fd @@ -0,0 +1,18 @@ +\ProvidesFile{ot1ocrbs.fd}[2006/09/18 Font definitions for the OCR-B font with sharps corners. Look in ocr.sty for further information.] + +\DeclareFontFamily{OT1}{ocrbs}{} +\DeclareFontShape{OT1}{ocrbs}{m}{n}{% + <5><6><7><8><9><10><10.95><12><14.4><17.28><20.74><24.88>ocrb10s}{} + +\DeclareFontShape{OT1}{ocrbs}{m} {it}{<->ssub * ocrbs/m/n}{} +\DeclareFontShape{OT1}{ocrbs}{m} {sl}{<->ssub * ocrbs/m/n}{} +\DeclareFontShape{OT1}{ocrbs}{m} {sc}{<->ssub * ocrbs/m/n}{} +\DeclareFontShape{OT1}{ocrbs}{b} {n} {<->ssub * ocrbs/m/n}{} +\DeclareFontShape{OT1}{ocrbs}{b} {sc}{<->ssub * ocrbs/m/n}{} +\DeclareFontShape{OT1}{ocrbs}{b} {sl}{<->ssub * ocrbs/m/sl}{} +\DeclareFontShape{OT1}{ocrbs}{b} {it}{<->ssub * ocrbs/m/it}{} +\DeclareFontShape{OT1}{ocrbs}{bx}{n} {<->ssub * ocrbs/b/n}{} +\DeclareFontShape{OT1}{ocrbs}{bx}{sc}{<->ssub * ocrbs/b/sc}{} +\DeclareFontShape{OT1}{ocrbs}{bx}{sl}{<->ssub * ocrbs/b/sl}{} +\DeclareFontShape{OT1}{ocrbs}{bx}{it}{<->ssub * ocrbs/b/it}{} +\endinput
\ No newline at end of file |