[NTG-context] Re: read out of \tx-value possible?

2025-04-22 Thread Thomas Meyer
Meyer: is it possible to read out the value of \tx (or \txx ... )  for calculations if bodyfont and fontsize is given? \the\tx doesn't work. Does \showbodyfontenvironment help? Hraban Thank you, Hraban, I know this table. But I think it's too complicated for me to extract from

[NTG-context] Re: read out of \tx-value possible?

2025-04-12 Thread Bruce Horrocks
> On 12 Apr 2025, at 10:14, Thomas Meyer wrote: > > > > Am 11.04.25 um 12:19 schrieb Henning Hraban Ramm: >> Am 11.04.25 um 10:03 schrieb Thomas Meyer: >>> is it possible to read out the value of \tx (or \txx ... ) for >>> calculations if bodyfont

[NTG-context] Re: read out of \tx-value possible?

2025-04-12 Thread Thomas Meyer
Am 11.04.25 um 12:19 schrieb Henning Hraban Ramm: Am 11.04.25 um 10:03 schrieb Thomas Meyer: is it possible to read out the value of \tx (or \txx ... )  for calculations if bodyfont and fontsize is given? \the\tx doesn't work. Does \showbodyfontenvironment help? Hraban Thank you, H

[NTG-context] Re: read out of \tx-value possible?

2025-04-11 Thread Henning Hraban Ramm
Am 11.04.25 um 10:03 schrieb Thomas Meyer: is it possible to read out the value of \tx (or \txx ... )  for calculations if bodyfont and fontsize is given? \the\tx doesn't work. Does \showbodyfontenvironment help? H

[NTG-context] read out of \tx-value possible?

2025-04-11 Thread Thomas Meyer
Hi folks, is it possible to read out the value of \tx (or \txx ... )  for calculations if bodyfont and fontsize is given? \the\tx doesn't work.     \setuplayout[grid=yes]     \setupbodyfont[libertinus,12pt]     \setupinterlinespace[1.25\bodyfontsize]     \starttext     \samplefile{

[NTG-context] Re: how to only switch fontclass ?

2025-03-17 Thread Wolfgang Schuster
odern \setupbodyfont[pagella]TeX Gyre Pagella \rma TeX Gyre Pagella} \footnote{\rma Latin Modern \setupbodyfont[pagella]TeX Gyre Pagella \rma TeX Gyre Pagella} \stoptext % You have to add "keep" to \setupbodyfont to ensure \tx and \txx are kept when you switch the font, i.e. in your e

[NTG-context] Re: How to make superscript text match footnote mark formatting?

2024-04-27 Thread Joel via ntg-context
ing. How do I make the first one have the same exact > formtating as the real footnote? Footnotes apply the \tx style to the number in the running text and to get the same text size with \high you need \tx before the argument. Another solution is to create your own \high command where you set the t

[NTG-context] Re: How to make superscript text match footnote mark formatting?

2024-04-27 Thread Wolfgang Schuster
and to get the same text size with \high you need \tx before the argument. Another solution is to create your own \high command where you set the text size as default value but now you have to pass \txx as value because by default \high already uses style=\tx. When you now combine the default \

Re: [NTG-context] font size and style

2023-05-26 Thread Wolfgang Schuster via ntg-context
cted macro:\triggergroupedcommand {\setsmallbodyfont \tf } and \tx=protected macro:\currentxfontsize \plusone \ifmmode \scriptstyle \orelse \ifconditional \c_font_inherit_scale \font_scale_inherit_x \else \font_scale_defined_x \fi \al­ ways\let \tx \txx Thus in contrast \tx and \txx do respect the current sty

[NTG-context] font size and style

2023-05-26 Thread Hans van der Meer via ntg-context
cted macro:\currentxfontsize \plusone \ifmmode \scriptstyle \orelse \ifconditional \c_font_inherit_scale \font_scale_inherit_x \else \font_scale_defined_x \fi \al­ ways\let \tx \txx Thus in contrast \tx and \txx do respect the current style setting. My question: It seems most convenient if I could re

Re: [NTG-context] Cron /var/www/aanhet.net/context/bin/cron/context-mirror

