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}Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
\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}Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis