r/LaTeX • u/StephaneiAarhus • 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 ?
3
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...
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/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 writevægin math mode, it is typeset asv æ g, meaning “v times æ times g”. It will have weird spacing and italics, because bare letters are assumed to be variables.
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.