Questions tagged [stringstrings]

22 questions
3
votes
2 answers

How can I use accented characters in Stringstrings commands?

I am french and I would like to manage accented characters when using Stringstrings commands. Here is a LaTeX Minimal Example to show you my issue…
3
votes
2 answers

removing the first character in a combination of strings and commands/tokens using \gobblechar of stringstrings

I'm working with the stringstrings package. It has a command called \gobblechar which removes the first character in a string or token. Kindly see my MWE below. it has been revised as per inputs from…
3
votes
1 answer

Remove two words

I'm writing a description of a method, where the title of each section is formatted like Step X: . Now, I want to reference the section as Step X (""). I am aware of \nameref, but I don't know how to remove the first two…
koppor
  • 3,252
2
votes
3 answers

How to use stringstrings to include braces in to-string

Macrons in LaTeX are typset with '\=' preceeding the character, for example '\=o' creates an 'o' with a macron. I would like to use stringstrings to define a newcommand to replace all '/' characters with the macron '\=' sequence. The catch- the…
Todd
  • 41
0
votes
1 answer

Adding colour to a subtraction code whilst borrowing, crossing out and answer

can anybody help me adding some colour to this code, for example the digits, cancel, borrow and answer all being different colours. \documentclass{article} \usepackage{stringstrings,stackengine} \newcommand\showdiff[2]{% \let\savediff\relax% …
Paul A
  • 1,055
  • 4
  • 14
0
votes
1 answer

\gobblechar command not working in stringstrings package?

I'm working with the stringstrings package. It has a command called \gobblechar which removes the first character in a string or token. Kindly see my MWE…