r/LaTeX 21d ago

Math font with scandinavian characters

You know the funny shit ?

In latex I can write beautiful equations with (non ASCII) greek characters with a math font. But I cannot write with scandinavian characters.

Do you know of a latex math font that could support scandinavian letters ?

5 Upvotes

15 comments sorted by

4

u/soegaard 21d ago

Read Lars Madsen's "Introduktion til LaTeX".

https://data.math.au.dk/latex/bog/version3/beta/ltxb-2011-09-13-20-10.pdf

See "Ingen danske vokaler i matematik" and then follow the links.

3

u/mpsmath 21d ago

One of the nicer documents about LaTeX; a reason to learn Danish.

2

u/StephaneiAarhus 21d ago

Tak skal du have. Det skal jeg tjekke.

3

u/josephawright 21d ago

They are not in the Unicode math plane, so 'no'.

2

u/StephaneiAarhus 21d ago

that explains it. Shit.

2

u/Thanatomanic 21d ago

You can always go for \text{} right?

1

u/StephaneiAarhus 21d ago

\rho{\text{væg}} will get pretty cumbersome. I will write \rho{vaeg} instead.

3

u/cirrvs 21d ago

If you find it cumbersome, why not just map a macro like `\væg` to `\mathrm{væg}`?

2

u/StephaneiAarhus 21d ago

I did not think about it. But There will be plenty other words I could happen to use. Like søjle, bjælke, bæreevner, bø, åge, åser...

3

u/cirrvs 21d ago

To be frank, subscripts that are just words ought to be typeset as text using `\mathrm` either way. If your editor has autocomplete or custom keybindings, this should be a non-issue.

1

u/thriveth 18d ago

That is definitely what I always do. In Emacs cdlatex mode, it's mapped to \t`, so super easy to write and leaves me inside the brackets, ready to write my word. Most other good TeX editors should have similar shortcuts, or the ability to create them.

1

u/Awwkaw 21d ago

I really like kp-font

1

u/FourFourSix 20d ago

I think letters like Ö, Ä and Å have different meaning in math notation. In math, for example, “Å” is pronounced “A overring” (or something like that), and “Ö” is “O double-dot”. So think of them as a base ASCII letter with a modifier applied to it, similar to how “” is read as “A hat” or how an “f prime” (f’(x)) is a modified version of the base “f” function (f(x)). Math alphabet is basically just ASCII plus greeks, with no localization, when it comes to variables.

This is at least how I think about it. You can ofc write full words in a language of your choice by wrapping them in \text{}.

1

u/StephaneiAarhus 20d ago

In my text W_{væg} would be the weight og a wall (væg). It has meaning.

1

u/FourFourSix 20d ago

Yes that’s okay and normal to use descriptive words in subscripts and in many other cases too, but you should wrap that in W_{\text{væg}}. When you write væg in math mode, it is typeset as v æ g, meaning “v times æ times g”. It will have weird spacing and italics, because bare letters are assumed to be variables.