2022 Developer Survey is open! Take survey.

Questions tagged [hyphenat]

{hyphenat} can dis­able all hy­phen­ation or en­able hy­phen­ation of non-al­pha­bet­ics or monospaced fonts. https://ctan.org/pkg/hyphenat

Filter by
Sorted by
Tagged with
0 votes
2 answers
51 views

How to Prevent Hyphenation for Minipages but Allow It Everywhere Else

Consider the code \documentclass{book} \usepackage{xcolor} %\usepackage[none]{hyphenat} % To prevent hyphenation within entire document. \begin{document} \thispagestyle{empty} \Large \begin{minipage}{...
user avatar
  • 4,959
1 vote
1 answer
123 views

How to Prevent This Undesirable Aesthetic from Occurring When Using the Hyphenat Package

Sometimes, when using the hyphenat package to prevent hypenation in sentences, the following undesirable aesthetic occurs, as illustrated in the first paragraph of the output of this MWE: \...
user avatar
  • 4,959
0 votes
0 answers
55 views

Disable hyphenation for proper nouns in Romanian language

I'm not sure that my question is related to hyphenat package or to Romanian hyphen pattern that are loaded in LaTeX. According to Romanian grammar definition: Proper nouns name objects of the same ...
user avatar
  • 580
0 votes
1 answer
124 views

How to fix \useshorthands \defineshorthand usage on bookmark entries?

\documentclass[10pt,a5paper]{abntex2} \usepackage[brazil]{babel} \usepackage{hyphenat} \useshorthands{~}\defineshorthand{~=}{\hyp{}} \begin{document} \chapter{First~=Chapter} \end{document} ...
user avatar
  • 4,335
0 votes
0 answers
311 views

Hyphenation of bold font

I am getting unexpected hyphenation behavior when using bold font. Below is the output using normal font. Below is when using bold font. Note that font is not justified on the right side. Source ...
user avatar
2 votes
1 answer
402 views

Is there a way to suppress the hyphen when using hyphenat with htt option?

I am using the hyphenat package with the htt option. The whole thing is used to document an application programming interface (API). Consider the following MWE: \documentclass{minimal} \usepackage[...
user avatar
1 vote
1 answer
57 views

Why hyphenation is not working in documnent?

I am trying to write a parallel texts, right column text as the translation of the left column to achieve this i am using parallel package, i have observed that hyphenat package is not working i want ...
user avatar
  • 3,225
2 votes
2 answers
1k views

What is the difference between "= and \hyp{}?

Sometimes I see questions talking about using "=, others just use \hyp{}. Are they the same thing? For example, on these questions you find both "= and \hyp use: Hyphenation of words containing ...
user avatar
  • 4,335
1 vote
1 answer
2k views

How to create an alternative to shortcut "= or \hyp{}?

After this question answer How to use the standard - (hyphen) as the \hyp{} command from the hyphenat package?, I decided to not use that hack. Then, I am looking for an alternative to that. On my ...
user avatar
  • 4,335
0 votes
0 answers
98 views

How to write the hyphen substitution of - by \hyp on my preamble?

When I integrated this How to use the standard - (hyphen) as the \hyp{} command from the hyphenat package? into my main document, I got errors about hyphen usage on translations packages: Redoing ...
user avatar
  • 4,335
0 votes
1 answer
446 views

How to use the standard - (hyphen) as the \hyp{} command from the hyphenat package?

I found this answer on http://www.oipapio.com/question-79176 \documentclass[10pt,a5paper,twoside]{article} \usepackage{hyphenat} \cs_new:Npn \hyphenfix_emdash:c {---} \cs_new:Npn \hyphenfix_endash:c ...
user avatar
  • 4,335
2 votes
1 answer
333 views

Allow words containing forwards slashes to be broken over lines at the point where the forward slash occurs

Does anyone know how to use the hyphenat package in pdflatex to create an automatic hyphenation rule whereby forwards slashes may be used to break words over lines, or as hyphenation points? I've read ...
user avatar
  • 121
2 votes
2 answers
380 views

How can I hyphenate words with dots in a \texttt environment in LaTeX?

There is a bunch of discussions online how to enable (or disable) hyphenation in \texttt environments. I found both the options \usepackage[htt]{hyphenat} and \DeclareTextFontCommand{\mytexttt}{\...
user avatar
  • 169
3 votes
2 answers
265 views

Hyphenation not working properly when text is prefixed with \textbackslash

First question: what causes text, when prefixed with \textbackslash, not to be hyphenated? Second question: what is the difference between packages hyphenation and hyphenat - which is the one I am ...
user avatar