Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #13450

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

From Eduardo MAM Mendes <emammendes@me.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Using a notebook - how to add a caption and ...
Date 2013-02-11 09:36 +0000
Message-ID <kfae3p$m5g$1@smc.vnet.net> (permalink)
References <20130209054611.56BB4695B@smc.vnet.net>
Organization Time-Warner Telecom

Show all headers | View raw


That is true!  I completely forgot ImageSize.

many thanks

Ed

On Feb 10, 2013, at 6:41 PM, Murray Eisenberg <murrayeisenberg@gmail.com> wrote:

> 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@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@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@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@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@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
> 
> 
> 
> 
> 

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Re: Using a notebook - how to add a caption and ... Eduardo MAM Mendes <emammendes@me.com> - 2013-02-11 09:36 +0000

csiph-web