Bladeren bron

* 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 jaren geleden
bovenliggende
commit
7fa97d0a83
1 gewijzigde bestanden met toevoegingen van 7 en 3 verwijderingen
  1. +7
    -3
      tufte-common.def

+ 7
- 3
tufte-common.def Bestand weergeven

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


Laden…
Annuleren
Opslaan