{shorthands} is about the language-specific special active characters (e.g., for quotation marks and {hyphenation} characters) of the {babel} package.

learn more… | top users | synonyms

19
votes
2answers
1k views

babel: Adding ngerman' s language shorthands to english as the main document language

The (n)german language option of the babel package provides various shorthands related to hyphenation, e.g. "-: "an explicit hyphen sign, allowing hyphenation in the rest of the word" (manual, section ...
16
votes
1answer
615 views

babel shorthand "| doesn't work in macros

The package babel with the ngerman option (and most other languages as well, but not english) provides the shorthand "|, which prevents a ligature at the given position (see p. 81 of the babel ...
3
votes
1answer
178 views

Shortcuts using double quotes in combination with mathspec

Basically, I have encountered the same error as answered here and the workaround suggested by Andrey Vihrov reenables me to compile the document. The problem now is, that any shorthand defined by the ...
11
votes
1answer
575 views

“ with tipa and babel's ngerman / \shorthandoff{”} in a macro

TL;DR see below at "core problem" Problem I'm trying to solve a conflict between the packages tipa (Fonts and macros for IPA phonetics characters) and babel with the ngerman option. The problem ...
12
votes
2answers
165 views

Most concise way to make list items from each line break

How can I convert every line to a list item automatically? for example I want following become a list (without adding more characters): \begin{foo} Persian French Arabic Urdu \end{foo} Persian ...
8
votes
3answers
2k views

Problem with spanish babel package

I'm trying to use package amscd for a commutative diagram. Everything goes smoothly if I write: \documentclass{article} \usepackage[english]{babel} \usepackage{amscd} \begin{document} $\begin{CD} A ...
4
votes
1answer
289 views

Hyphenation of words connected with a double/triple dash

I can't hyphenate the words Cam•bri•an--Or•do•vi•cian because they are connected with an endash. The same probably happens when using the emdash. I tried this ...
9
votes
3answers
665 views

babel's hyphenation-friendly hyphen "= in multiple languages

Why doesn't the hyphenation work with multiple languages? See code: \documentclass[a4paper]{report} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{lmodern} ...
3
votes
1answer
139 views

Alternative for \DeclareMathOperator

I'm getting a little tired of defining all my mathematical operators with \DeclareMathOperator. Also it is rarely useful to have them as a macro. On the contrary it sometimes leads to macro name ...
2
votes
1answer
140 views

How do I discover the shorthands defined by babel in my language?

The reason I want to do it is that I want to set brazilian language in babel and I want to use xy-pic package, but I have to use it inside an environment in which the shorthands are off.