On 2013–05–02 Meer, H. van der wrote:
> A call to \switchtobodyfont introduces extra vertical spacing as can be seen
> in the example.
> Is this intentional or is it something like a % missing somewhere in a macro?
Loading the typescript in the setup area should get rid of the
space.
A call to \switchtobodyfont introduces extra vertical spacing as can be seen in
the example.
Is this intentional or is it something like a % missing somewhere in a macro?
Hans van der Meer
Sorry, flew accidentally to early away. Here the attached output.
\setuppapersize[A6][A6]
\setupbodyfont
A call to \switchtobodyfont introduces extra vertical spacing as can be seen in
the example.
Is this intentional or is it something like a % missing somewhere in a macro?
Hans van der Meer
\setuppapersize[A6][A6]
\setupbodyfont[lucidaot]
\starttext
First line.\crlf
\start
\switchtobodyfont
t
doesn't always prevent spaces creeping in (like those before comments)
\definetextext
[foo]
[#1]#2{\switchtobodyfont[#1]\removeunwantedspaces#2}
and moving all to lua is no option now (although ... in
antykwapoltawskiego.lfg one can see how such a thing can
Hi,
why is the second line right-aligned in the following example?
\definetextext
[foo]
[#1]#2{\switchtobodyfont[#1]#2}
\starttext
\dorecurse{5}{
\startMPcode
draw \sometxt[foo][sans]{FooBar};
\stopMPcode
\startMPcode
draw \sometxt[foo][iwona]{FooBar
file that I use. In this I have:
\def\Title{\dodoubleempty\doTitle}
\def\doTitle[#1][#2]{
\ifsecondargument
\testpage[#2]
\else
\testpage[15]
\fi
\startalignment[center]
{
\myblank[2*big]
\switchtobodyfont[1.5em]
\bf\em#1
}
\my
gets incorrectly set
(there is a break between "a" and "cell").
Probably there is a better way of achieving this correctly.
Alan\setupbodyfont[10pt]
\starttext
10pt
\startplacetable [title=A title]
\switchtobodyfont [6pt]
\startlocalfootnotes
\bTABLE
\bTR
wn on this page
http://wiki.contextgarden.net/Command/setupcolumnsetlines
which seems very similar to mine, it works fine; no errors.
Based on the latter working example, I tried adding the following to my
minimal example that fails:
\switchtobodyfont[small]
or
\setupcolumnsetstar
I would like to have the same font and especially the same size for inmargin
texts. Why is the following program not honouring the size setting?
% Font in margin text
\def\MarkMaster{\inmargin[location=left]{{\switchtobodyfont[sans,8pt]\red
MASTER SECTION}}}
\starttext
\startchapter[title
{\switchtobodyfont[36pt]\bf Life in These Days}
\vfill
\midaligned{\switchtobodyfont[20pt]\bf Tim Li}
\blank[medium]
\midaligned{\switchtobodyfont[20pt]\bf January 11, 2013}
\stopmakeup
% its verso
\startmakeup[standard]
%[page=no]
This document was typeset by using \CONTEXT.
\vfill
definefont[Test][name:texgyrepagellaregular]
> c) \definefont[Test][spec:texgyrepagella-normal-normal]
>
>
> Instead of a fixed size for the font you can also use a relative size which
> depends on the bodyfont.
>
> \definefont[Test][texgyrepagellaregular sa 1]
>
>
nds on the bodyfont.
\definefont[Test][texgyrepagellaregular sa 1]
\starttext
\Test VA ffl \switchtobodyfont[20pt]\Test VA ffl
\stoptext
When you use “sa XX” as argument for the size your font scales also when you
change the bodyfont
in the middle of the document.
One problem of
\setupcolors[state=start,rgb=yes]
\startsetups[MyTable]
\switchtobodyfont[8pt]
\setupTABLE[frame=off,background=color,backgroundcolor=red]
\setupTABLE[column][1][width=44.25mm,align=right]%,style=bf
\setupTABLE[column][2][width=broad,align=right]
\stopsetups
\defineseparatedlist
[MyTable
tting left=,right= and explicitly putting a \par would
> work. However, if one wants to have quotation marks, this is no good.
> And placing an explicit \par is not very elegant, either.
>
> Nor does it seem that \switchtobodyfont[] does any better.
>
> Maybe the solution is s
seem that \switchtobodyfont[] does any better.
Maybe the solution is simple but I have not found it...
Alan
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg
it an empty `[]` of its own to chew on.
>
> ...
>
> I can't quite find at the moment what sort of options the [...] can
> contain, sorry.
It takes the same options as \switchtobodyfont
\starttext
\startformula[]
[x,x]_t = x
\stopformula
\startformula[small]
[x,x]_t = x
\stopfor
Huttar wrote:
>>> / Hi all,
>> />
>
> /...
>
> /
>> /
>> />/
>> />/ % Abbreviations
>> />/ \definestartstop
>> />/[abblist]
>> />/[before={\setupbackgrounds[text][background=verticalline]
>> />/ \starttextbackground[text]
>> />/
>> \
startstop
> />/[abblist]
> />/[before={\setupbackgrounds[text][background=verticalline]
> />/ \starttextbackground[text]
> />/
> \setuptab[headstyle={\switchtobodyfont[SansB,\SansBsize]},width=20mm,location=left]
> />/ \startcolumnset[abbcolumn] \startalign
ext][background=verticalline]
\starttextbackground[text]
\setuptab[headstyle={\switchtobodyfont[SansB,\SansBsize]},width=20mm,location=left]
\startcolumnset[abbcolumn] \startalignment[flushleft,nothyphenated]},
after={\stopalignment \stopcolumnset \stoptextbackground
\setupbackgrounds[text][bac
round[text]
\setuptab[headstyle={\switchtobodyfont[SansB,\SansBsize]},width=20mm,location=left]
\startcolumnset[abbcolumn] \startalignment[flushleft,nothyphenated]},
after={\stopalignment \stopcolumnset \stoptextbackground
\setupbackgrounds[text][background=off]}]
>From that, one might guess that th
see
http://wiki.contextgarden.net/Command/setupdelimitedtext
That means, you can use the style key as follows:
\setupdelimitedtext
[quotation]
[style=sans]
If you defined sans to be Helvetica, that's all you need, but this
depends on you document setup. You can also use \switchtobodyfont.
\s
ut dosen't
work..
Search for style:
\definevimtyping
[ctyping]
[style={\switchtobodyfont[small,tt]}]
\starttext
\startctyping
#include
\stopctyping
\stoptext
Or if you want to globally change the style of all typing environments:
\setupvimtyping
[style=]
Dnia 2012-10-26, o godz. 00:52:30
Marcin Borkowski napisał(a):
> Hi again,
>
> I promise this is my last question now - it's 1:00 AM here, I'm
> starting to sleep;). But how do I make my math smaller?
> {\tfx\math{a^2+b^2=c^2}} won't work.
OK, one more;). It tur
.
In MkIV it does not do anything.
How about:
\unprotect
\ifdefined\font_basics_switchtobodyfont\else
\def\font_basics_switchtobodyfont#1{\switchtobodyfont[#1]}%
\fi
\def\mathstyleface#1% #1 is number (\normalmathstyle)
{\ifcase#1\relax
\textface \or
\textface \or
m "\text{ }" to "\normal", which works.
There is another bug with \text.
{\switchtobodyfont[sans] $\text{sans}$}
does not switch to sans font. Both the incorrect scaling and wrong font
switch can be corrected by restoring the old definition of \text in
math-ini.mkiv. Based on t
program pro počítačovou sazbu {\switchtobodyfont[gentium-rus]система
компьютерной вёрстки}
\stoptext
Mojca
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / htt
setupTABLE[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23][1,4,3,2][style={\switchtobodyfont[modern,rm]\bf}]%
\setupTABLE[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23][5][topframe=on]%
\setupTABLE[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23][20][align={flus
finetypeface [boldmath] [mm] [boldmath] [modern] [modern]
> >[encoding=texnansi]
> >\switchtobodyfont[palatino,14pt]
> >
> >\starttext
> >Hi
> >\startformula
> >x = \boldsymbol{\Sigma}\Sigma
> >\stopformula
> >\stoptext
> >
> >
> >The
]
\usetypescript[palatino][texnansi]
\definetypeface[mainface][mm][math][modern][modern][encoding=texnansi]
\definetypeface [boldmath] [mm] [boldmath] [modern] [modern] [encoding=texnansi]
\switchtobodyfont[palatino,14pt]
\starttext
Hi
\startformula
x = \boldsymbol{\Sigma}\Sigma
\stopformula
a+b=c \stopformula
\bTABLE[frame=on,align=right,width=fit,style={\switchtobodyfont[9pt]}]
\bTR
\bTD[width=35mm]
\placeformula
\startformula c-a=b
\stopformula
\eTD
\eTR
\eTABLE
\placeformula \startformula c-b=a \stopformula
\stoptext
It’s a bug in the formula numbering. Natural tables perform three ru
>> Hi,
>>>>
>>>> please have a look at this minimal example below:
>>>> you'll find three formulas (1), (4), (5)
>>>>
>>>> What happen to (2) and (3)?
>>>>
>>>> Steffen
>>>> ...
>
>> you'll find three formulas (1), (4), (5)
>>>
>>> What happen to (2) and (3)?
>>>
>>> Steffen
>>> ...
>>>
>>> \starttext
>>>
>>> \placeformula \startformula a+b=c \stopformula
>>>
>&
=texnansi]
\definetypeface [boldmath] [mm] [boldmath] [modern] [modern] [encoding=texnansi]
\switchtobodyfont[palatino,14pt]
\starttext
Hi
\startformula
x = \boldsymbol{\Sigma}\Sigma
\stopformula
\stoptext
The issue I have is that this doesn't work, and throws me:
! Math formula deleted: Insuffi
d (3)?
>>
>> Steffen
>> ...
>>
>> \starttext
>>
>> \placeformula \startformula a+b=c \stopformula
>>
>> \bTABLE[frame=on,align=right,width=fit,style={\switchtobodyfont[9pt]}]
>> \bTR
>> \bTD[width=35mm]
>> \placeformu
ormula a+b=c \stopformula
>
> \bTABLE[frame=on,align=right,width=fit,style={\switchtobodyfont[9pt]}]
> \bTR
> \bTD[width=35mm]
> \placeformula
> \startformula c-a=b
> \stopformula
> \eTD
> \eTR
> \eTABLE
>
> \placeformula \startformula c-b=a \stopformula
>
Hi,
please have a look at this minimal example below:
you'll find three formulas (1), (4), (5)
What happen to (2) and (3)?
Steffen
...
\starttext
\placeformula \startformula a+b=c \stopformula
\bTABLE[frame=on,align=right,width=fit,style={\switchtobodyfont[9pt]}]
\bTR
\bTD[width
{\let\strc_notes_set_bodyfont\relax
1692\restoreglobalbodyfont
1693 \switchtobodyfont[\noteparameter\c!bodyfont]%
1694\setupalign[\noteparameter\c!align]}
1695
1696 %D The footnote mechanism defaults to a traditional one
1697 %D column way of showing them. By default we precede them b
e {\origstoptikzpicture\egroup}
\def\todo#1{{\em \kap{do dopisania}: #1}}
%\setupinteraction[state=start]
\enablemode[nauczyciel]
%\disablemode[nauczyciel]
\def\startteacher{\grabbufferdata[teacher][startteacher][stopteacher]}
\doifmodeelse{nauczyciel}{\def\stopteacher{\par{\switchtobodyfont[s
ran into my initial difficulties.
Use
\setupSlideTitle
[style={ any font command }]
The default value of style is \switchtobodyfont[\SlideTitleSize]. The
easiest way to switch fonts is to use \definefont or, if you are using the
simplefonts module, \definesimplefont. For example:
\usemodule
\NC \type{\bigtriangledown}\NC \bigtriangledown\NC
> \meaning\bigtriangledown\NC \NR
> \NC \type{\triangleleft } \NC \triangleleft \NC
> \meaning\triangleleft \NC \NR
> \NC \type{\triangleright} \NC \triangleright \NC
> \meaning\triangler
eright \NC
> \meaning\triangleright \NC \NR
> \HL
> \stoptabulate
> \stopbuffer
>
> \starttext
>
> \switchtobodyfont[modern-designsize] \subject{modern-designsize}
> \getbuffer \blank
> \switchtobodyfont[modern]\subject{modern}
&g
\switchtobodyfont[modern-designsize] \subject{modern-designsize}
\getbuffer \blank
\switchtobodyfont[modern]\subject{modern}
\getbuffer \blank
\switchtobodyfont[xits] \subject{xits}
\getbuffer \blank
\switchtobodyfont[pagella] \subject{pagella}
\getbuffer \blank
} but
> style = {bold,small} does not. From the general principles of ConTeXt's
> parameter handling I would have expected this to work.
> Of course I could have used style={\bf\switchtobodyfont[small]}, but I would
> prefer to refrain from low level font commands when poss
k.
Of course I could have used style={\bf\switchtobodyfont[small]}, but I would
prefer to refrain from low level font commands when possible.
I am right the setupcaptions should work with combined fontsettings, or is it
my mistake?
Hans van der Meer
setup.pdf
Description: setu
better be done global)
I am inclined to follow the suggestion, but I cannot think of the most correct
way to do this.
Someone willing to show it to me?
You probably use a large size locally, say \switchtobodyfont[25pt] and
in that case you need to define a bodyfontenvironment in order to
you considered structuring your example like this?:
\starttext
\startsection[title=Tufte]
\startcolumns[n=2]
\input tufte
\stopcolumns
\stopsection
\startsection[title=Tufte and Knuth]
\startcolumns[n=2]
\switchtobodyfont[big] % Note that the font size is switched back after
\stopcolumns
\input tufte
\s
just switches a font and does not adapt the baseline
use \switchtobodyfont[small] or \tfxx\setupinterlinespace instead
-
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt |
[Kidd]
\page[makeup]
\stopcomponent
The registers are defined in an environment file as follows;
%Passages
\defineregister[Passage][Passages]
\setupregister[Passage][n=3,%
balance=yes,%
pagestyle={\switchtobodyfont[9.6pt]\em},%
textstyle={\switchtobodyfont[9.6pt]},%
criterium=all,%
intera
On Sun, 10 Jun 2012, Alfredo Catalina wrote:
\setupbodyfont[pagella,11pt]
%\setupMPinstance[metafun][textstyle=sans]
\setupMPinstance[metafun][textstyle={\switchtobodyfont[termes,14pt]}]
\starttext
\input knuth
\startMPcode
draw textext("I’m different!") ;
\stopMPcode
\stopte
> \setupbodyfont[pagella,11pt]
>
> %\setupMPinstance[metafun][textstyle=sans]
> \setupMPinstance[metafun][textstyle={\switchtobodyfont[termes,14pt]}]
>
> \starttext
>
> \input knuth
>
> \startMPcode
> draw textext("I’m different!") ;
> \sto
r the metapost labels.
\setupbodyfont[pagella,11pt]
%\setupMPinstance[metafun][textstyle=sans]
\setupMPinstance[metafun][textstyle={\switchtobodyfont[termes,14pt]}]
\starttext
\input knuth
\startMPcode
draw textext("I’m different!") ;
\
startMPenvironment [global]
> \usetypescript[palatino][ec]
> \switchtobodyfont[palatino,7pt]
> \stopMPenvironment
>
> and it changed the font size but the font type is not "palatino".
1. Do you use MkII or MkIV?
2. Do you want Palatino
I'm sorry but I don't know how to use them. I've tried
\setupMPinstance [metafun] [textcolor=red]
and got an "undefined control sequence" error.
I've also tried
\startMPenvironment [global]
\usetypescript[palatino][ec]
\switchtobodyfont[palatino,7pt]
\sto
startitemize[width=1sp,#1]
\let\doitem\item
\def\item{\doitem[]\hbox{}\kern12pt\rightskip=0pt}%
}
\def\stopouteritemize{\stopitemize\endgroup}
\setupenumerations [indentnext=no]
\setupdescriptions [indentnext=no]
\unexpanded\def\smalltyping{%
\switchtobodyfont[tt]%
\parinde
Hi, I decided to give the latest minimals a test (I had been using 2012.01.16,
updated to 2012.06.05 today), and noticed that switchtobodyfont no longer seems
to work properly. Here is a small example:
\starttypescript [cleartype]
\definetypeface [\typescriptone] [rm] [serif] [constantia
page and a
> huge "X" centered. I did this:
>
> \setuppagenumbering[state=stop]
>
> \setupbackgrounds[page][background=bkg]
>
> \definelayer[bkg][x=0mm,y=0mm,width=\paperwidth,height=\paperheight]
> \setlayer[bkg]
> {\framed[frame=off,width=\p
state=stop]
\setupbackgrounds[page][background=bkg]
\definelayer[bkg][x=0mm,y=0mm,width=\paperwidth,height=\paperheight]
\setlayer[bkg]
{\framed[frame=off,width=\paperwidth,height=50mm]
{\switchtobodyfont[10mm]\tt Some text}}
\setlayer[bkg]
{\framed[frame=off,width=\
gang,
\definebodyfontenvironment[42.0pt] results in the dimension’s
decimal place to be stripped before font definition.
Which makes me wonder whether \switchtobodyfont should do a
\normalizebodyfontsize on the #specification before triggering
the switch? So that 42.0pt be interpreted as 42pt?
Am 03.06.2012 um 16:27 schrieb Philipp Gesang:
> Hi Wolfgang!
>
> ·
>>>
>>> \definebodyfontenvironment[42.0pt] %% a dozen times
>>> \starttext
>>> \switchtob
Hi Wolfgang!
·
> >
> > \definebodyfontenvironment[42.0pt] %% a dozen times
> > \starttext
> > \switchtobodyfont[42.0pt] %% hundreds of times
> > %\switchtobodyfont[42pt]
Am 03.06.2012 um 12:01 schrieb Philipp Gesang:
> Hi Wolfgang!
>
> ·
>
>> Am 02.06.2012 um 20:13 schrieb Philipp Gesang:
>>
>>> Dear listmates,
>>>
>>> with \switchtobodyfont I get the interface message “fonts:14”
>>> fr
Hi Wolfgang!
·
> Am 02.06.2012 um 20:13 schrieb Philipp Gesang:
>
> > Dear listmates,
> >
> > with \switchtobodyfont I get the interface message “fonts:14”
> > from mult-mes.lua (“bodyfont %s is defined (can better be done
> > global)”) which
Am 02.06.2012 um 20:13 schrieb Philipp Gesang:
> Dear listmates,
>
> with \switchtobodyfont I get the interface message “fonts:14”
> from mult-mes.lua (“bodyfont %s is defined (can better be done
> global)”) which is kinda hard to grep for :( Example:
>
> \definebodyf
Dear listmates,
with \switchtobodyfont I get the interface message “fonts:14”
from mult-mes.lua (“bodyfont %s is defined (can better be done
global)”) which is kinda hard to grep for :( Example:
\definebodyfont[42pt][rm][default]
\starttext
\switchtobodyfont [42pt]
\setupbodyfont [42pt
Hi everybody,
how does one adjust the tracking of a font? The command
\definecharacterkerning does almost what I need. However, it breaks
the ligatures.
\definecharacterkerning [track] [factor=.01]
\starttext
\showboxes
\switchtobodyfont [72pt]
final suffocating flange
% all ligatures lost
typescript? How does one
> switch between stylistic alternatives for math?
>
> I have a problem with {\switchtobodyfont[asana] $\mathscript ABC
> XYZ\,abc xyz$} and I also need to figure out how to get "math bold
> italic sans serif greek alphabet". Any hints welcome.
Set=4]{Lucida Bright
Math OT} $\mathcal{ABC XYZ}$~(StylisticSet=4) ...
running text ... \setmathfont{Asana Math} $\mathfrak{ABC XYZ\,abc xyz}$
or do I always need to provide a predefined typescript? How does one
switch between stylistic alternatives for math?
I have a problem with {\switchtobod
··
> \unprotect
>
> \def\cmu_numerals#1#2{%
> \bgroup
> \setupbodyfont [computer-modern-unicode]
> \csname #1reeknumerals\endcsname{#2}%
> \egroup%
> }
Use \switchtobodyfont for local font switches.
\def\cmu_numerals#1#2%
{\bgroup
\switchtobodyfont[co
On 2012-05-02 Aditya Mahajan wrote:
> Metapost now runs as a library. All the text is first typeset by ConTeXt
> and metapost only knows the bounding box of the labels.
>
> You can try (untested):
>
> \starttext
>
> This is serif
>
> \switchtobodyfont[sans]
On Thu, 3 May 2012, Marco wrote:
The wiki claims setting up an MPenvironment is enough to change the
font in MetaPost graphics:
\startMPenvironment%[global]
\switchtobodyfont [sans]
\stopMPenvironment
\starttext
This should be serif.
\startMPcode
draw
The wiki claims setting up an MPenvironment is enough to change the
font in MetaPost graphics:
\startMPenvironment%[global]
\switchtobodyfont [sans]
\stopMPenvironment
\starttext
This should be serif.
\startMPcode
draw textext("This should be in
ze[SPP43][width=25.4cm,height=19.05cm]
\setuppapersize[SPP43][SPP43]
\switchtobodyfont[20pt]
\startmode[handout]
\setuppapersize[SPP43][A4]
\setuplayout[scale=0.5,location=middle]
%\setuparranging[2TOP]
\stopmode
\starttext
\startitemize
\item item
\item item
\item item
\item item
\item item
\item
t; > >>
> > >> \startpostponing[+1]
> > >> \placefigure[top]{}{...}
> > >> \stoppostponing
> > >>
> > >> Rest of the text
> > >>
> > >>
> > >> Aditya
> > > \starttext
> > >
> > &g
e[top]{}{...}
> >> \stoppostponing
> >>
> >> Rest of the text
> >>
> >>
> >> Aditya
> > \starttext
> >
> > \switchtobodyfont[rm,10pt]
> >
> > \input tufte \input ward \input zapf \input tufte \input ward \input
&
Am 05.04.2012 um 13:25 schrieb luigi scarso:
> On Thu, Apr 5, 2012 at 1:10 PM, Aditya Mahajan wrote:
>> (Untested)
>>
>> \startpostponing[+1]
>> \placefigure[top]{}{...}
>> \stoppostponing
>>
>> Rest of the text
>>
>>
>> Aditya
On Thu, Apr 5, 2012 at 1:10 PM, Aditya Mahajan wrote:
> (Untested)
>
> \startpostponing[+1]
> \placefigure[top]{}{...}
> \stoppostponing
>
> Rest of the text
>
>
> Aditya
\starttext
\switchtobodyfont[rm,10pt]
\input tufte \input ward \input zapf \input tufte \input
paragraph break after the respective word (marked
"HERE")?
Steffen
---
\starttext
\switchtobodyfont[rm,10pt]
\input tufte \input ward \input zapf \input tufte \input ward \input
zapf \input tufte \input ward \input zapf \input tufte \input ward
\input zapf HERE
\place
(marked "HERE")?
Steffen
---
\starttext
\switchtobodyfont[rm,10pt]
\input tufte \input ward \input zapf \input tufte \input ward \input zapf
\input tufte \input ward \input zapf \input tufte \input ward \input zapf HERE
\placefigure[top]{}{\vskip3pt{\externalfigure[foo][frame
blesided, partnumber=no, location=,
> style={\ss\bold}]
> \setupheadertexts [section][pagenumber][pagenumber][chapter]
> \setupheader [before={\ss\switchtobodyfont[10pt]}]
>
> \startsectionblockenvironment[frontpart]
>\setupuserpagenumber[numberconv
{\ss\bold}]
\setupheadertexts [section][pagenumber][pagenumber][chapter]
\setupheader [before={\ss\switchtobodyfont[10pt]}]
\startsectionblockenvironment[frontpart]
\setupuserpagenumber[numberconversion=romannumerals]
\stopsectionblockenvironment
\startsectionblockenvironment[bodypart]
frontpart.
> Here is how I did set this up long time ago:
>
> \startsectionblockenvironment[frontpart]
> \setupheader [before={\ss\switchtobodyfont[10pt]}]
\setupheader[style={\switchtobodyfont[ss,10pt]}]
or use
\definefont[HeaderFont][Sans at 10pt]
in combination with
this up long time ago:
What time did you update? I fixed a side effect of some counter code
renaming efforts.
Hans
\startsectionblockenvironment[frontpart]
\setupheader [before={\ss\switchtobodyfont[10pt]}]
\setupheadertexts [section][pagenumber][pagenumber][chapter]
\setuppagenumbering
:
\startsectionblockenvironment[frontpart]
\setupheader [before={\ss\switchtobodyfont[10pt]}]
\setupheadertexts [section][pagenumber][pagenumber][chapter]
\setuppagenumbering [alternative=doublesided, partnumber=no, location=,
style={\ss\bold}]
\setupuserpagenumber[numberconversion=romannumerals
{\xmlattdef{#1}{macro}{\empty}}
\stopxmlsetups
The contents evaluates not to a working macro.
Something with catcodes, I presume, but I do not how to do it properly.
Preferably I would like to see \meaning\macro evaluate to:
\switchtobodyfont[helvetica].
Can someone enlighten me?
\edef
The contents evaluates not to a working macro.
Something with catcodes, I presume, but I do not how to do it properly.
Preferably I would like to see \meaning\macro evaluate to:
\switchtobodyfont[helvetica].
Can someone enlighten me?
Hans van der Meer
triggering a paragraph break?
Steffen
---
\starttext
\switchtobodyfont[rm,48pt]
\dorecurse{1}{\input tufte}{\placefigure[here]{something
meaningful}{\vskip3pt{\externalfigure[foo][frame=off,width=\dimexpr(\textwidth-10mm)]}}}\input
tufte\par
\input ward
\stoptext
width18mm
> height0.4pt\vskip2mm\stopcolor}
>
> % footnote's interlineskip etc.
> \startsetups footnotesetup
> \setupinterlinespace[line=9.8pt, height=.79,depth=.21]
> \lineskiplimit-\maxdimen
> \setupwhitespace[2pt]
> \stopsetups
>
> % footnotes bottom page
> \def\ne
tnotes bottom page
\def\newFNnumber#1{\kern0.05em\raise.385em\hbox{\switchtobodyfont[16pt]#1}}%
size of number in front of FN-text <- ???
\def\MyNote#1{\kern0.05em\raise.385em\hbox{\switchtobodyfont[8pt]#1}}% size of
number in front of FN-text <- ???
%%
\setupnote[footnote][before=\vskip3.
ligature is really ugly in this one), and they do
not appear in the current beta. Don't know if this is a luatex or
ConTeXt issue. Example:
\setupbodyfont[termes,12pt]
\starttext
office fine flat
{\ss office fine flat}
{\switchtobodyfont[pagella] office fine flat}
\stoptext
weird ... if you
eeded in termes (fi
> without ligature is really ugly in this one), and they do not appear in the
> current beta. Don't know if this is a luatex or ConTeXt issue. Example:
>
> \setupbodyfont[termes,12pt]
>
> \starttext
>
> office fine flat
>
> {\ss office
do
not appear in the current beta. Don't know if this is a luatex or
ConTeXt issue. Example:
\setupbodyfont[termes,12pt]
\starttext
office fine flat
{\ss office fine flat}
{\switchtobodyfont[pagella] office fine flat}
\stoptext
All best
T
frame=off]
{~}%\vbox{\bf\rm\switchtobodyfont[48pt]
\color[ChapterNumber]{#1}}}
}
\setuppagenumbering[%
alternative=doublesided,
location={footer, center}, % header, middle, inleft,
inmargin
command=\Page,
]
\setupinteraction[state=start,color=bl
something like the aligncharacter mechanism in
natural tables?
Thanks,
Brian
\starttext
\setupxtable[wd1][background=color,backgroundcolor=yellow,width=1.0in]
\setupxtable[wd2][background=color,backgroundcolor=green,width=2.0in]
\setupxtable[fnit][foregroundstyle={\switchtobodyfont[modern,ss
On Tue, Jan 17, 2012 at 1:14 PM, Steffen Wolfrum wrote:
>
> And this interlineskip is ignored in your solution, test the following
> please:
>
>
> \def\TOCstyleBF{\switchtobodyfont[9pt]\bf\setupinterlinespace[line={40pt}]}
>
> \definelistplacement[MyListItemIT][none]#1#2
ut in the original file it is used as a
> bold style with a certain size and a certain interlineskip: \TOCstyleBF
>
> And this interlineskip is ignored in your solution, test the following please:
>
>
> \def\TOCstyleBF{\switchtobodyfont[9pt]\bf\setupinterlinespace[line={40pt}]}
>
eskip is ignored in your solution, test the following please:
\def\TOCstyleBF{\switchtobodyfont[9pt]\bf\setupinterlinespace[line={40pt}]}
\definelistplacement[MyListItemIT][none]#1#2#3%
{\hfill\kern-1em\it#1\hfill\strut\crlf\strut\hfill\hphantom{\tf#3}\framedtext[frame=off,offset=overlay,alig
On Fri, Jan 13, 2012 at 10:55 AM, Steffen Wolfrum wrote:
> Hi,
>
> an other strange thing related to footnotes can be seen here:
>
>
>
> \def\MyNote#1{\switchtobodyfont[12pt]\high{#1}} % <- gives small number
> %\def\MyNote#1{\switchtobodyfont[13pt]\high
Hi,
an other strange thing related to footnotes can be seen here:
\def\MyNote#1{\switchtobodyfont[12pt]\high{#1}} % <- gives small number
%\def\MyNote#1{\switchtobodyfont[13pt]\high{#1}} % <- gives big number
\setupnote
[footnote]
[textcommand=\MyNote]
\starttext
Hi there!\footnote
ues later.
\setupTitle
[\c!title=,
\c!author=,
\c!date=\currentdate,
\c!style=,
\c!color=red,
\c!align=\v!middle,
\c!before=\vfill,
\c!after=\vfill,
\c!title\c!style={\switchtobodyfont[\TitleSize]},
\c!title\c!color=,
\c!title\c!align=,%\v!middle,
\c!autho
Thanks Hans for fixing the other issue!
I've just discovered another problem. So far I switched the font in for my
headers with the following command
\setupheader [style={\ss\switchtobodyfont[10pt]}]
this does not work anymore. Is this on purpose or also a bug?
St
701 - 800 of 1747 matches
Mail list logo