The R Project SVN R

Rev

Rev 50818 | Rev 82557 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 50818 Rev 57370
Line 1... Line 1...
1
\inputencoding{latin1}
1
\inputencoding{utf8}
2
\HeaderA{ver20}{Johnson \& Johnson,  \$ \_  \#\#\# \textasciicircum{} \textasciitilde{}}{ver20}
2
\HeaderA{ver20}{Johnson \& Johnson,  \$ \_  \#\#\# \textasciicircum{} \textasciitilde{}}{ver20}
3
%
3
%
4
\begin{Description}\relax
4
\begin{Description}\relax
5
This is the description
5
This is the description
6
\end{Description}
6
\end{Description}
7
%
7
%
8
\begin{Arguments}
8
\begin{Arguments}
9
\begin{ldescription}
9
\begin{ldescription}
10
\item[\code{foo}] item 1
10
\item[\code{foo}] item 1
11
\item[\code{bar}] space, the item 2
11
\item[\code{bar}] space, the item 2
12
\item[\code{bah}] newline, then item 3
12
\item[\code{bah}] newline, then item 3
13
\end{ldescription}
13
\end{ldescription}
14
\end{Arguments}
14
\end{Arguments}
15
%
15
%
16
\begin{Details}\relax
16
\begin{Details}\relax
17
\R{} \R{} \bsl{}R \eqn{\alpha\beta\Gamma}{}
17
\R{} \R{} \bsl{}R \eqn{\alpha\beta\Gamma}{}
18
 
18
 
19
In code, all that needs to be escaped is percent, backslash and unpaired
19
In code, all that needs to be escaped is percent, backslash and unpaired
20
braces: \code{\% \bsl{} \{}. Unescaped: \code{\$ \# \_ \textasciicircum{} \textasciitilde{} < > |}, and as a
20
braces: \code{\% \bsl{} \{}. Unescaped: \code{\$ \# \_ \textasciicircum{} \textasciitilde{} < > |}, and as a
21
pair, \code{\{...\}}.  If we escape: \code{ \_ \# \$ \& \{ \} \bsl{} }
21
pair, \code{\{...\}}.  If we escape: \code{ \_ \# \$ \& \{ \} \bsl{} }
22
And some backslashes: \code{\bsl{} \bsl{} \bsl{}\bsl{} \bsl{}\bsl{}} should
22
And some backslashes: \code{\bsl{} \bsl{} \bsl{}\bsl{} \bsl{}\bsl{}} should
23
give one, one, two, two backslashes.
23
give one, one, two, two backslashes.
24
 
24
 
25
How about \bsl{} (that is backslash space) in text?
25
How about \bsl{} (that is backslash space) in text?
26
 
26
 
27
Elsewhere, \{ \} \% \bsl{} need to be escaped, but not \$ \# \_ \textasciicircum{} \textasciitilde{} < > | .
27
Elsewhere, \{ \} \% \bsl{} need to be escaped, but not \$ \# \_ \textasciicircum{} \textasciitilde{} < > | .
28
Let's try that again in \code{\bsl{}samp}: \samp{ \{ \} \% \bsl{} \$ \# \_ \textasciicircum{} \textasciitilde{} < > |}.
28
Let's try that again in \code{\bsl{}samp}: \samp{ \{ \} \% \bsl{} \$ \# \_ \textasciicircum{} \textasciitilde{} < > |}.
29
And if we do escape: \bsl{}\$ \bsl{}\# \bsl{}\_ , and with three backslashes, \bsl{}\bsl{}\#.
29
And if we do escape: \bsl{}\$ \bsl{}\# \bsl{}\_ , and with three backslashes, \bsl{}\bsl{}\#.
30
 
30
 
31
\deqn{a < b > c | d, x^y}{}
31
\deqn{a < b > c | d, x^y}{}
32
\deqn{\$k > \#k, x_y, x\_y}{}
32
\deqn{\$k > \#k, x_y, x\_y}{}
33
 
33
 
34
 
34
 
35
group-weighting from \$[N\_iP\_i(1-P\_i)]\$
35
group-weighting from \$[N\_iP\_i(1-P\_i)]\$
36
 
36
 
37
\begin{alltt}
37
\begin{alltt}
38
    % a
38
    % a
39
    \bsl{}
39
    \bsl{}
40
    \bsl{}% c
40
    \bsl{}% c
41
    \{
41
    \{
42
    \bsl{}\{
42
    \bsl{}\{
43
  \end{alltt}
43
  \end{alltt}
44
 
44
 
45
\end{Details}
45
\end{Details}
46
%
46
%
47
\begin{Section}{URLs and emails}
47
\begin{Section}{URLs and emails}
48
URLs need to be verbatim:  \url{testit ~^_$#<>|}.
48
URLs need to be verbatim:  \url{testit ~^_$#<>|}.
49
 
49
 
50
Markus Kuhn, ``ASCII and Unicode quotation marks''.
50
Markus Kuhn, ``ASCII and Unicode quotation marks''.
51
\url{http://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html}
51
\url{http://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html}
52
 
52
 
53
No escape is needed in \email{Micah\_Altman@harvard.edu}
53
No escape is needed in \email{Micah\_Altman@harvard.edu}
54
\end{Section}
54
\end{Section}
55
%
55
%
56
\begin{Examples}
56
\begin{Examples}
57
\begin{ExampleCode}
57
\begin{ExampleCode}
58
"\\r\\n"
58
"\\r\\n"
59
\end{ExampleCode}
59
\end{ExampleCode}
60
\end{Examples}
60
\end{Examples}