Skip to main content

Questions tagged [hyphenation]

{hyphenation} is about controlling hyphenation in (La)TeX documents.

Filter by
Sorted by
Tagged with
2 votes
2 answers
181 views

Beginner's question: proper way to handle hyphenation of words of short length?

For the sample, below, without adjusting for hyphenation, the word "yielded" in the first line extends into the right margin. I thought the correct hyphenation would be "yield-ed" ...
1 vote
1 answer
85 views

How to replace `right floor' symbol with `hyphenation' symbol inside \Verb

I'm now encountering a problem when using \Verb command from the package fvextra, which may be used as a drop-in replacement for package fancyvrb. fvextra will load fancyvrb if it has not yet been ...
0 votes
1 answer
76 views

Allow hyphenation in custom latex bib style

I created a custom bib style which renders a reference as [14] R. Boer. Vektor- und Tensorrechnung fur Ingenieure. Springer-Verlag Berlin Heidelberg, 1st ed., 1982. doi:10.1007/978-3-...
5 votes
1 answer
239 views

Hyphenation at gender stars, gender gaps, etc

Background Some natural languages have recently seen the addition of gender neutrality emphasis. For example, in German, almost all nouns referring to occupations have a grammatically masculine and ...
2 votes
2 answers
120 views

Underfull \hbox with image

When I create a minipage to insert an operating mode in front of an image, I obtain a warning with an Underfull \hbox (badness 1748) in paragraph at lines 75--75 I can't understand what is causing ...
1 vote
1 answer
54 views

How to achieve wrapping align left+right and solve the spacing problem after emdash?

