1 | %% |
---|
2 | %% This is file `hyphenat.sty', |
---|
3 | %% generated with the docstrip utility. |
---|
4 | %% |
---|
5 | %% The original source files were: |
---|
6 | %% |
---|
7 | %% hyphenat.dtx (with options: `usc') |
---|
8 | %% |
---|
9 | %% ----------------------------------------------------------------- |
---|
10 | %% Author: Peter Wilson, Herries Press |
---|
11 | %% Maintainer: Will Robertson (will dot robertson at latex-project dot org) |
---|
12 | %% Copyright 2001, 2002, 2003, 2004 Peter R. Wilson |
---|
13 | %% |
---|
14 | %% This work may be distributed and/or modified under the |
---|
15 | %% conditions of the LaTeX Project Public License, either |
---|
16 | %% version 1.3c of this license or (at your option) any |
---|
17 | %% later version: <http://www.latex-project.org/lppl.txt> |
---|
18 | %% |
---|
19 | %% This work has the LPPL maintenance status "maintained". |
---|
20 | %% The Current Maintainer of this work is Will Robertson. |
---|
21 | %% |
---|
22 | %% This work consists of the files listed in the README file. |
---|
23 | %% ----------------------------------------------------------------- |
---|
24 | %% |
---|
25 | |
---|
26 | \NeedsTeXFormat{LaTeX2e} |
---|
27 | \ProvidesPackage{hyphenat}[2009/09/02 v2.3c hyphenation utilities] |
---|
28 | \DeclareOption{none}% |
---|
29 | {\hyphenpenalty=10000\exhyphenpenalty=10000\relax} |
---|
30 | \DeclareOption{htt}{% |
---|
31 | \PackageWarningNoLine{hyphenat}{% |
---|
32 | *******************************\MessageBreak |
---|
33 | * You have used the htt option.\MessageBreak |
---|
34 | * You are likely to get many Font Warning messages.\MessageBreak |
---|
35 | * These can usually be ignored.\MessageBreak |
---|
36 | *******************************} |
---|
37 | \AtBeginDocument{\touchttfonts\touchextrattfonts\normalfont}} |
---|
38 | \ProcessOptions |
---|
39 | \newlanguage\langwohyphens |
---|
40 | \newcommand{\prw@zbreak}{\nobreak\hskip\z@skip} |
---|
41 | \newcommand{\BreakableUnderscore}{\leavevmode% |
---|
42 | \prw@zbreak\textunderscore\discretionary{-}{}{}\prw@zbreak} |
---|
43 | \DeclareRobustCommand{\_}{% |
---|
44 | \ifmmode\nfss@text{\textunderscore}\else\BreakableUnderscore\fi} |
---|
45 | \newcommand{\BreakableBackslash}{\leavevmode% |
---|
46 | \prw@zbreak\textbackslash\discretionary{-}{}{}\prw@zbreak} |
---|
47 | \newcommand{\BreakableSlash}{\leavevmode% |
---|
48 | \prw@zbreak/\discretionary{-}{}{}\prw@zbreak} |
---|
49 | \newcommand{\BreakablePeriod}{\leavevmode% |
---|
50 | \prw@zbreak.\discretionary{-}{}{}\prw@zbreak} |
---|
51 | \newcommand{\BreakableColon}{\leavevmode% |
---|
52 | \prw@zbreak:\discretionary{-}{}{}\prw@zbreak} |
---|
53 | \DeclareRobustCommand{\bshyp}{% |
---|
54 | \ifmmode\backslash\else\BreakableBackslash\fi} |
---|
55 | \DeclareRobustCommand{\fshyp}{% |
---|
56 | \ifmmode/\else\BreakableSlash\fi} |
---|
57 | \DeclareRobustCommand{\dothyp}{% |
---|
58 | \ifmmode.\else\BreakablePeriod\fi} |
---|
59 | \DeclareRobustCommand{\colonhyp}{% |
---|
60 | \ifmmode:\else\BreakableColon\fi} |
---|
61 | \newcommand{\BreakableHyphen}{\leavevmode% |
---|
62 | \prw@zbreak-\discretionary{}{}{}\prw@zbreak} |
---|
63 | \DeclareRobustCommand{\hyp}{% |
---|
64 | \ifmmode-\else\BreakableHyphen\fi} |
---|
65 | \DeclareTextFontCommand{\textnhtt}{\nhttfamily} |
---|
66 | \DeclareRobustCommand{\nhttfamily} |
---|
67 | {\not@math@alphabet\nhttfamily\mathtt |
---|
68 | \fontfamily\ttdefault\selectfont\language\langwohyphens} |
---|
69 | \newcommand{\nohyphens}[1]{{\language\langwohyphens #1}} |
---|
70 | \newcommand{\touchttfonts}{% |
---|
71 | \fontfamily{\ttdefault}\fontseries{m}\fontshape{n}\selectfont% |
---|
72 | \hyphenchar\font=\defaulthyphenchar |
---|
73 | \fontfamily{\ttdefault}\fontseries{m}\fontshape{it}\selectfont% |
---|
74 | \hyphenchar\font=\defaulthyphenchar |
---|
75 | \fontfamily{\ttdefault}\fontseries{m}\fontshape{sl}\selectfont% |
---|
76 | \hyphenchar\font=\defaulthyphenchar |
---|
77 | \fontfamily{\ttdefault}\fontseries{m}\fontshape{sc}\selectfont% |
---|
78 | \hyphenchar\font=\defaulthyphenchar |
---|
79 | \fontfamily{\ttdefault}\fontseries{b}\fontshape{n}\selectfont% |
---|
80 | \hyphenchar\font=\defaulthyphenchar |
---|
81 | \fontfamily{\ttdefault}\fontseries{b}\fontshape{it}\selectfont% |
---|
82 | \hyphenchar\font=\defaulthyphenchar |
---|
83 | \fontfamily{\ttdefault}\fontseries{b}\fontshape{sl}\selectfont% |
---|
84 | \hyphenchar\font=\defaulthyphenchar |
---|
85 | \fontfamily{\ttdefault}\fontseries{b}\fontshape{sc}\selectfont% |
---|
86 | \hyphenchar\font=\defaulthyphenchar |
---|
87 | \fontfamily{\ttdefault}\fontseries{bx}\fontshape{n}\selectfont% |
---|
88 | \hyphenchar\font=\defaulthyphenchar |
---|
89 | \fontfamily{\ttdefault}\fontseries{bx}\fontshape{it}\selectfont% |
---|
90 | \hyphenchar\font=\defaulthyphenchar |
---|
91 | \fontfamily{\ttdefault}\fontseries{bx}\fontshape{sl}\selectfont% |
---|
92 | \hyphenchar\font=\defaulthyphenchar |
---|
93 | \fontfamily{\ttdefault}\fontseries{bx}\fontshape{sc}\selectfont% |
---|
94 | \hyphenchar\font=\defaulthyphenchar |
---|
95 | \fontfamily{\ttdefault}\fontseries{sb}\fontshape{n}\selectfont% |
---|
96 | \hyphenchar\font=\defaulthyphenchar |
---|
97 | \fontfamily{\ttdefault}\fontseries{sb}\fontshape{it}\selectfont% |
---|
98 | \hyphenchar\font=\defaulthyphenchar |
---|
99 | \fontfamily{\ttdefault}\fontseries{sb}\fontshape{sl}\selectfont% |
---|
100 | \hyphenchar\font=\defaulthyphenchar |
---|
101 | \fontfamily{\ttdefault}\fontseries{sb}\fontshape{sc}\selectfont% |
---|
102 | \hyphenchar\font=\defaulthyphenchar |
---|
103 | \fontfamily{\ttdefault}\fontseries{c}\fontshape{n}\selectfont% |
---|
104 | \hyphenchar\font=\defaulthyphenchar |
---|
105 | \fontfamily{\ttdefault}\fontseries{c}\fontshape{it}\selectfont% |
---|
106 | \hyphenchar\font=\defaulthyphenchar |
---|
107 | \fontfamily{\ttdefault}\fontseries{c}\fontshape{sl}\selectfont% |
---|
108 | \hyphenchar\font=\defaulthyphenchar |
---|
109 | \fontfamily{\ttdefault}\fontseries{c}\fontshape{sc}\selectfont% |
---|
110 | \hyphenchar\font=\defaulthyphenchar |
---|
111 | \fontfamily{\ttdefault}\fontseries{l}\fontshape{n}\selectfont% |
---|
112 | \hyphenchar\font=\defaulthyphenchar |
---|
113 | \fontfamily{\ttdefault}\fontseries{l}\fontshape{it}\selectfont% |
---|
114 | \hyphenchar\font=\defaulthyphenchar |
---|
115 | \fontfamily{\ttdefault}\fontseries{l}\fontshape{sl}\selectfont% |
---|
116 | \hyphenchar\font=\defaulthyphenchar |
---|
117 | \fontfamily{\ttdefault}\fontseries{l}\fontshape{sc}\selectfont% |
---|
118 | \hyphenchar\font=\defaulthyphenchar |
---|
119 | \fontfamily{\ttdefault}\fontseries{m}\fontshape{ui}\selectfont% |
---|
120 | \hyphenchar\font=\defaulthyphenchar |
---|
121 | \fontfamily{\ttdefault}\fontseries{bx}\fontshape{ui}\selectfont% |
---|
122 | \hyphenchar\font=\defaulthyphenchar |
---|
123 | \fontfamily{\ttdefault}\fontseries{m}\fontshape{In}\selectfont% |
---|
124 | \hyphenchar\font=\defaulthyphenchar |
---|
125 | } |
---|
126 | \newcommand{\touchextrattfonts}{} |
---|
127 | \endinput |
---|
128 | %% |
---|
129 | %% End of file `hyphenat.sty'. |
---|
130 | |
---|