Tag Info

New answers tagged

3

According to the PDF specification for PDF 1.7 (ISO 32000-1:2008), you are out of luck. The action dictionary for Launch actions defines the following keys for options: Win dictionary (Optional) A dictionary containing Windows-specific launch parameters (see Table 204). Mac (undefined) (Optional) Mac OS-specific launch parameters; not yet ...


1

Try enumitem \documentclass{article} \usepackage{enumitem} \usepackage{lipsum} \begin{document} \lipsum[1] \begin{enumerate}[leftmargin=*,label=aaa \arabic* --] \item \lipsum[1] \item Some other text \end{enumerate} \lipsum[2] \end{document}


2

It seems like this is also a situation where \scantokens could come in nicely: \documentclass[a4paper]{scrreprt} \newcommand{\cmd}{\begingroup \catcode`_=12 \cmdint} \newcommand{\cmdint}[1]{% \texttt{\scantokens{#1\noexpand}}% \endgroup } \newenvironment{wrap}{}{} \usepackage{environ} \NewEnviron{wrap2}{\BODY} \begin{document} \cmd{some_test} ...


1

The solution depends on the alphabet, used for the variables. If these are identifiers with upper and lower case letters, digits, underscore and some other harmless symbols (with category code 12/other, as punctuation chars) then \detokenize can be used to normalize the category codes of the identifier to token with category code 12 (same as digits): ...



Top 50 recent answers are included