GeneralMore than 255 Tokens

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
Laurentius
Posts: 132
Joined: Wed Feb 11, 2009 11:38 pm

More than 255 Tokens

Post by Laurentius »

Is it possible to define a new set of numbered registers?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

More than 255 Tokens

Post by cgnieder »

Laurentius wrote:Is it possible to define a new set of numbered registers?
No. But if you include the package etex the available number is extended to 32767.

Code: Select all

\documentclass{article}
\usepackage{etex}
\begin{document}

\toks300={test}

contents: \the\toks300

\end{document}
Regards
site moderator & package author
Laurentius
Posts: 132
Joined: Wed Feb 11, 2009 11:38 pm

Re: More than 255 Tokens

Post by Laurentius »

great! thanks!
Post Reply