1

Is there a way to convince LaTeX to automatically add tildes in front of one- and two-letter words, numbers and such simple things (in normal mode, not in math mode)?

I know there are preprocessors for that, but manually launching them is tedious.

What's the best way to achieve it automatically?

5
  • ,@peci1 Does Automatic non-breaking spaces in proper name initials help?
    – AboAmmar
    Aug 11, 2015 at 14:43
  • 2
    this question deals with one-letter words in czech: Is there way to put hard space after defined words?. the recommendation is to just get used to typing ~ when needed. Aug 11, 2015 at 14:54
  • Thanks @AboAmmar and barbara beeton. It seems like all the proposed solutions use lualatex, which I don't have any experience with. But I'll give it a chance. It's a pity that luavlna has not been in CTAN yet. However, I still wonder TeX doesn't do such a basic typographic stuff on its own. Aug 11, 2015 at 15:35
  • 1
    @peci1 it isn't on CTAN because it needs some cleanup, but this reminds me that I should take a look at it :)
    – michal.h21
    Aug 11, 2015 at 17:12
  • My general idea was to have an automated tool to insert the tildes to many places where it could be good, and to have a new command that would prevent a tilde to appear. But I'm not sure luavlna can do that... Aug 11, 2015 at 17:20

0

You must log in to answer this question.

Browse other questions tagged .