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/1200\relax]{}

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,

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

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 to

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 others

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

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

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