Tagged Questions
1
vote
1answer
46 views
How to expand keyval options immediately
I am trying to build up a macro that creates other macros depending on kvoptions' options. But then, the outcoming macros are dependent on the actual state of the options instead of their state at the ...
14
votes
3answers
184 views
Parsing strings containing diacritical marks (macros?)
I apologize that this question may seem very much like several other recent ones I have asked (Parsing leading hardspaces, Parsing a \$ as part of an improved \getargs command). They are all related ...
4
votes
1answer
53 views
String lowercase equality (newbie question)
i'd like to test if a string, once transformed into lowercase is equal to a given string. Here a MWE of what i'm talking about :
\documentclass[a4paper,10pt]{report}
\usepackage[francais]{babel}
...
3
votes
2answers
137 views
Command representing an expansion of a summation
I am very new to using LaTeX to write equation. And I am now learning how to create my own command. I am going to write a command \Listn to help me to do this:
\Listn{\sumup}{(#1)}{+}
$\sumup{n}$\\
...
7
votes
1answer
248 views
How do I store the upper case counterpart of a string?
I have a string stored in a variable \word, and I want to store its upper case counterpart in another variable \WORD. If I try
\def\WORD{\MakeUppercase{\word}}
\show\WORD
then the message ...