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
> 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
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
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
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{
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
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
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 \
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
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
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
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
]
% \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
]
% \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
aralleltext] [color=darkblue]
>> % \setupsynchronize [paralleltext] [style=\tx,color=darkred]
>> % \setupsynchronize [paralleltext] [style=\txx,color=darkgreen]
>>
>> \starttext
>>
>> \dorecurse{10}{%
>> \paralleltext
>> {[een allereerste zinnetje
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
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
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
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}{%
>
=\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\
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
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
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
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
\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
=\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
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
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
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
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
\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
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
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
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
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
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
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
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
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
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
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}
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
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
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
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]
>
>
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
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
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
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
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]{#
\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]{\
}}
\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
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
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
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
=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
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
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
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
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
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
' 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
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
\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
2]
>
> \def\MyLetterhead%
> {%\showboxes
>\vbox{%\showboxes
>
> \hbox{%\showboxes
> \vbox{\hsize 3in
> \tfa Your neighborhood\crlf
>\scd{Company Store}}
> \lbox{\hsize 3.0in \txx \setupinterlinespa
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
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
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
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
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 &
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
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
lumnset[example]
> \placefigure[fxtb:3*1]{none}{\framed[frame=off,
> height=5cm,
> width=\textwidth,
> background=color,
> backgroundcolor=yellow]{\blue\txx\placecont
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}
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
\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
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
][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
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
-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
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}
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
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
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'
\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
\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
86 matches
Mail list logo