Live data from Hacker News

I hate LaTeX, I love LaTeX

commutative.xyz

51–60 of 245 posts

Re: I hate LaTeX, I love LaTeX

#51
post #43

Jesus H Carnegie. I JUST WANT TO WRITE AN ACADEMIC ARTICLE. I mean, look at this abhorrence. And look at what you open up in a TeX file, which again is meant to represent English prose . % Options for packages loaded elsewhere \PassOptionsToPackage{unicode}{hyperref} \PassOptionsToPackage{hyphens}{url} % \documentclass[ ]{article} \usepackage{amsmath,amssymb} \usepackage{lmodern} \usepackage{iftex} \ifPDFTeX ... and…

The equation example is artificial. In practice there will be no curly brackets around these single-token sub/superscripts, nor should the \left / \right present in this example. With properly added whitespaces this equation becomes quite legible.

For more complex equations people use line breaks and indentations, and/or macros.

Re: I hate LaTeX, I love LaTeX

#52
Not a TeXnicians nor a TeXpert but I've learnt it at a certain point in high school after a professor suggestion, than much used at the uni and now just used casually for letters, reports etc I do love the quality, that's is.

As far as I do not find something with equivalent or better typesetting quality I'm stick with LaTeX :-)

To those who hate it: try to learn some tangible "alternatives" like *roff or TeXinfo and than you'll see LaTeX syntax is not that horrid or difficult, then try to learn some modern typesetting tools like those from Adobe. LaTeX win easily, that's is. Said that IF someone can offer something equivalent with a far simpler/nicer markup as I said before my love is just to the quality of the output!

Re: I hate LaTeX, I love LaTeX

#53
post #43

Jesus H Carnegie. I JUST WANT TO WRITE AN ACADEMIC ARTICLE. I mean, look at this abhorrence. And look at what you open up in a TeX file, which again is meant to represent English prose . % Options for packages loaded elsewhere \PassOptionsToPackage{unicode}{hyperref} \PassOptionsToPackage{hyphens}{url} % \documentclass[ ]{article} \usepackage{amsmath,amssymb} \usepackage{lmodern} \usepackage{iftex} \ifPDFTeX ... and…

That equation is easily workable with the code as is, and that options block is also fine. My bigger concern is someone coming in without enough experience and trying to disrupt the whole academia. Yes, the learning curve is steep - can anyone even say they finally know TeX? Aligning stuff and other things may take time. But if you're writing papers, the output quality is amazing and, what is important, consistent - light years ahead of WYSIWYG editors. I'd rather edit my equations manually in TeX rather than, say, popular office suites. And why would anyone want to do presentations in TeX anyways? It's like using a spaceship to shop for groceries.

Re: I hate LaTeX, I love LaTeX

#54
post #43

Jesus H Carnegie. I JUST WANT TO WRITE AN ACADEMIC ARTICLE. I mean, look at this abhorrence. And look at what you open up in a TeX file, which again is meant to represent English prose . % Options for packages loaded elsewhere \PassOptionsToPackage{unicode}{hyperref} \PassOptionsToPackage{hyphens}{url} % \documentclass[ ]{article} \usepackage{amsmath,amssymb} \usepackage{lmodern} \usepackage{iftex} \ifPDFTeX ... and…

I want to use latex while using your attitude! It has to be simple and the syntax out of the way, almost like Markdown

Re: I hate LaTeX, I love LaTeX

#55
post #43

Jesus H Carnegie. I JUST WANT TO WRITE AN ACADEMIC ARTICLE. I mean, look at this abhorrence. And look at what you open up in a TeX file, which again is meant to represent English prose . % Options for packages loaded elsewhere \PassOptionsToPackage{unicode}{hyperref} \PassOptionsToPackage{hyphens}{url} % \documentclass[ ]{article} \usepackage{amsmath,amssymb} \usepackage{lmodern} \usepackage{iftex} \ifPDFTeX ... and…

I agree. LyX is a much better alternative to LaTeX. It's a sort of GUI front-end to it, but it lets you do all the normal editing in normal WYSWYG way (but without the "is the space bold? why is the font of this blank line different?" you get with Word). Most importantly it has a really amazing equation editor.

Re: I hate LaTeX, I love LaTeX

#56
post #43

