<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">\HeaderA{ver11}{Johnson \&amp; Johnson,  \$ \_  \##\# \textasciicircum{} \textasciitilde{}}{ver11}
\begin{Arguments}
\begin{ldescription}
\item[\code{foo}] item 1
\item[\code{bar}] space, the item 2
Warning: invalid whitespace before brace in file 'ver10.Rd' at ' \item{bah} {newline, then item 3}'
\item[\code{bah}] newline, then item 3
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
\R{} \R{} \bsl{}R \Alpha\beta\Gamma

In code, all that needs to be escaped is percent, backslash and unpaired
braces: \code{\% \bsl{} \{}. Unescaped: \code{\$ \# \_ \textasciicircum{} \textasciitilde{} &lt; &gt; |}, and as a
pair, \code{\{...\}}.  If we escape: \code{ \bsl{}a \bsl{}b \_ \# \$ \&amp; \{ \} \bsl{} }
And some backslashes: \code{\bsl{} \bsl{} \bsl{}\bsl{} \bsl{}\bsl{}} should
give zero, one, one, two backslashes.

How about \ (that is backslash space) in text?

Elsewhere, \{ \} \% \bsl{} need to be escaped, but not $ \# \_ \textasciicircum{} \textasciitilde{} \textless{} \textgreater{} \textbar{} .
Let's try that again in \code{\bsl{}samp}: \samp{ \{ \} \% \bsl{} $ \# \_ \textasciicircum{} \textasciitilde{} \textless{} \textgreater{} \textbar{}}.
And if we do escape: \$ \# \_ , and with three backslashes, \bsl{}\bsl{}\#.

\deqn{a &lt; b &gt; c | d, x^y}{}
\deqn{\$k &gt; \#k, x_y, x\_y}{}

group-weighting from $[N\_iP\_i(1-P\_i)]$

\begin{alltt}
    \% a
    \bsl{}
    \bsl{}\% c
    \{
    \bsl{}\{
\end{alltt}
\end{Details}
\begin{Section}{URLs and emails}
URLs need to be verbatim:  \url{testit ~^_$#&lt;&gt;|}.

Markus Kuhn, \dQuote{ASCII and Unicode quotation marks}.
\url{http://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html}

An escape is needed in \email{Micah\_Altman@harvard.edu} in \R{} \textless{} 2.9.0
\end{Section}
\begin{Examples}
\begin{ExampleCode}
Warning: \code inside \examples in file 'ver10.Rd'

Code such as \code{foo} inside \examples iused to be garbled.

"\\r\\n"
\end{ExampleCode}
\end{Examples}

</pre></body></html>