Make-up a small book for themselves.
There are two questions (see the picture in attach):
1. What name is gray box ? I mean the name of "gray box" in the printing industry. Inset ?
2. How to do it ?

Thanks.
NEW: TikZ book now 40% off at Amazon.com for a short time.
Code: Select all
\documentclass[a4paper,10pt]{article}
\usepackage[demo]{graphicx}
\usepackage{xcolor}
\usepackage[english]{babel}
\usepackage{blindtext}
\begin{document}
\fcolorbox{black}{gray}{
\parbox[b]{6cm}{\blindtext}
\ \includegraphics[height=7cm,width=4cm]{test}}
\end{document}
Code: Select all
\begin{figure}[!h]
\fcolorbox[gray]{0.92}{0.92}{
\begin{minipage}[!t]{0.7\textwidth}
Lorem Ipsum is simply dummy text of the printing and typesetting
industry. Lorem Ipsum has been the industry's standard dummy text
ever since the 1500s, when an unknown printer took a galley of type
and scrambled it to make a type specimen book. It has survived not
only five centuries, but also the leap into electronic typesetting,
remaining essentially unchanged...
\end{minipage}
\hspace{0.2cm}
\begin{minipage}[!t]{0.4\textwidth}
\includegraphics[height=7cm,width=5cm,keepaspectratio=true]{test}
\caption{Shaft axis alignment}
\label{fig:shaft_axis}
\end{minipage}
}
\end{figure}
NEW: TikZ book now 40% off at Amazon.com for a short time.