gfngfn / SATySFi

A statically-typed, functional typesetting system
GNU Lesser General Public License v3.0
1.16k stars 82 forks source link

Curly braces too curly in math mode #152

Open nyuichi opened 5 years ago

nyuichi commented 5 years ago

Although this may be not a bug but a matter of preference, (big) curly braces in math mode are drawn a little strangely. I like upper and lower parts to be at rather right positions (or perhaps center parts should be moved left).

2019-02-15 16 07 08
JoostScheffer commented 4 years ago

Have you considerd using the begin{cases} command?

\[
1+(-1)^n=
\begin{cases}
0, & \text{if $n$ odd}\\
2, & \text{otherwise}
\end{cases}
\]

The result is the following: image

More information can be found here[1]

[1] https://tex.stackexchange.com/questions/240868/how-to-write-cases-with-latex

konn commented 4 years ago

@JoostScheffer This repo is for SATySFi, not LaTeX. SATySFi is completely different from LaTeX (even from TeX), and is statically typed functional type-setting system. Slightly detailed explanation of the project is described at the README [1].

[1] https://github.com/gfngfn/SATySFi#README

qnighy commented 4 years ago

I wonder how JoostScheffer found this issue without knowing about SATySFi...