Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2013

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Using a notebook - how to add a caption and ...

  • To: mathgroup at smc.vnet.net
  • Subject: [mg129762] Re: Using a notebook - how to add a caption and ...
  • From: Murray Eisenberg <murrayeisenberg at gmail.com>
  • Date: Mon, 11 Feb 2013 04:38:12 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • Delivered-to: l-mathgroup@wolfram.com
  • Delivered-to: mathgroup-newout@smc.vnet.net
  • Delivered-to: mathgroup-newsend@smc.vnet.net
  • References: <20130209054611.56BB4695B@smc.vnet.net> <20130210082635.259B4696A@smc.vnet.net>

Easy to fix. Instead of just inserting the image, wrap it with Image and use the ImageSize option to Image. E.g.,

   Column[{Image[pic, ImageSize -> 300], "Mathematica 9 is here"}]

where either you've assigned to pic the inserted image or actually pasted a copied image right there.

On Feb 10, 2013, at 3:26 AM, Eduardo MAM Mendes <emammendes at me.com> wrote:

> Hi there
>
> many thanks. 
>
> There is one problem though.  If the Column cell is evaluated the figure size comes out pretty small and I have to resize every time.
>
> Am I doing something wrong?
>
> Cheers
>
> Ed
>
>
> On Feb 9, 2013, at 2:15 PM, Murray Eisenberg <murrayeisenberg at gmail.com> wrote:
>
>> Re your (a), putting a caption under an inserted picture:
>>
>> Here's one way. Before or after you insert the image, assign it to a name, say,
>>
>>  pic = . . . ;
>>
>> For example, from www.wolfram.com, I selected the "spiky" with the '9' on it and pasted it into an Input cell after "pic =" and evaluated the cell.
>>
>> Next, evaluate a new cell:
>>
>> Column[{pic, "Mathematica 9 is here"}]
>>
>> You may use a Style in the 2nd element of that list to change the font. And various options of Column to adjust the appearance.
>>
>> Actually, there's no need for the separate step of assigning the image to a name; you can directly paste the image into the first position of the list argument of Column.
>>
>>
>> On Feb 9, 2013, at 12:46 AM, Eduardo MAM Mendes <emammendes at me.com> wrote:
>>
>>> I have been using notebooks to write reports for a while.  Although I am getting by (the package Presentations by David Park has been of great help), I still have some points that I am not sure how to handle.  Ok,  here they are:
>>>
>>> a) Insert-> Picture-> From file inserts the jpg as advertised however I did not figure out how to add a text box that works as a caption just below the figure in the same cell.  Of course the cell cannot be evaluated, so I have turn off that option. If there is a way to add the caption, I wonder whether the whole cell - picture + caption - could be  centered justified.
>>>
>>
>> ---
>> Murray Eisenberg                                    murray at math.umass.edu
>> Mathematics & Statistics Dept.      
>> Lederle Graduate Research Tower            phone 413 549-1020 (H)
>> University of Massachusetts                               413 545-2838 (W)
>> 710 North Pleasant Street                         fax   413 545-1801
>> Amherst, MA 01003-9305
>>
>>
>>
>>
>>
>

---
Murray Eisenberg                                    
murray at math.umass.edu
Mathematics & Statistics Dept.      
Lederle Graduate Research Tower            phone 413 549-1020 (H)
University of Massachusetts                               413 545-2838 (W)
710 North Pleasant Street                         fax   413 545-1801
Amherst, MA 01003-9305








  • Prev by Date: Re: Using a notebook - how to add a caption and ...
  • Next by Date: Re: Using a notebook - how to add a caption and ...
  • Previous by thread: Re: Using a notebook - how to add a caption and ...
  • Next by thread: Re: Using a notebook - how to add a caption and ...