Questions tagged [catcodes]

{catcodes} is about "category codes" — an integer number from 0–15 associated to each of the 256 character codes. The category codes indicate the role of a character.

8 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
0answers
49 views

amsart + \makeatletter + @ @ @ in a caption = disappear

In some circumstance adding @ into the caption will cause it to disappear. This can be solved by adding \makeatother at proper places. I just want to know why is this happening. \documentclass{amsart}...
3
votes
0answers
54 views

Efficiently setting category code for a range of characters

I kept thinking about using Cyrillic characters in command names with PDFTeX engine. It looks to me so far that if I stay with 8-bit encoding and assign category code 11 to all Cyrillic letters ...
1
vote
0answers
41 views

Extra space in menukey’s directory output with 'bslash' sep

A user of menukeys reported (GutHub issue #48) that there is an extra space before hyphens in a directory sequence, when the input separator is a back slash: \documentclass{article} \usepackage{...
1
vote
0answers
94 views

Deactivating an active character

How do I deactivate an active character? The following works without the activizations in the preamble, but not with them, in spite of my attempt to reset the catcode of : to 12. \documentclass{...
1
vote
0answers
58 views

remove pipe chars in latex doc

My Doxygen project generate latex files. I can have a custom LaTeX header, but beyond that I don't have much control over the LaTeX content generated by Doxygen. Unfortunately the table formatting in ...
0
votes
0answers
55 views

How are class, package, document writers using modifications to \catcode

I'm thinking that the primary uses of changing \catcode in LaTeX are to: enable “private” macros (e.g., \makeatletter ... \@foo ... \makeatother or the expl3 syntax allow for verbatim-like commands/...
0
votes
0answers
33 views

How to make brackets work like group separators?

I know that the following is not something you are usually supposed to do, but I ask anyway: I am getting quite tired of the fact that TeX does not treat the content of brackets [...] as groups like {....
0
votes
0answers
115 views

Pasting a long text with many special characters into Latex

I want to paste a long text with many special characters (&,...) into my Latex doc. Is there any command to tell Latex to parse this text as it is, rather than parsing it as a Latex source? ...