{shorthands} is about the language-specific special active characters (e.g., for quotation marks and {hyphenation} characters) of the {babel} package.
3
votes
0answers
29 views
Babel shorthands has a problem with \bm package
Using the babel command \useshorthands{"} prevents \bm package to work normally.
\documentclass{report}
\usepackage[T1]{fontenc}
\usepackage[english]{babel}
\useshorthands{"}
\usepackage{bm}
...
2
votes
1answer
61 views
soul package does not work with user-defined language shorthands
Using \caps from the soul package with user-defined language shorthands generates an error. However, it works fine with language shorthands defined by babel itself, e.g. by using ...
4
votes
1answer
118 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
...
3
votes
1answer
46 views
babel: adding language shorthands to work inside glossaries
I added ngerman shorthands to my english babel as described here. But they do not work for glossaries, and probably in other macors as discussed here. I load all the acronyms as a separate file in the ...
2
votes
1answer
86 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.
9
votes
2answers
89 views
What is the difference between \declare@shorthand and \defineshorthand in babel?
What is the difference between \declare@shorthand and \defineshorthand in babel (v.3.9)? Which of the two macros is preferable in a language definition file?
babel.pdf manual (v.3.9) provides an ...
4
votes
1answer
108 views
Is there any more convenient way to insert Math-mode Accents?
Is there any more convenient (concise) way to insert Math-mode Accents?
For example is it possible to use a syntax like following:
a\^ %instead of \hat{a}
a\- %instead of \bar{a}
a\~ %instead of ...
3
votes
1answer
128 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 ...
2
votes
1answer
204 views
using **xyz** instead of \foo{xyz}
How can I use **xyz** or another similar one instead of \foo{xyz} or \foo*{xyz}?
note: question is updated to reflect my concern, question is general and is not depended on a special package. You ...
8
votes
3answers
488 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}
...
11
votes
2answers
244 views
Using breakable hyphen "= in \newcommand
I want to use a breakable hyphen "= in a command:
\documentclass[a4paper]{article}
\usepackage[ngerman]{babel}
\newcommand{\TT}{Test"=Text }
\begin{document}
This is a test whether the hyphen in \TT ...
7
votes
1answer
306 views
Automatic hyphenation of compound words
When I was learning to drive a typewriter (shortly after the death of my pet sabre-tooth), I picked up the habit of using a double hyphen when splitting compound words, thus:
The system has a ...
15
votes
1answer
337 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 ...
10
votes
1answer
361 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 ...
7
votes
3answers
319 views
Disable babel's shorthands
I want to disable babel's shorthands in my own sty file.
But since I can use \shorthands{off} only inside the document environment, I struggle with this.
Is there a way to disable babel's shorthands ...
15
votes
2answers
533 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 ...
8
votes
3answers
738 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 ...