[NTG-context] Re: Scale content to height of the font, measure font height

2024-06-11 Thread Gerion Entrup
Am Montag, 10. Juni 2024, 15:53:19 MESZ schrieb Wolfgang Schuster: > Gerion Entrup schrieb am 10.06.2024 um 13:16: > > Hi, > > > > I'd like to scale something (actually a symbol drawn in TikZ) to the exact > > high of the char 'M'. I found the scale envi

[NTG-context] Re: Scale content to height of the font, measure font height

2024-06-10 Thread Wolfgang Schuster
Gerion Entrup schrieb am 10.06.2024 um 13:16: Hi, I'd like to scale something (actually a symbol drawn in TikZ) to the exact high of the char 'M'. I found the scale environment for it but struggle to measure the correct font height. I found the "definemeasure/measure/measure

[NTG-context] Re: Scale content to height of the font, measure font height

2024-06-10 Thread seyal zavira
text.} \stoptext On Mon, Jun 10, 2024 at 7:18 AM Gerion Entrup wrote: > Hi, > > I'd like to scale something (actually a symbol drawn in TikZ) to the exact > high of the char 'M'. I found the scale environment for it but struggle to > measure the correct font height

[NTG-context] Re: Scale content to height of the font, measure font height

2024-06-10 Thread Hans Hagen
On 6/10/2024 1:16 PM, Gerion Entrup wrote: Hi, I'd like to scale something (actually a symbol drawn in TikZ) to the exact high of the char 'M'. I found the scale environment for it but struggle to measure the correct font height. I found the "definemeasure/measure/measure

[NTG-context] Scale content to height of the font, measure font height

2024-06-10 Thread Gerion Entrup
Hi, I'd like to scale something (actually a symbol drawn in TikZ) to the exact high of the char 'M'. I found the scale environment for it but struggle to measure the correct font height. I found the "definemeasure/measure/measured" commands but they define a dimens

Re: [NTG-context] measure layer/ ruler

2022-01-01 Thread Youssef Cherem via ntg-context
Hans, Thanks a lot. I'm still trying to apply this to the top/bottom; I suppose it should be simple after I have a firmer grasp of language. lør. 1. jan. 2022 kl. 10:15 skrev Hans Hagen : > On 1/1/2022 11:46 AM, Youssef Cherem via ntg-context wrote: > > Dear list users, > > > > How can one go ab

Re: [NTG-context] measure layer/ ruler

2022-01-01 Thread Hans Hagen via ntg-context
On 1/1/2022 11:46 AM, Youssef Cherem via ntg-context wrote: Dear list users, How can one go about implementing a ruler around the page/text area (such as a background) like the one provided by the latex package fgruler? https://www.ctan.org/tex-archive/macros/latex/contrib/fgruler

[NTG-context] measure layer/ ruler

2022-01-01 Thread Youssef Cherem via ntg-context
Dear list users, How can one go about implementing a ruler around the page/text area (such as a background) like the one provided by the latex package fgruler? https://www.ctan.org/tex-archive/macros/latex/contrib/fgruler or koma script's \layercontentsmeasure?

Re: [NTG-context] Calculating with \measure

2017-03-19 Thread Marco Patzer
On Sun, 19 Mar 2017 18:18:48 +0100 Wolfgang Schuster wrote: > > Is it possible to calculate with \measure or do I have to resort to > > dimens? Example: > > > > \definemeasure [mymeasure] [4cm] > > \newdimen\mydim \mydim4cm > > > > \starttext > &

Re: [NTG-context] Calculating with \measure

2017-03-19 Thread Wolfgang Schuster
Marco Patzer <mailto:li...@homerow.info> 19. März 2017 um 18:06via Postbox <https://www.postbox-inc.com/?utm_source=email&utm_medium=sumlink&utm_campaign=reach> Hi! Is it possible to calculate with \measure or do I have to resort to dimens? Example: \definemeas

[NTG-context] Calculating with \measure

2017-03-19 Thread Marco Patzer
Hi! Is it possible to calculate with \measure or do I have to resort to dimens? Example: \definemeasure [mymeasure] [4cm] \newdimen\mydim \mydim4cm \starttext \framed[width=4cm]{Foobar} \framed[width=\measure{mymeasure}]{Foobar} \framed[width=2\mydim]{Foobar} \framed[width=2\measure