Hot answers tagged

8 votes
Accepted

not showing bengali equation as output in latex

The math fonts don't know how to handle bengali. I would suggest to switch temporarly to text mode: \documentclass[a4paper,12pt]{book} \usepackage[inner=1.5cm, outer=1.5cm, top=1.5cm, bottom=1.5cm]{...
user avatar
3 votes

Change the text depending on the language

You could use the translator package. That's what e.g. Beamer uses to translate strings like "Figure". You'll find that it already comes with translations for many commonly used terms in its ...
user avatar
2 votes
Accepted

Soft hyphens with priority don't change style with their environment but should do so

This looks like a bug at the engine level so not really fixable in babel it is losing the font if the fields in the discretionary are empty as shown by this plain TeX example. The workaround is to ...
user avatar
2 votes
Accepted

Change the text depending on the language

The short answer is you write a conditional :-) How you implement the conditional there are options. For example, the varioref package uses package options (avoiding babel altogether). Behold (copied ...
user avatar
  • 20.4k
2 votes
Accepted

Subsection hyperref, titletoc and babel spanish conflict

Define \textsb. (After fontspec-italic-small-caps-with-semi-bold and also a previous answer) % !TeX TS-program = xelatex \documentclass[ a4paper, % Paper size, use either a4paper or letterpaper 12pt,...
user avatar
2 votes
Accepted

Trying to assign priorities to different breaking points in a word. Discretionary broken?

This is an engine level bug in the luatex source (texlang.c) Hans is testing a fix which looks good so far: So this will be fixed at source in the next day or so, so in texlive 2023 (probably earlier ...
user avatar
1 vote

Soft hyphens with priority don't change style with their environment but should do so

This post isn’t an answer (at least directly) to the original question, but to a comment. It’s a full answer because the explanation is a bit large and, on the other hand, it provides an alternative ...
user avatar
  • 7,569

Only top scored, non community-wiki answers of a minimum length are eligible