Tagged Questions
5
votes
1answer
70 views
Print a speacial character read by \readline in the same way in the document
I want to read a underscore character from a file with \readline and print it as an underscore in the resulting pdf. But the result is a high point. I've read quite a lot about category/character ...
9
votes
2answers
248 views
“Activate” active characters in argument passed as macro
Let's say I have some macro (\iPrint in the MWE) that internally uses active characters to interpret its argument:
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
...
3
votes
1answer
177 views
checking for whitespace inside verbatim environment
I would like to determine whether a line inside a verbatim environment starts with 3 spaces.
I'm using pdflatex and the \pdfmatch primitive. I see that the verbatim environment sets the category ...