}]
\definefontfamily[face2][rm][gabriola]
[features={default, ef2}]
\starttext
\switchtobodyfont[face1]\dorecurse{100}{a b c }
\switchtobodyfont[face2]\dorecurse{100}{a b c }
\switchtobodyfont[palatino]\dorecurse{100}{a b c }
\stoptext
\setupbodyfont[palatino] or \switchtobodyfont
On 11/8/20 11:18 AM, Sylvain Hubert wrote:
> Hi Pablo,
>
> thanks for the suggestion. Here's the minimal example which shows the
> difference:
>
> \definefontfamily[face][rm][dejavuserif]
> \starttext\switchtobodyfont[face, 24pt]ɑ\stoptext
>
> this
On Sun, 8 Nov 2020 at 11:18, Sylvain Hubert wrote:
> Hi Pablo,
>
> thanks for the suggestion. Here's the minimal example which shows the
> difference:
>
> \definefontfamily[face][rm][dejavuserif]
> \starttext\switchtobodyfont[face, 24pt]ɑ\stoptext
>
> this
}]
\starttext
\switchtobodyfont[face1]\dorecurse{100}{a b c }
\switchtobodyfont[face2]\dorecurse{100}{a b c }
\switchtobodyfont[palatino]\dorecurse{100}{a b c }
\stoptext
\setupbodyfont[palatino] or \switchtobodyfont[palatino] don’t seem to
work at all.
Results are different
Hi Pablo,
thanks for the suggestion. Here's the minimal example which shows the
difference:
\definefontfamily[face][rm][dejavuserif]
\starttext\switchtobodyfont[face, 24pt]ɑ\stoptext
this should warn:
fonts > checking > char ɑ (U+00251) in font
'LatinModernMath-Reg
On 11/8/20 2:35 AM, Sylvain Hubert wrote:
> Dear List,
>
> after hours of debugging, I finally found out that
> \switchtobodyfont[face, 20pt] does NOT behave the same with
> \switchtobodyfont[face]\switchtobodyfont[20pt]. In my case the latter is
> the correct one, while the f
Dear List,
after hours of debugging, I finally found out that \switchtobodyfont[face,
20pt] does NOT behave the same with
\switchtobodyfont[face]\switchtobodyfont[20pt]. In my case the latter is
the correct one, while the former does nothing but falling back to
latinmodern.
Does anyone know when
,
effect={width=1.0}}}]
\starttext
\startitemize[n, packed]
\item \switchtobodyfont[face1]\it\dorecurse{100}{a b c }
\item \switchtobodyfont[face2]\it\dorecurse{100}{a b c }
\item \switchtobodyfont[face3]\it\dorecurse{100}{a b c }
\stopitemize
\stoptext
Could someone explain
\startfootnotetitle[title={Notas}]
\placefootnotes
\stopfootnotetitle
\fi
\stopsetups
\setupnotes[location=none]
\setupnotation[way=bychapter]
\setupfootnotedefinition[style={\switchtobodyfont[12pt]}]
\setuphead[chapter][aftersection=\setups{chapter:after
se\rawcountervalue[footnote]\relax
> \else
> \startfootnotetitle[title={Notas}]
> \placefootnotes
> \stopfootnotetitle
> \fi
> \stopsetups
>
> \setupnotes[location=none]
> \setupnotation[way=bychapter]
> \setupfootnotedefinition
}]
\placefootnotes
\stopfootnotetitle
\fi
\stopsetups
\setupnotes[location=none]
\setupnotation[way=bychapter]
\setupfootnotedefinition[style={\switchtobodyfont[12pt]}]
\setuphead[chapter][aftersection=\setups{chapter:after}]
\starttext
\startchapter[title={Chapter One}]
Here
tance=0.375in,
> width=4.125in,
> ]
>
> \showframe
>
> \definecolor [transparentred] [r=1,t=.5,a=1]
>
> \definefloat[topfigure][topfigures][figure]
>
> \setupfloat[topfigure][
> default={margin},
> location=flushleft,
> maxwidth=6.5in,
> ]
>
> \setup
nts/Phaistos.otf usedmethod=direct
However, the glyph is not displayed in the pdf. I've tried both in MKIV and
LMTX with no luck. Maybe someone here will have a clue.
MWE:
%%
\definesymbol[arbol]
[\getnamedglyphdirect{phaistos}{u101F2}]
\starttext
\switchtobodyfont[72pt]
\sym
[topfigure][topfigures][figure]
\setupfloat[topfigure][
default={margin},
location=flushleft,
maxwidth=6.5in,
]
\setupcaption[topfigure][
number=no,
location=bottom,
style={\switchtobodyfont[8bp]},
]
\starttext
\dorecurse{4}{\samplefile{knuth}}
\startplacetopfigure[title={\samplefile{ward
this MWE):
%--
\setuphead [subject] [incrementnumber=list]
\setuphead [title] [incrementnumber=list]
\setupcombinedlist
[content]
[list={chapter,title,section,subsection}]\switchtobodyfont[10.5pt]
\setuplist[chapter][style=normal,alternative=b, before=]
And then I
={\switchtobodyfont[10pt,ss]}]
This proper way of setting out the \setupheader has in fact resolved the
situation and it now applies to both recto and verso headers. Thank you
Julian
On 4/9/20 7:16 am, Aditya Mahajan wrote:
On Fri, 4 Sep 2020, jbf wrote:
Thanks Otared. That clears up that little item
On Fri, 4 Sep 2020, jbf wrote:
> Thanks Otared. That clears up that little item :-)
>
> BTW I know how to reduce font size in the headers (chapter titles) that
> appear on the recto pages, which I can do with something like
> \setupheader [style={\ss\switchtobodyfont[10pt]}],
Thanks Otared. That clears up that little item :-)
BTW I know how to reduce font size in the headers (chapter titles) that
appear on the recto pages, which I can do with something like
\setupheader [style={\ss\switchtobodyfont[10pt]}], but it doesn't seem
to affect the header (title
to sans serif and else. Then when
you want to use the special font in some of the titles you use
{\switchtobodyfont[mychapterfont]\ss my text}
You can use also
\start \switchtobodyfont[mychapterfont] \ss my text \stop
in case the braces are not convenient for a longer text.
Best regards: Otared
of the titles you use
{\switchtobodyfont[mychapterfont]\ss my text}
You can use also
\start \switchtobodyfont[mychapterfont] \ss my text \stop
in case the braces are not convenient for a longer text.
Best regards: Otared
> On 2 Sep 2020, at 01:22, jbf wrote:
>
> I presume
I presume you mean, {\switchtobodyfont[itcavantgarde]\ss My text} for
the case I mentioned?
Because at no point in the example I gave of \definefontfamily[mainface]
had I defined ss as an AvanteGarde typeface, and that is the heart of my
question. Can I somehow define two kinds of sans serif
peface such as ITCAvantGarde? How do I
> declare that? Do I just give it another name, e.g.
> \definefontfamily[chapter][itcavantgarde] etc? If I did that, how then
> do I refer to it? Obviously not just as {\ss my text} since that would
> call in the dax font.
{\switchtob
at which the chapter number
appears: below is an example in which one uses \raise and \hbox.
\setuppagenumbering[state=start,location=footer]
\setuphead[chapter]
[
% numberstyle={\switchtobodyfont[48pt]},
numbercolor=gray,
alternative=command,
command
]
\setuphead[chapter]
[
numberstyle={\switchtobodyfont[48pt]},
numbercolor=gray,
alternative=command,
command=\MemoirChapter,
]
\define[2]\MemoirChapter
{\framed[frame=off,width=broad,align=middle]
{\startoverlay
to
\defineoverlay[number] and then add text on top \framed (but without the
frame borders). Am I at least correct about this?
You don't need metafun for something this simple. Here is a crude
implementation:
\setuphead[chapter]
[
numberstyle={\switchtobodyfont[48pt
the
frame borders). Am I at least correct about this?
You don't need metafun for something this simple. Here is a crude
implementation:
\setuphead[chapter]
[
numberstyle={\switchtobodyfont[48pt]},
numbercolor=gray,
alternative=command
rs of just where to start! I assume I would have to
> \defineoverlay[number] and then add text on top \framed (but without the
> frame borders). Am I at least correct about this?
You don't need metafun for something this simple. Here is a crude
implementation:
\setuphead[chapter]
eringsetup=userdata:margintext]
>
> \startsetups [userdata:margintext]
> \margindata
> [inright]
> [style={\switchtobodyfont[9pt]},
> width=\rightmarginwidth,
> align={flushleft,broad},
> stack=yes]
> {\startframedtext[before=,after=,offse
=userdata:margintext]
\startsetups [userdata:margintext]
\margindata
[inright]
[style={\switchtobodyfont[9pt]},
width=\rightmarginwidth,
align={flushleft,broad},
stack=yes]
{\startframedtext[before=,after=,offset=0pt,width=max,frame=off]
\getinlineuserdata
right]
> > \setupmargindata [marginfigure][command=\vbox,align=middle]
>
> \setupmargindata [marginfigure][command=\vbox,align=middle,stack=yes]
>
> > \startsetups [userdata:margintext]
> > \margindata
> > [inright]
> > [%style=\smallbodyfont,
> > st
lign=middle]
\setupmargindata [marginfigure][command=\vbox,align=middle,stack=yes]
> \startsetups [userdata:margintext]
> \margindata
> [inright]
> [%style=\smallbodyfont,
> style={\switchtobodyfont[9pt]},
> width=\rightmarginwidth,
stack=yes,
>
={\switchtobodyfont[9pt]},
width=\rightmarginwidth,
align={flushleft,broad}]
{{\bf Remarque — }\getinlineuserdata}
\stopsetups
\showframe
\starttext
\startuserdata[margintext]
\input ward
\stopuserdata
\marginfigure{\externalfigure[dummy][width=\rightmarginwidth]}
\startchapter[title=First chapter
n call [844]:
...-64/tex/texmf-context/tex/context/base/mkiv/node-syn.lua:435: attempt to
index a nil value (upvalue 'filehandle')
1 >> \newdimen\LWidth
2 \newdimen\LHeight
3 \newdimen\LDistanceX
4 \newdimen\LDistanceY
5
6 \LWidth=75mm
7 \LHeight=30mm
8
"\definebodyfont[11pt][rm][default=Regular at
11pt]\switchtobodyfont[11pt]\setupinterlinespace[12.1pt]\framed[align=flushleft,frame=off,offset=none,width=170.000bp]{\colored[r=0.000,
g=0.000, b=0.000]{\tf The elements are shown in colors where blue represents
active structure, yellow behavio
[location=here,title={{\sc Plates 12/13.}
\switchtobodyfont[9.5pt] My very, very,_very long\\ caption for this_
figure}]
\externalfigure[plate12-13.jpg][height=.8\textheight]%
\stopplacefigure
\stopspread
\setuppagenumbering[state=start]
\stoppostponing
but
..._very long
rst group sets up the name to be used in ConTeXt (mainly in
\setupbodyfont and \switchtobodyfont).
2. The second group specifies which kind of typeface is: serif,
sans-serif, typewriter, math and others. Of course, this isn’t a
declaration of what kind of font the selected one is, but how ConTeXt
wi
\stoptikzpicture
\stopmidaligned
\blank
\startmidaligned
\switchtobodyfont[9pt]
\starttikzpicture
\startaxis
\addplot {x};
\node[above left] at (2,2) {\cscript{C}};
\stopaxis
\stoptikzpicture
\stopmidaligned
\stoptext
Le lun. 4 mai 2020 à 19:18, Aditya Mahajan a écrit :
> On
On Mon, 4 May 2020, Fabrice Couvreur wrote:
Hi,
Sorry to insist but I cannot fix this problem.
Thanks for any help.
I don't know the answer, but here is a simpler example without pgfplot which
fails (different calligraphic C's):
\define[1]\cscript{\start\switchtobodyfont[xitsbidi]\m
this problem ?
> Thanks for your help.
> Fabrice
>
> begin example
>
> \usemodule[pgfplots]
> \pgfplotsset{compat=newest}
>
> \define[2]\cscript{\start\switchtobodyfont[xitsbidi]\m{{\mathscript{#1}}_{#2}}\stop}
>
> \starttext
>
> \startmidaligned
> \startt
placement of the dot in this example, and how
> can I avoid it?
>
> \starttext
> \startTEXpage[offset=3bp]
> $E_tE_s=E_{\min(t,s)}$.
>
> \switchtobodyfont[stixtwo]$E_tE_s=E_{\min(t,s)}$.
>
> \switchtobodyfont[lucidaot]$E_tE_s=E_{\min(t,s)}$.
> \stopTEXpage
>
On 5/3/2020 11:47 PM, Gerben Wierda wrote:
The following example has been extracted from my automatically generated
MP code.
\starttext
\startMPpage
string texstring;
texstring := "{\colored [r=0.00, g=0.00, b=0.00]{\definebodyfont
[9.0pt][rm][default=Regular at 9.0pt]\switchtobod
The following example has been extracted from my automatically generated MP
code.
\starttext
\startMPpage
string texstring;
texstring := "{\colored [r=0.00, g=0.00, b=0.00]{\definebodyfont
[9.0pt][rm][default=Regular at 9.0pt]\switchtobodyfont
[9.0pt]\setupinterlinespace [9.9pt]\t
Hi,
what is going on with the placement of the dot in this example, and how can
I avoid it?
\starttext
\startTEXpage[offset=3bp]
$E_tE_s=E_{\min(t,s)}$.
\switchtobodyfont[stixtwo]$E_tE_s=E_{\min(t,s)}$.
\switchtobodyfont[lucidaot]$E_tE_s=E_{\min(t,s)}$.
\stopTEXpage
\stoptext
Output attached
t][rm][default=Regular at
14.9pt]\switchtobodyfont[14.9pt]\setupinterlinespace[16.9pt]\framed[align=center,frame=off,offset=none,width=335.350bp]{\colored[r=0.000,
g=0.000, b=0.000]{\rm (Artifact)\\}}");
draw pic scaled 1.13;
\stopMPpage
\stoptext
Produces nice Optima at 14.9pt without
d problems.
>
>> \setupbodyfont [optima]
>> \starttext
>> \startMPpage[instance=doublefun]
>> picture pic;
>> pic := textext("\definebodyfont[14.9pt][rm][default=Regular at
>> 14.9pt]\switchtobodyfont[14.9pt]\setupinterlinespace[16.9pt]\framed[align=c
] [default]
\setupbodyfont [optima]
\starttext
\startMPpage[instance=doublefun]
picture pic;
pic := textext("\definebodyfont[14.9pt][rm][default=Regular at
14.9pt]\switchtobodyfont[14.9pt]\setupinterlinespace[16.9pt]\framed[align=center,frame=off,offset=none,width=335.350bp]{\colored[r=0.00
]
\stoptypescript
\definetypeface [optima] [ss] [sans] [optima] [default]
Set a math font to avoid problems.
\setupbodyfont [optima]
\starttext
\startMPpage[instance=doublefun]
picture pic;
pic := textext("\definebodyfont[14.9pt][rm][default=Regular at
14.9pt]\switchtobodyfont[1
declaration,
but that didn't work either.
Use \switchtobodyfont.
I'm sure there is a simple way to achieve what I want. Any thoughts?
\setupbodyfont[pagella,11pt]
\setupdelimitedtext
[blockquote]
[ style={\switchtobodyfont[10pt]},
before={\setupinterlinespace[line=2.4ex
On a hunch, I found a solution. I added \\ instead of \par at the end and goit
exactly what I wanted.
\enabletrackers[context.trace]
\starttext
%\framed[align=flushright,frame=on,offset=none,width=106.400bp]{\colored[r=0.000,
g=0.000,
%b=0.000]{\switchtobodyfont[11.0pt]\setupinterlinespace
t,frame=on,offset=none,width=106.400bp]{\colored[r=0.000,
>> g=0.000,
>> b=0.000]{\switchtobodyfont[11.0pt] \setupinterlinespace[20pt] \rm
>> [My]\\Application\\(Component)}}
>>
>> \stoptext
>>
>> and if I change the value to 0.6, only the first line b
t,frame=on,offset=none,width=106.400bp]{\colored[r=0.000,
>> g=0.000,
>> b=0.000]{\switchtobodyfont[11.0pt] \setupinterlinespace[20pt] \rm
>> [My]\\Application\\(Component)}}
>>
>> \stoptext
>>
>> and if I change the value to 0.6, only the first line b
Hi,
This macro was written by Otared and it works well unless I change the size
of the font (see the second graph).
How to correct this problem ?
Thanks for your help.
Fabrice
begin example
\usemodule[pgfplots]
\pgfplotsset{compat=newest}
\define[2]\cscript{\start\switchtobodyfont[xitsbidi
width=106.400bp]{\colored[r=0.000,
>>> g=0.000,
>>> b=0.000]{\switchtobodyfont[11.0pt] \setupinterlinespace[20pt] \rm
>>> [My]\\Application\\(Component)}}
>>>
>>> \stoptext
>>>
>>> and if I change the value to 0.6, only the fir
Thomas A. Schmitz schrieb am 24.04.2020 um 18:40:
On 24. Apr 2020, at 18:19, Gerben Wierda wrote:
\starttext
\framed[align=flushright,frame=on,offset=none,width=106.400bp]{\colored[r=0.000,
g=0.000,
b=0.000]{\switchtobodyfont[11.0pt] \setupinterlinespace[20pt] \rm
[My]\\Application
> On 24. Apr 2020, at 18:19, Gerben Wierda wrote:
>
> \starttext
>
> \framed[align=flushright,frame=on,offset=none,width=106.400bp]{\colored[r=0.000,
> g=0.000,
> b=0.000]{\switchtobodyfont[11.0pt] \setupinterlinespace[20pt] \rm
> [My]\\Application\\(Com
I want the lines in this frame packed more closely together:
\starttext
\framed[align=flushright,frame=on,offset=none,width=106.400bp]{\setupinterlinespace[0.9]\colored[r=0.000,
g=0.000,
b=0.000]{\switchtobodyfont[11.0pt] \rm [My]\\Application\\(Component)}}
\stoptext
I tried a bit
Answering my own question: \switchtobodyfont
> On 23 Apr 2020, at 16:45, Gerben Wierda wrote:
>
> I can directly colour a text in rgb by doing
> \colored[r=0.8,b=0.6,c=0.4]{Text}. Suppose I want to hard code a piece of
> text as 12.8pt, is there a simple way to do tha
path p, q ; pair A, B, start, now;
>u := 1.8cm;
>A := dir(210)*u;
>B := dir(-30)*u;
>dy := sind(30)*u;
>dx := 2*cosd(30)*u;
>for n = 0 upto 4:
>start := n*dir(210)*u;
>for r = 0 upto n:
>s := n - r;
>now := start + r*r
p; "} = "& decimal tt & "$"),now);
dotlabel.top(textext("$\displaystyle {" & decimal n &
"\choose" & decimal r &
uot; & decimal r &
> ")*fact(" & decimal s &" )))");
> tt := lua("mp.print(combi(" & decimal n & "," & decimal r & " ))");
>
> now := start+r*right*dx;
> dotlabel.top(textext("$
decimal n & ")/(fact(" & decimal r &
")*fact(" & decimal s &" )))");
tt := lua("mp.print(combi(" & decimal n & "," & decimal r & " ))");
now := start+r*right*dx;
dotlabel.top(texte
\setupbodyfont[main,9pt]
$\downzigzagarrow,↯,\downarrow$
{\switchtobodyfont[pagella,10pt]↯}
\stopproduct
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context
Running Pablo’s example on a Mac and Windows machine gives the attached > logs and output.can you test this: \setupbodyfont[dejavu] \starttext \m{\sin^2(t)^2 + \cos^2(t) = 1} \switchtobodyfont[pagella] \m{\sin^2(t)^2 + \cos^2(t) = 1} \stoptext is there a dejavu-m
gives the attached
logs and output.
can you test this:
\setupbodyfont[dejavu]
\starttext
\m{\sin^2(t)^2 + \cos^2(t) = 1}
\switchtobodyfont[pagella]
\m{\sin^2(t)^2 + \cos^2(t) = 1}
\stoptext
is there a dejavu-math.otf file on your system
}
\define\stoptikzpicture
{\endtikzpicture\egroup}
\define[2]\CScript{\start\switchtobodyfont[xitsbidi]\m{{\mathscript{#1}}_{#2}}\stop}
\usemodule[tikz]
\usemodule[pgfplots]
\pgfplotsset{compat=newest}
\unexpanded\def\R{\math{\mathbb{R}}\autoinsertnextspace}
\unexpanded\def\intervalff#1
}
}
}
fonts.handlers.otf.addfeature {
name = "xkern",
type = "kern",
data = {
["x"] = { ["x"] = 500 },
[" "] = { ["J"] = 500 }
}
}
\stopluac
fonts.handlers.otf.addfeature {
name = "xkern",
type = "kern",
data = {
["x"] = { ["x"] = 500 },
[" "] = { ["J"] = 500 }
}
}
\stopluacode
\startbu
["x"] = { ["x"] = 500 },
[" "] = { ["J"] = 500 }
}
}
\stopluacode
\startbuffer[Sample]
g, Jaxxb AJon
\stopbuffer
\define[2]\Test{
{\switchtobodyfont[#1]#2\getbuffer[Sample]}}
\setupbodyfo
llonius.103][width=2.0in]}
\switchtobodyfont[nameface]
\setlayer[tblplacecard][x=10em,y=3.0em]%
{\tfg\it\color[orangered]{Vidya}}
\flushlayer[tblplacecard]
\stopbuffer
\starttext
\setupcolors[state=start]
%%% 1. Show the frame and layout information.
\showfram
dle]
\setupbodyfont [up-one,13pt]
\starttext
\obeylines
\ss\tf\getbuffer [Sampler]
\ss\bf\getbuffer [Sampler]
\ss\bi\getbuffer [Sampler]
\ss\it\getbuffer [Sampler]
\switchtobodyfont[up-two]
\ss\tf\getbuffer [Sampler]
getbuffer [Sampler]
\ss\it\getbuffer [Sampler]
\switchtobodyfont[up-two]
\ss\tf\getbuffer [Sampler]
\ss\bf\getbuffer [Sampler]
\ss\bi\getbuffer [Sampler]
\ss\it\getbuffer [Sampler]
\switchtobodyfont[up-three]
\ss\tf\getbuffer [Sampler]
\page
t;>>
>>> Best regards: Otared
>>> PS: here is the example (not so minimal, sorry…)
>>> % begin example-caption.tex
>>> \setupcaption[figure][
>>> headstyle={\bix},
>>> style={\itx}]
>>
&g
that a
smaller size applies also to the math formula?
Best regards: Otared
PS: here is the example (not so minimal, sorry…)
% begin example-caption.tex
\setupcaption[figure][
headstyle={\bix},
style={\itx}]
style={\switchtobodyfont[small]\setupinterlinespace\it}
\setupcaption
but 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
On Wed, 18 Dec 2019, Otared Kavian wrote:
Thanks Aditya! That solve smy issue.
However, it is a bit of magic to know that \setupinterlinespace makes also the
math font small, even for inline math.
The magic bit is not \setupinterlinespace but using
\switchtobodyfont[small] instead of \tfx
formula?
>>
>> Best regards: Otared
>> PS: here is the example (not so minimal, sorry…)
>> % begin example-caption.tex
>> \setupcaption[figure][
>> headstyle={\bix},
>> style={\itx}]
>
> style={\switchtobodyfont[small]\setupinterlinespace\it
formula?
Best regards: Otared
PS: here is the example (not so minimal, sorry…)
% begin example-caption.tex
\setupcaption[figure][
headstyle={\bix},
style={\itx}]
style={\switchtobodyfont[small]\setupinterlinespace
, sy = 5mm,
scale = 0.5,
grid = true,
xaxisnumbers = true,
yaxisnumbers = true,
showmyorigin = true,
style = "\switchtobodyfont[8pt]",
];
vardef do_GridAxisPlot =
image (
pushparameters "GridAxisPlot";
,
bf=style:condensedbold,
bi=style:condensedbolditalic]
\definefontfamily [gill-sans] [ss] [Gill Sans Nova]
\stoplmtxmode
\starttext
regular \italic{italic} \bold{bold} \bolditalic{bolditalic}
\switchtobodyfont[arial-narrow]
regular \italic{italic} \bold{bold} \bolditalic
]
% This seems to define the size of the page header, if \setpbodyfont is not
called.
\switchtobodyfont[50pt]
\setuplayouttext
[header][text]
[
style=small,
middletext=Page Header,
righttext=\pagenumber,
rightstyle=bold
]
\switchtobodyfont[8pt]
\starttext
\input ward.tex
\stoptext
I half
header, if \setpbodyfont is not
called.
\switchtobodyfont[50pt]
\setuplayouttext
[header][text]
[
style=small,
middletext=Page Header,
righttext=\pagenumber,
rightstyle=bold
]
\switchtobodyfont[8pt]
\starttext
\input ward.tex
\stoptext
I half expected the 'style' property
\switchtobodyfont[11pt]},
framecolor=darkblue,
corner=round]
\definelines
[algorithm]
[space=on,
before=\startalgorithmframe,
after=\stopalgorithmframe]
\starttext
\startlinecorrection[blank]
\startmidaligned
\startalgorithm
{\blue def nom} (argument1
},\quad \cal{K},\quad \cal{L},\quad \cal{M},\quad \cal{P},\quad \cal{S},\quad \cal{T}\stopformula\hairline\stopbuffer\switchtobodyfont[lucidaot]{\bf Lucida OT: }\getbuffer[test]\switchtobodyfont[myfont]{\bf Lucida OT with Asana Math: }\getbuffer[test]\stoptext
test-scriptfonts-mkiv.pdf
Description
s ?
>> Fabrice
>>
>> Le mar. 15 oct. 2019 à 19:11, Otared Kavian > <mailto:ota...@gmail.com>> a écrit :
>> Hi Fabrice,
>>
>> Wolfgang gave the right answer, but I wanted to point out that it is better
>> not to use \setupbodyfont
lfgang gave the right answer, but I wanted to point out that it is
>> better not to use \setupbodyfont in the middle of your document, as you did
>> in the excerpt below: in this case it is better to use
>>
>> \switchtobodyfont[xits]
>>
>> or even better define the character
m>> a écrit :
> Hi Fabrice,
>
> Wolfgang gave the right answer, but I wanted to point out that it is better
> not to use \setupbodyfont in the middle of your document, as you did in the
> excerpt below: in this case it is better to use
>
> \switchtobody
n a écrit :
> Hi Fabrice,
>
> Wolfgang gave the right answer, but I wanted to point out that it is
> better not to use \setupbodyfont in the middle of your document, as you did
> in the excerpt below: in this case it is better to use
>
> \switchtobodyfont[xits]
>
> or even
Hi Fabrice,
Wolfgang gave the right answer, but I wanted to point out that it is better not
to use \setupbodyfont in the middle of your document, as you did in the excerpt
below: in this case it is better to use
\switchtobodyfont[xits]
or even better define the character you want before
,
backgroundcolor=MyColorD,
location=depth]
\defineframedtext
[FramedText]
[offset=0.25em,
style=\ss,
toffset=\zeropoint,
background=color,
backgroundcolor=MyColorC,
foregroundstyle={\switchtobodyfont[10pt]},
align={right, broad
those two together, but it didn’t work
\setupmargindata[inmargin][
location=right,
stack=continue,
align=flushright,
style={\switchtobodyfont[6pt]},
]
\setupmargindata[inouter][
location=right,
stack=continue,
align=flushright,
style={\switchtobodyfont[6pt]},
]
\def\FNVOffset{0
=263mm,
bottomheight=1mm,
footerdistance=10mm]
\usetypescript[pagella]
\setupbodyfont[pagella,12pt]
\setupcolors[state=start]
\setuptype[style={\switchtobodyfont[11pt,tt]}]
\setuptyping[style={\switchtobodyfont[11pt,tt]}]
\setupfootertexts[section][]
\setupfooter[alternative
Fabrice Couvreur schrieb am 23.09.2019 um 16:12:
Hello,
I can not change the font size of my figures in the table.
\startxcell[foregroundstyle={\switchtobodyfont[...]}]
or
\setupxtable[smallbodyfont][foregroundstyle={\switchtobodyfont[...]}]
\startxcell[smallbodyfont]
Wolfgang
nicht verhindert.}
\setuptolerance[verytolerant]
or
\setupalign[verytolerant]
\starttext
\language[de]
\section{Standard Font}
\subsection{German}
\language[de] \printExample{}
\subsection{English}
\language[en] \printExample{}
\switchtobodyfont[arialFamily
[de]
\section{Standard Font}
\subsection{German}
\language[de] \printExample{}
\subsection{English}
\language[en] \printExample{}
\switchtobodyfont[arialFamily, 12pt]
\section{Arial 12pt}
\subsection{German}
\language[de] \printExample
Thanks for all the replies.
@Ulrike: You are right, this example you give works for me too. Me experiencing
it not
working must have come out of some strange constellation.
@Aditya: Yes, it does. But {} are needed:
\tikzstyle{label}=[font={\switchtobodyfont[20pt] \red}]
@Hagen: Yes, most
On Sat, 31 Aug 2019, Martin Althoff wrote:
What to do? Are there other ways to change font size in the Context TikZ?
The equivalent of LaTeX's \selectfont{}{} in ConTeXt is
\switchtobodyfont[...].
See https://wiki.contextgarden.net/Font_Switching
Aditya
Atsuhito Kohda schrieb am 20.07.2019 um 01:36:
Hi Wolfgang, thanks for your information.
It is a bit difficult for me to understand the difference among
\switchtobodyfont,
\vii etc. and \tfa etc. with the explanation of cont-eni.pdf precisely
and unfortunately
\vii etc. are no more available
not correct (I don't know why).
You're wrong here because ' is replaced with a apostrophe and what
you see are just two and the have a different space between then than
a normal double quotation mark.
begin example
\starttext
\switchtobodyfont[100pt]
“
”
’
''
\stoptext
end example
Hi Wolfgang, thanks for your information.
It is a bit difficult for me to understand the difference among
\switchtobodyfont,
\vii etc. and \tfa etc. with the explanation of cont-eni.pdf precisely and
unfortunately
\vii etc. are no more available.
Thanks again.
Best regards,
Atsuhito Kohda
vi etc. change the global size and one
could replace them with \switchtobodyfont[6pt]. The other switches are local
changes of the font size which produce smaller or larger which depends on
the global size.
Wolfgang
___
I
201 - 300 of 1629 matches
Mail list logo