[texhax] On tikz package

Dr A K Hannaby keith.hannaby at mathshelp.com
Thu Jul 19 16:41:17 CEST 2012


Dear all

/

The following places a rectangular box with curved corners around everything
- including the figure caption, marked CAPTION.

How can I get the box to enclose all EXCEPT the caption, please?

/

\begin{figure}[htp]

\setlength{\abovecaptionskip}{8pt} % space above main figure caption was 8pt

\setlength{\belowcaptionskip}{0pt} % space below caption % centered properly

                \begin{tikzpicture}[rounded corners,draw=DarkRed,line
width=0.7pt,inner sep=7pt] 

                \node at (0,0) [rectangle,draw,fill=FigCream]{ % begin
minipage

                                \begin{minipage}[t]{114mm} % \centering

    \subfloat[\hspace{2.4pt}Calibrated thermometer reading body
temperature\hspace{0.4pt}: \hspace{0.6pt}$37^{\hspace{0.6pt}0}C$]

    {\label{fig:calibratedthermometer} %

 
\includegraphics[scale=1.0]{../my_book/chap_01_intro_figs/fig_01a_calibrated
_thermometer}} %

                                \vspace{6pt}

    \subfloat[\hspace{2.4pt}Same thermometer as above but reading
\hspace{2.4pt}$-9^{\hspace{0.2pt}0}C$]

   {\label{fig:negativetemperature}

 
\includegraphics[scale=1.0]{../my_book/chap_01_intro_figs/fig_01b_negative_t
emperature}}

                \caption{Illustrating \hspace{0.6pt}''negativeness''
\hspace{0.6pt}in the context of temperature} % CAPTION

                \label{fig:illustratingnegativeness} %

                \end{minipage}};

                \end{tikzpicture}

\end{figure}

/

Keith Hannaby

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/texhax/attachments/20120719/28bf6a07/attachment.html>


More information about the texhax mailing list