[texhax] class options with spaces

Lars Madsen daleif at imf.au.dk
Wed Aug 5 20:19:54 CEST 2009

Arno Trautmann wrote:
> Hi,
> I need the possibility to define class options that take an argument
> with spaces, such as
> \documentclass[use=section one]{myclass}
> I try this using xkeyval:
> \DeclareOptionX{use}{\def\use at content{#1}}
> but the content of \use at content will be ”sectionone“. Is it possible to
> save the spaces? I didn’t find anything in the xkeyval doc and
> everything I tried (grouping in input etc.) was not successfull.
> Arno

have you tried  use={blah blah}?



More information about the texhax mailing list