artisticat1 / obsidian-tikzjax

Render LaTeX and TikZ diagrams in your notes
MIT License
356 stars 18 forks source link

No way to put IPA characters in drawings #53

Open keriefie opened 7 months ago

keriefie commented 7 months ago

Trying to do syllable trees in Obsidian TikzJax, but am unable to insert most IPA characters.

Some IPA characters are fine, for example the word /sat/. image

But inserting the characters for /ðɛŋ/ or something, I'd be out of luck.

There are workarounds for some characters, i.e. many characters are just rotated or flipped ascii characters, and I can use the graphicx package to render those. I can also use \textsc{...} for the small caps (ɪ, ʏ, ɶ, ʙ, ʟ, ɢ, ʀ, ʁ [with graphicx], ʜ)

However, the some vowels (ʊ, ɤ, ɵ, ɞ, ɨ, ʉ) and consonants (ɱ, ⱱ, ʋ, ð, ɬ, ɾ, ʃ, ʒ, ɮ, ʈ, ɖ, ɳ, ɽ, ʂ, ʐ, ɻ, ɭ, ɟ, ɲ, ʝ, ŋ, ɣ, ɰ, ħ, ʕ, ʔ, ɦ, ʢ, ʡ, ɕ, ʑ, ɺ, ʘ, ǂ, ɓ, ɗ, ʄ, ɠ, ʛ) cannot be adequately represented in any capacity.

Additionally, using the math Greek letters for certain IPA characters (ɛ, ɜ, ɑ, ɒ, ɸ, β, θ, χ, ɣ) isn't ideal as they will always display in italics, even when in $\mathrm{...}$. And they look even worse inline with other characters. (alpha and gamma aren't good stand-ins, and alpha and epsilon need to be mirrored) /ɸirɒqχ/ image

$\int$ is an ok stand-in for ʃ, but still suffers from the italic problem. image