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
t;>> the font for the buffer used after it.
>>
>> Using \switchtobodyfont instead of \setupbodyfont for all except the
>> first call should help. You may need to add a
>> \usebodyfont[mainface_corrected] as well (in the setup block). I
>> cannot actually test right
On 6/25/19 10:08 PM, Taco Hoekwater wrote:
>> Op 25 jun. 2019 om 21:42 heeft Pablo Rodriguez het volgende geschreven:
>>
>> BTW, I wonder why the second definition of \DesiredFont doesn’t change
>> the font for the buffer used after it.
>
> Using \switchtobodyfont ins
> Op 25 jun. 2019 om 21:42 heeft Pablo Rodriguez het volgende
> geschreven:
>
> BTW, I wonder why the second definition of \DesiredFont doesn’t change
> the font for the buffer used after it.
Using \switchtobodyfont instead of \setupbodyfont for all except the first call
s
gt; \setupTABLE[r][each][align={lohi,middle},height= 50mm]
> >
> > \bTABLE
> > \bTR
> > \bTD \rotate[270]{\switchtobodyfont[8pt]a bit more text} \eTD
>
> \bTD \dontleavehmode\rotate[...]{...} \eTD
>
> Wolfgang
>
-context | current version: 2019.05.18 10:42
PDF of my output is attached.
MWE:
\starttext
\setupTABLE[c][1][width=7mm]
\setupTABLE[c][2][width=30mm]
\setupTABLE[r][each][align={lohi,middle},height= 50mm]
\bTABLE
\bTR
\bTD \rotate[270]{\switchtobodyfont[8pt]a bit more text} \eTD
\bTD
Hi Willi,
thanks for the quick reply. I have the [align=lohi] as part of the setupTABLE
statement.
Now I tried adding it into the particular cell -- again no effect even if I add
"middle".
\bTD[align=lohi] \rotate[270]{\switchtobodyfont[8pt]a bit more text} \eTD
I suspect the rotate
gt; \setupTABLE[r][each][align={lohi,middle},height= 50mm]
>
> \bTABLE
> \bTR
> \bTD \rotate[270]{\switchtobodyfont[8pt]a bit more text} \eTD
> \bTD blah \eTD
> \eTR
>
> \eTABLE
> \stoptext
> _
of my output is attached.
MWE:
\starttext
\setupTABLE[c][1][width=7mm]
\setupTABLE[c][2][width=30mm]
\setupTABLE[r][each][align={lohi,middle},height= 50mm]
\bTABLE
\bTR
\bTD \rotate[270]{\switchtobodyfont[8pt]a bit more text} \eTD
\bTD blah \eTD
\eTR
\eTABLE
\stoptext
rotate-test.pdf
:margintext]
>
> \startsetups [userdata:margintext]
> \margindata
> [inright]
> [%style=\smallbodyfont,
> style={\switchtobodyfont[9pt]},
> width=\rightmarginwidth,
> align={flushleft,broad}]
> {{\bf Exemple — }\getinlineuserdata}
> \stop
=margintext]
\defineuserdataalternative [margintext] [renderingsetup=userdata:margintext]
\startsetups [userdata:margintext]
\margindata
[inright]
[%style=\smallbodyfont,
style={\switchtobodyfont[9pt]},
width=\rightmarginwidth,
align={flushleft,broad}]
{{\bf Exemple
]
[renderingsetup=userdata:margintext]
\startsetups [userdata:margintext]
\margindata
[inright]
[%style=\smallbodyfont,
style={\switchtobodyfont[9pt]},
width=\rightmarginwidth,
align={flushleft,broad}]
{{\bf Exemple — }\getinlineuserdata}
\stopsetups
\starttext
\startuserdata
]
\startsetups [userdata:margintext]
\margindata
[inright]
[%style=\smallbodyfont,
style={\switchtobodyfont[9pt]},
width=\rightmarginwidth,
align={flushleft,broad}]
{{\bf Exemple — }\getinlineuserdata}
\stopsetups
\starttext
\startuserdata[margintext]
\input ward
\stopuserdata
On 2019-04-02 Hans Hagen wrote:
> On 4/2/2019 8:41 PM, Jan Tosovsky wrote:
> >
> > my document ends with the index
> >
> > \startbackmatter
> > \chapter{Rejstřík jmenný}
> > \start
> > \switchtobodyfont[8pt]
> > \placeindexname
> > \s
On 4/2/2019 8:41 PM, Jan Tosovsky wrote:
Dear All,
my document ends with the index
\startbackmatter
\chapter{Rejstřík jmenný}
\start
\switchtobodyfont[8pt]
\placeindexname
\stop
\stopbackmatter
\startbackmatter
\chapter{Rejstřík věcný}
\start
\switchtobodyfont[8pt]
\placeindexsubject
\stop
Dear All,
my document ends with the index
\startbackmatter
\chapter{Rejstřík jmenný}
\start
\switchtobodyfont[8pt]
\placeindexname
\stop
\stopbackmatter
\startbackmatter
\chapter{Rejstřík věcný}
\start
\switchtobodyfont[8pt]
\placeindexsubject
\stop
\stopbackmatter
At the beginning
\leaderfill{\leaders\hbox to 1em{\hss. \hss}\hfill}
\define[1]\pg{{\switchtobodyfont[10pt]\hfill\at[#1]\crlf}}
\startcomponent%\starttext
\startCList
\sym{} Illustrations and Tables\pg{Illustrations}
\sym{} Preface\pg{Preface}
\sym{} Acknowledgments\pg{Acknowledgments}
\blank[big, fixed]
\sym{0
background=color,
backgroundcolor=MyColorA,
foregroundstyle={\switchtobodyfont[12pt]},
align={right, broad},
frame=off,
corner=round,
radius=1em,
width=10cm]
\definedescription
[Info]
[before=,
after=,
text=Note,
title=no,
width=fit,
distance=
was simply
{\switchtobodyfont[myfont]My Font!}
Maybe you loaded the used the font before with \definefont which put a
entry in the database but normally \definefontfamily doesn’t use fonts
from a local directory.
Wolfgang
[TitleFont][SansBold*default sa 3]
\setuphead[chapter][style=\TitleFont,page=no]
\setuphead
[chapter]
[style={\switchtobodyfont[ss,36pt]}]
Wolfgang
___
If your question is of interest to others as well, please add
was simply
{\switchtobodyfont[myfont]My Font!}
Using the present context, this yields the error
selectfont > The requested font 'myfont' has no files for the 'tf'
alternative, Latin Modern is used instead.
What has changed and what should be the proper use?
(I have tried setting explici
Hello,
Previously, in order to make punctual use of a true-type font in a title for
example, I did the following:
\definefontfamily [myfont] [serif] [myfont]
where myfont.ttf is located in the current project directory, and selecting the
font was simply
{\switchtobodyfont[myfont]My Font
ze would be compounded: 'tfxx' remaining in effect after
% 'switchtobodyfont'. I've also tried stop...starthiding, but that prevents
% all processing of contents.
\setbox\scratchbox\hbox{%
#1%
% Use a global lua variable rather than globally setting a scratch
% reg
On Wed, Jan 16, 2019 at 6:29 PM User 19087 wrote:
>> Or I use {\switchtobodyfont[...]\symbol[ShortForty]} in the document.
>> At that point the body font may have been switched to a size whose
>> environment defines different values for 'x' and 'xx'. Or perhaps the
>> curr
bodyfontenvironment{x},
n=\getcurrentbodyfontenvironment{xx}]
> > % This also works but is less than ideal when matching surrounding
> > font sizes.
> > % Which factor should I use to match \tfxx?
> > \symbol[ShortForty]
> > \scale[factor=4]{\symbol[ShortForty]}
> x = 0.8
[ShortForty]}
{\tfxx\symbol[ShortForty]}
% This works, but why? Isn't \small just a synonym for \tfx via
% \definealternativestyle? Anyway there is no synonym for \tfxx.
\symbol[ShortForty]
{\switchtobodyfont[small]\symbol[ShortForty]}
{\small\symbol[ShortForty]}
No, \small us the same
, but why? Isn't \small just a synonym for \tfx via
% \definealternativestyle? Anyway there is no synonym for \tfxx.
\symbol[ShortForty]
{\switchtobodyfont[small]\symbol[ShortForty]}
{\small\symbol[ShortForty]}
% This also works but is less than ideal when matching surrounding font
sizes.
% Which
trates
the problem. I do not understand now all the features interact to cause
this, but the reports disappear upon removing any (such as the
seemingly-redundant \definebodyfontenvironment or the
\switchtobodyfont[small]).
\enabletrackers
[fonts.missing]
\definebodyfontenviron
interact to cause
this, but the reports disappear upon removing any (such as the
seemingly-redundant \definebodyfontenvironment or the
\switchtobodyfont[small]).
\enabletrackers
[fonts.missing]
\definebodyfontenvironment
[11pt]
[a=1]
\definefontfallback
[fb:eb
,
header=0.5in, footer=0.5in, headerdistance=0in, footerdistance=0in]
\switchtobodyfont[12pt]
\starttext
\setupTABLE[split=repeat]
\setupTABLE[r][each][toffset=3pt, boffset=3pt, loffset=3pt, roffset=3pt]
\setupTABLE[c][each][leftframe=off,rightframe=off,align=right]
\setupTABLE[c][first][frame
[topspace=0.5in, backspace=1in, height=10in, width=7in,
header=0.5in, footer=0.5in, headerdistance=0in, footerdistance=0in]
\switchtobodyfont[12pt]
\starttext
\setupTABLE[split=repeat]
\setupTABLE[r][each][toffset=3pt, boffset=3pt, loffset=3pt, roffset=3pt]
\setupTABLE[c][each][leftframe
With the font key you can apply certain font features for a different
language
but you can’t use it to switch to a different font.
To switch to a different font for your greek texts use this method:
\startsetups [greekfont]
\switchtobodyfont [grcface]
\stopsetups
\setuplanguage[agr][setups
f a strut.
\useMPlibrary[dum]
\switchtobodyfont[pagella,12pt]
\setuplayout
[topspace=10mm,
header=10mm,
footer=10mm,
height=middle,
backspace=20mm,
width=middle]
\definedescription
[Item]
[width=1.5em,
distance=none]
\
Number them by hand (or replace the descriptions I used with enumerations).
The alignment of the graphics can be improved with the \tbox command,
which raises the argument by the height of a strut.
\useMPlibrary[dum]
\switchtobodyfont[pagella,12pt]
\setuplayout
[topspace=10mm,
header
ce
>
> \useMPlibrary[dum]
>
> \switchtobodyfont[pagella,12pt]
>
> \unexpanded\def\Item#1{\framed[frame=off,location=hanging]{#1}}
>
> \setuplayout
>[topspace=10mm,
> header=10mm,
> footer=10mm,
> height=middle,
> backspace=20mm,
> w
Hello,
In the table, how to have a. b. c. in each line instead of a. a. a ?
Is the macro to place the figures on the baseline of the labels to be
improved ?
Thanks.
Fabrice
\useMPlibrary[dum]
\switchtobodyfont[pagella,12pt]
\unexpanded\def\Item#1{\framed[frame=off,location=hanging]{#1
h]
>
> \defineframedtext
>[FramedText]
>[offset=0.6em,
> style=\ss,
> toffset=.25\lineheight,
> background=color,
> backgroundcolor=MyColorA,
> oregroundstyle={\switchtobodyfont[10pt]},
> align={right, broad},
> frame=off,
>
=0.6em,
style=\ss,
toffset=.25\lineheight,
background=color,
backgroundcolor=MyColorA,
oregroundstyle={\switchtobodyfont[10pt]},
align={right, broad},
frame=off,
corner=round,
radius=1.5em,
width=10cm]
\definedescription
[Info]
[before=,
after=,
text=Info
background=color,
> backgroundcolor=MyColorB,
> ]
>
> \defineframedtext
> [FramedText]
> [
> offset=0.6em,
> style=\ss,
> toffset=\lineheight,
> background=color,
> backgroundcolo
=MyColorB,
]
\defineframedtext
[FramedText]
[
offset=0.6em,
style=\ss,
toffset=\lineheight,
background=color,
backgroundcolor=MyColorA,
foregroundstyle={\switchtobodyfont[10pt]},
align={rig
,
background=color,
backgroundcolor=MyColorB,
]
\defineframedtext
[FramedText]
[
offset=0.6em,
toffset=\lineheight,
background=color,
backgroundcolor=MyColorA,
foregroundstyle={\switchtobodyfont[10pt]},
align=verytolerant,
alternative=serried, % text
,
toffset=\lineheight,
background=color,
backgroundcolor=MyColorA,
foregroundstyle={\switchtobodyfont[10pt]},
align=verytolerant,
alternative=serried, % text wrapped
frame=off,
corner=round,
]
\showframe
\starttext
}{
\hbox{
\starttikzpicture[thick]
\switchtobodyfont[9pt]
\startaxis[
x=3cm,y=3cm,
axis line style = thick,
major tick style=black,
xtick={0,0.25,...,1},ytick={0,0.25,...,1},
ymin=-0.25,ymax=1.25,xmin=-0.25,xmax=1.5,
axis on top=true,
axis lines=middle,
tickwidth=0.15cm,
minor tick num=3,
major
,
backspace=2cm,
topspace=10mm,
bottomspace=10mm,
header=10mm,
footer=10mm,
footerdistance=10mm,
headerdistance=10mm]
\showframe
\starttext
\placefigure[right]{first}{\externalfigure[dummy]}
\placefigure[right]{second}{
\hbox{
\starttikzpicture[thick]
\switchtobodyfont[9pt
t;, "22")
context.setMPtext("Pare3", "333")
\stopluacode
%
\startuseMPgraphic{Pare}
draw thelabel(btex \switchtobodyfont[20mm]\sans\bold TTT etex, (0, 150))
withcolor red
;
draw thelabel(btex \switchtobodyfont[20mm]\sans\bold U etex, (0, 100))
with
;, "333")
\stopluacode
%
\startuseMPgraphic{Pare}
draw thelabel(btex \switchtobodyfont[20mm]\sans\bold TTT etex, (0, 150))
withcolor red
;
draw thelabel(btex \switchtobodyfont[20mm]\sans\bold U etex, (0, 100))
withcolor magenta
;
draw thelabel(btex \switchtobodyfont
Hello,
I just updated context standalone and this file does not compile anymore,
but I do not see why.
Thank you
Fabrice
\switchtobodyfont[11pt]
\definelayout
[noheader]
[header=26pt,
headerdistance=25pt,
backspace=2cm,
width=middle,
topspace=\dimexpr
wikified at
> http://wiki.contextgarden.net/Font_Switching)
>
> "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
>
ze of an entire paragraph, use \switchtobodyfont
described below in Complete Font Change. However, it is fine to use them
as style directives in setup commands, that is, using them as an option
for style=... in any setup command that accepts style option. "
Please feel free to
ia cambria cambria.ttc1
fab@debian:~$
##
\switchtobodyfont[cambria]
\starttext
\input knuth
\stoptext
___
If your question is of interest to others as
riaregular cambria cambria cambria.ttc1
fab@debian:~$
##
\switchtobodyfont[cambria]
\starttext
\input knuth
\stoptext
___
If your question is o
> \mainlanguage[fr]
>
> or increasing the tolerance:
>
> % \setuptolerance[stretch,verytolerant]
>
>
> Thank you
>> Fabrice
>>
>>
>> \usemodule[pgfplots]
>>
>> \pgfplotsset{compat=newest}
>>
>> \starttext
>> \placefigure[right,none]{}{
&
the tolerance:
% \setuptolerance[stretch,verytolerant]
Thank you
Fabrice
\usemodule[pgfplots]
\pgfplotsset{compat=newest}
\starttext
\placefigure[right,none]{}{
\hbox{\framed{\switchtobodyfont[8pt]
\starttikzpicture[/pgf/declare function={g(\x)=3*\x +7;},/pgf/declare
function={f(\x)=-4*\x +1
{\switchtobodyfont[8pt]
\starttikzpicture[/pgf/declare function={g(\x)=3*\x +7;},/pgf/declare
function={f(\x)=-4*\x +1;},/pgf/declare function={h(\x)=2*\x
-5;}]
\startaxis[
restrict x to domain=-20:20, xmax=20, xmin=-20,
restrict y to domain=-25:30, ymax=30, ymin=-25,
x=0.1cm,
y=0.1cm,
axis x
Hello,
When I write text with mathematics, I find that the space between two lines
is not enough because the formulas overflow one over the other.
How to correct this ?
Thank you
Fabrice
\switchtobodyfont[asana,12pt]
\definemixedcolumns
[Mycolumns]
[
n=2,
separator=rule
Dear list,
There were a page setting of ConText as below, It seems be error. How can I
fix it? Thanks very much!
\def\chaptercmd#1#2{\hbox to \hsize{#2\hfill\switchtobodyfont[48pt]{%
\color[darkgray]{#1}}\HeadOffset}}
\setuphead[chapter][command=\chaptercmd
\setupfootertexts[text][][][][]
\stopsetups
%
\setupheads[indentnext=yes]
\definepagebreak[headpagebreak][yes, header, footer, odd]
\setuphead[chapter,title][header=empty, style=\ssc, page=headpagebreak,]
\def\HeadOffset{\hbox to -10mm{}}
\def\chaptercmd#1#2{\hbox to \hsize{#2\hfil
"Sec" -
thus the text "\input knuth" is surrounded by \start ... \stop.
How to change the bodyfont size of the running text only (ad-hoc in
the middle of the document), without changing header text size?
Use \switchtobodyfont[6pt].
Wolfgang
--
Ing. Lukáš Procházka | mail
e document), without changing header text size?
\switchtobodyfont
-
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma
the middle of the document), without changing header text size?
Use \switchtobodyfont[6pt].
Wolfgang
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@
has this indent. :-(
> >
> > Untested, but you have two spurious spaces in your code
> >
> > \define[2]\ChapterCmd{%
> > \inouter{\framed[frame=off,align=flushleft]{%
> >%\startlinecorrection
> >\switchtobodyfont[rm,12pt] % <-- Here. Remove space before %
>
ing.
>>
>> I could solve the subtitle placement with layers.
>>
>> But the chapter title still has this indent. :-(
>
> Untested, but you have two spurious spaces in your code
>
> \define[2]\ChapterCmd{%
> \inouter{\framed[frame=off,align=flushleft]{%
>
terCmd{%
\inouter{\framed[frame=off,align=flushleft]{%
%\startlinecorrection
\switchtobodyfont[rm,12pt] % <-- Here. Remove space before %
\structureuservariable{subtitle}}%
%\stoplinecorrection
}% << HERE: % was missing
\framed[width=\textwidth,frame=off,
d boring as we then need to
> > patch specific elements of (each) hvariant and it falls in the
> > category "hard to motivate myself for").
> >
> > \showglyphs
> >
> > \starttext
> > \start
> > \dorecurse{50}{$\vec{\blackrule[width
gt; \starttext
> \start
> \dorecurse{50}{$\vec{\blackrule[width=#1pt]}$\space}\unskip\par
> \stop
> \blank
> \start
> \switchtobodyfont [pagella]
> \dorecurse{50}{$\vec{\blackrule[width=#1pt]}$\space}\unskip\par
> \stop
> \b
yself for").
\showglyphs
\starttext
\start
\dorecurse{50}{$\vec{\blackrule[width=#1pt]}$\space}\unskip\par
\stop
\blank
\start
\switchtobodyfont [pagella]
\dorecurse{50}{$\vec{\blackrule[width=#1pt]}$\space}\unskip\par
\stop
\blank
Test: $\blackboard C$ or $\mathbb P$
\switchtobodyfont[pagella]
Test: $\blackboard C$ or $\mathbb P$
\stopTEXpage
\stoptext
Just in case it helps,
Pablo
--
[mainface] [mm] [TeX Gyre Pagella Math]
> [range={uppercasedoublestruck, 0x02102-0x02124}]
> \definefontfamily [mainface] [mm] [Neo Euler]
> \setupbodyfont[mainface,12pt]
> \starttext
> \startTEXpage[offset=3pt]
> Test: $\blackboard C$ or $\mathbb P$
>
> \switch
etupbodyfont[mainface,12pt]
\starttext
\startTEXpage[offset=3pt]
Test: $\blackboard C$ or $\mathbb P$
\switchtobodyfont[pagella]
Test: $\blackboard C$ or $\mathbb P$
\stopTEXpage
\stoptext
Just in case it helps,
Pablo
--
http://
m] [TeX Gyre Pagella Math]
>> [range=uppercasedoublestruck]
>> \definefontfamily [mainface] [mm] [Neo Euler]
>> \setupbodyfont[mainface,12pt]
>> \starttext
>> \startTEXpage[offset=3pt]
>> Test: $픺$ or $\utfchar{"1D53A}$ or $\blackboard C$ or $\mathbb C$
>>
>> \sw
]
\starttext
\startTEXpage[offset=3pt]
Test: $픺$ or $\utfchar{"1D53A}$ or $\blackboard C$ or $\mathbb C$
\switchtobodyfont[pagella]
Test: $픺$ or $\utfchar{"1D53A}$ or $\blackboard C$ or $\mathbb C$
\stopTEXpage
\stoptext
welcome to unicode ... what you're looking for is
DOUBLE-STRUCK
]
Test: $픺$ or $\utfchar{"1D53A}$ or $\blackboard C$ or $\mathbb C$
\switchtobodyfont[pagella]
Test: $픺$ or $\utfchar{"1D53A}$ or $\blackboard C$ or $\mathbb C$
\stopTEXpage
\stoptext
On Fri, 2017-11-24 at 13:07 +0100, Mikael P. Sundqvist wrote:
> Hi!
>
> I use the Neo Euler which
]
\definefontfamily [mainface] [mm] [Neo Euler]
\setupbodyfont[mainface,12pt]
\starttext
\startTEXpage[offset=3pt]
Test: $\blackboard C$ or $\mathbb C$
\switchtobodyfont[pagella]
Test: $\blackboard C$ or $\mathbb C$
\stopTEXpage
\stoptex
%%%
I would expect doublestruck letters in the output on the first
] \PagellaRegular
\startlocalfootnotes
Text
\startfootnote
Note
\stopfootnote\
More text
\placelocalfootnotes
\stoplocalfootnotes
\stopframedtext
\dorecurse{5}{\input zapf}
\stoptext
Or use \switchtobodyfont[nonexisting] (if you feel more confortable
ollowing way:
\setupnote[footnote][textcommand={\PagellaRegularSmall\high}]
Many thanks. This fixes the height, but we lose the styling of the
reference symbol in the main text - see attached.
I see. One of these commands should work:
\setupnote[footnote][textcommand={\switchtobodyfont[pagella
ommand={\PagellaRegularSmall\high}]
>
> Many thanks. This fixes the height, but we lose the styling of the
> reference symbol in the main text - see attached.
I see. One of these commands should work:
\setupnote[footnote][textcommand={\switchtobodyfont[pagella, 12pt]\high}
\setupnote[footnote]
] \Setupbodyfont{\setupbodyfont[#1,11pt]}
\define[1] \DisplayExample{\switchtobodyfont[#1]\getbuffer}
\setupfirstline [alternative=line,
style=\setfontfeature{smallcaps}]
\setupinitial [location=text,n=2,color=darkred]
\setuphead [chapter
Hi Hans
Sorry to insist, but I need to correct this anomaly for my documents that I
give to students. If I compile with Context Standalone, it does not work,
but maybe I do not do what you are suggesting :
\placefigure[none,right]{}{%
\hbox{\switchtobodyfont[8pt]
Thanks
Fabrice
2017-10-05 22
HI Hans,
like this ?
\placefigure[none,right]{}{
\hbox{\switchtobodyfont[8pt]%
Fabrice
2017-10-05 22:35 GMT+02:00 Hans Hagen <pra...@wxs.nl>:
> On 10/5/2017 7:26 PM, Fabrice Couvreur wrote:
>
> If I put any image, there is no problem : the title of the section is in
>&g
On 10/5/2017 7:26 PM, Fabrice Couvreur wrote:
If I put any image, there is no problem : the title of the section is in
color and the text in black.
With a graphic made with TikZ, the title and the text are in color.
looks ok here
\placefigure[none,right]{}{
\hbox{\switchtobodyfont[8pt
=magenta]
\placefigure[none,right]{}{
\hbox{\switchtobodyfont[8pt]
\starttikzpicture[/pgf/declare function={f(\x)=\x^2-3;},/pgf/declare
function={g(\x)=-\x^2+2*\x+1;}]
\startaxis[
restrict x to domain=-3:3, xmax=3, xmin=-3,
restrict y to domain=-5:4, ymax=4, ymin=-5,
x=1cm,
y=0.5cm,
axis x line
typeset in a smaller type (via
> \switchtobodyfont in a defined startstop).
>
> Now the author insists that their footnote numbers should have the same size
> as in the body text.
> Since the footnotes are mostly source annotations at the end, it makes some
> sense.
>
On 09/29/2017 01:34 PM, Henning Hraban Ramm wrote:
> Ahoi,
>
> in my current book there are some quotations typeset in a smaller
> type (via \switchtobodyfont in a defined startstop).
>
> Now the author insists that their footnote numbers should have the
> same size as in t
Ahoi,
in my current book there are some quotations typeset in a smaller type (via
\switchtobodyfont in a defined startstop).
Now the author insists that their footnote numbers should have the same size as
in the body text.
Since the footnotes are mostly source annotations at the end, it makes
On 9/29/2017 12:35 AM, mf wrote:
Thank you Henri,
a slightly modified version of your solution works!
This is what I wanted to achieve:
\setuplayout[grid=both]
\setupquotation[before={\switchtobodyfont[9pt]}]
\starttext
\showgrid
\input knuth
\startlinecorrection[halfline]
\startquotation
On 9/28/2017 11:47 PM, luigi scarso wrote:
On Thu, Sep 28, 2017 at 11:30 PM, mf <mass...@fastwebnet.it> wrote:
Thank you Henri.
Now consider this:
---
\setuplayout[grid=both]
\setupquotation[before={\switchtobodyfont[9pt]}]
\starttext
\showgrid
\input
!
This is what I wanted to achieve:
\setuplayout[grid=both]
\setupquotation[before={\switchtobodyfont[9pt]}]
\starttext
\showgrid
\input knuth
\startlinecorrection[halfline]
\startquotation
\input sapolsky
\stopquotation
\stoplinecorrection
\input knuth
%\vadjust pre{\blank[line]}% not line, but halfline
Thank you Henri,
a slightly modified version of your solution works!
This is what I wanted to achieve:
\setuplayout[grid=both]
\setupquotation[before={\switchtobodyfont[9pt]}]
\starttext
\showgrid
\input knuth
\startlinecorrection[halfline]
\startquotation
\input sapolsky
\stopquotation
On Thu, 2017-09-28 at 23:30 +0200, mf wrote:
> Thank you Henri.
>
> Now consider this:
> ---
> \setuplayout[grid=both]
> \setupquotation[before={\switchtobodyfont[9pt]}]
>
> \starttext
> \showgrid
>
> \input knuth
>
> \startlin
On Thu, 2017-09-28 at 23:30 +0200, mf wrote:
> Thank you Henri.
>
> Now consider this:
> ---
> \setuplayout[grid=both]
> \setupquotation[before={\switchtobodyfont[9pt]}]
>
> \starttext
> \showgrid
>
> \input knuth
>
> \startlin
On Thu, Sep 28, 2017 at 11:30 PM, mf <mass...@fastwebnet.it> wrote:
> Thank you Henri.
>
> Now consider this:
> ---
> \setuplayout[grid=both]
> \setupquotation[before={\switchtobodyfont[9pt]}]
>
> \starttext
> \showgrid
>
> \input
Thank you Henri.
Now consider this:
---
\setuplayout[grid=both]
\setupquotation[before={\switchtobodyfont[9pt]}]
\starttext
\showgrid
\input knuth
\startlinecorrection[halfline]
\startquotation
\input sapolsky
\stopquotation
\stoplinecorrection
\input knuth
On Thu, 2017-09-28 at 16:21 +0200, MF wrote:
> Hello list,
> I would like ConTeXt to snap normal text to grid after a quotation.
> This example does not work:
>
> --
> \setupquotation[before={\switchtobodyfont[9pt]}]
>
> \starttext
>
Hello list,
I would like ConTeXt to snap normal text to grid after a quotation.
This example does not work:
--
\setupquotation[before={\switchtobodyfont[9pt]}]
\starttext
\showgrid
\input knuth
\startlinecorrection[halfline]
\startquotation
\input sapolsky
\stopquotation
> \defineframedtext
> [FramedText]
> [
> offset=0.6em,
>toffset=\lineheight,
>background=color,
>backgroundcolor=MyColorA,
>foregroundstyle={\switchtobodyfont[10pt]},
>align=verytolerant,
>frame=off,
>corner=01,
> ]
>
>
> \showframe
&g
regroundcolor=white,
> background=color,
> backgroundcolor=MyColorB,
> ]
>
>
> \defineframedtext
> [FramedText]
> [
> offset=0.6em,
> toffset=\lineheight,
> background=color,
> backgroundcolor=MyColorA,
>
ackground=color,
backgroundcolor=MyColorB,
]
\defineframedtext
[FramedText]
[
offset=0.6em,
toffset=\lineheight,
background=color,
backgroundcolor=MyColorA,
foregroundstyle={\switchtobodyfont[10pt]},
align=verytolerant,
alte
Hi Aditya,
I tried :
\defineframedtext
[FramedText]
[
offset=0.6em,
toffset=\lineheight,
background=color,
backgroundcolor=MyColorA,
foregroundstyle={\switchtobodyfont[10pt]},
align=verytolerant,
alternative=serried, % text wrapped
frame=off,
corner=00
\eTD\bTD
\ss 我能吞下玻璃而不伤身体 \eTD \eTR
\bTR\bTD 华文仿宋 \eTD\bTD \tt STFANGSO.TTF \eTD\bTD STFangsong \eTD\bTD
\switchtobodyfont[mschinese-light]我能吞下玻璃而不伤身体 \eTD \eTR
\eTABLEbody
There is no need for grouping. You switch to sans with \ss as it's part
of the typeface specification.
For other
le=\bfx,
>> foregroundcolor=white,
>> background=color,
>> backgroundcolor=MyColorB,
>> ]
>>
>> \defineframedtext
>> [FramedText]
>> [
>> offset=0.6em,
>> toffset=\lineheight,
>> background
301 - 400 of 1630 matches
Mail list logo