Live data from Hacker News

UnicodeMath – A Nearly Plain-Text Encoding of Mathematics (2016) [pdf]

unicode.org

31–40 of 59 posts

Re: UnicodeMath – A Nearly Plain-Text Encoding of Mathematics (2016) [pdf]

#31
post #16

Earlier quoted context omitted.

But you can't type α, ∂, or ∫ in a standard keyboard.

> But you can't type α, ∂, or ∫ in a standard keyboard. I have a standard keyboard and I type greek letters easily. ALTGR+a, and so on. If somebody is not able to configure their keyboard to do this they are not probably writing LaTeX, either.

In DrRacket, you can press Ctrl+\ to insert a lambda character.

Re: UnicodeMath – A Nearly Plain-Text Encoding of Mathematics (2016) [pdf]

#32
post #16

Earlier quoted context omitted.

> All I know is that LaTEX is much, much easier to manage than this jumbled mess... LaTeX is beautiful and powerful, but mixed with unicode (in the right doses) it becomes astonishingly more powerful. For example, you can keep the block constructors {} _ and ^, but use unicode symbols such as α, ∂, ∫, instead of \alpha, \partial, \int

But you can't type α, ∂, or ∫ in a standard keyboard.

Of course you can. Armed with only a text editor, a craft knife and some tippex, you can have any keyboard layout you like on a standard keyboard.

Re: UnicodeMath – A Nearly Plain-Text Encoding of Mathematics (2016) [pdf]

#33
post #12
post #8

Earlier quoted context omitted.

i totally agree, but living in the world of mostly ascii-limited code this looks exotic, weird and refreshing. and cool

