Ver código fonte

* Changed \newcommand to \providecommand for \nohyphens (in case another

package defines the command without using the hyphenat package).


git-svn-id: https://tufte-latex.googlecode.com/svn/trunk@174 516e2f36-ce3a-0410-bea4-1d4a03f5df72
master
Kevin M. Godby 14 anos atrás
pai
commit
5693d34094
1 arquivos alterados com 2 adições e 2 exclusões
  1. +2
    -2
      tufte-common.def

+ 2
- 2
tufte-common.def Ver arquivo

@@ -1758,8 +1758,8 @@
\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
\providecommand{\nohyphens}[1]{{\language\langwohyphens #1}}% used for short bits of text
\providecommand{\nohyphenation}{\language\langwohyphens}% can be used inside environments for longer text
}%
}



Carregando…
Cancelar
Salvar