// \definestartstop
//[abblist]
//[before={\setupbackgrounds[text][background=verticalline]
// \starttextbackground[text]
//
\setuptab[headstyle={\switchtobodyfont[SansB,\SansBsize]},width=20mm,location=left]
// \startcolumnset[abbcolumn] \startalignment[flushleft,nothyphenated
://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.
\setupdelimitedtext
work..
Search for style:
\definevimtyping
[ctyping]
[style={\switchtobodyfont[small,tt]}]
\starttext
\startctyping
#include stdio.h
\stopctyping
\stoptext
Or if you want to globally change the style of all typing environments:
\setupvimtyping
[style=]
Also see http
that \switchtobodyfont[small] did work.
So my question now becomes: why is that so?
Best,
Even better;),
--
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Adam Mickiewicz University
___
If your
:
\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
\textface \or
\textface
, 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 the comments in that file, this will come
[gentium][t2a]
\starttypescript [gentium-rus] [t2a]
\definetypeface [gentium] [rm] [serif] [gentium] [default]
[encoding=\typescripttwo]
\stoptypescript
\usetypescript[gentium][ec]
\usetypescript[gentium-rus][t2a]
\setupbodyfont[gentium]
\starttext
program pro počítačovou sazbu {\switchtobodyfont
[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={flushleft,lohi
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=35mm
\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 runs
\placeformula \startformula 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
=texnansi]
\definetypeface [boldmath] [mm] [boldmath] [modern] [modern] [encoding=texnansi]
\switchtobodyfont[palatino,14pt]
\starttext
Hi
\startformula
x = \boldsymbol{\Sigma}\Sigma
\stopformula
\stoptext
/code
The issue I have is that this doesn't work, and throws me:
! Math formula deleted
), (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=35mm]
\placeformula
\startformula c-a=b
\stopformula
\eTD
\eTR
\eTABLE
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=35mm]
\placeformula
\startformula 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
]
\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
] [modern] [modern]
[encoding=texnansi]
\switchtobodyfont[palatino,14pt]
\starttext
Hi
\startformula
x = \boldsymbol{\Sigma}\Sigma
\stopformula
\stoptext
/code
The issue I have is that this doesn't work, and throws me:
! Math formula deleted: Insufficient symbol fonts.
\mathboldsymbol
\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 by
1698 %D
\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[small]\getbuffer[teacher]\par
and 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
\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
\meaning\bigtriangledown\NC \NR
\NC \type{\triangleleft } \NC \triangleleft \NC
\meaning\triangleleft \NC \NR
\NC \type{\triangleright} \NC \triangleright \NC
\meaning\triangleright \NC \NR
\HL
\stoptabulate
\stopbuffer
\starttext
\switchtobodyfont
} \NC \triangleright \NC
\meaning\triangleright \NC \NR
\HL
\stoptabulate
\stopbuffer
\starttext
\switchtobodyfont[modern-designsize] \subject{modern-designsize} \getbuffer
\blank
\switchtobodyfont[modern]\subject{modern} \getbuffer \blank
\switchtobodyfont
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
prevent endless
.
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: setup.pdf
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 possible.
I am right the setupcaptions should work with combined fontsettings, or is it
my
\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
\stopcolumns
\input knuth
\startcolumns[n=2]
\input tufte
and does not adapt the baseline
use \switchtobodyfont[small] or \tfxx\setupinterlinespace instead
-
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
]
\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,%
interaction
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]
\stopMPenvironment
and it changed
]
\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 only for the metapost labels or also for the main font
in the document?
Wolfgang
.
\setupbodyfont[pagella,11pt]
%\setupMPinstance[metafun][textstyle=sans]
\setupMPinstance[metafun][textstyle={\switchtobodyfont[termes,14pt]}]
\starttext
\input knuth
\startMPcode
draw textext(I’m different!) ;
\stopMPcode
\stoptext
Wolfgang
\setupbodyfont[pagella,11pt]
%\setupMPinstance[metafun][textstyle=sans]
\setupMPinstance[metafun][textstyle={\switchtobodyfont[termes,14pt]}]
\starttext
\input knuth
\startMPcode
draw textext(I’m different!) ;
\stopMPcode
\stoptext
It gives an error:
! Undefined control sequence
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
\stoptext
It gives
=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]%
\parindent=0pt
}
% typing
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
][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=\paperwidth,height=\paperheight
this:
\setuppagenumbering[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
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:
\definebodyfont[42pt][rm][default
Hi Wolfgang!
···date: 2012-06-03, Sunday···from: Wolfgang Schuster···
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
Am 03.06.2012 um 12:01 schrieb Philipp Gesang:
Hi Wolfgang!
···date: 2012-06-03, Sunday···from: Wolfgang Schuster···
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
Hi Wolfgang!
···date: 2012-06-03, Sunday···from: Wolfgang Schuster···
\definebodyfontenvironment[42.0pt] %% a dozen times
\starttext
\switchtobodyfont[42.0pt] %% hundreds of times
%\switchtobodyfont[42pt
Am 03.06.2012 um 16:27 schrieb Philipp Gesang:
Hi Wolfgang!
···date: 2012-06-03, Sunday···from: Wolfgang Schuster···
\definebodyfontenvironment[42.0pt] %% a dozen times
\starttext
\switchtobodyfont[42.0pt
,
\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? Now that I’m
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
\setupbodyfont [computer-modern-unicode]
\csname #1reeknumerals\endcsname{#2}%
\egroup%
}
Use \switchtobodyfont for local font switches.
\def\cmu_numerals#1#2%
{\bgroup
\switchtobodyfont[computer-modern-unicode]%
\convertnumber{#1}{#2}%
\egroup}
Wolfgang
]{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 {\switchtobodyfont
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.
PS: I forgot to send a minimal example. Here it is :)
http://meeting.contextgarden.net
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 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
On 2012-05-02 Aditya Mahajan adit...@umich.edu 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]
\startMPcode
draw
=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 item
\item item
]{}{...}
\stoppostponing
Rest of the text
Aditya
\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
(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=off,width
a 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
\placefigure[top
On Thu, Apr 5, 2012 at 1:10 PM, Aditya Mahajan adit...@umich.edu 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 ward \input
zapf
Am 05.04.2012 um 13:25 schrieb luigi scarso:
On Thu, Apr 5, 2012 at 1:10 PM, Aditya Mahajan adit...@umich.edu wrote:
(Untested)
\startpostponing[+1]
\placefigure[top]{}{...}
\stoppostponing
Rest of the text
Aditya
\starttext
\switchtobodyfont[rm,10pt]
\input tufte \input
Rest of the text
Aditya
\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%
\startpostponing[+1]
\placefigure[top]{}{\vskip3pt
':
\starttext
\setupuserpagenumber[way=byblock] % can be default yes/no?
\setuppagenumbering [alternative=doublesided, partnumber=no, location=,
style={\ss\bold}]
\setupheadertexts [section][pagenumber][pagenumber][chapter]
\setupheader [before={\ss\switchtobodyfont[10pt
:
\startsectionblockenvironment[frontpart]
\setupheader [before={\ss\switchtobodyfont[10pt]}]
\setupheadertexts [section][pagenumber][pagenumber][chapter]
\setuppagenumbering [alternative=doublesided, partnumber=no, location=,
style={\ss\bold}]
\setupuserpagenumber[numberconversion=romannumerals
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
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
\setupheader[style=HeaderFont
[section][pagenumber][pagenumber][chapter]
\setupheader [before={\ss\switchtobodyfont[10pt]}]
\startsectionblockenvironment[frontpart]
\setupuserpagenumber[numberconversion=romannumerals]
\stopsectionblockenvironment
\startsectionblockenvironment[bodypart]
\setuppagenumber[number=1
I would like to accomplish the following in xml processing.
node macro=various macro calls and then define the attribute value as a TeX
macro.
For example, to use this in font switching: node
macro=\switchtobodyfont[helvetica]
Doing this in the following manner does not work:
\startxmlsetups
On 16-3-2012 10:25, Meer, H. van der wrote:
I would like to accomplish the following in xml processing.
node macro=various macro calls and then define the attribute value as a
TeX macro.
For example, to use this in font switching:node
macro=\switchtobodyfont[helvetica]
Doing
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
.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.0mm,textcolor=red,rule=\MyRule]% distance
lowest line of main
,depth=.21]
\lineskiplimit-\maxdimen
\setupwhitespace[2pt]
\stopsetups
% footnotes 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
), 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
All best
Thomas
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 fine flat}
{\switchtobodyfont[pagella] office fine flat
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 move
\switchtobodyfont[48pt]
\color[ChapterNumber]{#1}}}
}
\setuppagenumbering[%
alternative=doublesided,
location={footer, center}, % header, middle, inleft,
inmargin
command=\Page,
]
\setupinteraction[state=start,color=black] % klikaci dokument
\setupurl[style=type,color
On Tue, Jan 17, 2012 at 1:14 PM, Steffen Wolfrum cont...@st.estfiles.dewrote:
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#3
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
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,align=middle,style=TOCstyleBF]{#2}\hfill\tf#3}
% here
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#3%
{\hfill\kern-1em\it#1\hfill\strut\crlf\strut\hfill\hphantom{\tf#3}\framedtext[frame=off
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{I’m
On Fri, Jan 13, 2012 at 10:55 AM, Steffen Wolfrum cont...@st.estfiles.dewrote:
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
.
\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!author\c!style
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?
Steffen
\startxmlsetups xml:div:entext
\setlatin{\switchtobodyfont[palatino,\Size] \xmlflush{#1}}
\stopxmlsetups
\startxmlsetups xml:div:artext
\setarabic{\switchtobodyfont[Arabic] \xmlflush{#1}}
\stopxmlsetups
\startxmlsetups xml:div:fnotes
\placefootnotes
\stopxmlsetups
there once I get
the first thing working.
\definelayer[cover]
\starttext
\startpagemakeup[style={\switchtobodyfont[ss,24pt]}]
\setlayer[cover][x=3cm,y=4cm]{Place}
\setlayer[cover][x=8cm,y=12cm]{your}
\setlayer[cover][x=5cm,y=17cm]{text!}
\placelayer[cover]
\stoppagemakeup
\input knuth
\stoptext
]
That is for Wolfgang to answer but you can try this:
% at the top of the file
\setupbodyfont[mscore,ss]
% then
\usemodule[simplefonts]
\setmainfont[candara]
% in the front page:
\start \switchtobodyfont[mscore,ss]
the front page
\stop \page
main text
\page \start \switchtobodyfont[mscore,ss]
the back
Hi,
I am not a specialist, but I use the « btex etex » commands, such as
dotlabel.bot (btex \switchtobodyfont[10pt] \strut $R$ etex, z1)
I just tested with the latest beta, and everything works fine, but not the
\pmatrix construct (I tried also with ${k}\choose{n}$, which works fine too
On Tue, 2011-11-29 at 00:19 +0100, Wolfgang Schuster wrote:
style={\switchtobodyfont[7pt]\it}
or set “foregroundstyle=italic” for \setupmarginframed.
To show the complete text you have to increase the backspace.
\setuplayout[backspace=3.5cm]
Wolfgang
Thanks Wolfgang. That did
is not:
\setupmargindata[
style={smallitalic\switchtobodyfont[3pt]}]
\setupinmargin[
background=color,
color=colour_text,
backgroundcolor=colour_page]
Make next time a complete example with some text.
\setupmargindata
[inmargin]
[style={\switchtobodyfont[8pt,ss]},
color=red
using the following. The colours are fine, but the rest is not:
\setupmargindata[
style={smallitalic\switchtobodyfont[3pt]}]
\setupinmargin[
background=color,
color=colour_text,
backgroundcolor=colour_page]
Make next time a complete example with some text
of the page like it is now.
I'm using the following. The colours are fine, but the rest is not:
\setupmargindata[
style={smallitalic\switchtobodyfont[3pt]}]
\setupinmargin[
background=color,
color=colour_text,
backgroundcolor=colour_page]
Make next time a complete example
={\switchtobodyfont[3pt]}
style=\ss\tfx\setupinterlinespace]
--
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com
signature.asc
Description: This is a digitally signed message part
=colour_page,
bodyfont=3pt,
before={\switchtobodyfont[3pt]}
style=\ss\tfx\setupinterlinespace]
Search for \setupmargindata and \setupmarginframed, you can see all keys for
commands in my reference: https://bitbucket.org/wolfs/commands/downloads
Wolfgang
to
and it unfortunately isn't descriptive enough for me.
All I want to do is to make the font small, italicized, and not start
off the side of the page like it is now.
I'm using the following. The colours are fine, but the rest is not:
\setupmargindata[
style={smallitalic\switchtobodyfont[3pt
]
or
\usetypescript[palatino] \setupbodyfont[palatino,10pt,rm]
worked. Is there a font having subscripts included?
\def\ShowSubscript[#1]{\switchtobodyfont[#1]#1: “₂”\par}
\starttext
\ShowSubscript[dejavu]
\ShowSubscript[antykwa-torunska]
\ShowSubscript[antykwa-poltawskiego]
\ShowSubscript[iwona
Am Donnerstag, den 24.11.2011, 14:30 +0100 schrieb Wolfgang Schuster:
Am 24.11.2011 um 13:43 schrieb Paul Menzel:
[…]
Is there a font having subscripts included?
\def\ShowSubscript[#1]{\switchtobodyfont[#1]#1: “₂”\par}
\starttext
\ShowSubscript[dejavu]
\ShowSubscript[antykwa-torunska
]{\switchtobodyfont[#1]#1: “₂”\par}
\starttext
\ShowSubscript[dejavu]
\ShowSubscript[antykwa-torunska]
\ShowSubscript[antykwa-poltawskiego]
\ShowSubscript[iwona]
\ShowSubscript[cambria]
\ShowSubscript[libertine]
\stoptext
Nice! So in this set only cambria and libertine cannot display
?
\def\ShowSubscript[#1]{\switchtobodyfont[#1]#1: “₂”\par}
\starttext
\ShowSubscript[dejavu]
\ShowSubscript[antykwa-torunska]
\ShowSubscript[antykwa-poltawskiego]
\ShowSubscript[iwona]
\ShowSubscript[cambria]
\ShowSubscript[libertine]
\stoptext
Nice! So in this set only cambria
Am Donnerstag, den 24.11.2011, 14:30 +0100 schrieb Wolfgang Schuster:
Am 24.11.2011 um 13:43 schrieb Paul Menzel:
[…]
Is there a font having subscripts included?
\def\ShowSubscript[#1]{\switchtobodyfont[#1]#1: “₂”\par}
\starttext
\ShowSubscript[dejavu
Description: Adobe PDF document
\setuppapersize[letter]
\setuplayout[header=0in,footer=0in,topspace=0.75in,backspace=1.25in]
\setuppagenumbering[location=]
\switchtobodyfont[11pt]
\starttext
\startalignment[center]
\placetable[here][]{none}
\starttable[|cw(0.75in)|lw(1.5in)|cw(0.75in)|lw(1.5in)|]
\HL
={\switchtobodyfont[3pt]}
style=\ss\tfx\setupinterlinespace]
--
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com
signature.asc
Description: This is a digitally signed message part
,
style=\tfb\se,
textstyle=\ss]
And for the abstract, I have come up with this:
\definebodyfontenvironment[10pt][text=10pt,interlinespace=12pt]
\defineframedtext[topwidth][%
style={\switchtobodyfont[10pt]},
width=.8\makeupwidth,
offset=0pt,
frame=off]
\definedescription[abstract
701 - 800 of 1630 matches
Mail list logo