TransWikia.com

LaTeX3: {#1} or { #1 }

TeX - LaTeX Asked by mhchem on June 1, 2021

l3styleguide.pdf reads

With the exception of simple runs of parameter ({#1}, #1#2, etc.), everything should
be divided up using spaces to make the code more readable.

However, interface3.pdf shows examples both, {#1} and { #1 }.

So, I am a bit puzzled. What the preferred way? Did it change over time?

One Answer

The style guide tries to codify 'common' practice by the team. As mentioned in comments, on balance {#1} felt more 'readable' than { #1 } in most cases, whereas { some_funct:N l_some_var } seemed preferable. It's not universally applied, but is the most common formatting choice so is what is recommended.

Answered by Joseph Wright on June 1, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP