Text Formattingchange \emph to bold, not italicize

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
Anymouse
Posts: 20
Joined: Mon May 10, 2021 2:50 am

change \emph to bold, not italicize

Post by Anymouse »

Apparently for some dyslexic users, italicized text can trigger their dyslexia (as can small-caps, serif fonts, and justified text) but bold text doesn't have the same issue.

Research is still ongoing but it seems many reading disabilities including but not exclusively dyslexia are triggered by brain fatigue and certain typography practices that are aesthetically pleasing actually make the brain work harder, increasing fatigue making a trigger of the disability more likely and reducing reading comprehension.

When preparing a document for such a user, it's relatively easy to change to a sans-serif font and ragged-right but is there a robust way to change \emph to use bold but still have

Code: Select all

\emph{this has a \emph{double emphasis} inserted}
work? I know under the hood, \emph is not just an alias for \textit

I'm hoping there exists a package that does it?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Anymouse
Posts: 20
Joined: Mon May 10, 2021 2:50 am

change \emph to bold, not italicize

Post by Anymouse »

This works except for double-emph

Code: Select all

\let\emph\relax
\DeclareTextFontCommand{\emph}{\bfseries}
Bartman
Posts: 369
Joined: Fri Jan 03, 2020 2:39 pm

change \emph to bold, not italicize

Post by Bartman »

Reading the section "Handling of nested emphasis" in issue 31 (February 2020) in ltnews may help you.
Anymouse
Posts: 20
Joined: Mon May 10, 2021 2:50 am

change \emph to bold, not italicize

Post by Anymouse »

Thank you!

Code: Select all

\DeclareEmphSequence{\bfseries,\mdseries}
That does it nicely.

Doesn't work as expected when used inside \textbf{} where un-modified \emph does work inside \textit{} but I can live with that.
Post Reply