Reputation
2,269
Top tag
Next privilege 2,500 Rep.
Create tag synonyms
Badges
12 36
Impact
~388k people reached

Jul
27
comment Adding vertical lines to each side of a paragraph
Ok I see. I will probably not be able to use your option then, because I unfortunately cannot update the system (yet). Thanks for identifying the problem though!
Jul
27
comment Adding vertical lines to each side of a paragraph
I get the error: I do not know the key '/tcp/borderline vertical', to which you passed '{1pt}{0pt}{black}', and I am going to ignore it. Perhaps you misspelled it.
Jul
27
comment LaTeX conditional expression
@WillRobertson It is also perhaps worth mentioning that the default setting for \newtoggle is false. I say that because I just looked it up after reading your answer. Thanks for this useful answer!
Jul
27
comment What is the difference between \NewDocumentCommand and \DeclareDocumentCommand?
I just dished out €140 for David Bausum's TeX Reference Manual, so I will be delving into all kinds of things that could make me unhappy :D I will follow your advice for now though and live happier.
Jul
23
comment Abstract problem
@ahmed Just provide an example of your code. Unicode characters are unsupported in plain latex without a few tweaks (\usepackage[utf8]{inputenc}). Try typesetting your doc using xelatex or reading this: tex.stackexchange.com/questions/34604/…
Jul
23
comment Changing header on Fancyhdr
@Ruben I think stackexchange should switch to sending cookies for showing appreciation.
Jul
17
comment How can I iterate over a newline-delimited text file?
@egreg Ok, another question. Why does using \item as a separator not work even when I surround listprint by an appropriate list environment like enumerate?
Jul
17
comment How can I iterate over a newline-delimited text file?
@egreg Why do you need the \cs_generate_variant:Nn \macmadness_print_list:n { V } ? I get the \NewDocumentCommand{\listprint} calling the \macmadness_print_list:V \l__macmadness_list_name_tl and subsequentially calling \cs_new_protected:Npn \macmadness_print_list:n #1. When is this variant triggered and how?
Jul
17
comment How can I apply a regex (l3regex) on items in a sequence? [LaTeX3]?
@egreg Can I execute an ExecuteMetaData command from the catchfilebetweentags package on each of the list items that the listprint command prints? e.g. like writing some command underneath \macmadness_print_list:V \l__macmadness_list_name_tl? Or do I need to loop over the items again? Nevermind, I think I should just redefine the \macmadness_print_list protected command. How would you inject \ExecuteMetaData[filename (item in list)]{mymetatag}?
Jul
10
comment How can I apply a regex (l3regex) on items in a sequence? [LaTeX3]?
Wherein \exp_not:N is located I should have written. There are extra brackets around \exp_not:N that are not in my example. The pair just above { \seq_use:NV \l_macmadness_output_seq \l__macmadness_list_separator_tl }
Jul
10
comment How can I apply a regex (l3regex) on items in a sequence? [LaTeX3]?
I've copied your code into mine and it does not work correctly. Are you sure that you did not change anything else? Would you be willing to explain the extra { } where \exp_not: is located, and \exp_not: itself? That seems to be an important step I was missing. Also, the reason why I was looking for \_ is because originally, the code was used outside of a LaTeX3 environment. I had to escape the underscore there. Thanks for that correction.
Jul
10
comment How can I apply a regex (l3regex) on items in a sequence? [LaTeX3]?
@DavidCarlisle It can be anything. It is just used between items in the output. \par would list each item vertically.
Jul
9
comment How can I embed xstring commands (with commands as tokens) within other xstring commands?
Just for educational purposes, could you add what a fully expanded \_ is?
Jul
9
comment How can I embed xstring commands (with commands as tokens) within other xstring commands?
Thanks for an alternative solution!
Jul
9
comment How can I embed xstring commands (with commands as tokens) within other xstring commands?
Your answer is my favorite, but I must mark egreg's answer, because it fits the question more accurately.
Jul
8
comment How can I embed xstring commands (with commands as tokens) within other xstring commands?
Thats funny because in the real document I am using ExplSyntax (LaTeX3). This question stems from iterating files: tex.stackexchange.com/questions/254247/…. I have a bunch of documents with ISO 639-1 language suffixes (en, de, etc.). They are contained in a master folder with the same name of the files but without the language suffix or extension.
Jul
8
comment How can I iterate over a newline-delimited text file?
I tried \listset{\input{Documents.txt}}, but it did not work. What am I doing wrong here? Documents.txt exists in the same folder as the tex file.
Jul
7
comment How to prevent page break between two section headings with color formatting using titlesec?
My problem with the tagging command is that my entire title text variable is passed into a TikZ node (I keep getting errors). I know that I did not provide a working example for this, because I wanted to keep my example to a minimum. I will post some notes later in my question about this. You did answer the question, however.
Jul
6
comment How to prevent page break between two section headings
I would like to know how to do this with titlesec, so I asked a new question here: tex.stackexchange.com/questions/253887/…
Jul
2
comment Decreasing the font-size of a word written with full capital letters
@Dalek When you say, "without needing to write it each time", do you mean not having to write the macros each time as in \smallcaps{THIS PHRASE} (just making ALL capital letters smaller?) You can always do {\small THIS PHRASE} (you need the brackets to keep the scope of \small limited to "THIS PHRASE") Also, do you mean a word written entirely with capital letters? Or, is a full capital letter something fuller than a normal capital letter?