The R Project SVN R

Rev

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

Rev 74265 Rev 75103
Line 159... Line 159...
159
    \code{group("(",list(a, b),"]")} \tab specify left and right delimiters \cr
159
    \code{group("(",list(a, b),"]")} \tab specify left and right delimiters \cr
160
    \code{bgroup("(",atop(x,y),")")} \tab use scalable delimiters \cr
160
    \code{bgroup("(",atop(x,y),")")} \tab use scalable delimiters \cr
161
    \code{group(lceil, x, rceil)} \tab special delimiters \cr
161
    \code{group(lceil, x, rceil)} \tab special delimiters \cr
162
    \code{group(lfloor, x, rfloor)} \tab special delimiters \cr
162
    \code{group(lfloor, x, rfloor)} \tab special delimiters \cr
163
  }
163
  }
164
  
164
 
165
  The supported \sQuote{scalable delimiters} are \code{| ( [ \{},
165
  The supported \sQuote{scalable delimiters} are \code{| ( [ \{},
166
  \code{lceil}, \code{lfloor} and their right-hand versions.
166
  \code{lceil}, \code{lfloor} and their right-hand versions.
167
  \code{"."} is equivalent to \code{""}: the corresponding delimiter
167
  \code{"."} is equivalent to \code{""}: the corresponding delimiter
168
  will be omitted. Delimiter \code{||} is supported but has the same
168
  will be omitted. Delimiter \code{||} is supported but has the same
169
  effect as \code{|}.
169
  effect as \code{|}.
170
  
170
 
171
  The symbol font uses Adobe Symbol encoding so, for example, a lower
171
  The symbol font uses Adobe Symbol encoding so, for example, a lower
172
  case mu can be obtained either by the special symbol \code{mu} or by
172
  case mu can be obtained either by the special symbol \code{mu} or by
173
  \code{symbol("m")}.  This provides access to symbols that have no
173
  \code{symbol("m")}.  This provides access to symbols that have no
174
  special symbol name, for example, the universal, or forall, symbol is
174
  special symbol name, for example, the universal, or forall, symbol is
175
  \code{symbol("\\042")}.  To see what symbols are available in this way
175
  \code{symbol("\\042")}.  To see what symbols are available in this way
Line 206... Line 206...
206
  from some implementations of the symbol font.)  Unfortunately,
206
  from some implementations of the symbol font.)  Unfortunately,
207
  \code{\link{postscript}} and \code{\link{pdf}} have support for little
207
  \code{\link{postscript}} and \code{\link{pdf}} have support for little
208
  more than European (not Greek) and CJK characters and the Adobe Symbol
208
  more than European (not Greek) and CJK characters and the Adobe Symbol
209
  encoding (and in a few fonts, also Cyrillic characters).
209
  encoding (and in a few fonts, also Cyrillic characters).
210
 
210
 
211
#ifdef unix
211
  \describe{
-
 
212
    \item{On Unix-alikes:}{
212
  In a UTF-8 locale any Unicode character can be entered, perhaps as a
213
  In a UTF-8 locale any Unicode character can be entered, perhaps as a
213
  \samp{\\uxxxx} or \samp{\\Uxxxxxxxx} escape sequence, but the issue is
214
  \samp{\\uxxxx} or \samp{\\Uxxxxxxxx} escape sequence, but the issue is
214
  whether the graphics device is able to display the character.  The
215
  whether the graphics device is able to display the character.  The
215
  widest range of characters is likely to be available in the
216
  widest range of characters is likely to be available in the
216
  \code{\link{X11}} device using cairo: see its help page for how
217
  \code{\link{X11}} device using cairo: see its help page for how
217
  installing additional fonts can help.  This can often be used to
218
  installing additional fonts can help.  This can often be used to
218
  display Greek \emph{letters} in bold or italic.
219
  display Greek \emph{letters} in bold or italic.
219
 
220
 
220
  In non-UTF-8 locales there is normally no support for symbols not in
221
  In non-UTF-8 locales there is normally no support for symbols not in
221
  the languages for which the current encoding was intended.
222
  the languages for which the current encoding was intended.
222
#endif
223
    }
223
#ifdef windows
224
    \item{On Windows:}{
224
  Any Unicode character can be entered into a text string \emph{via} a
225
  Any Unicode character can be entered into a text string \emph{via} a
225
  \samp{\\uxxxx} escape, or used by number in a call to
226
  \samp{\\uxxxx} escape, or used by number in a call to
226
  \code{\link{points}}.  The \code{\link{windows}} family of devices can
227
  \code{\link{points}}.  The \code{\link{windows}} family of devices can
227
  display such characters if they are available in the font in use.
228
  display such characters if they are available in the font in use.
228
  This can often be used to display Greek \emph{letters} in bold or italic.
229
  This can often be used to display Greek \emph{letters} in bold or italic.
Line 231... Line 232...
231
  and to determine the Unicode number is to use the \sQuote{Character
232
  and to determine the Unicode number is to use the \sQuote{Character
232
  Map} accessory (usually on the \sQuote{Start} menu under
233
  Map} accessory (usually on the \sQuote{Start} menu under
233
  \sQuote{Accessories->System Tools}).  You can also copy-and-paste
234
  \sQuote{Accessories->System Tools}).  You can also copy-and-paste
234
  characters from the \sQuote{Character Map} window to the \code{Rgui}
235
  characters from the \sQuote{Character Map} window to the \code{Rgui}
235
  console (but not to \code{Rterm}).
236
  console (but not to \code{Rterm}).
236
#endif
237
    }
-
 
238
 }
237
}
239
}
238
\references{
240
\references{
239
  Murrell, P. and Ihaka, R. (2000).
241
  Murrell, P. and Ihaka, R. (2000).
240
  An approach to providing mathematical annotation in plots.
242
  An approach to providing mathematical annotation in plots.
241
  \emph{Journal of Computational and Graphical Statistics},
243
  \emph{Journal of Computational and Graphical Statistics},