Tagged Questions
5
votes
1answer
93 views
StrSubstitute and @ inside and outside \lstnewenvironment
While further working on code for my answer to Different approach to literate programming for LaTeX, I am encountering a problem to which I am sure there is a very simple solution, but it completely ...
4
votes
3answers
497 views
Replace chars with xstring. Catcode problem
I try to do something like this (minimal example):
\documentclass[]{article}
\usepackage{mathtools}
\usepackage{xstring}
\newcommand{\foo}[1]{
\StrSubstitute{#1}{:}{\string&}[\fooo]
...