2022-07-27 Thread Hans Hagen via ntg-context
On 7/27/2022 7:03 AM, Aditya Mahajan via ntg-context wrote: Very nice presentation! Lots of new features to play with. latest upload has eperimental x scaling (as we have with text \tx \txx whuch can come in handy when one needs to squeeze some math into some place \usemodule[article-basic

Re: [NTG-context] critical fun

2022-01-07 Thread Jean-Pierre Delange via ntg-context
as attached >> file) >> >>> Le 6 janv. 2022 à 20:00, Hans Hagen via ntg-context a >>> écrit : >>> >>> Hi, >>> >>> Maybe this is of interest to critical users: >>> >>> \setupsynchronize [paralleltext] [col

Re: [NTG-context] critical fun

2022-01-07 Thread Hans Hagen via ntg-context
] % \setupsynchronize [paralleltext] [style=\txx,color=darkgreen] I played a bit with it: \mainlanguage[de] \setupbodyfont[dejavu] \setupsynchronize [paralleltext] [color=darkblue] \starttext \paralleltext{Dies}{This}\space \paralleltext{könnte}{could}\space \paralleltext{für}{for}\space \paralleltext

Re: [NTG-context] critical fun

2022-01-06 Thread Hans Hagen via ntg-context
] % \setupsynchronize [paralleltext] [style=\txx,color=darkgreen] I played a bit with it: \mainlanguage[de] \setupbodyfont[dejavu] \setupsynchronize [paralleltext] [color=darkblue] \starttext \paralleltext{Dies}{This}\space \paralleltext{könnte}{could}\space \paralleltext{für}{for}\space \paralleltext

Re: [NTG-context] critical fun

