[texhax] Issues with colour box in amsbook project [Was Fwd: FW:]

Alan T Litchfield alan at alphabyte.co.nz
Sun Jul 24 22:33:28 CEST 2011

It is better if you reply back to the list.

As I said in my post, I am not familiar with the ams classes and there
may be important settings that I do not know about. Others will be
better positioned to offer help than me.

I have also attached the original file for others who may wish to have
a look.

For myself I cannot reproduce what you reported. The image is able to
be read without problem and the box does not sit in front of the eps,
obscuring it. I have however changed the figure code to:

\begin{figure}[hbt]
\figboxeight{\centering
\includegraphics[scale=1.15,width=\linewidth]
{fig_12c_two_solutions.eps}
\caption{A double solution on a directed number line}
\label{fig:doublesolution}}
\end{figure}

so that the image sits correctly inside the box and does not extend
beyond it. I have also removed the minipage environment you had there.
I could see no reason for it.

Good luck
Alan

Begin forwarded message:

> From: "Dr A K Hannaby" <keith.hannaby at mathshelp.com>
> Date: 24 July 2011 10:18:30 PM
> To: "'Alan T Litchfield'" <alan at alphabyte.co.nz>
> Subject: RE: [texhax] FW:
>
> Alan
> Many thanks for picking up my problem.
> Error shows up as a result of lines 695 to 745 of the text file and
> on the
> output it is adjacent to the words: "with surround" and "without
> surround".
> I've attached a sample .eps picture file: fig_12c_two_solutions.eps
> to match
> the \include entry (sorry, I forgot about that).
> Also given a magnification factor 1.15 (or more) to show that the
> picture is
> behind the colorbox.
> Hope this helps.
> Keith
>
>
>
>
> -----Original Message-----
> From: texhax-bounces at tug.org [mailto:texhax-bounces at tug.org] On
> Behalf Of
> Alan T Litchfield
> Sent: 23 July 2011 23:13
> To: Dr A K Hannaby
> Cc: texhax at tug.org
> Subject: Re: [texhax] FW:
>
> Few things to start:
> 1. The email address you have used appears to be sufficiently precise.
> 2. It is better to include a subject. I normally ignore postings
> without a
> subject and selectively look at those that do.
> 3. Your file will not compile without the images you have specified
> and I do
> not want to spend the time in commenting out image references. What
> are the
> lines of code that are providing the errors you mention/giving you
> trouble?
>
> I suspect the problem is with the inclusion of the minipage
> environment inside the figure environment but that is just a guess.
> Note also that I am not entirely familiar with the ams classes and
> how they
> might change the behaviour of certain packages.
>
> As an aside, if I use multiple images inside one figure environment
> I prefer
> to use the subfig package
> ftp://ctan.tug.org/tex-archive/macros/latex/contrib/subfig/subfig.pdf
>
> Can you be more precise about the portion that requires attention,
>
> Alan
>
> On 23/07/2011, at 9:52 PM, Dr A K Hannaby wrote:
>
>> Tug
>> I don't appear to be making contact on my problem.
>> Yet, I am receiving daily emails on other matters.
>> Can you give me a precise email address to contact, please?
>> Keith
>>
>>
>>
>>
>> From: Dr A K Hannaby [mailto:keith.hannaby at mathshelp.com]
>> Sent: 20 July 2011 10:57
>> To: 'texhax at tug.org'
>> Subject:
>>
>> Dear Tug
>> I like to surround my diagrams and figures with a colorbox, working
>> in
>> Miktex 2.9 Trouble is the boxes have suddenly placed themselves in
>> front of my figures rather than behind.
>> I enclose sample text and the error is on page 7 of the output.
>> I would be most grateful for your help.
>> Yours
>> Keith Hannaby
>
> --
> Alan T Litchfield
> AlphaByte
> PO Box 1941, Auckland, 1140
> New Zealand
> http://www.alphabyte.co.nz
> http://www.alphabyte.co.nz/beatrice
>
>
> _______________________________________________
> TeX FAQ: http://www.tex.ac.uk/faq
> Mailing list archives: http://tug.org/pipermail/texhax/ More links:
> http://tug.org/begin.html
>
> Automated subscription management: http://tug.org/mailman/listinfo/texhax
> Human mailing list managers: postmaster at tug.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fig_12c_two_solutions.eps
Type: application/postscript
Size: 313898 bytes
Desc: not available
URL: <http://tug.org/pipermail/texhax/attachments/20110725/e3fe7acd/attachment-0001.eps>
-------------- next part --------------

--
Alan T Litchfield
AlphaByte
PO Box 1941, Auckland, 1140
New Zealand
http://www.alphabyte.co.nz
http://www.alphabyte.co.nz/beatrice