You might be interested in the Fortress language (RIP), whose input allowed, and was canonical rendered using, mathematical notation. So, for example, xˆy could be written as x superscript y. SUM[i http://www.ccs.neu.edu/home/samth/fortress-spec.pdf

[deleted]

Re: UnicodeMath – A Nearly Plain-Text Encoding of Mathematics (2016) [pdf]

#34
post #12
post #8

Earlier quoted context omitted.

i totally agree, but living in the world of mostly ascii-limited code this looks exotic, weird and refreshing. and cool

You might be interested in the Fortress language (RIP), whose input allowed, and was canonical rendered using, mathematical notation. So, for example, xˆy could be written as x superscript y. SUM[i http://www.ccs.neu.edu/home/samth/fortress-spec.pdf

One of the best (or worst, depending on your preference) aspect of Fortress syntax was that it allows juxtaposition as a multiplication operator. Therefore `(n+1)/(n+2)(n+3)` is, as expected, same as `(n+1)/((n+2)*(n+3))`. The exact "reassociation" procedure for juxtapositions is type-dependent, so that `sin(x)(x)` is `sin(x)` multiplied by `(x)` even though both `sin` and the first `(x)` is followed by other expressions.

Re: UnicodeMath – A Nearly Plain-Text Encoding of Mathematics (2016) [pdf]

#35
post #30
post #16

Earlier quoted context omitted.

But you can't type α, ∂, or ∫ in a standard keyboard.

I feel like this is the sweet spot for the editor to do some of the heavy lifting, for example being able to type "\alpha" and have the editor automatically transform it into the symbol α. I write a lot of LaTeX, and I would absolutely love an editor which could just transparently deal with all of the underlying mathematics markup so I would never have to see it again, and just directly edit the damn equations. Seria…

In case you haven't already heard of it, LyX [1] does exactly that and it's phenominal. As an added bonus, when you move your cursor out of the equation it goes from a graphical almost-right visualisation to a proper LaTeX-generated absolutely-right preview, and manages other related LaTeX things like heading levels with a live clickable outline.

The big disadvantage to LyX is that it's not LaTeX editor but a LaTeX generator. So if you want to write your next article or dissertation and can commit to it then it's great, but if you want to import work so far or collaborate with someone not using LyX then it doesn't really work (it has an import function but it's almost unusable).

[1] http://www.lyx.org/

Re: UnicodeMath – A Nearly Plain-Text Encoding of Mathematics (2016) [pdf]

#36
post #30
post #16

Earlier quoted context omitted.

But you can't type α, ∂, or ∫ in a standard keyboard.

I feel like this is the sweet spot for the editor to do some of the heavy lifting, for example being able to type "\alpha" and have the editor automatically transform it into the symbol α. I write a lot of LaTeX, and I would absolutely love an editor which could just transparently deal with all of the underlying mathematics markup so I would never have to see it again, and just directly edit the damn equations. Seria…

There are some editor plugins that do something like this. I know for Vim there is tex-conceal (https://github.com/KeitaNakamura/tex-conceal.vim), which collapses a lot of LaTeX symbols to their Unicode equivalent on lines other than your current line. It's a nice middle-ground, though far from perfect.

Re: UnicodeMath – A Nearly Plain-Text Encoding of Mathematics (2016) [pdf]

#37
post #16

Earlier quoted context omitted.

> All I know is that LaTEX is much, much easier to manage than this jumbled mess... LaTeX is beautiful and powerful, but mixed with unicode (in the right doses) it becomes astonishingly more powerful. For example, you can keep the block constructors {} _ and ^, but use unicode symbols such as α, ∂, ∫, instead of \alpha, \partial, \int

But you can't type α, ∂, or ∫ in a standard keyboard.

On a recent mac, you can enable Greek as a second keyboard, and tick the box there to make caps lock switch keyboards.

As long as you don't need caps lock as your escape key...

Re: UnicodeMath – A Nearly Plain-Text Encoding of Mathematics (2016) [pdf]

#38
post #30

Earlier quoted context omitted.

I feel like this is the sweet spot for the editor to do some of the heavy lifting, for example being able to type "\alpha" and have the editor automatically transform it into the symbol α. I write a lot of LaTeX, and I would absolutely love an editor which could just transparently deal with all of the underlying mathematics markup so I would never have to see it again, and just directly edit the damn equations. Seria…

In case you haven't already heard of it, LyX [1] does exactly that and it's phenominal. As an added bonus, when you move your cursor out of the equation it goes from a graphical almost-right visualisation to a proper LaTeX-generated absolutely-right preview, and manages other related LaTeX things like heading levels with a live clickable outline. The big disadvantage to LyX is that it's not LaTeX editor but a LaTeX g…

I've actually had good luck round-tripping lyx-latex-lyx repeatedly to collaborate with lyx-phobic co-authors. (As long as they don't mind equations they typed getting auto-formatted, etc.)

Re: UnicodeMath – A Nearly Plain-Text Encoding of Mathematics (2016) [pdf]

#39

Earlier quoted context omitted.

This is like asking someone to use Alt codes ( https://www.alt-codes.net/ ) on Windows, it's highly unintuitive and cumbersome.

They aren’t terribly intuitive, but they are much easier than alt-codes. If you’re a touch typist it doesn’t take long to memorize a reasonable number of symbol positions. I still can’t temember any alt-codes though when I’m on a windows machine.

I know the few I use regularly and the rest are easy to get via ctrl CMD Space. I’ve added various symbol sets to the character viewer and it suits my work flow.

Re: UnicodeMath – A Nearly Plain-Text Encoding of Mathematics (2016) [pdf]

#40
post #30
post #16

Earlier quoted context omitted.

But you can't type α, ∂, or ∫ in a standard keyboard.

I feel like this is the sweet spot for the editor to do some of the heavy lifting, for example being able to type "\alpha" and have the editor automatically transform it into the symbol α. I write a lot of LaTeX, and I would absolutely love an editor which could just transparently deal with all of the underlying mathematics markup so I would never have to see it again, and just directly edit the damn equations. Seria…

The julia interpreter does this. Or you have to press tab to do the transformation.
Post reply on HN