Hello,
The code below works perfectly without the placement of the label, but if I
want to place the label, it no longer works.
Thank you
\definefloat
[recipe]
[figure]
\setupfloat
[recipe]
[default={right,none}]
\starttext
\switchtobodyfont [pagella, 9pt]
\placerecipe
avern Tomato {\it Vowel Tavern Tomato}\par}
\starttext
\Test
{\tfxx
\Test}
\switchtobodyfont[8pt]
\Test
\stoptext
This was tested on W10/64 using ConTeXt ver: 2015.10.09 21:28 MKIV
beta fmt: 2015.11.1 int: english/english, with EBGaramond files
version 0.016 (April 2014) in
\setupbodyfont[ebgaramond]
\def\Test{Vowel Tavern Tomato {\it Vowel Tavern Tomato}\par}
\starttext
\Test
{\tfxx
\Test}
\switchtobodyfont[8pt]
\Test
\stoptext
This was tested on W10/64 using ConTeXt ver: 2015.10.09 21:28 MKIV
beta fmt: 2015.11.1 int: english/english
Tavern Tomato {\it Vowel Tavern Tomato}\par}
\starttext
\Test
{\tfxx
\Test}
\switchtobodyfont[8pt]
\Test
\stoptext
This was tested on W10/64 using ConTeXt ver: 2015.10.09 21:28 MKIV beta fmt:
2015.11.1 int: english/english, with EBGaramond files version 0.016 (April
2014) installed in C:\Windows
fiddling... Something like
\definefontfamily [test] [serif] [ebgaramond]
\setupbodyfont [test,12pt]
\define\que%
{\bgroup
\setbox0\hbox{q}%
\setbox2\hbox to \wd0{\kern0.3em\switchtobodyfont[6pt] ʒ}%
\setbox4\hbox to \wd0{\kern0.1em\textacute}%
\hbox to \wd0 \bgroup
\hss\copy0
cases or better quality and manual fiddling... Something like
\definefontfamily [test] [serif] [ebgaramond]
\setupbodyfont [test,12pt]
\define\que%
{\bgroup
\setbox0\hbox{q}%
\setbox2\hbox to \wd0{\kern0.3em\switchtobodyfont[6pt] ʒ}%
\setbox4\hbox to \wd0{\kern0.1em\textacute
On 8/21/2015 11:50 PM, Rik Kabel wrote:
On 2015-08-21 09:10, Hans Hagen wrote:
mostly changed names of the fonts, a missing directive (i'll add a
fallback for that) and such ... patched in the next beta
Hans,
This morning's release fixed the newotf module problem, but not the font
face
][ebgaramond][default]
% \definetypeface[Secondary][rm][serif][palatino][default]
% \definetypeface[Secondary][rm][serif][libertine][default]
\stoptypescript
\setupbodyfont [modern, 10pt]
%\setupbodyfont [palatino, 10pt]
\starttext
% {\switchtobodyfont[Secondary]Oops
On 2015-08-21 09:10, Hans Hagen wrote:
mostly changed names of the fonts, a missing directive (i'll add a
fallback for that) and such ... patched in the next beta
Hans,
This morning's release fixed the newotf module problem, but not the font
face problem. Was that to be expected?
--
Rik
]
% \definetypeface[Secondary][rm][serif][palatino][default]
% \definetypeface[Secondary][rm][serif][libertine][default]
\stoptypescript
\setupbodyfont [modern, 10pt]
%\setupbodyfont [palatino, 10pt]
\starttext
% {\switchtobodyfont[Secondary]Oops!\par}% Oops!
Default tf
mind to solve the
following scenario: I may want to a special mono typeface only for urls.
This mono typeface would be different from the general mono font.
The problem when using \setupbodyfont or \switchtobodyfont is that it
doesn’t work with other sizes than the default one.
This sample shows
] [features={StylisticSet=11}]
\switchtobodyfont [hauptfont]
Dies ist mit Features, denke ich.
{\switchtobodyfont [schoenfont] Und jetzt schreiben wir etwas in
Fraktur, das ist ja schöner.}
\stoptext
___
If your question
[schoenfont] [rm] [Xserif] [UnifrakturMaguntia]
[default] [features={StylisticSet=11}]
\switchtobodyfont [hauptfont]
Dies ist mit Features, denke ich.
{\switchtobodyfont [schoenfont] Und jetzt schreiben wir etwas in
Fraktur, das ist ja schöner.}
\stoptext
Below is a MkIV example where I enabled
OT]
[range=lowercasegreeknormal]
\definefontfamily [mathmojca] [rm] [Lucida Bright OT]
\definefontfamily [mathmojca] [mm] [Lucida Bright Math OT]
\starttext
\switchtobodyfont[textmojca]
\startlines
alpha: α
beta: β
gamma: γ
\stoplines
\switchtobodyfont[mathmojca
=lowercasegreeknormal]
\definefontfamily [mathmojca] [rm] [Lucida Bright OT]
\definefontfamily [mathmojca] [mm] [Lucida Bright Math OT]
\starttext
\switchtobodyfont[textmojca]
\startlines
alpha: α
beta: β
gamma: γ
\stoplines
\switchtobodyfont[mathmojca]
\startlines
alpha: α
beta: β
gamma: γ
\stoplines
\tf}
\startmyparagraphs
\switchtobodyfont[rm]
{\tt \backslash switchtobodyfont[rm]}\crlf
{\tt \backslash tf}: {\tf \getbuffer}\par
{\tt \backslash it}: {\it \getbuffer}\par
{\tt \backslash sl}: {\sl \getbuffer}\par
{\tt \backslash bf}: {\bf \getbuffer}\par
{\tt \backslash bi}: {\bi \getbuffer}\par
][3][width=\dimexpr 0.3\textwidth\relax]
\section{{\tt \backslash setupmathematics[mathlabelstyle=\backslash tf]}
(default)}
\startmyparagraphs
\switchtobodyfont[rm]
{\tt \backslash switchtobodyfont[rm]}\crlf
{\tt \backslash tf}: {\tf \getbuffer}\par
{\tt \backslash bf}: {\bf \getbuffer}\par
{\tt
]
\setupparagraphs[myparagraphs][3][width=\dimexpr 0.3\textwidth\relax]
\section{{\tt \backslash setupmathematics[mathlabelstyle=\backslash tf]}
(default)}
\startmyparagraphs
\switchtobodyfont[rm]
{\tt \backslash switchtobodyfont[rm]}\crlf
{\tt \backslash tf}: {\tf \getbuffer}\par
{\tt \backslash
Hello,
I am trying to have inter-line space change according to the current
size of the body font, which I modify with \switchtobodyfont, but I
cannot seem to affect the desired change as per the MWE below.
\setupinterlinespace seems to take its lead from the original
\setupbodyfont
Thanks Pablo!
Hi Paavnet,
yes, you need a paragraph to make \setupinterlinespace work.
--
Pavneet Arora m: 647.406.6843
Waroc Informatikt: 416.937.9276
___
If your question is of interest
On 04/30/2015 02:18 PM, Pavneet Arora wrote:
Hello,
I am trying to have inter-line space change according to the current
size of the body font, which I modify with \switchtobodyfont, but I
cannot seem to affect the desired change as per the MWE below.
\setupinterlinespace seems to take
Hello,
I've tracked down the problem :
\def\numeroLigneCode#1{\inframed[width=fit,strut=yes,frame=off,rightframe=on]{\switchtobodyfont[9pt]#1}}
\definetyping[code][numbering=line,page=yes,bodyfont=9pt,before={%
\begingroup%
\setuplinenumbering[location
][numbering=line,page=yes,bodyfont=9pt,tab=2]
\setuplinenumbering[code][location=text,align=left,style={\switchtobodyfont[9pt,tt]},command=\numeroLigneCode,distance=-.5em,width=2em]
\defineparagraphs[TwoCols][n=2,before=,after=]
\starttext
Am 29.04.2015 um 15:05 schrieb Pierre-François Bonnefoi bonne...@unilim.fr:
Hello,
I've tracked down the problem :
\def\numeroLigneCode#1{\inframed[width=fit,strut=yes,frame=off,rightframe=on]{\switchtobodyfont[9pt]#1}}
\definetyping[code][numbering=line,page=yes,bodyfont=9pt,before
]
\setuplinenumbering[code][location=text,align=left,style={\switchtobodyfont[9pt,tt]},command=\numeroLigneCode,distance=-.5em,width=2em]
\defineparagraphs[TwoCols][n=2,before=,after=]
\starttext
\startTwoCols
\startcode
one
two
three
\stopcode
\TwoCols
hum
\stopTwoCols
\stoptext
I've tried to use
and \startcombination[ cos * rows ]]
But no matter what order I give to [ n x c ] the result is always a
vertical split and not a horizontal one.
You have to add an empty pair of braces after each part of your
combination:
\starttext
{ \switchtobodyfont[8pt]
\startcombination[2*1]
{
\framed[frame=off
an empty pair of braces after each part of your combination:
\starttext
{ \switchtobodyfont[8pt]
\startcombination[2*1]
{
\framed[frame=off,topframe=on,leftframe=on,rulethickness=2pt,width=6cm,
align={flushleft}]
{ \fillinrules[n=1]{\bf Buyer's Signature
signature linr and the
right of the page for a Seller's signature.
% Mimimal Expample Follows:
\starttext
{ \switchtobodyfont[8pt]
\startcombination[2*1]
{
\framed[frame=off,topframe=on,leftframe=on,rulethickness=2pt,width=6cm,
align={flushleft}]
{ \fillinrules[n=1
??}}
\switchtobodyfont[testfont]
◆ : \checkedtextchar{25C6}{{\tttf ??}}
\stoptext
Wolfgang___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl
◆ : \checkedtextchar{25C6}{{\tttf ??}}
\switchtobodyfont[testfont]
◆ : \checkedtextchar{25C6}{{\tttf ??}}
\stoptext
ok, i'll include the fallback sin the test (next beta)
Hans
--
-
Hans Hagen
[junction-light] [mm] [Latin Modern Math]
\setupbodyfont[junction]
\starttext
\input ward \bf \input ward
\blank \switchtobodyfont[junction-light]
\tf \input ward \bf \input ward
\stoptext
2. How does one switch fonts in-line for small snippets of text? I
used to use '{\simplefont
in the preamble:
\usemodule[simplefonts]
This is required to use the \simplefont command.
But with the new interface you should use:
\definefontfamily[heydingsicons][rm][Humeur]
And then, in text:
{\switchtobodyfont[heydingsicons] q}~123.456.7890
3. This may be a more generic
] [rm] [Junction]\definefontfamily [junction] [mm] [Latin Modern Math]\definefontfamily [junction-light] [rm] [Junction] [tf=style:light,bf=style:regular]\definefontfamily [junction-light] [mm] [Latin Modern Math]\setupbodyfont[junction]\starttext\input ward \bf \input ward\blank \switchtobodyfont
On Sat, Mar 14, 2015 at 1:10 PM, Hans Hagen pra...@wxs.nl wrote:
On 3/14/2015 10:50 AM, Mojca Miklavec wrote:
Hello,
I'm using the following code to make the figure captions smaller:
\setupcaptions[style={\switchtobodyfont[8pt]}]
Now I'm looking for the magic keywoard to also decrease
initial
prd_book.tex ===
\startproduct prd_book
\project project_cataoia
\starttext
\start
\startstandardmakeup[doublesided=no]
\ss
\hairline \start
\blank[line]
\switchtobodyfont[16pt]\bf
\leftaligned{Chess}%
\blank[line]
\leftaligned{and the Art of}%
\blank[line
Hi,
To solve my problem, I finally used a loop to draw a grid.
Fabrice
\starttext
\start
\switchtobodyfont[small]
\startMPcode
path p ;
u := 2cm ; v:= 1cm ;
p := (-u,-5v)--(3u,-5v)--(3u,4v)--(-u,4v)--cycle ;
drawoptions(withpen pencircle scaled 0.5pt withcolor
\MPcolor
On Sat, 14 Mar 2015 13:10:28 +0100
Hans Hagen pra...@wxs.nl wrote:
the obvious:
\setupcombinations[style={\switchtobodyfont[8pt]}]
How about \switchtobodyfont[small] to handle nesting?
Alan
___
If your question
Hello,
I'm using the following code to make the figure captions smaller:
\setupcaptions[style={\switchtobodyfont[8pt]}]
Now I'm looking for the magic keywoard to also decrease the size of
captions inside combinations, as in the following case for example
(otherwise the subcaptions are too
On 3/14/2015 10:50 AM, Mojca Miklavec wrote:
Hello,
I'm using the following code to make the figure captions smaller:
\setupcaptions[style={\switchtobodyfont[8pt]}]
Now I'm looking for the magic keywoard to also decrease the size of
captions inside combinations, as in the following case
Hello List.
I would like some elegant way to diminished font in math formulas...
Is there possibility anything as
\setupformulas[before={\switchtobodyfont[small]} ]?
I need to align formulas, so are not enough to \mathematics {}
Below is my fallback. You can do something smarter?
Thanx
={\switchtobodyfont[small]} ]?
I need to align formulas, so are not enough to \mathematics {}
Below is my fallback. You can do something smarter?
define a bodyfont (rm,mm,tt) where the math has an rscale of 0.8
Hans
On 3/10/2015 11:45 PM, Jaroslav Hajtmar wrote:
Hello List.
I would like some elegant way to diminished font in math formulas...
Is there possibility anything as
\setupformulas[before={\switchtobodyfont[small]} ]?
I need to align formulas, so are not enough to \mathematics {}
Below is my
To add labels to a grid, Hans wrote a macro hlintext (Min, Max, Step, Lenght
, Format). I do not know what to put in Format.
Best regards,
Fabrice
\definecolor[mycolor][c=.4,m=0,y=0,k=0]
\starttext
\start
\switchtobodyfont[small]
\startMPcode
input tex;
numeric xmin, xmax, ymin, ymax
thank you very much Alain, I think I understood for the format @d but
for other formats, I will need documentation.
Fabrice
\definecolor[mycolor][c=.4,m=0,y=0,k=0]
\starttext
\start
\switchtobodyfont[small]
\startMPcode
xmin := 0; xmax := 22; ymax :=460 ;ymin:=0; u := 0.5cm; v:= 0.025cm
}]
\setupnotedefinition[endnote][indenting={yes,medium},style={\switchtobodyfont[10pt]}]
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman
to an error
message in mkiv
\setupfootnotes[conversion=set 2,way=bypage,align=flushleft]
\setupnotedefinition[footnote][indenting={yes,medium}]
\setupnotedefinition[endnote][indenting={yes,medium},style={\switchtobodyfont[10pt]}]
The new name for \setupnotedefinition is \setupnotation
=flushleft]
\setupnotedefinition[footnote][indenting={yes,medium}]
\setupnotedefinition[endnote][indenting={yes,medium},style={\switchtobodyfont[10pt]}]
The new name for \setupnotedefinition is \setupnotation and the counter
settings have moved from \setupnote to \setupnotation.
Wolfgang
][indenting={yes,medium},style={\switchtobodyfont[10pt]}]
What do I need to change?
Thanks,
G
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl
[endnote][indenting={yes,medium},style={\switchtobod...
The line says:
\setupnotedefinition[endnote][indenting={yes,medium},style={\switchtobodyfont[10pt]}]
What do I need to change?
Thanks,
G___
If your
Hi,
This code generates an error while it was working fine a month ago.
Best regards,
Fabrice
\definecolor[mycolor][c=.4,m=0,y=0,k=0]
\starttext
\start
\switchtobodyfont[small]
\startMPcode
input hvdm;
input tex;
l:=3mm; r:=0.6; alfa:=45; beta:=0; gamma:=0
and beta from 2014.11.26 21:43.
Just in case it might help,
Pablo
\definecolor[mycolor][c=.4,m=0,y=0,k=0]
\starttext
\start
\switchtobodyfont[small]
\startMPcode
input hvdm;
input tex;
l:=3mm; r:=0.6; alfa:=45; beta:=0; gamma:=0;
defineDefaultArrow (l, r, alfa, beta
On 2/16/2015 6:00 PM, Fabrice Couvreur wrote:
Hi,
This code generates an error while it was working fine a month ago.
Best regards,
Fabrice
\definecolor[mycolor][c=.4,m=0,y=0,k=0]
\starttext
\start
\switchtobodyfont[small]
\startMPcode
input hvdm;
input tex;
l:=3mm; r:=0.6
On Wed, Jan 28, 2015 at 5:49 AM, Van Dung Tang nguyen...@gmail.com wrote:
I edit 1 file metafun with follow:
\startMPenvironment
\usetypescript[times][texnansi]
\switchtobodyfont[times,10pt]
\stopMPenvironment
\startMPpage
fill fullcircle scaled 2cm withcolor red;
label(\sometxt{Cn
I edit 1 file metafun with follow:
\startMPenvironment
\usetypescript[times][texnansi]
\switchtobodyfont[times,10pt]
\stopMPenvironment
\startMPpage
fill fullcircle scaled 2cm withcolor red;
label(\sometxt{Cn},origin) withcolor white;
\stopMPpage
After run context and recieve 1 picture
I edit 1 file metafun follow:
\startMPenvironment
\usetypescript[times][texnansi]
\switchtobodyfont[times,10pt]
\stopMPenvironment
\startMPpage
fill fullcircle scaled 2cm withcolor red;
label(\sometxt{Cn},origin) withcolor white;
\stopMPpage
Ngu-Hanh.pdf
Description: Adobe PDF document
On 1/28/2015 5:49 AM, Van Dung Tang wrote:
I edit 1 file metafun with follow:
\startMPenvironment
\usetypescript[times][texnansi]
\switchtobodyfont[times,10pt]
\stopMPenvironment
\startMPpage
fill fullcircle scaled 2cm withcolor red;
label(\sometxt{Cn},origin) withcolor white;
\stopMPpage
to set font use \definefontfamily and \setbodyfont commands.
regards
Keith.
Am 28.01.2015 um 05:45 schrieb Van Dung Tang nguyen...@gmail.com:
I edit 1 file metafun follow:
\startMPenvironment
\usetypescript[times][texnansi]
\switchtobodyfont[times,10pt]
\stopMPenvironment
:
\startmode[standalone]
\setupfootertexts[pagenumber][{\jobname-\filename{\currentcomponent}}]
\def\maybeendnotes
{\subsubject{Notes} \placenotes[endnote] \subsubject{Bibliography}
\switchtobodyfont[9pt]
\placepublications[criterium=all]}
\appendtoks \maybeendnotes
}
\switchtobodyfont[9pt]
\placepublications[criterium=all]}
\appendtoks \maybeendnotes \to \everystoptext
\stopmode
So, what would be easiest for me if I know what commend to use instead of the
texexec command.
G
[snip, snip
And the environment file has:
\startmode[standalone]
\setupfootertexts[pagenumber][{\jobname-\filename{\currentcomponent}}]
\def\maybeendnotes
{\subsubject{Notes} \placenotes[endnote] \subsubject{Bibliography}
\switchtobodyfont[9pt]
\placepublications[criterium=all
\zeropoint\par]
\definefloat
[recipe]
[figure]
\setupfloat
[recipe]
[default={right,none}]
\defineframed
[myframed]
[width=6cm,
foregroundstyle={\switchtobodyfont[10pt]},
align={high,flushleft},
frame=on,
framecolor=red,
background=color,
backgroundcolor
]
[figure]
\setupfloat
[recipe]
[default={right,none}]
\defineframed
[myframed]
[width=6cm,
foregroundstyle={\switchtobodyfont[10pt]},
align={high,flushleft},
frame=on,
framecolor=red,
background=color,
backgroundcolor=lightgray]
\definecolor[Border][c=0.00, m
Am 14.01.2015 um 13:14 schrieb Pablo Rodriguez oi...@gmx.es:
\defineframed
[Myframed]
[width=0.6\textwidth,
foregroundstyle={\switchtobodyfont[10pt]},
align={high,flushleft},
frame=off,
framecolor=0.625white,
background=borderline,
]
You can replace the framed
={\switchtobodyfont[10pt]},
align={high,flushleft},
frame=off,
framecolor=0.625white,
background=borderline,
]
\definefiller[dots][left=\dontleavehmode,right=\hskip\zeropoint\par]
\starttext
\startuniqueMPgraphic{borderline}
path p ; p := unitsquare xscaled \overlaywidth yscaled
,
foregroundstyle={\switchtobodyfont[10pt]},
align={high,flushleft},
frame=off,
framecolor=0.625white,
background=borderline,
]
\definefiller[dots][left=\dontleavehmode,right=\hskip\zeropoint\par]
\startsetups[table:initialize]
\setupTABLE[start]
[align={lohi
]
\starttext
\startxtable
\startxrow
\startxcell
\start
\switchtobodyfont[small]
\startMPpage[instance=graph]
drawoptions(withpen pencircle scaled 1pt);
w := 10cm; h := 8cm;
ahlength := .25cm;
draw begingraph (w,h)
numeric xmin, xmax, ymin, ymax;
xmin := 0; xmax :=100
,style=small]
\setupTABLE[row][first][background=color,backgroundcolor=lightgray]
\stopsetups
\usemodule[graph]
\definecolor[mycolor][c=.4,m=0,y=0,k=0]
\starttext
\startTwoColumns
\start
\switchtobodyfont[small]
\startMPpage[instance=graph]
drawoptions(withpen pencircle scaled 1pt);
w
]{}{
\startframedtext[
width=6cm,
frame=on,
framecolor=H1prime,
location=middle,
background=color,
backgroundcolor=H4]
\switchtobodyfont[10pt]
Ingrédients (pour 4 personnes)
\startitemize[1]
\item \unit{1 kg} de pommes de terre
\item \unit{60 g} de fromage
][stopper={.},style=bold]
\placefigure[right,none]{}{
\startframedtext[
width=6cm,
frame=on,
framecolor=H1prime,
location=middle,
background=color,
backgroundcolor=H4]
\switchtobodyfont[10pt]
Ingrédients (pour 4 personnes)
\startitemize[1]
\item \unit{1 kg} de pommes de terre
]
\placefigure[right,none]{}{
\startframedtext[
width=6cm,
frame=on,
framecolor=H1prime,
location=middle,
background=color,
backgroundcolor=H4]
\switchtobodyfont[10pt]
Ingrédients (pour 4 personnes)
\startitemize[1]
\item \unit{1 kg} de pommes de terre
\item \unit{60 g} de fromage râpé
, I’m afraid my explanation was incomplete.
adventor is the name of a(n already predefined) typescript. So you can
use it with \setupbodyfont and \switchtobodyfont.
texgyreadventor is the name of the typeface or font family. You should
use it with \definefontfamily.
But typefaces cannot be invoked
can
use it with \setupbodyfont and \switchtobodyfont.
texgyreadventor is the name of the typeface or font family. You should
use it with \definefontfamily.
But typefaces cannot be invoked with typescript names and typescripts
cannot be invoked with typeface names.
This is why \definefontfamily
/enumeration code and accepts the same arguments.
\setupnotedefinition[endnote][style={\switchtobodyfont[11pt]}]
Wolfgang
___
If your question is of interest to others as well, please add an entry to the
Wiki
.
\setupnotedefinition[endnote][style={\switchtobodyfont[11pt]}]
Wolfgang
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http
[endnote]
[style={\switchtobodyfont[10pt]},
headstyle=\ttb,
headcolor=blue]
\setupnote
[endnote]
[%textcommand=,
%numbercommand=,
textstyle=\ssb,
textcolor=red]
\starttext
Ward.\endnote{\input ward }
\placenotes[endnote]
\stoptext
Wolfgang
the \switchtobodyfont command to select a certain font size.
[1] http://www.ntg.nl/pipermail/ntg-context/2013/075529.html
http://www.ntg.nl/pipermail/ntg-context/2013/075529.html
Wolfgang___
If your question is of interest to others
=middle]{{\switchtobodyfont[24.00pt]\setupinterlinespace[1pt]
ee\par}
{\switchtobodyfont[10.00pt]\setupinterlinespace[1pt]
ee\par}
{\switchtobodyfont[24.00pt]\setupinterlinespace[1pt]
ee\par
%\definestartstop[citaat]
%[before={\startlinecorrection\vskip3pt\setupnarrower[left=5mm,right=0pt]\startnarrower[left,right]\switchtobodyfont[8pt]\setupinterlinespace[line=10pt]},
%after={\stopnarrower\vskip3pt\stoplinecorrection}]
\definestartstop[citaat]
[before={\vskip3pt\setupnarrower[left=5mm,right=0pt
\start
\blank[line]
\switchtobodyfont[16pt]\bf
\leftaligned{Foo}%
\blank[line]
\leftaligned{bar bar bar bar}%
\blank[line]
\leftaligned{Foo}%
\stop
\hairline \blank[line]
\leftaligned{Foo bar foo bar bar bar bar}%
\hairline \blank[line]\rightaligned{Gerben Wierda}%
\blank[6cm]\start\leftskip=10cm
with statement
Right page with page number on top
This is what I have in my prd_book.tex. What is a cleaner way to do this and
also one that works? ;-):
\starttext
\start
\startstandardmakeup \ss
\hairline \start
\blank[line]
\switchtobodyfont[16pt]\bf
\leftaligned{Foo}%
\blank[line
Wolfgang Schuster schuster.wolfgang at gmail.com writes:
...
\setuppagenumbering[style=\ttc]
\setuplayout[backspace=4cm]
\showframe
\setupmarginframed[inmargin][align=flushleft]
\setupmargindata [inmargin][style={\switchtobodyfont[ss,18]}]
% Faster method to switch the font
={\switchtobodyfont[ss,18]}]
% Faster method to switch the font for \inmargin
%\definefont[InmarginStyle][Sans at 18pt]
%\setupmargindata[inmargin][style=InmarginStyle]
\starttext
\dorecurse{10}
{\inmargin{Ward}
\input ward\par
\inmargin[][align=flushleft]{Knuth}
\input knuth
Wolfgang Schuster schuster.wolfgang at gmail.com writes:
The first line is a comment which says
\definefont[InmarginStyle][Sans at 18pt]
\setupmargindata[inmargin][style=InmarginStyle]
takes less time to change the font than
\setupmargindata[inmargin][style={\switchtobodyfont[ss,18
the font than
\setupmargindata[inmargin][style={\switchtobodyfont[ss,18]}]
Thank you again, very much.
I understood what you meant regarding the two methods. What I meant was that
this method:
\setupmargindata[inmargin][style={\switchtobodyfont[ss,18]}]
results in an error, causing
(?!)
1. The font for the pagenumber can be changed with \setuppagenumbering[style=…].
2. To use a certain font size for the margin text you can either use the
\switchtobodyfont
command or define a font command with \definefont and use this name as
argument
for the style key
I’ve got
\start
\switchtobodyfont[9pt]
\completecontent[level=chapter]
\stop
to keep the Table of Contents on one page. But with one more chapter, it is now
again spread over two. There is however a lot of whitespace between entries.
Can I make the vertical whitespace between entries
On 11/15/2014 07:24 PM, Gerben Wierda wrote:
I’ve got
\start
\switchtobodyfont[9pt]
\completecontent[level=chapter]
\stop
to keep the Table of Contents on one page. But with one more chapter, it
is now again spread over two. There is however a lot of whitespace
between entries. Can I
][topframe=off]
\stopsetups
\bTABLE[setups=table:initialize]
\switchtobodyfont[11pt]
\bTR \bTD \color[orange]{\tfa Suite d'instructions
correspondant au
programme de calcul :} \eTD \bTD \eTD \bTD \color[orange]{\tfa Valeur
de la
variable $X$ après l'exécution de chaque instruction :} \eTD \eTR
,lohi},frame=off]
\setupTABLE[1][1][frame=off]
\stopsetups
\bTABLE[setups=table:initialize]
\switchtobodyfont[10pt]
\bTR
\bTD \eTD
\eTR
\bTR
\bTD $A$ prend la valeur $3$ \eTD
\bTD
\starttikzpicture
\pic [cube face/.append style={ball color=green}] at (-1, 1) {cube=3 with
$A$};\pic [cube face/.append
={middle,lohi},frame=off]
\setupTABLE[column][3][[width=9cm,align={right,lohi},frame=off]
\setupTABLE[1][1][frame=off]
\stopsetups
\bTABLE[setups=table:initialize]
\switchtobodyfont[10pt]
\bTR
\bTD \eTD
\eTR
\bTR
\bTD $A$ prend la valeur $3$ \eTD
\bTD
%\starttikzpicture
%\pic [cube face/.append style
][frame=off]
\stopsetups
\bTABLE[setups=table:initialize]
\switchtobodyfont[10pt]
\bTR \bTD[n=3] \eTD \eTR
\bTR \bTD $A$ prend la valeur $3$ \eTD
\bTD
\starttikzpicture
\pic [cube face/.append style={ball color=green}] at (-1, 1) {cube=3 with
$A$};\pic [cube face/.append style={ball color=red
[column][1][[width=4cm,align={right,lohi},frame=on,framecolor=H1prime]
\setupTABLE[column][2][[width=5cm,align={middle,lohi},frame=off]
\setupTABLE[column][3][[width=9cm,align={right,lohi},frame=off]
\setupTABLE[1][1][frame=off]
\stopsetups
\bTABLE[setups=table:initialize]
\switchtobodyfont[10pt]
\bTR
]
\setupTABLE[1][1][[width=5cm,align={right,lohi},frame=off]
\setupTABLE[1][2,3][bottomframe=off]
\setupTABLE[1][3,4][topframe=off]
\stopsetups
\bTABLE[setups=table:initialize]
\switchtobodyfont[11pt]
\bTR \bTD \color[orange]{\tfa Suite d'instructions
correspondant au
programme de calcul :} \eTD
,lohi},frame=off]
\setupTABLE[column][3][[width=8cm,align={right,lohi},frame=off]
\setupTABLE[1][1][[width=5cm,align={right,lohi},frame=off]
\setupTABLE[1][2,3][bottomframe=off]
\setupTABLE[1][3,4][topframe=off]
\stopsetups
\bTABLE[setups=table:initialize]
\switchtobodyfont[11pt]
\bTR
][headstyle=normal, location=top, stopper={.},
width=\makeupwidth, style={\switchtobodyfont[11pt]}]
\setuphead[section][style=\bfb]
\setuphead[subsection][style=\bfa]
\setupheads[indentnext=yes]
\setupfloats[indentnext=yes]
\setupheadertexts[][{\sl\getmarking[section]}][{\sl \getmarking[chapter
=off,rulethickness=1.2pt,rightframe=on]
\setupTABLE[row][9][frame=off,rulethickness=1.2pt,bottomframe=on]
\setupTABLE[row][1,4,7][frame=off,rulethickness=1.2pt,topframe=on]
\setupTABLE[start][align={middle,lohi}]
\stopsetups
\starttext
\startmidaligned
\switchtobodyfont[small]
\bTABLE[setups
{\setupbackgrounds[page][background={fond,Auteur,backgraphics,foreground,foregraphics}]
\directsetup{slide:start}}
\def\stopSlide{\directsetup{slide:stop}}
\startsetups slide:start
\page
\incrementnumber[slide]
\switchtobodyfont[14pt]
\setupinteractionbar[state=start]
\startnarrower[left]
\stopsetups
,foreground,foregraphics}]
\directsetup{slide:start}}
\def\stopSlide{\directsetup{slide:stop}}
\startsetups slide:start
\page
\incrementnumber[slide]
\switchtobodyfont[14pt]
\setupinteractionbar[state=start]
\startnarrower[left]
\stopsetups
\startsetups slide:stop
\stopnarrower
{\setupbackgrounds[page][background={fond,Auteur,backgraphics,foreground,foregraphics}]
\directsetup{slide:start}}
\def\stopSlide{\directsetup{slide:stop}}
\startsetups slide:start
\page
\incrementnumber[slide]
\switchtobodyfont[14pt]
\setupinteractionbar[state=start]
\startnarrower[left]
\stopsetups
[slide]
\switchtobodyfont[14pt]
\setupinteractionbar[state=start]
\startnarrower[left]
\stopsetups
\startsetups slide:stop
\stopnarrower
\page
\stopsetups
\starttext
\doifinset{\getnumber[slide]}{\slidelist}
{
\startSlide
\SlideTitleSub{Hello there}
What is my number
501 - 600 of 1626 matches
Mail list logo