Tagged Questions
4
votes
0answers
104 views
Overfull \hbox caused by em-dash
There is one problem that currently seems insolvable to me. I am typesetting a book in Russian language and I noticed that, in some cases, an overfull box appears which cannot be solved via manual ...
8
votes
2answers
235 views
How to force LaTeX not to break the line after a hyphen “-”?
With ~ we can enforce that no line break occures between two words.
But this does not seem to work with special characters. I want LaTeX to enforce not to break the line after the - in (re-)creation.
...
7
votes
1answer
124 views
Why does Context line-break my quotation and leave the quotation sign on it's own row?
Using Context to set a book I have the following problem: Context linebreaks some quotations in a way that makes the quotation sign (in my case a guillemet [sic!]) appear on its own row. How can i ...
3
votes
0answers
103 views
Automatically prevent line-break at hyphen of specific words (e.g. “dual-self”)
Usually questions about hyphenation and line-breaks are concerned about how to allow hyphenation when a word already contains a hyphen. That's not what I'm after:
I would like to prevent the word ...
3
votes
1answer
58 views
How can I make an em-dash to allow for a linebreak on either side?
How can I make an em-dash allow a linebreak on either side?
Optionally, how do I preserve the hyphenation points of the word on both sides?
The following code allows for refrigerator---refrigerator ...
6
votes
0answers
77 views
Differing hyphenation in xelatex and lualatex [duplicate]
Possible Duplicate:
lualatex and line breaks after em-dashes
I am working on a manuscript that can be compiled with either with xelatex or lualatex.
The PDF output from xelatex looks ...
0
votes
0answers
123 views
Preventing line break between a word and comma (ConTeXt) [closed]
In the following example
\definefont[Shehkl][name:Scheherazade*arabic at 15pt] % or file:amiri-regular.ttf*... file:alq.ttf
\definestartstop[Arab][commands=\setups{Arabic}]
\def\Arab{\doArab}
...
6
votes
1answer
98 views
en-dash with half-sized space on either the left or the right
I am looking to produce directional variants of the en-dash. A "left en-dash" should have half of ordinary inter-word spacing on its right and allow line-breaks only on its left; a "right en-dash" ...
15
votes
1answer
413 views
How to break long URLs using common hyphenation but adding a line feed indicator?
I saw several questions like this one that request a solution for breaking apart URLs.
I wonder if it is possible to hyphenate the words in a URL as it happens in normal text (i.e., breaking apart ...
6
votes
3answers
443 views
lualatex and line breaks after em-dashes
I’ve just installed TeX Live 2012. As mentioned elsewhere on this site, the release history explains that “the parameter \XeTeXdashbreakstate is set to 1 by default, for both xetex and xelatex. This ...
5
votes
2answers
425 views
How to break long word containing symbols but with no hyphen?
Below is my minimum working example:
\documentclass[10pt,a4paper,draft]{article}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage{lipsum}
\begin{document}
...
10
votes
1answer
2k views
Hyperref + \url: long URL with dashes won't break
I've discovered a rather weird behaviour of PdfLaTeX. In this example
\documentclass{article}
\usepackage[breaklinks]{hyperref}
\begin{document}
...
4
votes
2answers
1k views
Linebreak and \enquote
Using the \enquote{} command from the csquotes package my quotes seem to be wrapped to the next line a lot of times like this:
This is an "example
" sentence.
Without the extra whitespace.
Now ...
5
votes
2answers
461 views
Linebreak between numbers connected by dash
In my text I am using lots of dates. Now I have the following problem: 1480–1541 (two figures and between them a dash) appears at the end of one line and extends over the line into the margin space ...
7
votes
2answers
383 views
How to punctuate multiline equations?
This might be off topic, yet I wouldn't know where else to ask. I want to keep up with the good habit of punctuating displayed equations. For example I know the comma (,) is compulsory in
Here, we ...
6
votes
1answer
605 views
Avoid line break between em-dash and the next word
I'm writing a text in spanish, and I have a phrase wrote between em-dashes (that work like parentheses). The problem is that if the "opening" em-dash is too near the end of the line, then it may ...
18
votes
3answers
604 views
How to avoid a linebreak before a comma?
I just had a problem with a linebreak after a word ending with a hyphen which was followed by a comma.
This example shows the problem:
(The example is constructed, but this just occurred to me in a ...
17
votes
5answers
3k views
Allow line break, but without inserting a dash
I have a sentence that contains a number of long dataset names. I would like to allow LaTeX to break these names at certain positions that I would like to specify somehow just like I can use \- to ...
11
votes
2answers
848 views
Disallowing line break before dash (en dash and em dash)
In Polish typography dash (pol. myślnik) should not be put after a line break.
Below you can find badly and correctly typed samples using en dash (pol. półpauza) and em dash (pol. pauza).
...
29
votes
4answers
2k views
How to prevent linebreaks after hyphen if word starts with hyphen?
(Remark: Maybe this is a typically German problem, I'm not sure in which other languages that might be relevant)
Sometimes there are words which start with a hyphen, as they are connected with a word ...
3
votes
3answers
471 views
Line break in lines with colons
I noticed that if I've got something like this:
one::two::three::four one::two::three::four one::two::three::four
something weird happen:
% the right page margin would be here ...
3
votes
2answers
361 views
Extra line after the paragraph ended by dash with overfull
Consider the following example (Plain TeX):
%%%%%
Tttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttt-
Test.
\end
%%%%%
The first ...
