Open W4RH4WK opened 5 years ago
Thanks! Mind adding a short block of your latex source for context? Shouldn't be difficult to include these.
% inside preamble
\usepackage{newunicodechar}
\newunicodechar{〈}{$\langle$}
\newunicodechar{〉}{$\rangle$}
% inside document
\begin{align*}
\text{〈1〉:} && l_2 &= f_1(r_0) \oplus l_0 \\
\text{〈2〉:} && r_2 &= f_2(f_1(r_0) \oplus l_0) \oplus r_0 \\[-0.8em]
\cline{1-6}
\text{〈3〉:} && f_2(l_2) \oplus r_2 &= f_2(l_2) \oplus f_2(f_1(r_0) \oplus l_0) \oplus r_0
&& \text{〈2〉 $\oplus$ with $f_2(l_2)$} \\
\text{〈4〉:} && f_2(f_1(r_0) \oplus l_0) \oplus r_2 &= f_2(f_1(r_0) \oplus l_0) \oplus f_2(f_1(r_0) \oplus l_0) \oplus r_0
&& \text{expand $l_2$ with 〈1〉} \\
\text{〈5〉:} && f_2(f_1(r_0) \oplus l_0) \oplus r_2 &= r_0
&& \text{reduce right side} \\
\text{〈6〉:} && f_1(r_0) \oplus l_2 &= f_1(r_0) \oplus f_1(r_0) \oplus l_0
&& \text{〈1〉 $\oplus$ with $f_1(r_0)$} \\
\text{〈7〉:} && f_1(r_0) \oplus l_2 &= l_0
&& \text{reduce right side} \\
\text{〈8〉:} && f_2(f_1(r_0) \oplus f_1(r_0) \oplus l_2) \oplus r_2 &= r_0
&& \text{〈5〉 expand $l_0$ with 〈7〉} \\
\text{〈9〉:} && f_2(l_2) \oplus r_2 &= r_0
&& \text{reduce left side} \\[-0.8em]
\cline{1-6}
&& f_1(f_2(l_2) \oplus r_2) \oplus l_2 &= l_0 && \text{〈7〉 expand $r_0$ with 〈9〉} \\
&& f_2(l_2) \oplus r_2 &= r_0 && \text{〈9〉}
\end{align*}
I typically use them for markers. In this case each line is numbered and rather than writing line 7 I use 〈7〉. The result looks like this.
I just noticed one more thing. In Linux (Debian Testing), using Hack from the Debian repository, these characters are missing:
Using Hack in Windows, installed via the official installer. These characters are present, yet look a bit odd. Maybe there is some kind of fallback going on here, I don't know.
Thank you! You are seeing fallbacks from a different typeface in the bottom images. Whatever Debian is using as the fallback face doesn't contain the glyphs. Windows fallback seems to encode the wrong shapes for some reason. I can't explain that one...
Will try to get these drawn for you. Open to anyone if someone beats me to it.
It seems like the two angle brackets are missing (
U+2329
andU+232A
)These are characters I commonly use in LaTeX math environments. It would be great if they could be added to the font.