Re: [NTG-context] Dimensions

2009-01-27 Thread Alan Stone
On Mon, Jan 26, 2009 at 9:32 PM, Wolfgang Schuster < schuster.wolfg...@googlemail.com> wrote: > > Am 26.01.2009 um 20:12 schrieb Alan BRASLAU: > > > The syntax of \dimexpr and \numexpr is subtle and mysterious. >> For example, >> >> \framed[width=.61\textwidth,height=\dimexpr.61\textwidth*1486/12

Re: [NTG-context] Dimensions

2009-01-26 Thread Wolfgang Schuster
Am 26.01.2009 um 20:12 schrieb Alan BRASLAU: The syntax of \dimexpr and \numexpr is subtle and mysterious. For example, \framed[width=.61\textwidth,height=\dimexpr. 61\textwidth*1486/1200\relax]{} works, but I never understood the limitations. How about an entry on the wiki? \dimexpr and \n

Re: [NTG-context] Dimensions

2009-01-26 Thread Alan BRASLAU
The syntax of \dimexpr and \numexpr is subtle and mysterious. For example, \framed[width=.61\textwidth,height=\dimexpr.61\textwidth*1486/1200\relax]{} works, but I never understood the limitations. How about an entry on the wiki? ___

Re: [NTG-context] Dimensions

2009-01-26 Thread Bart C. Wise
On Mon January 26 2009 11:12:48 am Hans Hagen wrote: > Bart C. Wise wrote: > > How do I specify a dimension that is an arithmetic expression? > > > > For example, > > \framed[width=\dimexpr\textwidth-12pt\relax]{} > > Thanks Hans. Bart __

Re: [NTG-context] Dimensions

2009-01-26 Thread Hans Hagen
Bart C. Wise wrote: How do I specify a dimension that is an arithmetic expression? For example, \framed[width=\dimexpr\textwidth-12pt\relax]{} Thanks, Bart ___ If your question is of interest to others as well, plea

[NTG-context] Dimensions

2009-01-26 Thread Bart C. Wise
How do I specify a dimension that is an arithmetic expression? For example, \framed[width=\textwidth-12pt]{} Thanks, Bart ___ If your question is of interest to others as well, please add an entry to the Wiki! maill

Re: [NTG-context] dimensions

2008-09-02 Thread Wolfgang Schuster
On Tue, Sep 2, 2008 at 12:58 PM, Alan Stone <[EMAIL PROTECTED]> wrote: > Thanks all. > > Was looking for the equivalent in height of a capital. Didn't find it there, > neither elsewhere, so... \strutht Wolfgang ___ If

Re: [NTG-context] dimensions

2008-09-02 Thread Mojca Miklavec
On Tue, Sep 2, 2008 at 12:58 PM, Alan Stone wrote: > Thanks all. > > Was looking for the equivalent in height of a capital. Didn't find it there, > neither elsewhere, so... One thing that you can always do: \box0=\hbox{012} and then you can access \ht0, \wd0, \dp0 (height, width and depth) of

Re: [NTG-context] dimensions

2008-09-02 Thread Alan Stone
Thanks all. Was looking for the equivalent in height of a capital. Didn't find it there, neither elsewhere, so... Best, Alan ___ If your question is of interest to others as well, please add an entry to the Wiki! ma

Re: [NTG-context] dimensions

2008-09-02 Thread Thomas A. Schmitz
On Sep 2, 2008, at 12:15 PM, Alan Stone wrote: > Hi, > > Is there a font dependant dimension, similar to 1em = width of an M, > but in height ? > > Best, > Alan Please spend some of your precious time on a reference. http://eijkhout.net/texbytopic/texbytopic.html You want chapter 4. Thomas

Re: [NTG-context] dimensions

2008-09-02 Thread Mojca Miklavec
On Tue, Sep 2, 2008 at 12:15 PM, Alan Stone wrote: > Hi, > > Is there a font dependant dimension, similar to 1em = width of an M, but in > height ? 1ex (= height of x). Mojca ___ If your question is of interest to oth

Re: [NTG-context] dimensions

2008-09-02 Thread Wolfgang Schuster
On Tue, Sep 2, 2008 at 12:15 PM, Alan Stone <[EMAIL PROTECTED]> wrote: > Hi, > > Is there a font dependant dimension, similar to 1em = width of an M, but in > height ? ex Wolfgang ___ If your question is of interest t

[NTG-context] dimensions

2008-09-02 Thread Alan Stone
Hi, Is there a font dependant dimension, similar to 1em = width of an M, but in height ? Best, Alan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.

Re: [NTG-context] Dimensions of a picture

2005-02-05 Thread Matt Gushee
Taco Hoekwater wrote: It seems probable that your JPEG file is broken, there is no size limit for JPEG images, but there are some checks to make sure that the file is 'valid ', and your image failed one of those checks. There are several command-line utilities for checking image files. The ImageMa

Re: [NTG-context] Dimensions of a picture

2005-02-03 Thread Taco Hoekwater
François Fasoli wrote: Is there a limitation of the dimensions of a picture ? Or another problem ? It seems probable that your JPEG file is broken, there is no size limit for JPEG images, but there are some checks to make sure that the file is 'valid ', and your image failed one of those checks. Th

[NTG-context] Dimensions of a picture

2005-02-03 Thread =?iso-8859-1?Q?Fran=E7ois_Fasoli?=
I have a problem with the following fie : \useexternalfigure[fig1][Mouette1]%1600x1200\useexternalfigure[fig2][Mouette2]%1024x768   \starttext%the following line gives an error :%Error: pdfetex.exe (file ./Mouette1.jpg): reading JPEG image failed%\externalfigure[fig1]   %the following lines r