Text Formatting ⇒ Hyphenation of hyphenated acronyms
Hyphenation of hyphenated acronyms
\hyphenation{MPEG-1,ITU-T}
but I think it won't solve anything, because the '-' is actually telling Latex where they can be hyphenated. Besides, I get an error because the character '1' after the hyphen is not a letter.
Another option is to use \mbox{MPEG-1} every time I use any of them, but I really would appreciate a better solution.
So, does anyone know any other way to solve this problem?
Thanks in advance.
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
Hyphenation of hyphenated acronyms
Code: Select all
\usepackage{xspace}
\newcommand{\mpegone}{\mbox{MPEG-1}\xspace}
Hyphenation of hyphenated acronyms
Code: Select all
\usepackage{amsmath}
\usepackage{xspace}
\newcommand{\mpegone}{MPEG\nobreakdash-1\xspace}