From: roosen Date: Wed, 8 Feb 2012 09:10:27 +0000 (+0000) Subject: Need \tt instead of \code in two places in the vignette. X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=40371f76c07c52275cb89e568bd56820075645d3;p=xtable.git Need \tt instead of \code in two places in the vignette. git-svn-id: svn://scm.r-forge.r-project.org/svnroot/xtable@32 edb9625f-4e0d-4859-8d74-9fd3b1da38cb --- diff --git a/pkg/inst/doc/xtableGallery.snw b/pkg/inst/doc/xtableGallery.snw index 6f52a05..4922c51 100644 --- a/pkg/inst/doc/xtableGallery.snw +++ b/pkg/inst/doc/xtableGallery.snw @@ -489,7 +489,7 @@ print(x.small,floating.environment='sidewaystable') \clearpage \subsection{Rescaled tables} -Specify a \code{scalebox} value to rescale the table. +Specify a {\tt scalebox} value to rescale the table. <<>>= x <- x[1:20,] @@ -502,7 +502,7 @@ print(x.rescale, scalebox=0.7) \subsection{Table Width} The {\tt tabularx} tabular environment provides more alignment options, -and has a \code{width} argument to specify the table width. +and has a {\tt width} argument to specify the table width. Remember to insert \verb|\usepackage{tabularx}| in your \LaTeX preamble.