Jesus H Carnegie. I JUST WANT TO WRITE AN ACADEMIC ARTICLE. I mean, look at this abhorrence. And look at what you open up in a TeX file, which again is meant to represent English prose . % Options for packages loaded elsewhere \PassOptionsToPackage{unicode}{hyperref} \PassOptionsToPackage{hyphens}{url} % \documentclass[ ]{article} \usepackage{amsmath,amssymb} \usepackage{lmodern} \usepackage{iftex} \ifPDFTeX ... and…

I agree that TeX sources are often damn near impossible to read. That stuff is... ugly. But at least it's there. You can see it. You can manipulate it. You can understand it (though it sometimes takes more time flipping through the TeXbook than any sane person is willing to spend). In comparison, WYSIWYGgery is like boxing with an invisible opponent. Where do I click, what magic check box three levels deep in dialogs do I need to check? Why does that word come out in a different font? How do I move the cursor across the italic/roman boundary? Why is there extra space here, but not there? How can I interact with things that I cannot see?

Re: I hate LaTeX, I love LaTeX

#57
There must be a solution similar to this: https://hackage.haskell.org/package/TeX-my-math

I don't understand why they encode these expressions f^{(2)}(x) like so. They should be written like a regular function: f 2 x. Then you apply your styling depending on eg. the domain definitions. Eg. for f : N x R -> R, then the first argument is sub/super-scripted... etc.

Another eg. In python, we would render this expression: sum([i*2 for i in range(0, n)]) with sigma expression... etc.

Re: I hate LaTeX, I love LaTeX

#58

Try TeXmacs, it's neither TeX nor it's Emacs clone. TeXmacs is WYSIWYG scientific editing platform. Documents created can be saved in TeXmacs, Xml, Scheme, PDF or Postscript. Converters exist for TeX/LaTeX and HTML/MathML. It can also be used as a graphical front-end for other computer algebra, numerical analysis, statistics software[1]. [1] https://www.texmacs.org/tmweb/home/welcome.en.html

Any published papers that use this?

Re: I hate LaTeX, I love LaTeX

#59
post #43

Jesus H Carnegie. I JUST WANT TO WRITE AN ACADEMIC ARTICLE. I mean, look at this abhorrence. And look at what you open up in a TeX file, which again is meant to represent English prose . % Options for packages loaded elsewhere \PassOptionsToPackage{unicode}{hyperref} \PassOptionsToPackage{hyphens}{url} % \documentclass[ ]{article} \usepackage{amsmath,amssymb} \usepackage{lmodern} \usepackage{iftex} \ifPDFTeX ... and…

Out of all the problems of TeX/LaTeX, the worst I found is that subscripts and superscripts visually dominate the line noise when they ought to be less visible than the main content. I think your example helps to illustrate that by the equations I tended to typeset where way worse for that problem. (But I only dipped my toe in properly programming it like OP, which I realise is even worse.)

This is really solved by the graphical equation editor in LyX. I wrote my master's thesis and PhD thesis using it, having previously written an undergrad thesis in raw LaTeX. When I switched, I was part way through writing up notes for a masters course and ended up rewriting them in LyX (sadly its LaTeX import is terrible). I found that I was able to write notes faster by a factor of 3! And I honestly was no LaTeX novice, it just really is less efficient. I shudder to imagine how long I would've spent on my PhD thesis without LyX.

The mistake people make with LyX is assuming it is for beginners trying to avoid LaTeX (and it does partly market itself that way). I consider it the opposite: it's best suited to those who already fully understand LaTeX. You still need to dip into it occasionally to edit the preamble or stick in the odd little snippet of manual LaTeX (that's ERT in LyX terminology). And while typesetting errors are much rarer with LyX (it's much harder to forget a closing brace when you don't put them in in the first place), when they do occur it's because something has gone really wrong so you better know what's going on.

Re: I hate LaTeX, I love LaTeX

#60
post #43

Jesus H Carnegie. I JUST WANT TO WRITE AN ACADEMIC ARTICLE. I mean, look at this abhorrence. And look at what you open up in a TeX file, which again is meant to represent English prose . % Options for packages loaded elsewhere \PassOptionsToPackage{unicode}{hyperref} \PassOptionsToPackage{hyphens}{url} % \documentclass[ ]{article} \usepackage{amsmath,amssymb} \usepackage{lmodern} \usepackage{iftex} \ifPDFTeX ... and…

Honestly, do you have any idea how to improve the math mess? I did use both Word and LaTeX für equations, the latter is much faster for me. So WYSIWYM seems to have its usecase. But I agree, reading that equation is just awful. My idea would be tooling to partially render tha equation, e.g. rendering sections the cursor is not in.
Post reply on HN