Parcourir la 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 il y a 16 ans
Parent
révision
7fa97d0a83
1 fichiers modifiés avec 7 ajouts et 3 suppressions
  1. +7
    -3
      tufte-common.def

+ 7
- 3
tufte-common.def Voir le fichier

@@ -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.


Chargement…
Annuler
Enregistrer