I am writing my Bachelorthesis and I have to write T8-1 till T8-4 many times. I want that it is no hyphenation in it.
Code: Select all
\hyphentation{T8-1}
\hyphentation{T8\-1}
\hyphentation{T8"~1}
How do I change that?
Code: Select all
\hyphentation{T8-1}
\hyphentation{T8\-1}
\hyphentation{T8"~1}
NEW: TikZ book now 40% off at Amazon.com for a short time.
\hyphenation
has only one t and doesn't take numbers.Code: Select all
\documentclass{article}
\usepackage[ngerman,english]{babel}
\usepackage{parskip}
% Enables the use of ngermans language shorthands
% in a document with english as the main language.
\useshorthands{"}
\addto\extrasenglish{\languageshorthands{ngerman}}
\begin{document}
\hsize=5mm
\mbox{T8-1}\par
T8"~1\par
T8-1
\end{document}
NEW: TikZ book now 40% off at Amazon.com for a short time.