I’m currently working on a LaTeX document where I have defined a new command \entry that takes two arguments: \newcommand{\entry}[2]{\markboth{#1}{#1}\textbf{#1} — \hfill{#2}} where it is used in ...
0 votes
1 answer
443 views

How to use \discretionary inside soul's \hl?

\documentclass{article} \usepackage{soul} \usepackage{color} \begin{document} Some \hl{te\discretionary{-}{-}{-}xt}. \end{document} The above does not compile due to Missing { inserted, Improper ...
0 votes
0 answers
115 views

Avoid hyphenation in the whole latex document while reducing Underfull and Overfull \hbox warnings

I am writing my thesis using Latex and I don't want it to break words at the end of the lines (in the whole document). For this I added \usepackage[none]{hyphenat} in my preamble. It worked, but in ...
0 votes
1 answer
70 views

Hyphen too wide in texttt when combined with microtype

I'm currently writing a paper with a lot of code references. I want to typeset class and method names using \texttt{}. I am explicitly indicating word splitting points using e.g. \texttt{Very\-Long\-...
3 votes
1 answer
70 views

Hyphenation of words preceded by a symbol

I need to emphasize certain words or groups of words using bold and putting a symbol before them. Here is a minimum working example, where I defined the command \term as follows (here I use a bullet): ...
0 votes
2 answers
40 views

Hyphenation at the end of the line

I have an issue with hyphenation. Here is the code \documentclass[11pt,a4paper]{amsbook} \usepackage[utf8]{inputenc} \usepackage{txfonts} \usepackage{hyperref} \usepackage{mathrsfs} \usepackage{...
2 votes
1 answer
110 views

Why are dehyph, elhyphen, ruhyphen, and ukrhyph required packages?

Since my document is not written in German, I thought I would uninstall the dehyph package. But apparently this package is required when running pdfLaTeX. Why? What does it contain that it is so ...
0 votes
1 answer
235 views

Install custom hyphenation

I am trying to install custom hyphenation file. Background info Friend of mine already made a hyphenation file for my language and sent it to tug. Will it pass codereview sooner and when it will be ...
1 vote
1 answer
41 views

How to make hyphen not be left aligned in ConTeXt in Vietnamese?

I have a weird issue regarding hyphen. When I write using hyphens in Vietnamese, the hyphen sometimes is left-aligned. Changing fonts replaces the hyphens that are error but not remove them completely....
2 votes
2 answers
108 views

Why does the original LaTeX need hyphenation patterns for German, Coptic, Greek, Ukrainian, and Russian in order to process a file?

I have been experimenting with the old pure LaTeX engine. I have noticed that for a very simple file with absolutely no language requirements whatsoever the old pure LaTeX engine will display an ...
1 vote
1 answer
244 views

How to cope with hbox overfull caused by hyphenation problems?

I'm writing my thesis using a custom font instead of the default CMU Sans-serif. I happen to find that, with this font, my lines tend to be more likely to suffer hyphenation problems (or maybe it's ...
4 votes
2 answers
790 views

Globally enable hyphenation for the first word in a paragraph

how can I globally enable hyphenation for the first word in a paragraph? A manual workaround is to add \hspace{0pt} in front of the corresponding word, so that it is not counted as first word, but it ...
0 votes
0 answers
34 views

Correct capitalisation of acronym with both a class word and a hyphen

I am using package acro (version 2) to keep track of acronyms on a review paper I am writing. I am using package mfirstuc-english to avoid capitalising class words (such as "and", "of&...
1 vote
2 answers
34 views

Drop Cap is causing text to be pushed out on certain lines of text

I would like the text to stay flush but it looks like the superscript along with the dropcap to be pushed out. I don't know what I need to fix that. Also, I'd like the paragraph to wrap around the ...
1 vote
1 answer
2k views

Unable to find correct language.dat

I have installed the portable version of MikTeX 2.9 on a PC without administrator rights. I try to use the package Dutch babel, but it gives the common error of Package babel Warning: No hyphenation ...
2 votes
1 answer
260 views

Hyphenate compound word: What items should go into the horizontal list?

TeX won’t hyphenate a “word” if the word already contains a “discretionary”. As a consequence, compound words such as integro-differential and Rajamahendravaram--Visakhapatnam will not be hyphenated, ...
0 votes
1 answer
67 views

Why are no words in my document being hyphenated?

I have a document with many instances where hyphenation would be appropriate. But not a single word is being hyphenated. I have tried: Using \hyphenation to explicitly define the hyphenation. Adding \...
4 votes
1 answer
180 views

What is the LaTeX equivalent of setting \uchyph=1?

If I understand correcly, when using LaTeX rather than Plain TeX, one should avoid using primitives directly and instead use \newcommand, \setlength, etc. Therefore, I think that my habit of setting \...
1 vote
0 answers
44 views

word with diacritic marks not hyphenated

Consider this example: \documentclass[a4paper]{article} \usepackage[utf8]{inputenc} \begin{document} Excepteur sint occaecat cupidatat non proident, sunt in culpa Ut Safgātējomlor Lorem ipsum dolor ...
5 votes
1 answer
188 views

Seeking a way to print the first N lines of some text

Is there a command that would typeset a some text (one paragraph), and then only actually put out the first N lines as formatted. It would mean that the last word might actually only be the first part ...
1 vote
2 answers
41 views

\mbox overfull in math environment

I am quite new to Latex and am having an Overfull \hbox warning on Overleaf with the following code in a document environment: \vspace{5mm} \begin{math} l^*=\frac{l}{ke^{\tau\lambda}}=(\frac{1}{ke^{\...
1 vote
1 answer
43 views

How to hyphenate words with a single quotation mark (apostrophe)?

Using this solution allows to have LaTeX hyphenates words starting or finishing with a bracket. I'd like to use it also to hyphenate words containing a single quotation mark (called "apostrophe&...
1 vote
3 answers
212 views

(Overleaf and LuaLaTeX) ы with acute stress only works correctly sometimes (using Times New Roman and STIX Two Text) [Not A Repost]

I posted a semi similar question a while ago where I asked about why the ы character did not appear correctly at all on TNR with the acute accent when using \'ы. I have a Chromebook and have ...
2 votes
1 answer
40 views

How to specify a custom set of hyphenation rules to apply only to a custom font?

I am creating a grammar of a fictional language, and have had a custom font created for this language. The font has a system where characters and ligatures overlay the previous character to create ...
3 votes
2 answers
153 views

Non-breaking hyphen in Plain TeX

I am asking the same question as this post: How to type a non-breaking hyphen (dash, "-" character) in scientific or technical documents but I don't want to use any package (just to ...
0 votes
0 answers
38 views

Problem to generate the bibliography

Compiling a large document which worked properly some two months ago, now causes an error. The document was not changed, but I'm updated my MikTeX on a regular basis. Because of the complexity of the ...
0 votes
3 answers
87 views

Line break in/before words without hyphenation pattern

I checked the warnings and ran into an overfull hbox. The word planned is sticking out of the line. According to this website, it hasn't got any hyphenation, which explains why TeX isn't breaking it. ...
2 votes
1 answer
68 views

Making overleaf hyphenation ignore certain characters

I'm recently transcribing and editing a text, which includes the usage of some special characters. Sadly they mess with the hyphenation and impede syllable division. Is there any way to explicitly ...
0 votes
1 answer
62 views

Stretching the text (in particular in math mode) to fit the page size in a rough transfer (using "\\")

Sometimes the problem arises when the formula for the standard LaTeX facilities is torn wrong. For example, he writes x \in on one line and [a;b] on the next. So I have to do it \\ to make transfers. ...
0 votes
4 answers
109 views

Centered text but without hyphenation

For a heading I want to have a horizontally centered box with text. The text should not be hyphenated. If the text is not hyphenated the text should be still in the center of the page. Currently I ...
2 votes
2 answers
578 views

Why does foreign language text not hyphenate even when using Babel? Typst hyphenates it correctly

Why do I not get the same hyphenation results as Typst when using babel in LuaLaTeX? I have tried various methods for fixing the issue, but they dont work. Both use Letterpaper sized paper, use custom ...
1 vote
0 answers
82 views

Justification, hyphenation

I am a PhD student writing his thesis on overleaf. My supervisor told me to remove hyphenation as it can be distracting however now some words go over the margin (See pic). Could anyone help me modify ...
1 vote
2 answers
56 views

How to avoid hyphenations in important paragraphs like Funding Statements in a double-column format document (IEEE papers)?

For a new paper I am writing to IEEE journals (double-column formats), many important paragraphs suffer from the default hyphenation in LaTeX. Especially, I don't like the hyphenations given in the ...
2 votes
1 answer
80 views

Is there a way to disable hyphenation in the preamble for a word containing dashes

I am writing a document where I commonly use a word that contains a dash ("Foo-Bar"). I want to globally disable hyphenation for this word. Is this possible? I am looking for a solution that ...
1 vote
1 answer
63 views

beamer + polyglossia: manual hyphenation

I have the following beamer frame: \documentclass[10pt]{beamer} \usepackage{polyglossia} \setdefaultlanguage[babelshorthands]{italian} \disablehyphenation % to follow beamer documentation \...
3 votes
1 answer
114 views

Why `\hyphenation` does not work? [duplicate]

In the following example \documentclass{article} \usepackage{polski} \begin{document} \hyphenation{Bor-zo-bo-ha-ta} \begin{tabular}{|p{6mm}|} Bor\-zo\-bo\-ha\-ta\\ Borzobohata \end{tabular} \end{...
3 votes
1 answer
2k views

Hyphenation within a p-type column

I've got the following table, which I'd prefer not to split, and it's slightly too wide for the page. How can I make some of the column headings hyphenate? I don't want to have to define a fixed width ...
1 vote
1 answer
150 views

No hyphenation patterns (spanish)

Hyphenation in my Spanish latex document is not accurate to language rules. Searching in the log I founded: ackage babel Warning: No hyphenation patterns were preloaded for (babel) the ...
1 vote
2 answers
91 views

Issue with Polyglossia hyphenation

This is my MWE: \documentclass{article} \usepackage{polyglossia} \disablehyphenation % <-- if I remove this line the word "corrispondente" is not automatically hyphened \setmainlanguage{...
4 votes
2 answers
2k views

Package polyglossia Warning: No hyphenation patterns were loaded for `English'

I'm running Arch Linux and installed texlive 2013 via tlmgr. My file is this: \documentclass{paper} \usepackage{lipsum} \usepackage{xltxtra} \usepackage{polyglossia} \setmainlanguage{english} \begin{...
3 votes
1 answer
116 views

Does hyphenmin disregard punctuation?

I use lualatex, but I believe this would apply to any *tex. I will narrow the question to Latin-based languages, so that we do not have to deal with special initial/final forms, required ligatures, ...
7 votes
2 answers
2k views

Babel: Warning about the non-existance of Vietnamese hyphenation patterns

\documentclass{article} \usepackage[vietnamese]{babel} \begin{document} \end{document} results in this .log produced with TeXlive: ...texmf-dist/tex/generic/babel/babel.sty Package: babel 2016/02/24 ...
1 vote
1 answer
96 views

7bit patterns for 8bit and unicode engines

Consider the following dummy file \bgroup \catcode`^^F1=11 \lccode "F1="F1 \patterns{ 1b 1c 1d 1f 1g 1h 1j 1k 1l 1m 1n 1^^f1 1p 1q 1r 1s 1t 1v 1w 1x 1y 1z } \egroup \endinput Is it ...
0 votes
1 answer
138 views

Can I change how LaTeX evaluates hyphenation?

At least for German-language documents (and especially when using microtype) LaTeX, to my taste, puts too much emphasis on preventing hyphenation. Is there any parameter that can be changed so that, ...
0 votes
0 answers
97 views

polyglossia and Portuguese

What is the current incantation for making hyphenation work with polyglossia? In olden times, ie. two years ago, I used \setmainlanguage{portuges}. It doesn’t work anymore... I get no hyphenation. I’...

1
2 3 4 5
23