修订版 | e2ec3deecd726368c0f44f80c35d167d98eb7fbf (tree) |
---|---|
时间 | 2019-09-16 23:49:43 |
作者 | Lorenzo Isella <lorenzo.isella@gmai...> |
Commiter | Lorenzo Isella |
A simple tex file to compile latex tables into a standalone pdf.
@@ -0,0 +1,74 @@ | ||
1 | +\documentclass{article} | |
2 | +\usepackage[a4paper]{geometry} | |
3 | + | |
4 | + | |
5 | +\begin{document} | |
6 | + | |
7 | +\pagenumbering{gobble}% Remove page numbers (and reset to 1) | |
8 | +% \clearpage | |
9 | +% \thispagestyle{empty} | |
10 | + | |
11 | + | |
12 | + | |
13 | + | |
14 | +% latex table generated in R 3.6.1 by xtable 1.8-4 package | |
15 | +% Mon Sep 16 14:47:30 2019 | |
16 | +\begin{table}[ht] | |
17 | +\centering | |
18 | +\begin{tabular}{lllr} | |
19 | + \hline | |
20 | +Importer & Exporter & Product & Number of NTM \\ | |
21 | + \hline | |
22 | +X & Y & A & 2 \\ | |
23 | + X & Y & B & 2 \\ | |
24 | + X & Y & C & 2 \\ | |
25 | + X & Y & D & 2 \\ | |
26 | + \hline | |
27 | +\end{tabular} | |
28 | +\caption{NTM on products from exporting country Y imposed by importing | |
29 | + country X.} | |
30 | +\end{table} | |
31 | + | |
32 | + | |
33 | +% latex table generated in R 3.6.1 by xtable 1.8-4 package | |
34 | +% Mon Sep 16 14:47:30 2019 | |
35 | +\begin{table}[ht] | |
36 | +\centering | |
37 | +\begin{tabular}{lllr} | |
38 | + \hline | |
39 | +Importer & Exporter & Product & Number of NTM \\ | |
40 | + \hline | |
41 | +Z & Y & A & 3 \\ | |
42 | + Z & Y & B & 1 \\ | |
43 | + Z & Y & C & 3 \\ | |
44 | + Z & Y & D & 1 \\ | |
45 | + \hline | |
46 | +\end{tabular} | |
47 | +\caption{NTM on products from exporting country Y imposed by importing | |
48 | + country Z.} | |
49 | +\end{table} | |
50 | +% latex table generated in R 3.6.1 by xtable 1.8-4 package | |
51 | +% Mon Sep 16 14:47:30 2019 | |
52 | +\begin{table}[ht] | |
53 | +\centering | |
54 | +\begin{tabular}{lllr} | |
55 | + \hline | |
56 | +Importer & Exporter & Product & Number of NTM \\ | |
57 | + \hline | |
58 | +W & Y & A & 3 \\ | |
59 | + W & Y & B & 1 \\ | |
60 | + W & Y & C & 4 \\ | |
61 | + W & Y & G & 2 \\ | |
62 | + W & Y & H & 1 \\ | |
63 | + W & Y & I & 1 \\ | |
64 | + \hline | |
65 | +\end{tabular} | |
66 | +\caption{NTM on products from exporting country Y imposed by importing | |
67 | + country W.} | |
68 | +\end{table} | |
69 | + | |
70 | + | |
71 | + | |
72 | + | |
73 | + | |
74 | +\end{document} |