# Tag Info

0


0

Ok thanks very much to egreg and clemens, I've tried your solutions and they work, now I would like to go further, and have two possible ways : Keeping customizing my environment I've modified the original "citar" environment given by egreg to add also the single spacing in the quotation (I'm using setspace with a 1.5 default spacing), and also add the ...

2

The standard mapping functions are meant for the simple case where you want to pass the mapped tokens to some pre-defined auxiliary. In a non-expansion context you can define the auxiliary dynamically to include other data \cs_new_protected:Npn \module_main:N #1 { \cs_set_protected:Npn \__module_aux:n ##1 { % Code using #1 } ...

2

You can do it, provided you use \the when the command is used in a <number> context. \let\textracingcommands\tracingcommands \def\tracingcommands{\tctoks={\tcgobble}\afterassignment\tcdo\textracingcommands} \def\tcdo{DONE} \def\tcgobble#1#2#3#4{\the} \newtoks\tctoks \tctoks={\tcgobble} \tracingcommands=3 \the\tracingcommands ...

2

Like Ulrike said in a comment you can use csquotes block environments. Your attempt looks like csquotes' displaycquotes environment. The output of those environments can be customized by redefining the hooks \mkbegdispquote{<punct>}{<cite>} \mkenddispquote{<punct>}{<cite>} This will however affect all displayquote environments of ...

2

The standard \newenvironment command doesn't allow parameters in the “end part”. You can use xparse and its \NewDocumentEnvironment command that does. \begin{filecontents*}{\jobname.bib} @article{BROUDIC1999, author={X. Broudic}, title={Whatever}, journal={Journal}, date={1999}, } \end{filecontents*} \documentclass{article} \usepackage[T1]{fontenc} ...

Top 50 recent answers are included