Skip to main content

Questions tagged [active-characters]

2 votes
0 answers
66 views

I wanted to have a better looking centered dot in words for gendered-neutral expressions in French, and the simplest solution that suited me was replacing it by $\cdot$: un$cdot$e dévelopeur$\cdot$se. ...
Nowhere man's user avatar
0 votes
0 answers
27 views

Can anyone guide me a little to start creating the ActiveString \usepackage{?} in the simplest possible way?, where ? is a popup menu with a large list of packages ? that I supose that should do in a ...
Mika Ike's user avatar
  • 4,313
3 votes
1 answer
129 views

The following macro \mytest should 1) evaluate it's argument and 2) typeset it verbatim. The output looks ok for me, but the log files says: LaTeX Info: Active space character found while output ...
Andreas Matthias's user avatar
2 votes
4 answers
161 views

I am very confused about this. I am trying to build a csname from syntax like this: |ex,x;fa,y| --> \box_use:N \l__formal_exbox x and \box_use:N \l__formal_fabox y In this case the ; (and |) are ...
ToastedPotato's user avatar
3 votes
2 answers
135 views

I'm writing in czech with babel so there are some problems with - delimiter. The template I'm using is changing - delimiter to an active character (as the template says) for the \cline and \cmidrule ...
Jan K's user avatar
  • 97
4 votes
3 answers
231 views

For convenience (and also to deepen my LaTeX knowledge), I'm trying to define a list in a simple manner: \mylist(First, Second, Third, ...) Replacing the commas by something else (in this case by \...
E_3's user avatar
  • 143
1 vote
1 answer
254 views

In the bodeplot package, I defined new environments using (defined like this to avoid issues with externalization of tikz graphics) \documentclass{standalone} \usepackage{pgfplots,xparse} \pgfplotsset{...
Rushi's user avatar
  • 847
6 votes
1 answer
127 views

I have the following code to replace ' to \textquotesingle, because I prefer this symbol when I type an apostrophe. \makeatletter \catcode`\'=\active \def'{\textquotesingle} \makeatother The problem ...
Agente 156's user avatar
3 votes
2 answers
188 views

This is a follow up to my earlier question here: Detect catcode of next character? What I want to do: Count the number of " used in the document body. I am not using " for purposes such as ...
user avatar
3 votes
1 answer
137 views

This is follow up to a previous question that has been closed because it was treated wrongly. Brief recap: let \newcommand{\foo}{foo}. Having \foo in text like so test \foo bar will omit the space ...
antshar's user avatar
  • 4,762
0 votes
1 answer
71 views

Goal: Have an active character not expanded when writing to file MWE \documentclass{article} \makeatletter % == Package code -- untouchable \def\foo{\@ifnextchar[{\@foo}{\@foo[x]}} \...
aker's user avatar
  • 15
1 vote
1 answer
71 views

There's an active character * (can be anything, asterisk just used for demonstration purposes). If the character following * is a space, write \marginpar{foo}, otherwise write \marginpar{bar}. This ...
aker's user avatar
  • 15
0 votes
2 answers
227 views

I'm trying to print a vertical bar symbol, but it's \active in the ltxdoc document style (this code doesn't compile): \documentclass{ltxdoc} \begin{document} This is a vertical bar: |\|| \end{document}...
yegor256's user avatar
  • 13.1k
2 votes
1 answer
73 views

I use jinja to write templates. This makes me work with files like the one below. \documentclass[a4paper, 12pt]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \newcommand\devtool[1]{\...
projetmbc's user avatar
  • 15.4k
5 votes
2 answers
169 views

We (or at least I) usually think of an active character as just another command whose name just happens to a character rather than a control sequence. So why does \newcommand<active character> ...
Gaussler's user avatar
  • 15k

15 30 50 per page
1
2 3 4 5