News for hackers. Stuff that matters.
Re:Nota is a language for writing documents, like academic p... by enriquto on Friday October 20, 2023 @08:28AM (#37955175)
> in quarto - it's just markdown:

    >    ![Caption](path/to/image.png)
> And here is how you do it in TeX:

    >    \begin{figure}[t]
    >    \includegraphics{path/to/image}
    >    \centering
    >    \end{figure}
This is not the same thing! The LaTeX equivalent to your markdown would be

     \includegraphics{path/to/image.png}
which is arguably simpler and cleaner than the markdown. The figure environment is unnecessary when you just want to put a figure right there. You only need the figure environment when you want your image to "float" to a random place in your page.
Re:Nota is a language for writing documents, like academic p... by professoretc on Friday October 20, 2023 @09:30AM (#37955715)
> You only need the figure environment when you want your image to "float" to a random place in your page.

Which is also something the Markdown version can't do at all (give fine control over how the image is positioned). You have to use raw HTML plus probably some CSS if you want that.

Re:Nota is a language for writing documents, like academic p... by dash2 on Monday October 23, 2023 @09:51AM (#37985632)
God, the amount of pain I've had trying to use that "fine-grained control".