2022-01-06 Thread Otared Kavian via ntg-context
aralleltext] [color=darkblue] >> % \setupsynchronize [paralleltext] [style=\tx,color=darkred] >> % \setupsynchronize [paralleltext] [style=\txx,color=darkgreen] >> >> \starttext >> >> \dorecurse{10}{% >> \paralleltext >> {[een allereerste zinnetje

Re: [NTG-context] critical fun

2022-01-06 Thread Henning Hraban Ramm via ntg-context
Am 06.01.22 um 20:00 schrieb Hans Hagen via ntg-context: Hi, Maybe this is of interest to critical users: \setupsynchronize [paralleltext] [color=darkblue] % \setupsynchronize [paralleltext] [style=\tx,color=darkred] % \setupsynchronize [paralleltext] [style=\txx,color=darkgreen] I played a

Re: [NTG-context] critical fun

2022-01-06 Thread Jean-Pierre Delange via ntg-context
is of interest to critical users: > > \setupsynchronize [paralleltext] [color=darkblue] > % \setupsynchronize [paralleltext] [style=\tx,color=darkred] > % \setupsynchronize [paralleltext] [style=\txx,color=darkgreen] > > \starttext > > \dorecurse{10}{% >\par

[NTG-context] critical fun

2022-01-06 Thread Hans Hagen via ntg-context
Hi, Maybe this is of interest to critical users: \setupsynchronize [paralleltext] [color=darkblue] % \setupsynchronize [paralleltext] [style=\tx,color=darkred] % \setupsynchronize [paralleltext] [style=\txx,color=darkgreen] \starttext \dorecurse{10}{% \paralleltext {[een

Re: [NTG-context] teaser

2020-08-07 Thread Jairo A. del Rio
BY-SA 3.0 License. > Ok, here is the more robust variant: > > \blank > \ifnum\boxlines\EnglishBox=\boxlines\SpanishBox > \ifnum\boxlines\EnglishBox=\boxlines\FrenchBox > \ifnum\boxlines\EnglishBox>0 > \dorecurse{\boxlines\SpanishBox}{% >

Re: [NTG-context] teaser

2020-08-07 Thread Hans Hagen
=\boxlines\SpanishBox \ifnum\boxlines\EnglishBox=\boxlines\FrenchBox \ifnum\boxlines\EnglishBox>0 \dorecurse{\boxlines\SpanishBox}{% \dontleavehmode\llap{\hbox to 1.5em{\txx#1\hss}}% \boxline \EnglishBox#1\

Re: [NTG-context] teaser

2020-08-06 Thread Jairo A. del Rio
cette colossale épave, infinis et nus, Les sables monotones et solitaires s’étendent au loin. » \egroup \dorecurse{\boxlines \spanishbox}{% \strut\llap{\hbox to 1.5em{\txx#1\hss}}\boxline \englishbox#1\par \strut\boxline \spanishbox#1\par \strut\boxline \frenchbox#1\par \blank } \stoptext T

Re: [NTG-context] Style for captions

2019-12-18 Thread Wolfgang Schuster
using \switchtobodyfont[small] instead of \tfx. \tf.. \bf.., etc. only change the text font; \switchtobodyfont changes the entire font family, including math. Only \tx and \txx (and the combinations \tfx etc.) ignore math. \starttext xxx \m{xxx} {\tfc xxx \m{xxx}} {\tfx xxx \m{xxx

Re: [NTG-context] Scaling down symbols and emojis

2019-01-19 Thread User 19087
gsub("%.?0+$","") .. "pt" return fs end \stopluacode % In some situations the 'tx' and 'txx' sizes are ignored by ConTeXt. This % macro determines the font size that would have been used by such a command % and switches the entire body fon

Re: [NTG-context] Scaling down symbols and emojis

2019-01-17 Thread User 19087
st and realized that while scaling down seems broken, > > scaling up works as expected: > \tx (or \tfx, \bfx etc.) and \txx are ignored in some cases unlike the > other size switches (\tfa etc.). Out of curio

Re: [NTG-context] Scaling down symbols and emojis

2019-01-16 Thread Wolfgang Schuster
\tfx, \bfx etc.) and \txx are ignored in some cases unlike the other size switches (\tfa etc.). When you need a switch for a smaller size which doesn’t has these limitations you can just create them: \definefontsize [m] \definefontsize [n] \setupbodyfontenvironment   [default]   [m=0.8

Re: [NTG-context] Interlinear translations in Context

2018-12-03 Thread Wolfgang Schuster
=\lefttoright\txx] \define[2]\InterlinearText {\ruby[interlineartext]{#1}{#2} } But that as mentioned looses all other databse entries except the first. Some hints where to make the r2l-switch with getting the same result? \starttext \setupalign[r2l] \processdatabasebuffer[interlineartext

Re: [NTG-context] Dot fills shifted down

2017-01-31 Thread Procházka Lukáš Ing .
Jan 2017, at 12:33, Procházka Lukáš Ing. wrote: Hello, the following code: \definefiller [DotFill] [alternative=symbol, symbol=., width=.5em, style=\txx] Fill here: \filler[DotFill]{} produces filler with dots on the baseline. Is there a way to shift the dots a bit lower

Re: [NTG-context] Dot fills shifted down

2017-01-31 Thread Otared Kavian
efinefiller > [DotFill] > [alternative=symbol, > symbol=., > width=.5em, > style=\txx] > > Fill here: \filler[DotFill]{} > > > produces filler with dots on the baseline. > > Is there a way to shift the dots a bit lower, bellow the basel

[NTG-context] Dot fills shifted down

2017-01-31 Thread Procházka Lukáš Ing .
Hello, the following code: \definefiller [DotFill] [alternative=symbol, symbol=., width=.5em, style=\txx] Fill here: \filler[DotFill]{} produces filler with dots on the baseline. Is there a way to shift the dots a bit lower, bellow the baseline, e.g. to 0.25em

Re: [NTG-context] Bug in CONTEXT/LuaTeX or just buggy font

2016-08-10 Thread Hans Hagen
nce reasons once per font instance) you can play with these: \setuplow [down=.48\exheight] \setuphigh[up=.86\exheight] e.g. use other values, but if your ex and em are bad you can expect many other issues (so best use decent fonts) for such cases. However, as these are der

Re: [NTG-context] Bug in CONTEXT/LuaTeX or just buggy font

2016-08-10 Thread Mohammad Hossein Bateni
\sx and \sxx so that you can say: > > \setuplow [style=\sx] > \setuphigh[style=\sx] > If I do this, this will not get attached to the font; right? For instance, if I def

Re: [NTG-context] Bug in CONTEXT/LuaTeX or just buggy font

2016-08-10 Thread Hans Hagen
le font switch and that one is unrelated to any other font setting. I'll add two new commands: \sx and \sxx so that you can say: \setuplow [style=\sx] \setuphigh[style=\sx] for such cases. However, as these are derived relative scales they are normally not compat

Re: [NTG-context] Dotted box in a form

2016-08-10 Thread Wolfgang Schuster
mbol=., width=.5em, style=\txx] \define\DotFill {\simplealignedbox{.4\textwidth}{flushleft}{\filler[DotFill]}} %\showframe[text][text] \starttext \starttabulate[|lw(.5\textwidth)|lw(.5\textwidth)|] \NC \DotFill \NC \DotFill \NC\NR \NC Pepa \NC Depa \NC\NR \stoptabulate \st

Re: [NTG-context] issues with typeface selection

2015-08-09 Thread Hans Hagen
On 8/9/2015 4:06 PM, Pablo Rodriguez wrote: On 08/08/2015 04:18 PM, Wolfgang Schuster wrote: [...] All I can tell at the moment is that the problem is related to the “x” font size. \starttext \startxtable \startxrow \startxcell[foregroundstyle=\txx] % this fails: foregroundstyle

Re: [NTG-context] issues with typeface selection

2015-08-09 Thread Pablo Rodriguez
On 08/08/2015 04:18 PM, Wolfgang Schuster wrote: > [...] > All I can tell at the moment is that the problem is related to the “x” > font size. > > \starttext > > \startxtable > \startxrow > \startxcell[foregroundstyle=\txx] % this fails: foregroundstyle

Re: [NTG-context] issues with typeface selection

2015-08-08 Thread Wolfgang Schuster
xtable \stoptext Is there a way to add both commands to foregroundstyle? Or how can I get both commands in the xcell? All I can tell at the moment is that the problem is related to the “x” font size. \starttext \startxtable \startxrow \startxcell[foregroundstyle=\txx] % this

Re: [NTG-context] \version[temporary] in mkiv

2015-04-11 Thread Hans Hagen
margin next to the number of the formula). The output is attached. % begin placeformula-ref.tex \def\placeformularef[#1]{\doifmodeelse{proofreading}% {\inrightmargin{\tt\txx #1}\placeformula[#1]}% {\placeformula[#1]}} less code \def\placeformularef[#1]% {\doifmode

Re: [NTG-context] \version[temporary] in mkiv

2015-04-11 Thread Otared Kavian
er of the formula). The output is attached. % begin placeformula-ref.tex \def\placeformularef[#1]{\doifmodeelse{proofreading}% {\inrightmargin{\tt\txx #1}\placeformula[#1]}% {\placeformula[#1]}} \definereferenceformat[eqref][left=(,right=),text={formula }] \setupformulas[locat

Re: [NTG-context] compilation problem (TeXLive 2013)

2013-07-03 Thread Manuel González Suárez
dos{canta}{>'aeide} \dos{diosa}{je`a} \dos{del ... > > ? > > Replace \ix with \switchtobodyfont[9pt] or better use a relative size like > \tx or \txx. > > Wolfgang > > > ___ > If yo

Re: [NTG-context] compilation problem (TeXLive 2013)

2013-07-03 Thread Wolfgang Schuster
dos{canta}{>'aeide} \dos{diosa}{je`a} \dos{del ... > ? Replace \ix with \switchtobodyfont[9pt] or better use a relative size like \tx or \txx. Wolfgang ___ If your question is of interest to others as wel

Re: [NTG-context] redifining font sizes

2013-06-10 Thread Hans Hagen
tfx a} {\tfw a} \stoptext Why isn't the x font size set to 0.9? because the x sizes are defined for sizes \definefontsize [w] \setupbodyfontenvironment [12pt] [x=2pt] \setupbodyfontenvironment [default] [w=0.2] \starttext \ruledhbox{xxx {\tfx tfx} {\tx tx} {\txx txx}

Re: [NTG-context] Possibilities for basso continuo figures in a text-line disappeared?

2012-10-29 Thread Wolfgang Schuster
Am 29.10.2012 um 12:00 schrieb Robert Blackstone : > Hello, > The code for including basso continuo figures in a text, added somewhere > between may and august this year: > > \definelow[MyLow][style=\txx,frame=off] > \definehigh[MyHigh][style=\txx,frame=off] > \definelowhi

[NTG-context] Possibilities for basso continuo figures in a text-line disappeared?

2012-10-29 Thread Robert Blackstone
Hello, The code for including basso continuo figures in a text, added somewhere between may and august this year: \definelow[MyLow][style=\txx,frame=off] \definehigh[MyHigh][style=\txx,frame=off] \definelowhigh[MyLoHi][style=\txx,frame=off] \definelowmidhigh[MyLoMiHi][style=\txx,frame=off] is

Re: [NTG-context] Figured bass symbols in a text.

2012-08-12 Thread Rogers, Michael K
On Aug 12, 2012, at 5:00 AM, Robert Blackstone wrote: > On 10 aug. 2012, at 21:09, 19:59:36, Hans Hagen wrote >> The next beta has: >> >> \starttext >> >> \definelow [MyLow] [style=\txx] >> \definehigh [MyHigh] [style=\txx] &g

Re: [NTG-context] Figured bass symbols in a text.

2012-08-12 Thread Robert Blackstone
On 10 aug. 2012, at 21:09, 19:59:36, Hans Hagen wrote > The next beta has: > > \starttext > > \definelow [MyLow] [style=\txx] > \definehigh [MyHigh] [style=\txx] > \definelowhigh [MyLoHi] [style=\txx] > \definelowmidhigh[MyLoMiHi][style=\txx] > >

Re: [NTG-context] Figured bass symbols in a text.

2012-08-10 Thread Sietse Brouwer
gt;> >>> \def\lomihi#1#2#3{${\scriptstyle{#2}}\limits_{#1}^{\lower0.23pt\hbox{$\scriptstyle{#3}$}}$} >>> >>> but this would probably have to be adjusted for each font and size. >> >> >> You can use \framed: >> >> >> \defineframed[lohim

Re: [NTG-context] Figured bass symbols in a text.

2012-08-10 Thread Hans Hagen
se \framed: \defineframed[lohimi][align=flushleft,location=middle,frame=off,foregroundstyle=\tx] \starttext text \lohi{1}{2} text \lohimi{1\\2\\3} text \stoptext Neat trick. === Wolfgang, The next beta has: \starttext \definelow [MyLow] [style=\txx] \definehigh [MyHigh] [style=\txx] \def

Re: [NTG-context] Two questions about buffers

2012-06-30 Thread Wolfgang Schuster
t; \input knuth > \stopMyEnv > > \input tufte > > \stoptext > > Am I doing something wrong here? You can use the annotation module for your environment. \usemodule[annotation] \defineannotation[MyEnv][style=\txx] \sta

Re: [NTG-context] ruby module

2012-03-09 Thread S Barmeier
gt;> > >> > I'm just thinking of annotating one or two words per line, which in an >> > appropriately small font size could just be stacked at the end of the >> > line in order of occurrence. >> > Problems would only arise if one line contain

Re: [NTG-context] ruby module

2012-03-09 Thread Wolfgang Schuster
order of occurrence. > Problems would only arise if one line contained 3 or more words to be > annotated, and the next line also contained one... > > Would this be possible to implement? Would this just be a \defineinright? \define[2]\Note {#1\inright[stack=yes,style=\txx]{#

Re: [NTG-context] Arabic transliteration—ayn and alif (MKII)

2011-12-11 Thread Idris Samawi Hamid ادريس سماوي حامد
\font % \kern-.0040\dimen0} % compensate for slant/italic in upper accents \def\buildtextbottombreve{\bottomaccent{.25ex}{0}{19}{\textbreve}} %%%=ayn-hamzah \def\CUPD#1#2{\leavevmode% \SHIFT{#1}\rotate[rotation=180,location=high]{\

Re: [NTG-context] Behaviour of \tfx versus \tfa

2011-10-14 Thread Hans Hagen
}} \def\tfxx{\orgtfxx\dosetcurrentfontsize{xx}} Is the difference intentional? Or is Hans willing to incorporate the change in a next beta? this is intentional as tx and txx are only meant for (nested) \high an \low implementations while \tfa are for heads and such Hans

Re: [NTG-context] smaller-bigger fontsize

2010-03-10 Thread Hans van der Meer
Thanks Wolfgang. This works. See below for some refinements I find usefull. On 10 mrt 2010, at 15:40, Wolfgang Schuster wrote: Am 10.03.10 13:39, schrieb Hans van der Meer: ConTeXt fontsizing has \tx to make the current font style one step smaller, then another \txx does that again. For

Re: [NTG-context] smaller-bigger fontsize

2010-03-10 Thread Wolfgang Schuster
Am 10.03.10 13:39, schrieb Hans van der Meer: ConTeXt fontsizing has \tx to make the current font style one step smaller, then another \txx does that again. For makeing the size bigger I cannot see anything other than the series \tfa \tfb \tfc \tfd. It would however be nice to also have a

[NTG-context] smaller-bigger fontsize

2010-03-10 Thread Hans van der Meer
ConTeXt fontsizing has \tx to make the current font style one step smaller, then another \txx does that again. For makeing the size bigger I cannot see anything other than the series \tfa \tfb \tfc \tfd. It would however be nice to also have a similar cumulative effect here. Can there be

Re: [NTG-context] Math font sizes

2010-03-05 Thread Mehdi Omidali
=white,inner sep=2pt}] \matrix (m) [matrix of math nodes, row sep=3em, column sep=2.5em, text height=1.5ex, text depth=0.25ex] { A&A\\ A&A\\ }; \path[->,font=\txx] (m-1-1) edge node[auto] {$A$} (m-1-2); \path[->] (m-2-1) edge node[auto] {$\tx A$} (m-2-2); \stoptikzpicture \sto

Re: [NTG-context] Math font sizes

2010-03-05 Thread Aditya Mahajan
On Fri, 5 Mar 2010, Wolfgang Schuster wrote: Am 05.03.10 19:40, schrieb Mehdi Omidali: Hi, I use tikz with MKIV and need to switch to \scriptsize in math font. \scriptsize doesn't work. What is its equivalent in MKIV? \starttext $a$ $\tx a$ $\txx a$ $a$ $\scriptstyle a$ $\scriptscript

Re: [NTG-context] Math font sizes

2010-03-05 Thread Wolfgang Schuster
Am 05.03.10 19:40, schrieb Mehdi Omidali: Hi, I use tikz with MKIV and need to switch to \scriptsize in math font. \scriptsize doesn't work. What is its equivalent in MKIV? \starttext $a$ $\tx a$ $\txx a$ $a$ $\scriptstyle a$ $\scriptscriptstyle a$ \stoptext Wol

Re: [NTG-context] Rotated footnotes?

2010-02-07 Thread Steffen Wolfrum
ght=0.4pt]\strut} \def\MyHigh[#1]{\kern0.05em\raise.385em\hbox{\txx#1}} \leftaligned{% \rotate[rotation=90]{\externalfigure[abb_12_d][frame=on,width=\dimexpr(\textheight-05pt)]\kern2.5pt\strut}% \rotate[rotation=90]{\framed[frame=off,height=1cm,width=\dimexpr(\textheight-05pt)]{\vskip2pt Abbildung 1

Re: [NTG-context] tikz

2009-07-22 Thread Hans Hagen
Mojca Miklavec wrote: On Tue, Jul 21, 2009 at 23:22, Hans Hagen wrote: Mojca Miklavec wrote: TikZ does the following: \def\pgfu...@font@tiny{\tfxx}% How to do this correctly? \small or \txx That was just copy-pasted from TikZ source (I have not been asking that; my diagnosis

Re: [NTG-context] tikz

2009-07-21 Thread Mojca Miklavec
On Tue, Jul 21, 2009 at 23:22, Hans Hagen wrote: > Mojca Miklavec wrote: >> >> TikZ does the following: >> >> \def\pgfu...@font@tiny{\tfxx}            % How to do this correctly? > > \small or \txx That was just copy-pasted from TikZ source (I have not been a

Re: [NTG-context] tikz

2009-07-21 Thread Hans Hagen
' but cmr-like. How can I get the same 'sansserif' than in the body ? TikZ does the following: \def\pgfu...@font@tiny{\tfxx}% How to do this correctly? \small or \txx \def\pgfu...@font@scriptsize{\tfxx} \def\pgfu...@font@footnotesize{\tfx} \def\pgfu...@font@small{\tf

Re: [NTG-context] \restoreglobalbodyfont messes up superscripts

2009-04-03 Thread Wolfgang Schuster
Can anyone give me any help with this issue? \starttext Sample Text\high{TEST} \placetable[here] {none} {\setuptables[bodyfont=xx] \starttable{|c|f{\ss}c|} \HL \NC test \NC test \NC\AR \NC test \NC test \NC\AR \HL \stoptable} {\txx Sample Text\high{TEST}} Sample Text\h

Re: [NTG-context] \LaTeX

2009-02-25 Thread Hans Hagen
\fi l.5 \stoptext The example file is: unrelated to the logo ... any \txx does it patch font-ini.mkiv .. (i have no time now to se why the other code fails) \def\dododefinebodyfontenvironment[#1][#2][#3]% size class settings {\@@beginfontdef % \s!text goes wrong in

Re: [NTG-context] newbie ConTeXt question

2008-03-11 Thread Wolfgang Schuster
2] > > \def\MyLetterhead% > {%\showboxes >\vbox{%\showboxes > > \hbox{%\showboxes > \vbox{\hsize 3in > \tfa Your neighborhood\crlf >\scd{Company Store}} > \lbox{\hsize 3.0in \txx \setupinterlinespa

[NTG-context] newbie ConTeXt question

2008-03-11 Thread jazz_johnson
d{Company Store}} \lbox{\hsize 3.0in \txx \setupinterlinespace \it Our Friendly Motto} } \setupinterlinespace[line=.25ex] \hbox{ \vbox{ \setupinterlinespace[height=.5,top=.5,line=.1ex] \hsize 6.0in \thinrules[n=1, rulethickness=1.5pt] \crlf

Re: [NTG-context] close-up (was: backward compatibility ... )

2007-09-10 Thread Wolfgang Schuster
lt=texnansi] > \mainlanguage[deo] > \enableregime[mac] > \setupbodyfont[postscript,36pt] > > > \starttext > \showframe > > %Auflagen {\txx the fl-ligature is wrong here} > > %Auf\-lagen {\txx the right fl for false ligatures!} > > %Auf\/lagen {\txx this

[NTG-context] close-up (was: backward compatibility ... )

2007-09-10 Thread Steffen Wolfrum
e *right* solution, where all three are correct. Maybe some wizards know? Steffen \usetypescript[postscript][\defaultencoding] \setupencoding[default=texnansi] \mainlanguage[deo] \enableregime[mac] \setupbodyfont[postscript,36pt] \starttext \showframe %Auflagen {\txx the fl-ligature is

Re: [NTG-context] vertical kerning for TwoThird needed

2006-09-01 Thread Peter Rolf
fault to start with the TeX 'bible' ;) Happy TeXing, Peter > Steffen > > > > Am 31.08.2006 um 22:44 schrieb Peter Rolf: > >> Steffen Wolfrum wrote: >>> Hi, >>> >>> comparable to the pre-defined \threequarter I want to write a >&g

Re: [NTG-context] vertical kerning for TwoThird needed

2006-09-01 Thread Steffen Wolfrum
comparable to the pre-defined \threequarter I want to write a >> \TwoThird. >> >> The following looks quite good (with my respective font settings) ... >> >> \def\TwoThird{{\tx\high{\txx 2}}\kern-0.1em/\kern-0.1em{\txx 3}} >> >> ... but still the &

Re: [NTG-context] vertical kerning for TwoThird needed

2006-08-31 Thread Peter Rolf
Steffen Wolfrum wrote: > Hi, > > comparable to the pre-defined \threequarter I want to write a \TwoThird. > > The following looks quite good (with my respective font settings) ... > > \def\TwoThird{{\tx\high{\txx 2}}\kern-0.1em/\kern-0.1em{\txx 3}} > > ... but sti

[NTG-context] vertical kerning for TwoThird needed

2006-08-31 Thread Steffen Wolfrum
Hi, comparable to the pre-defined \threequarter I want to write a \TwoThird. The following looks quite good (with my respective font settings) ... \def\TwoThird{{\tx\high{\txx 2}}\kern-0.1em/\kern-0.1em{\txx 3}} ... but still the "2" is a bit to high. How can I adjust "v

Re: [NTG-context] Placing table of contents in a frame

2006-07-08 Thread Saji Njarackalazhikam Hameed
lumnset[example] > \placefigure[fxtb:3*1]{none}{\framed[frame=off, > height=5cm, > width=\textwidth, > background=color, > backgroundcolor=yellow]{\blue\txx\placecont

Re: [NTG-context] Placing table of contents in a frame

2006-07-08 Thread Saji Njarackalazhikam Hameed
the TOC on % Column 3 \starttext \startcolumnset[example] \placefigure[fxtb:3*1]{none}{\framed[frame=off, height=5cm, width=\textwidth, background=color, backgroundcolor=yellow]{\blue\txx\placecontent}

[NTG-context] Arabic transliteration macros

2005-10-15 Thread Idris Samawi Hamid
0,location=high]{\txx c}% \SHIFT{14}} \definecharacter AYN{\leavevmode\raise.9ex\hbox{\txx \USHIFT{1} c\SHIFT{0}}{}} \definecharacter HAMZAH {\leavevmode\kern.07em\raise.9ex\hbox{\cupd}{}} \def\'{\HAMZAH} \def\`{\AYN} %% replace grave and acute \unexpanded\def\Grave#1

[NTG-context] positions in externalfigure

2005-10-09 Thread Alexander Lazic
\mypagenumber#1% {\rm \txx \useMPgraphic{exhoch} #1 / \totalnumberofpages } \setuppagenumbering[location={footer,left},command=\mypagenumber] \setupfootertexts[][{\framed[background=footbackground,frame=on]{}}] --- and many combinations of inframed + backgrounds from many

Re: [NTG-context] getvariable

2005-10-07 Thread Peter Rolf
default=>\settrue\CropInfo, unknown=>\settrue\CropInfo]% \else % \SetupCrop is called without parameters \setvariables[Crop][mark=] \setfalse\CropInfo \def\PageBackground{}% \fi % just to give the idea... \ifconditional\CropInfo \setlayer[markings][x=.5\paperwidt

Re: [NTG-context] Anchoring layer

2005-10-05 Thread Thomas A. Schmitz
][background={markings}] \starttext \setlayer[markings][x=.5\paperwidth, y=20mm, location=c]% {\tt \txx "\jobname" - \currentdate [y,/,mm,/,dd]\ - \currenttime\ - \realfolio\ of \lastpage} ___ ntg-context mailing list ntg-context@n

Re: [NTG-context] Anchoring layer

2005-10-05 Thread Peter Rolf
rwidth, height=\paperheight, repeat=yes] \setupbackgrounds[page][background={markings}] \starttext \setlayer[markings][x=.5\paperwidth, y=20mm, location=c]% {\tt \txx "\jobname" - \currentdate [y,/,mm,/,dd]\ - \currenttime\ - \realfolio\ of \lastpage} \hbox{}% dummy; else no output \stopt

Re: [NTG-context] Anchoring layer

2005-10-05 Thread Thomas A. Schmitz
-1 cm \framed[frame=off,align=high]{\tt \txx "\jobname" - \currentdate [y,/,mm,/,dd]\ - \currenttime\ - \realfolio\ of \lastpage} \egroup \stopbuffer (code adapted from construction of Thumb index on the wiki) Which seems to be doing exactly what I want. Thanks, and best Thomas On

Re: [NTG-context] alpha release / latin modern

2005-02-07 Thread Idris Samawi Hamid
fill}\hfill\SHIFT{1}\cr\i\cr}}} \ialign{##\cr\USHIFT{120}\hfill\hbox to .21243em{\leaders\hrule height .07ex\hfill}\hfill\SHIFT{1}\cr\i\cr}}} \definecharacter imacron {\IBAR} % ConTeXt-dependent! 3. \def\cupd{\leavevmode\USHIFT{14}\rotate[rotation=180,location=high]{\txx c}\SHIFT{14}

Re: [NTG-context] bug in latest ConTeXt?

2004-07-07 Thread Hans Hagen
180]{c}} % ConTeXt dependent! \def\HAMZAH{\leavevmode\raise.9ex\hbox{\txx\cupd}{}} \def\AYN {\leavevmode\raise.9ex\hbox{\txx c}{}} \def\'{\HAMZAH} \def\`{\AYN} \starttext \`ish\=a\' \stoptext = In ConTeXt-2003.2.11, both the `c' and the rota

Re: [NTG-context] bug in latest ConTeXt?

2004-07-06 Thread Idris Samawi Hamid
xample, simplified from a larger macro: =test-rotate-c.tex \def\cupd{\leavevmode\rotate[rotation=180]{c}} % ConTeXt dependent! \def\HAMZAH{\leavevmode\raise.9ex\hbox{\txx\cupd}{}} \def\AYN {\leavevmode\raise.9ex\hbox{\txx c}{}} \def\'{\HAMZAH} \def\`{\AYN} \startte

[NTG-context] bug in latest ConTeXt?

2004-07-02 Thread Idris Samawi Hamid
dependent! \def\HAMZAH{\leavevmode\raise.9ex\hbox{\txx\cupd}{}} \def\AYN {\leavevmode\raise.9ex\hbox{\txx c}{}} \def\'{\HAMZAH} \def\`{\AYN} \starttext \`ish\=a\' \stoptext = In ConTeXt-2003.2.11, both the `c' and the rotated `c'

Re: Re[2]: [NTG-context] \=i

2004-05-27 Thread Idris Samawi Hamid
\dotlessi} % original def from enco-def.tex \=i \=I {\em b\=in\=ary} f\=i\high{\txx c}\=i % {\bi b\=in\=ary} % need conditionals for bold and small caps \blank[big] \definecharacter imacron {\IBAR} % new imacron \=i \=I {\em b\=in\=ary} f\=i\high{\txx c}\=i % {\bi

[NTG-context] firstpageheader -- lastpagefooter

2003-10-28 Thread Bernd Militzer
\myHeader% {\framed[width=\hsize,align=right,frame=off] {\kla\ % \art\ % Nr. \lfd % \hfill\fach% \inright{\hfill\pagenumber~/~\lastpage~}% \hairline} } % \setupheadertexts[\if{\firstpage}\my1Header\else\my1Header\fi] % \setupfootertexts[\txx \cap{\jobname} \date