diff --git a/latex_examples/color_shade_and_frame.tex b/latex_examples/color_shade_and_frame.tex new file mode 100644 index 0000000..40a36dc --- /dev/null +++ b/latex_examples/color_shade_and_frame.tex @@ -0,0 +1,26 @@ +\documentclass{article} +\usepackage[table]{xcolor} +\usepackage{framed} + + +\begin{document} +\begin{table}[h] +\centering +\colorbox{blue!20}{ +\begin{minipage}{.5\textwidth} +\centering +\begin{tabular}{ccc} + test & test & test\\ + test & test & test + \end{tabular} + \caption{testcaption} +\end{minipage}} +\end{table} + + +\begin{framed} + This is framed text, I hope. This is framed text, I hope. This is framed text, I hope. This is framed text, I hope. This is framed text, I hope. This is framed text, I hope. This is framed text, I hope. This is framed text, I hope. This is framed text, I hope. This is framed text, I hope. This is framed text, I hope. This is framed text, I hope. This is framed text, I hope. This is framed text, I hope. This is framed text, I hope. + This is framed text, I hope. This is framed text, I hope. This is framed text, I hope. +\end{framed} + +\end{document}