Browse Source

* Added code to make the classes compatible with the hyphenat package.

git-svn-id: https://tufte-latex.googlecode.com/svn/trunk@144 516e2f36-ce3a-0410-bea4-1d4a03f5df72
master
Kevin M. Godby 16 years ago
parent
commit
7fa97d0a83
1 changed files with 7 additions and 3 deletions
  1. +7
    -3
      tufte-common.def

+ 7
- 3
tufte-common.def View File

@@ -1670,9 +1670,13 @@
% A handy command to disable hyphenation for short bits of text.
% Borrowed from Peter Wilson's `hyphenat' package.

\newlanguage\langwohyphens% define a language without hyphenation rules
\newcommand{\nohyphens}[1]{{\language\langwohyphens #1}}% used for short bits of text
\newcommand{\nohyphenation}{\language\langwohyphens}% can be used inside environments for longer text
\AtBeginDocument{%
\@ifpackageloaded{hyphenat}{}{%
\newlanguage\langwohyphens% define a language without hyphenation rules
\newcommand{\nohyphens}[1]{{\language\langwohyphens #1}}% used for short bits of text
\newcommand{\nohyphenation}{\language\langwohyphens}% can be used inside environments for longer text
}%
}

%%
% Redefine \bibsection to not mark the running heads.


Loading…
Cancel
Save