7

Following up on this answer by @egreg and this question specifically on LaTeX3, where can I find some reasonable documentation or discussion on writing modern idiomatic LaTeX for composing documents? Ideally something with LaTeX3 in mind (i.e., xparse, l3keys2e, &c., not interface3.pdf), but even just a within-the-last-decade of how LaTeX2e documents should be written.

Note: I won't normally read technical information more than a decade old unless someone specifically says "LaTeX2e was frozen in 1994, so literally anything since then is accurate up until 2018"; I would love if there were some documentation on modern document-level idiomatic LaTeX!

Documentation I have already read:

Other related questions that don't answer my question:

  • 1
    Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. – Community Apr 25 '22 at 05:35
  • @Community bot, I would like a link or reference or huge answer explaining what would be considered good modern idiomatic LaTeX. I included some examples of what should be answered by such a reference. Thanks for the over broad pattern-matching! – gaelicWizard Apr 25 '22 at 05:44
  • 5
    lua code is so much nicer and easier to read than latex3 code. I have no idea why one would choose to write internal latex code in latex3 when there is lua available in lualatex. Is there something that latex3 gives, that can't be done with lua? (assuming one wants to only use lualatex compiler) – Nasser Apr 25 '22 at 06:00
  • 1
    @Nasser, I see a lot of comments on this site about Lua v. LaTeX3, but that's just silly talk. Lua is a programming language (available via LuaTeX, I know). I'm not asking about how to write a linked list data structure or csv parser or how to interact with a SQL server. I'm talking about writing documents for PDF. Snark aside, I legit don't understand why they're being compared; it's apples-to-oranges. – gaelicWizard Apr 25 '22 at 06:08
  • the specific list is rather hard to answer given the title and opening paragraph. You could ask about where to find information on current latex and L3 programming layer idioms. But your actual list of questions are all about classic latex and tex primitives, answers to the first bullet re \bf haven't changed since 1994 and the rest haven't really changed since the 1980s. – David Carlisle Apr 25 '22 at 06:47
  • 3
    @Nasser yes lots, the overlap in functionality is rather small. – David Carlisle Apr 25 '22 at 06:48
  • @DavidCarlisle, I'll try to re-word my question. Those examples aren't my question; just examples flowing from the first link. – gaelicWizard Apr 25 '22 at 06:57
  • @DavidCarlisle, I just removed the list of example questions. I think it was just a distraction that escaped my brain due to my thought process. Really, I just want a lshort.pdf that is correct and current for LaTeX in 2022 (i.e., uses \NewDocumentCommand rather than \newcommand), but more importantly doesn't suggest I use \def half the time (unless there is a concrete reason why that's better sometimes?). – gaelicWizard Apr 25 '22 at 07:05
  • @gaelicWizard \newcommand is not deprecated in favor of \NewDocumentCommand, I don't see why a "LaTeX in 2022" manual would encourage users to use the xparse syntax as much as possible – Daniel Diniz Jul 24 '22 at 14:20

0 Answers0