This file is indexed.

/usr/lib/R/site-library/xtable/doc/margintable.Rnw is in r-cran-xtable 1:1.8-2-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
%\VignetteIndexEntry{xtable margintable}
%\VignetteKeywords{LaTeX, HTML, table, margintable}
% !Rnw weave = knitr
% \VignetteEngine{knitr::knitr}

\documentclass{tufte-handout}


\title{
A Margin Table Example
}
\author{David J. Scott}



<<include=FALSE>>=
library(knitr)
@

\usepackage{rotating}
\usepackage{longtable}
\usepackage{booktabs}
\usepackage{tabularx}
\usepackage{hyperref}
\usepackage{fancyvrb}
\fvset{fontsize=\normalsize}

\begin{document}

\section{The Example}
\label{sec:example}

This document uses the Tufte handout \LaTeX\ document style. This is
specified by the use of the document class as
\Verb|\documentclass{tufte-handout}|.

The Tufte-\LaTeX\ document classes define a style similar to the
style Edward Tufte uses in his books and handouts.  Tufte's style is known
for its extensive use of sidenotes, tight integration of graphics with
text, and well-set typography.

One of the most prominent and distinctive features of this style is the
extensive use of sidenotes.  There is a wide margin to provide ample room
for sidenotes and small figures.  Any \Verb|\footnote|s will automatically
be converted to sidenotes.

Here is an example of a margin table, suggested by Felix Sch\"onbrodt
\Verb|<nicebread@gmx.net>|. I am not sure about its usefullness in
practice however. Note that \Verb|latex.environments = ""| avoids the
default option of tables being centered, which in this example would
lead to the caption not being directly under the table. Most
importantly, \Verb|table.placement = NULL| is required to ensure that
the default table placement options \Verb|[ht]| being inserted after
\Verb|\begin{margintable}|. This is necessary because the margintable
  environment does not allow placement options like \Verb|[ht]|.

<<>>=
library(xtable)
x <- matrix(rnorm(6), ncol = 2)
x.small <- xtable(x, label = 'tabsmall', caption = 'A margin table')
@

<<results='asis'>>=
print(x.small,floating.environment='margintable',
      latex.environments = "",
      table.placement = NULL)
@

\end{document}