{xtemplate} is a high-level interface for declaring document commands, written for the LaTeX3 project. The pack­age pro­vides a mech­a­nism for defin­ing _tem­plates_, which are pa­ram­e­terised def­i­ni­tions of as­pects of doc­u­ment de­sign. Tem­plates are the tool through which doc­u­ment ...

learn more… | top users | synonyms

7
votes
1answer
124 views

How should I create complex objects using xtemplate?

Consider the following trivial example: \documentclass{article} \usepackage{xtemplate} \ExplSyntaxOn \DeclareObjectType { test } { 10 } \ExplSyntaxOff \begin{document} oh, nose! \end{document} ...
9
votes
1answer
85 views

What's the difference between object, template interface, and template code arguments in xtemplate?

From @cgnieder's very helpful xtemplate article: Basically there are four commands that are important for the definition of the structures: \DeclareObjectType {⟨object⟩} {⟨number of ...
3
votes
1answer
83 views

LaTeX template for 3 ring binder tabs

I have a three ring binder and it has eight page dividers. On each page divider is a clear slot to enter a tab for the name of the subject. The tabs are 0.5 inches by 1.5 inches. Is there a way to ...
7
votes
1answer
100 views

What's so bad about xtemplate collections?

The xtemplate documentation describes (briefly and a little unhelpfully) the concept of 'collections' in xtemplate. It goes on to say, However, while the idea of switchable instances is a useful ...
3
votes
0answers
42 views

xtemplate proposes 'objects,' but are they really objects? How can they be extended to become 'true' objects?

In chat, @cgnieder just pointed me to xtemplate after poking around my own startup ltx3obj. In section 3, the documentation states (at the time of writing): An object type (sometimes just ...
33
votes
3answers
867 views

Using LaTeX3’s xtemplate

Relevant are the answers to Moving to LaTeX3 for package authors and What new bits have already been implemented in Latex3? Will my current documents (with many packages) still compile with Latex3? ...