this is for holding javascript data
Matteo Cantiello edited usepackage_tcolorbox_usepackage_tabularx_usepackage__.tex
about 9 years ago
Commit id: 614f91580a546e506257ff45711263a78b8d7af1
deletions | additions
diff --git a/usepackage_tcolorbox_usepackage_tabularx_usepackage__.tex b/usepackage_tcolorbox_usepackage_tabularx_usepackage__.tex
index 43e608b..815e838 100644
--- a/usepackage_tcolorbox_usepackage_tabularx_usepackage__.tex
+++ b/usepackage_tcolorbox_usepackage_tabularx_usepackage__.tex
...
\usepackage{tcolorbox}
\usepackage{tabularx}
\usepackage{array}
\usepackage{colortbl}
\begin{tcolorbox}[tab2,tabularx={X||Y|Y|Y|Y||Y}]
Group & One & Two & Three & Four & Sum \\\hline\hline
Red & 1000.00 & 2000.00 & 3000.00 & 4000.00 & 10000.00 \\\hline
Green & 2000.00 & 3000.00 & 4000.00 & 5000.00 & 14000.00 \\\hline
Blue & 3000.00 & 4000.00 & 5000.00 & 6000.00 & 18000.00 \\\hline\hline
Sum & 6000.00 & 9000.00 & 12000.00 & 15000.00 & 42000.00
\end{tcolorbox}
\begin{tcolorbox}[tab2,tabularx={X||Y|Y|Y|Y||Y},title=My table,boxrule=0.5pt]
Group & One & Two & Three & Four & Sum \\\hline\hline
Red & 1000.00 & 2000.00 & 3000.00 & 4000.00 & 10000.00 \begin{table}[htdp]
\caption{Comparison of Elements in Air on the Space Station and sea level on Earth}\label{default}
\begin{tabularx}{\linewidth}{|>{\RaggedRight}p{2.5cm}|x|x|x|}\hline
Chemical Component & Percentage in Earth's Atomsphere & Ideal Values for the Space Station & Astronaut Exhalation\\ \hline
Nitrogen & 78.084\% & 78.000\% & 74.200\% \\
Green & 2000.00 \hline
Oxygen &
3000.00 20.946\% &
4000.00 21.000\% &
5000.00 & 14000.00 15.300\% \\
Blue & 3000.00 & 4000.00 & 5000.00 & 6000.00 & 18000.00 \\\hline\hline
Sum & 6000.00 & 9000.00 & 12000.00 & 15000.00 & 42000.00
\end{tcolorbox}
\begin{tcolorbox}[tab1,tabularx={X||YYYY||Y}]
Group & One \hline
Argon &
Two 0.934\% &
Three 0.000\% &
Four & Sum \\\hline\hline
Red & 1000.00 & 2000.00 & 3000.00 & 4000.00 & 10000.00 0.000\% \\
Green & 2000.00 & 3000.00 \hline
Carbon Dioxide& 0.033\% &
4000.00 0.000\% &
5000.00 & 14000.00 3.600\% \\
Blue & 3000.00 & 4000.00 & 5000.00 \hline
Water Vapour &
6000.00 0.030\% &
18000.00 \\\hline\hline
Sum 1.000\% &
6000.00 & 9000.00 & 12000.00 0.800\% \\ \hline
Trace Elements& 0.003\% &
15000.00 0.000\% &
42000.00
\end{tcolorbox} 0.800\% \\ \hline
\end{tabularx}
\end{table}