Reputation
2,115
Top tag
Next privilege 2,500 Rep.
Create tag synonyms
Badges
11 35
Newest
 Revival
Impact
~361k people reached

Apr
23
revised Is there a way to delay the setting of hyperref hypersetup values?
added solution as I have it
Apr
23
accepted Is there a way to delay the setting of hyperref hypersetup values?
Apr
23
comment Is there a way to delay the setting of hyperref hypersetup values?
It works. Here it is: \newcommand\hyperset{\hypersetup{pdftitle={\baluga{} \whale{}},}} and call it after the \renewcommand\whale{whale} in the \specialmacro. If you incorporate that into your answer I will give you credit for it.
Apr
23
comment Is there a way to delay the setting of hyperref hypersetup values?
That is in interesting idea. I will try wrapping \hypersetupin a macro and calling it in the \specialmacro after the title is set.
Apr
23
comment Is there a way to delay the setting of hyperref hypersetup values?
I am sorry, but that does not answer the question, "Is there a way to post-process setting the hyperref hypersetup values?" I appreciate the effort anyway.
Apr
23
awarded  Nice Question
Apr
23
asked Is there a way to delay the setting of hyperref hypersetup values?
Apr
23
comment How can I typeset a command and its literal equivalent in an environment?
@egreg Sorry to be such a nag, but I really want to understand this. In your rescan, you create a new arg \l_macmad_argument_tl to contain the standard tokens of arg1 e.g. \framebox Then you follow it with {} which I don't understand, then \l_macmad_argument_i_tl. The manual states that rescan takes "⟨tl var⟩ {⟨setup⟩} {⟨tokens⟩}". tl var=\l_macmad_argument_tl, setup={}, tokens=\l_macmad_argument_i_tl? Is that correct? Where is your setup? And if it is just {}, what does that mean?
Apr
23
comment How can I typeset a command and its literal equivalent in an environment?
@egreg Why is the second \l_macmad_argument_ii_tl in \tl_if_blank:VF \l_macmad_argument_ii_tl {\l_macmad_argument_ii_tl } in braces?
Apr
22
comment How can I typeset a command and its literal equivalent in an environment?
@egreg The interface3 manual states that tl=token list and that l= parameters whose value should only be set locally. Are those referring to what you have as \tl and \l? I also see the _tl appended to the variable name.
Apr
22
comment How can I typeset a command and its literal equivalent in an environment?
Great! Thanks for sharing another option. My problem with the tcolorbox option is that it does not fully support hyperref. Perhaps in future versions this will not be the case.
Apr
22
comment How can I typeset a command and its literal equivalent in an environment?
@egreg Ok, I was able to get the literal command into a node like this \tikz \node [fill=blue!15] {\l_macmad_argument_i_tl};\par. However, I was not able to do the same to the typeset/reread version \l_macmad_argument_tl for some reason. Thanks for pointing me in the right direction! I am sitting here with a paper copy of the xparse documentation in front of me. I will check out interface3
Apr
22
comment How can I typeset a command and its literal equivalent in an environment?
@egreg What is this \tl_set:Nn business? I lost control of the code because I don't understand it. As it turns out, I don't want the commands to be in the margin. Normally I would just get rid of the marginnote and use a minipage or something. Also, I find it confusing that the first example uses xparse, but the second one does not. Really great work! Thanks for the help.
Apr
22
comment How can I typeset a command and its literal equivalent in an environment?
@egreg My favorite is the recursive definition: This command prints the \TeX\ logo.
Apr
22
accepted How can I typeset a command and its literal equivalent in an environment?
Apr
22
accepted How does the stripcommand in the pgfmanual file work?
Apr
21
revised How can I typeset a command and its literal equivalent in an environment?
grammar
Apr
21
comment How can I typeset a command and its literal equivalent in an environment?
You also end up with issues in the event a command takes no arguments.
Apr
21
revised How can I typeset a command and its literal equivalent in an environment?
fixed keys on output
Apr
21
revised How can I typeset a command and its literal equivalent in an environment?
fixed key -> keys