Textures or pictures as background for a table.
Here's one option using the powerful tcolorbox
package in combination with the also powerful tabularx
. Using a style you can specify the table preamble, the image and possibly other attributes:
\documentclass{report}
\usepackage[table,dvipsnames]{xcolor}
\usepackage[most]{tcolorbox}
\usepackage{tabularx}
\usepackage{booktabs}
\usepackage{lipsum}
\tcbset{
bgtable/.style={
enhanced,
colframe=red!50!black,
colbacktitle=Salmon!30,
coltitle=black,
center title,
fonttitle=\bfseries\sffamily,
watermark graphics=#1,
watermark opacity=0.3,
nobeforeafter}
}
\begin{document}
\noindent\begin{tcolorbox}[bgtable=mushrooms.jpg,tabularx*={}{XXXXX},title=My table,watermark stretch=1.00]
One & Two & Three & Four & Five\\
\midrule
1000.00 & 2000.00 & 3000.00 & 4000.00 & 5000.00 \\
1000.00 & 2000.00 & 3000.00 & 4000.00 & 5000.00 \\
1000.00 & 2000.00 & 3000.00 & 4000.00 & 5000.00 \\
1000.00 & 2000.00 & 3000.00 & 4000.00 & 5000.00 \\
1000.00 & 2000.00 & 3000.00 & 4000.00 & 5000.00 \\
1000.00 & 2000.00 & 3000.00 & 4000.00 & 5000.00 \\
1000.00 & 2000.00 & 3000.00 & 4000.00 & 5000.00 \\
\end{tcolorbox}
\noindent\begin{tcolorbox}[bgtable=ctanlion.png,tabularx*={}{XXXXX},title=My table,watermark stretch=1.00,width=8cm,watermark opacity=0.3]
One & Two & Three \\
\midrule
1000.00 & 2000.00 & 3000.00 \\
1000.00 & 2000.00 & 3000.00 \\
1000.00 & 2000.00 & 3000.00 \\
1000.00 & 2000.00 & 3000.00 \\
1000.00 & 2000.00 & 3000.00 \\
1000.00 & 2000.00 & 3000.00 \\
1000.00 & 2000.00 & 3000.00 \\
1000.00 & 2000.00 & 3000.00 \\
1000.00 & 2000.00 & 3000.00 \\
\end{tcolorbox}
\end{document}
Or, if you prefer a more sober style:
\documentclass{report}
\usepackage[table,dvipsnames]{xcolor}
\usepackage[most]{tcolorbox}
\usepackage{tabularx}
\usepackage{booktabs}
\usepackage{lipsum}
\tcbset{
bgtable/.style={
freelance,
frame code={\draw[ultra thick] (interior.north west) -- (interior.north east);}
center title,
fonttitle=\bfseries\sffamily,
watermark graphics=#1,
watermark stretch=1.00,
watermark opacity=0.3,
arc=0pt,
outer arc=0pt,
nobeforeafter}
}
\begin{document}
\noindent\begin{tcolorbox}[bgtable=papiro.png,tabularx*={}{XXXXX},watermark opacity=0.6]
One & Two & Three & Four & Five\\
\midrule
1000.00 & 2000.00 & 3000.00 & 4000.00 & 5000.00 \\
1000.00 & 2000.00 & 3000.00 & 4000.00 & 5000.00 \\
1000.00 & 2000.00 & 3000.00 & 4000.00 & 5000.00 \\
1000.00 & 2000.00 & 3000.00 & 4000.00 & 5000.00 \\
1000.00 & 2000.00 & 3000.00 & 4000.00 & 5000.00 \\
1000.00 & 2000.00 & 3000.00 & 4000.00 & 5000.00 \\
1000.00 & 2000.00 & 3000.00 & 4000.00 & 5000.00 \\
\bottomrule
\end{tcolorbox}
\noindent\begin{tcolorbox}[bgtable=papiro.png,tabularx*={}{XXXXX},title=My table,watermark stretch=1.00,width=8cm,watermark opacity=0.6]
One & Two & Three \\
\midrule
1000.00 & 2000.00 & 3000.00 \\
1000.00 & 2000.00 & 3000.00 \\
1000.00 & 2000.00 & 3000.00 \\
1000.00 & 2000.00 & 3000.00 \\
1000.00 & 2000.00 & 3000.00 \\
1000.00 & 2000.00 & 3000.00 \\
1000.00 & 2000.00 & 3000.00 \\
1000.00 & 2000.00 & 3000.00 \\
1000.00 & 2000.00 & 3000.00 \\
\bottomrule
\end{tcolorbox}
\end{document}
A third example:
\documentclass{report}
\usepackage[table,dvipsnames]{xcolor}
\usepackage[most]{tcolorbox}
\usepackage{tabularx}
\usepackage{booktabs}
\usepackage{lipsum}
\tcbset{
bgtable/.style={
freelance,
frame code={}
center title,
fonttitle=\bfseries\sffamily,
fontupper=\bfseries\sffamily,
watermark graphics=#1,
watermark stretch=1.00,
watermark opacity=1,
arc=0pt,
outer arc=0pt,
nobeforeafter,
coltext=white}
}
\begin{document}
\noindent\begin{tcolorbox}[bgtable=drops.jpeg,tabularx*={\arrayrulecolor{white}}{XXXXX}]
One & Two & Three & Four & Five\\
\midrule
1000.00 & 2000.00 & 3000.00 & 4000.00 & 5000.00 \\
1000.00 & 2000.00 & 3000.00 & 4000.00 & 5000.00 \\
1000.00 & 2000.00 & 3000.00 & 4000.00 & 5000.00 \\
1000.00 & 2000.00 & 3000.00 & 4000.00 & 5000.00 \\
1000.00 & 2000.00 & 3000.00 & 4000.00 & 5000.00 \\
1000.00 & 2000.00 & 3000.00 & 4000.00 & 5000.00 \\
1000.00 & 2000.00 & 3000.00 & 4000.00 & 5000.00 \\
\end{tcolorbox}
\end{document}
CTAN lion drawing by Duane Bibby.
\documentclass{article}
\usepackage{stackengine}
\usepackage{graphicx}
\usepackage{xcolor}
\begin{document}
\bottominset{%
\color{magenta}%
\Huge%
\begin{tabular}{|c|c|c|}
\hline
This & is & a \\
\hline
test & of & tabular\\
\hline
inset & into & graphics\\
\hline
is & this & what \\
\hline
is & & needed?\\
\hline
& & today\\
\hline
\end{tabular}%
}{%
\scalebox{.66}{\includegraphics{sbs2}}%
}{1.4in}{}
\end{document}