nts.missing=replace]
> \enabledirectives[logs.errors]
>
> % text, we use lib-fb-jun first, then jun-pr-lib
>
> \starttext
> \setupbodyfont[lib-fb-jun]
>
> {\em emph. lib-fb-jun: \Uchar61125 \char64259 \utfchar{"eec5} (three glyphs)}
>
> lib-fb-jun:
directives[logs.errors]
>
>
> % text, we use lib-fb-jun first, then jun-pr-lib
>
> \starttext
> \setupbodyfont[lib-fb-jun]
>
> {\em emph. lib-fb-jun: \Uchar61125 \char64259 \utfchar{"eec5} (three
> glyphs)}
>
> lib-fb-jun: \Uchar61125 \char64259 \utfchar{&qu
61125 \char64259 \utfchar{"eec5} (three glyphs) % <-
fallback fails here
\switchtobodyfont[jun-pr-lib]
jun-pr-lib: \Uchar61125 \char64259 \utfchar{"eec5} (three glyphs) % <- works
\stoptext
```
Any ideas?
Most warmly,
-jp
--
J. P. Ascher
Preceding: https://doi.org/10.18130/jq
> below the other. It worked in the past. Each sprite should be 4 x 0.095
> > cm = 0,38 cm wide and 5 x 0.095 cm = 0.475 cm high:
> >
> > \starttext
> > \setupMPinstance[metafun][textstyle={\switchtobodyfont[termes,8pt]}]
> > \startuseMPgraphic{mapa}
&
:
\starttext
\setupMPinstance[metafun][textstyle={\switchtobodyfont[termes,8pt]}]
\startuseMPgraphic{mapa}
u:=.095cm;
draw externalfigure "./skysprite.png" xscaled 4u yscaled 5u shifted
(0u,-0u);
draw externalfigure "./sandsprite.png" xscaled 4u yscaled 5u shifted
(0u,-5u)
= 5 x 8,
the width/height ratio is 4/5.
This should produce a page with a sky sprite and a sand sprite, one
below the other. It worked in the past. Each sprite should be 4 x 0.095 cm
= 0,38 cm wide and 5 x 0.095 cm = 0.475 cm high:
\starttext
\setupMPinstance[metafun][textstyle={\switchtobodyfont
On Sun, 26 Dec 2021 21:21:10 +4000
jdh via ntg-context wrote:
> \starttext
>I want to use the Mathjax_Fraktur font, which the font-manager on
> Ubuntu reports that it has.
>{\switchtobodyfont[Mathjax_Fraktur] .. but, this text doesn't show
> up in Mathjax_Fraktur.}
>
Minimum working example:
\starttext
I want to use the Mathjax_Fraktur font, which the font-manager on Ubuntu
reports that it has.
{\switchtobodyfont[Mathjax_Fraktur] .. but, this text doesn't show up in
Mathjax_Fraktur.}
\stoptext
add the feature to the current font.
I understand I need a font switch.
Usually I use \switchtobodyfont. How is \definedfont different?
it's a 'permanent' one ... so when the font is loaded the dimensions are
adapted so you need a new font definition
Hans
a font switch.
Usually I use \switchtobodyfont. How is \definedfont different?
Massi
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http
{pgfcircmultipoles.tex}
>>
>> \tikzinputfile{pgfcirclabel.tex}
>> \tikzinputfile{pgfcircvoltage.tex}
>> \tikzinputfile{pgfcirccurrent.tex}
>> \tikzinputfile{pgfcircflow.tex}
>>
>> % defaults
>>
>> \setupmodule
>&g
; [\currentmoduleparameter{inductor}]
> [european=>\ctikzset{ inductor=european},
> american=>\ctikzset{ inductor=american},
> cute=>\ctikzset{ inductor=cute}]
>
> \processaction
> [\currentmoduleparameter{diode}]
> [full=>\ctikzset{ diode=fu
\rm{k}}
\def\mega {\rm{M}}
\def\giga {\rm{G}}
\def\tera {\rm{T}}]
\unprotect
\processaction
[\currentmoduleparameter{arrowmos}]
[true=>\pgf@circuit@mos@arrowstrue,
false=>\pgf@circuit@mos@arrowsfalse]
\protect
\ctikzset{tripoles/op amp/font/.ini
slightly less bold)?
>
>
> On Tue, Dec 7, 2021 at 9:45 AM Hans Hagen via ntg-context
> wrote:
> >
> > On 12/7/2021 2:39 AM, Jairo A. del Rio via ntg-context wrote:
> > > Hi, list. See the following:
> > >
> > > \starttext
> > > $\alp
; \starttext
> > $\alpha'$ {\switchtobodyfont[newcomputermodern]$\alpha'$}
> > \stoptext
> there is no lfg file for it but if you just want a bolder latin modern
> you can also do this (there is an old bachotex presentation about it
> somewhere):
>
> \setupbodyfont[moder
On 12/7/2021 2:39 AM, Jairo A. del Rio via ntg-context wrote:
Hi, list. See the following:
\starttext
$\alpha'$ {\switchtobodyfont[newcomputermodern]$\alpha'$}
\stoptext
there is no lfg file for it but if you just want a bolder latin modern
you can also do this (there is an old bachotex
Hi, list. See the following:
\starttext
$\alpha'$ {\switchtobodyfont[newcomputermodern]$\alpha'$}
\stoptext
Thank you in advance.
Best regards,
Jairo
___
If your question is of interest to others as well, please
it@mos@arrowstrue,
false=>\pgf@circuit@mos@arrowsfalse]
\protect
\ctikzset{tripoles/op amp/font/.initial=\switchtobodyfont[small]}
\aliased\let\stopcircuitikz\relax
\permanent\protected\def\startcircuitikz#1\stopcir
ircuit@mos@arrowsfalse]
\protect
\ctikzset{tripoles/op amp/font/.initial=\switchtobodyfont[small]}
\aliased\let\stopcircuitikz\relax
\permanent\protected\def\startcircuitikz#1\stopcircuitikz
{\starttikzpicture#1\stoptikzpicture}
\stopmodule
\endinput
%D \module
%D [ file=m-tikz,
%Dversio
\m{\sqrt{x}} \NR
\NC TeX Gyre Termes\NC \switchtobodyfont[termes] \m{\sqrt{x}} \NR
\NC TeX Gyre Pagella \NC \switchtobodyfont[pagella] \m{\sqrt{x}} \NR
\NC TeX Gyre Bonum \NC \switchtobodyfont[bonum] \m{\sqrt{x}} \NR
\NC TeX Gyre Schola\NC \switchtobodyf
Latin Modern Roman \NC\m{x'} \NC\NR
\NC TeX Gyre Termes\NC \switchtobodyfont[termes] \m{x'} \NC\NR
\NC TeX Gyre Pagella \NC \switchtobodyfont[pagella] \m{x'} \NC\NR
\NC TeX Gyre Bonum \NC \switchtobodyfont[bonum] \m{x'} \NC\NR
\NC TeX Gyre Schola\NC
ly one or the
> > other, but not both.
> >
> >
> > \definefontfamily [mwetest] [sans] [Liberation Sans]
> > \setupbodyfont [mwe,ss,12pt]
> > \definelayer[mwe][repeat=yes, preset=lefttop, hoffset=.125in,
> > voffset=.125in]
>
h][tex gyre pagella math]
> > > \definefontfamily[bon][math][tex gyre bonum math]
> > > \definefontfamily[sch][math][tex gyre schola math]
> > > \definefontfamily[stx][math][stix two math]
> > > \starttext
> > > \starttabulate[|c|c|]
> > > \FL
>
NC \bf Math prime \NR
> > \ML
> > \NC Latin modern \NC \m{x'} \NR
> > \NC Termes \NC \switchtobodyfont[trm] \m{x'} \NR
> > \NC Pagella \NC \switchtobodyfont[pag] \m{x'} \NR
> > \NC Bonum \NC \switchtobodyfont[bon] \m{x'} \NR
> > \NC Schola \NC \switchtobodyfont[
math]
\definefontfamily[stx][math][stix two math]
\starttext
\starttabulate[|c|c|]
\FL
\NC \bf Font name \NC \bf Math prime \NR
\ML
\NC Latin modern \NC \m{x'} \NR
\NC Termes \NC \switchtobodyfont[trm] \m{x'} \NR
\NC Pagella \NC \switchtobodyfont[pag] \m{x'} \NR
\NC Bonum \NC \switchtobodyfont[bon] \m
\starttabulate[|c|c|]
\FL
\NC \bf Font name \NC \bf Math prime \NR
\ML
\NC Latin modern \NC \m{x'} \NR
\NC Termes \NC \switchtobodyfont[trm] \m{x'} \NR
\NC Pagella \NC \switchtobodyfont[pag] \m{x'} \NR
\NC Bonum \NC \switchtobodyfont[bon] \m{x'} \NR
\NC Schola \NC \switchtobodyfont[sch] \m{x'} \NR
\NC
] { \switchtobodyfont[chancery,8pt] \hskip 5mm Chancery Font
Here }
\setupbackgrounds[page][background=mwe]
\starttext
Normal font text goes here. \blank[4*big]
{ \switchtobodyfont[chancery] This should be Chancery here to. But isn't. }
\blank[2*big]Note
or the
other, but not both.
\definefontfamily [mwetest] [sans] [Liberation Sans]
\setupbodyfont [mwe,ss,12pt]
\definelayer[mwe][repeat=yes, preset=lefttop, hoffset=.125in, voffset=.125in]
\setlayer[mwe] { \switchtobodyfont[chancery,8pt] \hskip 5mm Chancery
family [mainface] [math] [Minion Pro]
% [range=digitsnormal,features=f:lining]
\definefallbackfamily [mainface] [math] [Minion Pro]
[preset=math:digitsnormal]
\definefontfamily [mainface] [math] [Libertinus Math]
\starttext
\startformula
c^2 = a^2 + b^2
\stopformula
\switchtobodyfont[ma
Apparently, almfixed and kurier fonts no longer load as before.
But in this way yes, and I still can't find the reason:
\definefontfamily[FAR][serif][almfixed]
\definefontfamily[KUR][sans serif][kurier]
\setupbodyfont [FAR,10pt]
\starttext
123abc\par
\switchtobodyfont[FAR,40pt] 123abc
double-checking the fonts, two still don't switch. this example
procudes a pdf with Latin Modern instead ALM Fixed and Kurier. Any
ideas on how to use those?
\starttext
\switchtobodyfont[almfixed,tt] 123abc \par
\switchtobodyfont[almfixed] 123abc \par
\switchtobodyfont[kurier] 123abc \par
text@ntg.nl>> escribió:
> >
> > Hi all,
> > I suppose this is a bug or something unresolved, the following code
> > renders a pdf in LMRoman (lmserif) only:
> >
> > \starttext
> > \startitemize[none]
> > \switchtobodyfont[anty
ntg-context
mailto:ntg-context@ntg.nl>> escribió:
Hi all,
I suppose this is a bug or something unresolved, the following code
renders a pdf in LMRoman (lmserif) only:
\starttext
\startitemize[none]
\switchtobodyfont[antykwatorunska] \item font-test 123
\switchtobo
t; I suppose this is a bug or something unresolved, the following code
> renders a pdf in LMRoman (lmserif) only:
>
> \starttext
> \startitemize[none]
> \switchtobodyfont[antykwatorunska] \item font-test 123
> \switchtobodyfont[kurier] \item font-test 123
> \switchtobodyf
Hi all,
I suppose this is a bug or something unresolved, the following code
renders a pdf in LMRoman (lmserif) only:
\starttext
\startitemize[none]
\switchtobodyfont[antykwatorunska] \item font-test 123
\switchtobodyfont[kurier] \item font-test 123
\switchtobodyfont[almfixed] \item font-test 123
On 10/20/2021 1:01 PM, Mikael Sundqvist via ntg-context wrote:
Hi,
looking at the output of
\setupbodyfont[libertinus]
%\setupmathematics[stylealternative={ssty}]
\starttext
%\addff{ssty}
$y'=f'$
\switchtobodyfont[newcomputermodern-book]
$y'=f'$
\stoptext
ssty doesn't kick in as we're
Hi,
looking at the output of
\setupbodyfont[libertinus]
%\setupmathematics[stylealternative={ssty}]
\starttext
%\addff{ssty}
$y'=f'$
\switchtobodyfont[newcomputermodern-book]
$y'=f'$
\stoptext
I think that the primes in libertinus are too small. Indeed, looking
in the font, they look like
Dear List,
the red highlight block in the following example is not covering the two
40pt characters:
\definetextbackground[important][frame=no,background=color,backgroundcolor=red]
\starttext
abc\important{123{\switchtobodyfont[40pt]45}xy}z
\stoptext
Is there an option that fixes this?
Thanks
On 8/29/2021 3:21 PM, Paul Dostert via ntg-context wrote:
My Minimal:
\starttext
$==$ this
$f(x)= x^2$
\switchtobodyfont[times]
$==$ this
$f(x)= x^2$
\switchtobodyfont[modern]
$==$ this
$f(x)= x^2$
\stoptext
This is producing an =, a large space (about two characters wide
My Minimal:
\starttext
$==$ this
$f(x)= x^2$
\switchtobodyfont[times]
$==$ this
$f(x)= x^2$
\switchtobodyfont[modern]
$==$ this
$f(x)= x^2$
\stoptext
This is producing an =, a large space (about two characters wide), then an
= through the start of the word "this". See pdf he
*default at 14pt]
\definefont [TestC] [name:texgyreherositalic*default at 14pt]
\starttext
{\TestA The quick brown}
{\TestB fox jumps over}
{\TestC the lazy dog}
\stoptext
In my cases it is easier to use \switchtobodyfont rather than using a fixed
font style, below is a modified version of your
nt [TestA] [name:texgyreheros*default at 14pt]
> \definefont [TestB] [name:texgyreherosbold*default at 14pt]
> \definefont [TestC] [name:texgyreherositalic*default at 14pt]
>
> \starttext
> {\TestA The quick brown}
> {\TestB fox jumps over}
> {\TestC the lazy dog}
> \stoptext
>
}
{\TestB fox jumps over}
{\TestC the lazy dog}
\stoptext
In my cases it is easier to use \switchtobodyfont rather than using a
fixed font style, below is a modified version of your example above.
While the example itself isn't very useful the method can be used to
change the font for a header
=on,
framecolor=black,
background=,
location=paragraph,
]
\definevimtyping[vimR]
[
syntax=r,
space=off,
lines=split,
numbering=yes,
numberstep=5,
alternative=pscolor,
margin=.5em,
style={\switchtobodyfont[type
finehighlight[emph][style={\em}]
\definehighlight[strong][style=boldface]
\starttext
\startbuffer
Some Text \emph{emphasized} normal \strong{strong} \emph{emph \emph{inner emph}
end}.
\stopbuffer
\getbuffer
{\switchtobodyfont[ss]\getbuffer}
{\hw\getbuffer}
{\switchtobody
][2][width=3cm, align=middle]
\setupTABLE[c][each][frame=off]
\stopsetups
\switchtobodyfont[10pt]
\starttext
\doifmode{title}{\title{Rooster}}
\startcolumns[n=2]
\bTABLE[split=yes, setups=tablesettings]
\dorecurse{75}{\bTR \bTD 25 \eTD \bTD aug, wo \eTD \bTD Lecture \eTD \eTR
=MyColorA,
foregroundstyle={\switchtobodyfont[11pt]},
align={left, broad},
frame=off,
width=\textwidth,
]
\setuplabeltext
[en]
[chapter=CHAPITRE]
\setuppagenumbering
[alternative=doublesided,location=]
\unexpanded\def\HeadTitle#1
gt;
> \definecolor[MyColorA][r=0.8784, g=0.8784, b=0.8784]
> \defineframedtext
> [FramedText]
> [
> offset=0.6em,
> style=,
> toffset=\lineheight,
> background=color,
> backgroundcolor=MyCo
,
foregroundstyle={\switchtobodyfont[11pt]},
align={left, broad},
frame=off,
width=\textwidth,
]
\setuplabeltext
[en]
[chapter=CHAPITRE]
\setuphead
[chapter]
[bodypartlabel=]
\startsetups [header]
\labeltext{chapter
]{{\setscript[hanzi]\sourcehanserifregular #1}}}
You can try to play with this font setup, all settings within the
setups-block are applied when you change the language.
% font setup for english ...
\definefontfamily [source] [rm] [Source Serif]
\switchtobodyfont [source]
% font setup for japanese
computermodern]
\starttext
\tt\bi\input aristotle-grc\par
\switchtobodyfont[another]
\input aristotle-grc\par
\it\input aristotle-grc
\stoptext
I’m afraid that there is no "newcmmono10-bolditalic.otf", but
"newcmmono10-boldoblique.otf".
The following patch fixes
y I defined, there were two elements with empty string as their
value. Once I changed those empty strings to some valid string, there was no
error and the file compiled as expected. Here is the new MWE with one array
element defined as empty string
\starttext
\switchtobodyfont[30pt]
\startMPpage
StartP
\switchtobodyfont[30pt]
\startMPpage
StartPage ;
unit := 2 * cm ;
%numeric lm, row, col, bm;
pair middle;
row := 1; col := 1;
picture p, q ; p := nullpicture; q := nullpicture;
string l[], lbl;
l[0] := "" ; l[1]:= "2";
for i= 0 upto row:
middle := 0.5[((( i * unit) ), ((2 * unit
On 5/22/21 1:10 PM, Wolfgang Schuster wrote:
> [...]
> You can't use x and a with \switchtobodyfont, only small and big are
> possible.
>
> \starttext
> a
> \switchtobodyfont[small]
> a
> \switchtobodyfont[big]
> a
> \stoptext
Many thanks for your fast
Pablo Rodriguez schrieb am 22.05.2021 um 12:51:
Dear list,
I have the following sample:
\setupbodyfont[11.25pt]
\starttext
a
\switchtobodyfont[x]
a
\switchtobodyfont[a]
a
\stoptext
How can I get both \switchtobodyfont working in both appearances?
You can't use x
Dear list,
I have the following sample:
\setupbodyfont[11.25pt]
\starttext
a
\switchtobodyfont[x]
a
\switchtobodyfont[a]
a
\stoptext
How can I get both \switchtobodyfont working in both appearances?
Many thanks for your help,
Pablo
--
http://www.ousia.tk
\definevimtyping[foo][
style={\switchtobodyfont[16pt,tt]},
directory=code/,
syntax=foo,
alternative=pscolor,
vimrc=foo,
]
\starttext
\startfoo
let while endwhile
\stopfoo
\stoptext
The ~/foo/ directory contains ftdetect/foo.vim:
au BufRead,BufNewFile
Hi,
Is it possible to run the macro in math mode ?
Thank you
Fabrice
\usebodyfont [stix]
\setupbodyfont[modern]
\setupmathematics[stylealternative=calligraphic]
\unexpanded\def\CScript#1#2{\start\switchtobodyfont[stixtwo]
\m{{\mathscript{#1}}_{#2}}\stop}
\unexpanded\def\cscript#1{\start
]
\definedfont[Serif*default:block]
\getbuffer[test]
\switchtobodyfont[times]
\getbuffer[test]
% With Times New Roman, we can even see the bars in the output
\definedfont[Serif*default:block]
\getbuffer[test]
\stoptext
==
What am I missing?
(I am trying to block
in for
stretch !=0, no matter how small
\setupalign[height]
\setupinterlinespace[stretch=0.001] % vertical stretching seems to kick in for
stretch !=0, no matter how small
\setupdelimitedtext[blockquote]
[style={\switchtobodyfont[x
>>
> > >>> These quick font switches are meant for changing the font style,
> > >>> alternative, or size of a few words: they do not change the
> > >>> bodyfont, so they don't affect interline spacing or math font sizes.
> > >>> So, if
> alternative, or size of a few words: they do not change the
> >>> bodyfont, so they don't affect interline spacing or math font sizes.
> >>> So, if you want to change the font size of an entire paragraph, use
> >>>
> \switchtobodyfont<https://wiki.contextgarden.
:
These quick font switches are meant for changing the font style, alternative, or size of a few
words: they do not change the bodyfont, so they don't affect interline spacing or math font
sizes. So, if you want to change the font size of an entire paragraph, use
\switchtobodyfont<ht
o change the font size of an entire paragraph, use \switchtobodyfont
>> <https://wiki.contextgarden.net/Command/switchtobodyfont> described
>> below in Complete Font Change
>> <https://wiki.contextgarden.net/Font_Switching#Complete_font_change>.
>> However, it
> > These quick font switches are meant for changing the font style,
> > alternative, or size of a few words: they do not change the bodyfont, so
> > they don't affect interline spacing or math font sizes. So, if you want to
> > change the font size of an entire paragraph, use
to change the font size
> of an entire paragraph, use
> \switchtobodyfont<https://wiki.contextgarden.net/Command/switchtobodyfont>
> described below in Complete Font
> Change<https://wiki.contextgarden.net/Font_Switching#Complete_font_change>.
> However, it is fine to u
at all under LMTX.
Best,
Denis
\setuppapersize[A5][A5]
\showframe
\setupdelimitedtext[blockquote]
[before={\switchtobodyfont[small]},
spacebefore={medium,flexible
you want to change the font size
> of an entire paragraph, use
> \switchtobodyfont<https://wiki.contextgarden.net/Command/switchtobodyfont>
> described below in Complete Font
> Change<https://wiki.contextgarden.net/Font_Switching#Complete_font_change>.
> Howe
9:39 AM, thierry horsin wrote:
For instance:
\switchtobodyfont[21pt]
\startformula
\frac{MTC}{MTE}
\stopformula
is OK.
While
\switchtobodyfont[22pt]
\startformula
\frac{MTC}{MTE}
\stopformula
gives an error
but
\switchtobodyfont[22pt]
$\frac{MTC}{MTE}$ works fine.
Thanks
Below: part
On 4/19/2021 9:39 AM, thierry horsin wrote:
For instance:
\switchtobodyfont[21pt]
\startformula
\frac{MTC}{MTE}
\stopformula
is OK.
While
\switchtobodyfont[22pt]
\startformula
\frac{MTC}{MTE}
\stopformula
gives an error
but
\switchtobodyfont[22pt]
$\frac{MTC}{MTE}$ works fine.
Thanks
For instance:
\switchtobodyfont[21pt]
\startformula
\frac{MTC}{MTE}
\stopformula
is OK.
While
\switchtobodyfont[22pt]
\startformula
\frac{MTC}{MTE}
\stopformula
gives an error
but
\switchtobodyfont[22pt]
$\frac{MTC}{MTE}$ works fine.
Thanks
Below: part of the error message
tex error
]
[text=Définition,
number=no,
headcommand=\groupedcommand{}{},
style=slanted]
\setupmathematics[stylealternative=calligraphic]
\unexpanded\def\CScript#1#2{\start\switchtobodyfont[stixtwo]\m{{\mathscript{#1}}_{#2}}\stop}
\unexpanded\def\cscript#1{\start\switchtobodyfont[stixtwo]\m
Wessam A.ttf
My humble attempt: I did the following in my preamble:
\definefallbackfamily [mainface] [sans] [aarslanwessama] [range=arabic]
The rest of the [mainface] setups are obviously western fonts. But the
fallbackfamily approach did nothing to help. I also tried:
Khàbab {\switchtobodyfont
s=yes]
\definefontfamily[times][rm][Times New Roman]
\definefontfamily[termes[rm][TeX Gyre Termes]
\definefontfeature[default:block][default][blockligatures=yes]
\starttext
{\switchtobodyfont[times] \definedfont[Serif*default]begrifflich
ff fi fl\blank
\defined
; \definefontfamily[times][rm][Times New Roman]
> \definefontfamily[termes[rm][TeX Gyre Termes]
>
> \definefontfeature[default:block][default][blockligatures=yes]
>
> \starttext
>
> {\switchtobodyfont[times] \definedfont[Serif*default]begrifflich
&g
;, "l" },
}
}
\stopluacode
\blockligatures[begrif:fl:ich]
\definefontfeature[default][default][dlig=yes,liga=yes,moreligatures=yes]
\definefontfamily[times][rm][Times New Roman]
\definefontfamily[termes[rm][TeX Gyre Termes]
\definefontfeature[default:block][default][block
=yes]
\definefontfamily[times][rm][Times New Roman]
\definefontfamily[termes[rm][TeX Gyre Termes]
\starttext
\switchtobodyfont[times]
\definedfont[Serif*default]
begrifflich
\blank
\definedfont[Serif*default:block]
begrifflich
\switchtobodyfont[termes]
\definedfont[Serif*default]
begrifflich
[hyphenation.applied.visualize]
% \enabletrackers[hyphenation.applied.console]
\startbuffer
\samplefile{tufte}
\blank
{\hsize 4em \dorecurse{4}{x\discretionary{aa}{bb}{cc}x #1 }}
\blank
\stopbuffer
\starttext
\switchtobodyfont[modern] \getbuffer
\switchtobodyfont[pagella
[name:linlibertineo*default at 12 pt]
>
> ff fl
>
> \switchtobodyfont[pagella]
>
> ff fl
>
> \stoptext
>
> The ff and fl ligatures work out of the box with Linux Libertine O, and
> with TeX Gyre Pagella, but not with Times New Roman. I can use the
> ligatures in
\switchtobodyfont[pagella]
ff fl
\stoptext
The ff and fl ligatures work out of the box with Linux Libertine O, and
with TeX Gyre Pagella, but not with Times New Roman. I can use the
ligatures in MS Word so the font has them, but I don’t see why they
shouldn’t work with ConTeXt (LMTX
Hi
I'm have to use Times New Roman for a text, and I'm finding that ligatures
don't seem to work properly.
\starttext
\definedfont[name:timesnewromanpsmt*default at 12 pt]
ff fl
\definedfont[name:linlibertineo*default at 12 pt]
ff fl
\switchtobodyfont[pagella]
ff fl
\stoptext
The ff and fl
simplefonts module deprecated or discouraged now?
> >
> > Hi Mohammad,
> >
> > the simplefonts module has been deprecated, since it has been
> > implemented in the ConTeXt core (see below).
> >
> > \definefontfallback might be the command you
to create a new
typeface (fontfamily) and load it with \switchtobodyfont.
\definefontfallback
[AnotherFontFallback]
[file:texgyreherosregular*default]
[lowercasenormal]
[force=yes]
\definefontsynonym
[AnotherFontMain]
[file:texgyrepagellaregular]
[fallbacks=AnotherFontFallback
\stopbuffer
\starttext
\startTEXpage[offset=2pt,strut=no]
\getbuffer
\switchtobodyfont[pagella]
\getbuffer
\switchtobodyfont[dejavu]
\getbuffer
\stopTEXpage
\stoptext
This is dedicated to Jano who wants to be able to search and these are
proper glyphs (so
e=3]{a}
\stopformula
\switchtobodyfont[lucidaot]
If we switch to lucida, the \type{size=1} and \type{size=2} are the same:
\startformula
\Set[size=0]{a}\quad
\Set[size=1]{a}\quad
\Set[size=2]{a}\quad
\Set[size=3]{a}
\sto
={\blank[small,fixed]
\setupnarrower[left=1.5pc,right=0pc]
\startnarrower[left,right]
\noindentation\switchtobodyfont[9pt]},
after={\par\stopnarrower
\blank[small,fixed]
\noindentation},]
\starttext
\input ward
\startblockquote
\input ward
\stopblockquote
\stoptext
I am attempting to get
;
\stopMPdefinitions
\starttext
\startMPcode
newpath p ;
p := (2cm, 3cm) -- (3cm, 5cm);
mydotlabeldiam := 15pt;
mydotlabelshape := fullsquare ;
draw p ;
mydotlabel(textext("\switchtobodyfont[8pt]" & "A"), point 0 of p)
withcolor transparent("exclusion&
re and include a link.
This is a combined TeX file containing two different ways I took to
try to accomplish the same thing:
\starttext
{\switchtobodyfont[2pt]
{\framed[offset=overlay]{\includesvgfile[../hammingCoderStopwatch-hammingCoder-gcc-RowsSparse-1023-1013.svg][offset
to be a square:
\starttext
\startMPcode
draw (2cm,3cm) -- (3cm,5cm) ;
dotlabel(textext("\switchtobodyfont[8pt]" & "A"), (2cm,3cm))
withpen pencircle scaled 12pt
withcolor transparent("exclusion",.5,red) ;
dotlabel(textext("\switchtobodyfont[8
I woul dlike to have some dots
>> represented by a square (or even by another scalable symbol): for instance
>> in the following I would like the dot at the point B to be a square:
>>
>> \starttext
>> \startMPcode
>> draw (2cm,3cm) -- (3cm,5cm) ;
>> dotla
>
> \starttext
> \startMPcode
> draw (2cm,3cm) -- (3cm,5cm) ;
> dotlabel(textext("\switchtobodyfont[8pt]" & "A"), (2cm,3cm))
> withpen pencircle scaled 12pt
> withcolor transparent("exclusion",.5,red) ;
>
> dotlabel(textext("
("\switchtobodyfont[8pt]" & "A"), (2cm,3cm))
withpen pencircle scaled 12pt
withcolor transparent("exclusion",.5,red) ;
dotlabel(textext("\switchtobodyfont[8pt]" & "B"), (3cm,5cm))
withpen pencircle scaled 12pt
irst option is the identifier, you may use whichever you want, but
the same should be used defining the same typeface family (fallback
typefaces) and in \setupbodyfont (\switchtobodyfont is irrelevant for
pandoc, as far as I know).
The second option is the typeface class of the family: serif,
sans-s
sans]
> \setupxtable[head][topframe=on,bottomframe=on,foregroundstyle=sansbold]
> \setupxtable[body][bottomframe=on]
> \setupxtable[foot][bottomframe=on]
>
> \define[1]\fuentent{\start\switchtobodyfont[sans,small]#1\par\stop}
>
> \define[1]\fuente{\start\switchtobodyfont[sans,sm
,foregroundstyle=sans]
\setupxtable[head][topframe=on,bottomframe=on,foregroundstyle=sansbold]
\setupxtable[body][bottomframe=on]
\setupxtable[foot][bottomframe=on]
\define[1]\fuentent{\start\switchtobodyfont[sans,small]#1\par\stop}
\define[1]\fuente{\start\switchtobodyfont[sans,small]\emph{Fuente:}~#1
relation/difference among
> > \{setup,switchto,use}bodyfont?
> > There seems to be not much documentation on this. Can one conclude, from
> > the wiki <https://wiki.contextgarden.net/Command/switchtobodyfont> and
> > the source code
> > <
> https://source
t
Thank you for the information, Hans!
Could you please also shed some light on the relation/difference among
\{setup,switchto,use}bodyfont?
There seems to be not much documentation on this. Can one conclude, from
the wiki <https://wiki.contextgarden.net/Command/switchtobodyfont> and
please also shed some light on the relation/difference among
\{setup,switchto,use}bodyfont?
There seems to be not much documentation on this. Can one conclude, from the
wiki <https://wiki.contextgarden.net/Command/switchtobodyfont> and the source
code
<https://source.contextgarden.net/tex/c
> difference:
>
> \definefontfamily[face][rm][dejavuserif]
> \starttext\switchtobodyfont[face, 24pt]ɑ\stoptext
>
> this should warn:
>
> fonts > checking > char ɑ (U+00251) in font
> 'LatinModernMath-Regular-
> difference:
>
> \definefontfamily[face][rm][dejavuserif]
> \starttext\switchtobodyfont[face, 24pt]ɑ\stoptext
>
> this should warn:
>
> fonts > checking > char ɑ (U+00251) in font
> 'LatinModer
101 - 200 of 1630 matches
Mail list logo