TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Modern LaTeX

249 pointsby signa1110 days ago

20 comments

BlackFly10 days ago
I always wonder why people compare Latex with word and not with the single most popular document markup (especially here): HTML + css + javascript.<p>The problems are quite similar, &quot;How do I center a div?&quot; vs &quot;How do I keep this float on this page?&quot; Has latex really modernized? I don&#x27;t hear a lot about new layouts or style mechanisms.<p>Most people are probably reading articles online these days, although there is a lot to be said about printing an article to read. It seems to me that adding responsiveness to journal articles instead of using a fixed paper layout regardless of media might be a good improvement for many readers in many situations.
评论 #43892633 未加载
评论 #43892730 未加载
评论 #43893030 未加载
评论 #43892634 未加载
评论 #43893895 未加载
评论 #43903211 未加载
评论 #43897495 未加载
dev_l1x_be10 days ago
For me Typst replaced Latex years ago.<p>pros:<p>- one small compiler that can output: pdf, png, svg, html<p>- compilation is fast (see below)<p>- syntax is much cleaner than Latex<p>- few ways of to a thing<p>- already has all the templates most people need<p>- tooling is good enough with VS Code<p>- supports SVG images<p>cons:<p>- less users?<p><pre><code> time typst compile cv.typ ________________________________________________________ Executed in 126.21 millis fish external usr time 93.66 millis 0.07 millis 93.58 millis sys time 37.97 millis 1.51 millis 36.46 millis</code></pre>
评论 #43893617 未加载
评论 #43893631 未加载
评论 #43925595 未加载
dochtman10 days ago
Typst is the modern LaTeX.<p><a href="https:&#x2F;&#x2F;typst.app&#x2F;" rel="nofollow">https:&#x2F;&#x2F;typst.app&#x2F;</a>
评论 #43892995 未加载
评论 #43892421 未加载
评论 #43892463 未加载
评论 #43892733 未加载
评论 #43893100 未加载
评论 #43892744 未加载
评论 #43893630 未加载
评论 #43897721 未加载
评论 #43899917 未加载
评论 #43893126 未加载
评论 #43903025 未加载
评论 #43892875 未加载
cess1110 days ago
It&#x27;s easier and good enough to just use LyX, a graphical document editor with a bunch of backends and templates, and if you really need to do something special you can still drop down to LaTeX and do your own templating.<p><a href="https:&#x2F;&#x2F;www.lyx.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.lyx.org&#x2F;</a><p>It&#x27;s published under GPL so relatively protected from corporate nuisances. Takes five minutes to teach someone how to mark headlines, add content listing and change document type, then a little more to teach how to add tables and images.
评论 #43892872 未加载
herewulf10 days ago
I&#x27;m finally updating my CV after years of neglect. I&#x27;m keen on switching to the route of Org mode -&gt; LaTeX -&gt; PDF.<p>It&#x27;s partly because I love the simplicity&#x2F;power of Org and I do all my writing in it nowadays, the other part is to separate the content from the presentation so I can have the content in two different languages but still end up with the same formatted document for both.<p>Anyone have experience with this or have favorite LaTeX templates for CVs?<p>I&#x27;m currently experimenting with this:<p><a href="https:&#x2F;&#x2F;titan-c.gitlab.io&#x2F;org-cv&#x2F;" rel="nofollow">https:&#x2F;&#x2F;titan-c.gitlab.io&#x2F;org-cv&#x2F;</a>
评论 #43892829 未加载
评论 #43925576 未加载
评论 #43893239 未加载
评论 #43892787 未加载
qiu334410 days ago
LaTeX is quite underrated these days. Even though alternatives like Typst are popping up, LaTeX is also pretty convenient and powerful if you get past the crude syntax and obscure compilation errors. I sill remember my disbelieve when I found out that I can change my article into a presentation just by changing the document class to &quot;beamer&quot;.<p>These days I usually default to pandoc&#x27;s markdown, mostly because the raw text is very readable.
评论 #43892549 未加载
评论 #43892460 未加载
评论 #43892486 未加载
评论 #43892553 未加载
iNic10 days ago
I recommend people check out typst: <a href="https:&#x2F;&#x2F;typst.app&#x2F;" rel="nofollow">https:&#x2F;&#x2F;typst.app&#x2F;</a>
agubelu10 days ago
LaTeX is great. It also sucks. I&#x27;m happy to have learned it and I&#x27;m happy to never have to use it again.
评论 #43893189 未加载
aquafox10 days ago
Don&#x27;t get me wrong, I love LaTeX, having written my PhD thesis in it. But with the current tools, I would use Quarto instead. It&#x27;s much easier, you can still &quot;inject&quot; LaTeX and it&#x27;s quicker for less technical collaborators to adapt.
评论 #43892983 未加载
watusername10 days ago
Check out Tectonic which is an all-in-one LaTeX toolchain (single executable w&#x2F; engine + build system) that lazily downloads TeX Live (no upfront multi-gig downloads). It&#x27;s a breath of fresh air in the chaotic LaTeX landscape. Bit of a shame that they opted for XeTeX rather than LuaTeX though.<p>[0]: <a href="https:&#x2F;&#x2F;github.com&#x2F;tectonic-typesetting&#x2F;tectonic">https:&#x2F;&#x2F;github.com&#x2F;tectonic-typesetting&#x2F;tectonic</a>
评论 #43893435 未加载
arthur-st9 days ago
Having experience with digitizing a university textbook in physics by hand, this is a very nice LaTeX guide for everyone interested. One thing worth noting from 2025 perspective that the &quot;default&quot; local setup is most likely going to be VSCode with LaTeX Workshop[1] and LTeX+[2] extensions, and that you should use TeX Live on every platform supported by it (since MiKTeX and friends can lag). Also, use LuaTeX, as it&#x27;s the officially recommended[3] engine since November 2024.<p>[1] <a href="https:&#x2F;&#x2F;marketplace.visualstudio.com&#x2F;items?itemName=James-Yu.latex-workshop" rel="nofollow">https:&#x2F;&#x2F;marketplace.visualstudio.com&#x2F;items?itemName=James-Yu...</a><p>[2] <a href="https:&#x2F;&#x2F;marketplace.visualstudio.com&#x2F;items?itemName=ltex-plus.vscode-ltex-plus" rel="nofollow">https:&#x2F;&#x2F;marketplace.visualstudio.com&#x2F;items?itemName=ltex-plu...</a><p>[3] <a href="https:&#x2F;&#x2F;www.texdev.net&#x2F;2024&#x2F;11&#x2F;05&#x2F;engine-news-from-the-latex-project" rel="nofollow">https:&#x2F;&#x2F;www.texdev.net&#x2F;2024&#x2F;11&#x2F;05&#x2F;engine-news-from-the-latex...</a>
__mharrison__10 days ago
Use typst.<p>I&#x27;ve migrated all of my latex (book layout and invoicing) usage to typst and couldn&#x27;t be happier.
agoose7710 days ago
A shameless plug for the MyST Engine <a href="https:&#x2F;&#x2F;mystmd.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;mystmd.org&#x2F;</a><p>It&#x27;s a document engine that ingests Markdown (particularly the MyST superset) and builds upon &quot;structured data&quot; for sharing.<p>E.g. SciPy&#x27;s proceedings: <a href="https:&#x2F;&#x2F;proceedings.scipy.org&#x2F;articles&#x2F;XHDR4700" rel="nofollow">https:&#x2F;&#x2F;proceedings.scipy.org&#x2F;articles&#x2F;XHDR4700</a>
评论 #43893325 未加载
rochak10 days ago
I remember having to learn LaTeX to write my research papers. Probably the worst time I’ve had learning something. As someone who has OCD for making everything consistent, trying to achieve the same in LaTeX made me wanna give up research itself. In fact, now that I think about it, I did give up research due to it.
评论 #43893220 未加载
anta4010 days ago
I used LaTeX for writing my undergraduate thesis (&gt; 1 decade ago). Nowadays, unless I write anything involving complicated math expressions or something fancy like Karnaugh map, chessboard diagram etc etc, most likely LaTeX is overkill. Markdown is more than enough.
iveqy10 days ago
I&#x27;m looking for something that you can embedd in your own application. LaTeX would be great but it&#x27;s not really nice to have WEB code in your C application. It&#x27;s also has a bit troublesome license.
评论 #43893193 未加载
WolfOliver10 days ago
I would love to read some feedback on MonsterWriter. It is my side-project made to make LaTeX accessible for everybody.
mgaunard10 days ago
Why LuaLaTex and not XeLaTex?
评论 #43893157 未加载
评论 #43893308 未加载
评论 #43894216 未加载
menturi8 days ago
I glanced at the document and feel as though the author is not being very convincing on the advantages of LaTeX over WYSIWYG editors like Microsoft Word or LibreOffice Writer.<p><i>&gt; This might seem strange if you haven’t worked with markup before, but it comes with a few advantages:<p>&gt; 1. You can handle your writing’s content and its presentation separately. At the start of each document, you describe the design you want. LATEX takes it from there, consistently formatting your whole text just the way you asked. Compare this to a wysiwyg system, where you constantly deal with appearances as you write. If you changed the look of a caption, were you sure to find all the other captions and do the same? If the program arranges something in a way you don’t like, is it hard to fix?<p>&gt; 2. You can define your own commands, then tweak them to instantly adjust every place they’re used. For example, the \introduce and \acronym commands in the example above are my own creations. One italicizes text, and the other sets words in small caps with a bit of extra l e t t e r s p a c i n g so the characters don’t look too crowded. If I decide that I’d prefer new terms to have this look, or that acronyms should be formatted LIKE THIS, I just change the two lines that define those commands, and every instance in this book immediately takes on the new look.<p>&gt; 3. Being able to save the document as plain text has its own benefits:<p>&gt; • You can edit it with any basic text editor.<p>&gt; • Structure is immediately visible and simple to replicate.<p>&gt; • You can automate content creation using scripts and programs.<p>&gt; • You can track your changes with version control software, like Git or Mercurial.</i><p>I find the author&#x27;s criticisms not convincing, particularly points 1 and 2 but some aspects of point 3 as well.<p>&quot;If you changed the look of a caption, were you sure to find all the other captions and do the same?&quot; That applies equally to LaTeX as it does to Word or Writer. In Word&#x2F;Writer, you can use manual bold formatting and italics formatting for emphasis in two or so places. You can also find yourself in this situation using LaTeX by using \textbf or \textit for emphasis in different places. You can avoid this by following a convention like by defining and using something like \emphasis in LaTeX and using a character style in Word.<p>&quot;If the program arranges something in a way you don’t like, is it hard to fix?&quot; From my experience, text wrap style in Word or anchors in Writer behave roughly similar to float specifiers in LaTeX (unsure if that is the correct term).<p>&quot;You can define your own commands, then tweak them to instantly adjust very place they’re used.&quot; This is the essence of using styles in Word or Writer.<p>&quot;You can edit it with any basic text editor.&quot; Word can be opened&#x2F;extracted like a zip, and you can access the XML if you really want to mess with the markup language under the hood, though I&#x27;ve never seen anybody actually do this. &quot;You can automate content creation using scripts and programs.&quot; If you feel so motivated, I don&#x27;t see how this cannot apply to Word or Writer documents alike.<p>&quot;You can track your changes with version control software, like Git or Mercurial.&quot; I consider how Git or Mercurial can&#x27;t handle container formats as a limitation of those software more so than a limitation of the document itself.
cadamsdotcom10 days ago
Trivia: the correct capitalization is LaTeX and it&#x27;s pronounced &quot;lay-tek&quot;.<p>Knuth &amp; friends were on a roll naming things - the 80s must&#x27;ve been quite a time.<p>As always wiki knows all: <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;LaTeX" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;LaTeX</a>
评论 #43892727 未加载
评论 #43892523 未加载
评论 #43892512 未加载
评论 #43892563 未加载
评论 #43899185 未加载
评论 #43892963 未加载