\enabletrackers[xml.parse,xml.path]
\startxmlsetups xml:body
\xmlflush{#1}
\stopxmlsetups
\startxmlsetups xml:text
\xmlflush{#1}
\stopxmlsetups
\startxmlsetups xml:div:entext
\setlatin{\switchtobodyfont[palatino,\Size] \xmlflush{#1}}
\stopxmlsetups
\startxmlsetups xml:div
couple of
> minimal examples, mostlyI manage to elaborate from 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,
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]
>
> Wolf
;> 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
ll 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\sw
;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 exam
ou linked me 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={smallitali
ur_text,
>backgroundcolor=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://bitbuck
efore={\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
efore={\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
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
> > > 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?
> > >>
> > >&g
> >> Is there a font having subscripts included?
> >>
> >> \def\ShowSubscript[#1]{\switchtobodyfont[#1]#1: “₂”\par}
> >>
> >> \starttext
> >> \ShowSubscript[dejavu]
> >> \ShowSubscript[antykwa-torunska]
> >> \ShowSubscr
>> Is there a font having subscripts included?
>>>
>>> \def\ShowSubscript[#1]{\switchtobodyfont[#1]#1: “₂”\par}
>>>
>>> \starttext
>>> \ShowSubscript[dejavu]
>>> \ShowSubscript[antykwa-torunska]
>>> \ShowSubscript[antykwa-poltawskiego]
&g
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]
>
always forget about that.
>
> It is also not in XITS.
>
> Neither
>
>\setupbodyfont[xits]
>
> or
>
>\setupbodyfont[euler]
>
> or
>
>\usetypescript[palatino] \setupbodyfont[palatino,10pt,rm]
>
> worked. Is there a f
Title,
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[abs
;>
>> Greetings Lutz
>
> Here is how I would do it:
>
> \definefontfeature[cond][default][extend=.8]
> \usemodule[simplefonts]
> \setmainfont[Linux Libertine O]
> \setsansfont[aller][scale=0.9] % downscale Aller a bit, since it has a bigger
> x-height than Li
nsed Aller?
>
> Greetings Lutz
Here is how I would do it:
\definefontfeature[cond][default][extend=.8]
\usemodule[simplefonts]
\setmainfont[Linux Libertine O]
\setsansfont[aller][scale=0.9] % downscale Aller a bit, since it has a bigger
x-height than Libertine
\definesimp
]
>\definefontsynonym [SansSemiBold] [MyriadPro-SemiBold]
> [features=default]
>\definefontsynonym [SansSemiBoldItalic] [MyriadPro-SemiBoldIt]
> [features=default]
> \stoptypescript
>
> \starttypescript [myriadpro]
> \definetypeface [myriadpro] [ss] [sans] [myr
]
\stoptypescript
\starttypescript [myriadpro]
\definetypeface [myriadpro] [ss] [sans] [myriadpro] [default]
\stoptypescript
\usetypescript[myriadpro]
\starttext
\switchtobodyfont[myriadpro,ss]
\sb Hello
\si Italic
\stoptext
--
Peter Park
r when there is a empty line after the paragraph.
You can also write a typescript and enable your typeface, the
\setupinterlinespace can than be omitted (my typescript package provides
support for Aller):
\usetypescriptfile[type-aller]
\starttext
\start \switchtobodyfont[aller-light,36pt]
Ich
=yes,align={normal,hyphenated}]
\setupinteraction[style=]
\define[2]\QuotationCommand
{
\setupindenting[no]
\switchtobodyfont[arial,10pt]
\textrule{#1}\blank \vfil\nobreak\penalty1\endgraf
\startcolumns#2\stopcolumns
\hspace \nobreak\penalty1000
\textrule
}
\definetypeface[braqqadocio][ss
Am 20.09.2011 um 09:09 schrieb Hans van der Meer:
> I looked into the recent Fonts in Context book, but could not figure out how
> to access characters directly in unicode. In my case this is inside a
> MetaPost picture something like:
>
> \switchtobodyfont[courier,24p
I looked into the recent Fonts in Context book, but could not figure out how to
access characters directly in unicode. In my case this is inside a MetaPost
picture something like:
\switchtobodyfont[courier,24pt]
..
label ("UNICODE character U+2B06 here"…
How to?
Hans va
Am 31.07.2011 um 09:34 schrieb Marcin Borkowski:
> OK, but isn't this because of \switchtobodyfont and not
> \setupbodyfont?
No.
> Anyway, thanks for this example - though I have no idea why is that
> working this way.
It happens only when you try to load a new typeface a \hb
t \usetypescript to show the header.
>
> %\usetypescript[helvetica]
>
> \setupheader[style={\switchtobodyfont[helvetica]}]
>
> \setupheadertexts[pagenumber]
>
> \starttext
> \input knuth
> \stoptext
OK, but isn't this because of \switchtobodyfont and not
\setupbodyfont
Am 31.07.2011 um 02:44 schrieb Marcin Borkowski:
> And I didn't notice anything wrong with headers when not using
> \usetypescript, by the way.
Try this, uncomment \usetypescript to show the header.
%\usetypescript[helvetica]
\setupheader[style={\switchtobodyfon
obe PDF document
\starttext
\startlines[align=flushright,style={\switchtobodyfont[36pt,ss]}]
Very long title which
should cover two lines
\stoplines
\startstandardmakeup
\startlines[align=flushright,style={\switchtobodyfont[36pt,ss]}]
Very long title which
should cover two lines
\st
2011/7/19 Wolfgang Schuster
> > I have the following document:
> > \setupheader[
> > after={\startalignment[center]\hairline\stopalignment},
> > style={\switchtobodyfont[9pt]},
> > ]
>
> \setupheader[text][after=\hairline,...]
&g
Am 19.07.2011 um 12:21 schrieb Cecil Westerhof:
> I have the following document:
> \setupheader[
> after={\startalignment[center]\hairline\stopalignment},
> style={\switchtobodyfont[9pt]},
> ]
\setupheader[text][after=\hairline
xt-boun...@ntg.nl] Im
> Auftrag von Cecil Westerhof
> Gesendet: Dienstag, 19. Juli 2011 12:21
> An: mailing list for ConTeXt users
> Betreff: [NTG-context] Use of \hairline in the header
>
> I have the following document:
> \setupheader[
> after={\startalignment[center]\ha
I have the following document:
\setupheader[
after={\startalignment[center]\hairline\stopalignment},
style={\switchtobodyfont[9pt]},
]
\setuplayout[
footer=0mm,
header=10mm,
]
\setupheadertexts[]
\setupheadertexts[Documentation for product XYZ –concept–]
[version: 2001
no] [12pt,rm]
When you want a different font for the titlepage then switch
to helvetica *in* the standardmakeup environment and don’t switch
font before and after the environment.
\setupbodyfont[palatino]
\startsetups[titlepage]
\switchtobodyfont[helvetica]
\stopsetups
\starttext
\startstandardmakeup
,stretch]
\input zapf
\stop
\start \kerncharacters[0.01]
\input zapf
\stop
\start \setupalign[hz]
\input zapf
\stop
\start \switchtobodyfont[9.8bp]
\input zapf
\stop
\stoptext
Wolfgang
___
If your question is of
On Thu, 2011-06-23 at 05:31 +0200, Wolfgang Schuster wrote:
> Am 23.06.2011 um 01:33 schrieb John Haltiwanger:
>
> > Please take a look at the simplefonts module.
> >
> > \usemodule[simplefonts]
> > \setmainfont[Ubuntu]
> > \switchtobodyfont[11pt]
> >
&
[bfe=RegularBold at 30pt]
\definebodyfont[11pt][rm][bft=RegularBold at 30pt]
%\setmainfont[Ubuntu]
%\switchtobodyfont[11pt]
\definelayout
[fullpage]
[\c!backspace=0pt,
\c!topspace=0pt,
\c!width=\v!middle,
\c!height=\v!middle,
\c!header=0pt,
\c!footer=0pt]
\setuppagenumbering
Am 23.06.2011 um 01:33 schrieb John Haltiwanger:
> Please take a look at the simplefonts module.
>
> \usemodule[simplefonts]
> \setmainfont[Ubuntu]
> \switchtobodyfont[11pt]
>
> (please correct me anyone, if I'm wrong).
Use \setupbodyfont to change the fo
Please take a look at the simplefonts module.
\usemodule[simplefonts]
\setmainfont[Ubuntu]
\switchtobodyfont[11pt]
(please correct me anyone, if I'm wrong).
On Wed, Jun 22, 2011 at 4:10 PM, Kip Warner wrote:
> Hey list,
>
> I am trying to change the body font of my document in t
le, the background text should be typeset (drawn)
> as lm sans, whereas the main font should be left untouched
> (serif).
An alternative to Wolfgang's answer when you want to use complex font
definitions (or other complex commands) is to use \sometxt.
\usetypescript[iwona]
\definetext
On 2011-06-09 <23:31:49>, Wolfgang Schuster wrote:
>
> Am 09.06.2011 um 23:20 schrieb Philipp Gesang:
> > ·
> >
> > \startMPenvironment %[global]
> > \switchtobodyfont[sans]
> > %\
le, the background text should be typeset (drawn)
> as lm sans, whereas the main font should be left untouched
> (serif).
>
> ·
>
> \startMPenvironment %[global]
> \switchtobodyfont[sans]
> %\setupbodyfo
font should be left untouched
(serif).
·
\startMPenvironment %[global]
\switchtobodyfont[sans]
%\setupbodyfont[sans]
\stopMPenvironment
%\start\setupbodyfont[sans]
\startuseMPgraphic{bg}
verbatimtex \setupbodyfont[sans] etex
Hello,
I'm rather new to ConTeXt and would like to simplify my document, in
order to simplify processing of documents.
I have this:
\defineparagraphs[infos][n=1]
\setupparagraphs[infos][1][
style={\switchtobodyfont[6pt]},
%command=,
]
\starttext
\startinfos
\
Am 03.06.2011 um 16:50 schrieb Stéphanie Vilayphiou:
> Hello,
> I'm rather new to ConTeXt and would like to simplify my document, in order to
> simplify processing of documents.
>
> I have this:
>
> \defineparagraphs[infos][n=1]
> \setupparagraphs[infos][1][
>
Hello,
I'm rather new to ConTeXt and would like to simplify my document, in
order to simplify processing of documents.
I have this:
\defineparagraphs[infos][n=1]
\setupparagraphs[infos][1][
style={\switchtobodyfont[6pt]},
%command=,
]
\starttext
\startinfos
\
\xmlregistersetup{xml:teisetups}
\environment ara-sty
\startxmlsetups xml:body
\xmlflush{#1}
\stopxmlsetups
\startxmlsetups xml:lb
\MarText{\tfxx{xml linebreak numbers}}
\xmlflush{#1}
\stopxmlsetups
\definemargindata [MarText][right][color=red]
\startxmlsetups xml:di
1}
\stopxmlsetups
\startxmlsetups xml:p
\xmlflush{#1}
\stopxmlsetups
\startxmlsetups xml:pb
\xmlflush{#1}
\stopxmlsetups
\startxmlsetups xml:lb
\MarText{\tfxx{xml pb/lb numbers}}
\xmlflush{#1}
\stopxmlsetups
\definemargindata [MarText][right][color=red]
\startxmlse
following, can
anyone
help me. Thanks
I use context --mode=screen test to compile the document
\starttext
\title[content]{mulu}
\placecontent
\chapter{One}
\setuppagenumbering
[style=\tfx, location=]
\startmode[screen]
\switchtobodyfont[8pt]
\setupfootertexts
[{haha}][{\goto{back
paced
> > (2.8ex).
> > Is there something I could add in the \setuplist[chapter] command ?
> >
> > Thanks for any hint !
>
>
>
> Something like this?
>
> \setuplist[chapter][
> label=yes,
>
> alternative=c,style={\switchtobodyfo
yes,
alternative=c,style={\switchtobodyfont[10pt]\bf\setuplocalinterlinespace[line=4.2ex]},
before={\blank[line]},after={\blank[halfline]}
]
\setuplist[section,subsection][
label=yes,
alternative=c,style={\switchtobodyfont[10pt]\setuplocalinterlinespace[line=2.8ex]},
Thanks to Wolfgang for the instructions on changing fonts, \switchtobodyfont
works as expected. I still
have to dig up the exact definitions of both \switchtobodyfont and
\switchtotypeface, as the latter command
seems to work in Hans' examples (for example showfont.pdf) but not wi
gt; guess there
> is some kind of a conflict. I'm using ConTeXt ver: 2011.05.18 22:26 MKIV
Why do you insist on \switchtotypeface when \switchtobodyfont works?
Here is a example which works on my machine (requires commercial fonts:
\starttext
\input ward\par
\switchtobodyfont[calluna,8pt]
add this to the Wiki along other
> tutorials for MKIV font usage, so as much information on the subject as
> possible is appreciated.
You’re right, \switchtotypeface accepts all parameters
from \switchtobodyfont as second argument because the
commands pass it’s arguments to \switchtob
Am 21.05.2011 um 17:31 schrieb Otso Helenius:
>> Try
>>> \switchtotypeface[LeagueScript][12pt]
>> \switchtobodyfont[LeageScript]
>
> Is \switchtobodyfont the recommended way of changing the typeface temporarily
> anywhere in a document
> (for example when maki
> Try
> > \switchtotypeface[LeagueScript][12pt]
> \switchtobodyfont[LeageScript]
Is \switchtobodyfont the recommended way of changing the typeface temporarily
anywhere in a document
(for example when making cover page graphics)? Its name implies only document
body.
m I missing
> something here? Is there something wrong with the way I select
> and use multiple fonts in the same document?
Try
> \switchtotypeface[LeagueScript][12pt]
\switchtobodyfont[LeageScript]
and
> \switchtotypeface[Pompadour][12pt]
\switchtobodyfont[Pompadour]
You can also repl
ffset=1pt]
\switchtobodyfont[10pt]
% Beginning MetaPost graphic
\startMPpage
label.top(btex 1.4 etex scaled 1.00, (10, 10));
label.top(btex $\sigma_t$ etex scaled 1.00, (0, 10));
label.top(btex $\displaystyle \frac{\sigma_t}{a}$ etex scaled 1.00, (0, 10));
\stopMPpage
\stoptext
text...
Thanks!!
Matthieu
\starttext
\setupMPpage[offset=1pt]
\switchtobodyfont[10pt]
% Beginning MetaPost graphic
\startMPpage
label.top(btex 1.4 etex scaled 1.00, (10, 10));
label.top(btex $\sigma_t$ etex scaled 1.00, (0, 10));
label.top(btex $\displaystyle \frac{\sigma_t}{a}$ etex sc
ize *after* \starttext:
\definetypeface [times] [rm] [serif] [times] [default]
\definetypeface [times] [ss] [sans] [helvetica] [default] [rscale=2]
\setupbodyfont[times]
%\setupbodyfont[times,10.5pt] % fails
\starttext
%text {\ss text}
\setupbodyfont[10.5pt]
text {\ss text}
\switchtob
t}]
>
> \definestartstop[quote]
> [before={\setupnarrower[left=10pt,right=0pt]\startnarrower[left,right]\switchtobodyfont[8.5pt]\setupinterlinespace[line=10.5pt]},after={\stopnarrower}]
>
>
> \starttext
>
> Test {\ss text} test\footnote{text {\ss text} test} test.
>
&
fault] [size]
\definebodyfont [10.5pt] [rm] [default]
\stoptypescript
\definebodyfontenvironment[10.5pt]
\usetypescript[times]
\setupbodyfont[times,10.5pt]
\setupfootnotes[bodyfont={rm,8.5pt}]
\definestartstop[quote]
[before={\setupnarrower[left=10pt,right=0pt]\startnarrower[left,right]\switc
e typescript we defined immediately
> % above, and hence any typescripts it depends on.
> %
> % This executes the \definetypeface calls to define our typeface set. Again,
> % myfonts is the name of the typescript, default is the character encoding.
> \usetypescript[myfonts][default]
ypeface calls to define our typeface set. Again,
% myfonts is the name of the typescript, default is the character encoding.
\usetypescript[myfonts][default]
% Finally, use that typeface set, at 10pt base size.
% Calling setupbodyfont changes headers and footers as well as body text;
% switchtobod
f today (not much has changed in
> mkii anyway)
Thanks. Here's the code:
\setuppapersize[S6][S6]
\setuppagenumbering[state=stop]
\switchtobodyfont[modern,20pt]
\setupcolors[state=start]
\setupbackgrounds[page][background=color,backgroundcolor=darkblue]
\startcolor[white]
\setuptolerance[very
{\increment\FontTestCounter
\definetypeface[mainface-\FontTestCounter][rm][specserif][#1]
\switchtobodyfont[mainface-\FontTestCounter]
\title{#1}
\startpacked
` Backtick\par
' Apostrophe\par
‘ Open curly quote\par
’ Close curly quote\par
- hyphen\par
– en dash\par
—
2011/3/19 Wolfgang Schuster
> > I thought I saw it once, but I can not find it. I like to use another
> fontsize in my headers and footers. At the moment I have solved it in this
> way:
> > \setupfootertexts[{\switchtobodyfont[6pt]Pagina \pagenumber \space
> van \lastpa
Am 19.03.2011 um 15:08 schrieb Cecil Westerhof:
> I thought I saw it once, but I can not find it. I like to use another
> fontsize in my headers and footers. At the moment I have solved it in this
> way:
> \setupfootertexts[{\switchtobodyfont[6pt]Pagina \pagenumber \space van
I thought I saw it once, but I can not find it. I like to use another
fontsize in my headers and footers. At the moment I have solved it in this
way:
\setupfootertexts[{\switchtobodyfont[6pt]Pagina \pagenumber \space van
\lastpage}]
But then I have to do this everywhere I change the text for
Am 19.03.2011 um 03:29 schrieb Cecil Westerhof:
> At the moment I have I my document:
> {\switchtobodyfont[1.25em]\bf M}ust
>
> {\switchtobodyfont[1.25em]\bf S}hould
>
> {\switchtobodyfont[1.25em]\bf C}ould
>
> {\switchtobodyfont[1.25em]\bf N}ot now
>
> But I
it?
Use a different font or add manual kerning. As you can see here it’s font
dependent:
\starttext
t/m
\switchtobodyfont[pagella]t/m
\switchtobodyfont[termes]t/m
\switchtobodyfont[iwona]t/m
\switchtobodyfont[antykwa-polta
2011/3/19 Aditya Mahajan
> \definestartstop
>>> [FancyFirstLetter]
>>> [style={\switchtobodyfont[big]\bf},
>>> color=red]
>>>
>>> \def\FancyUppercase#1%
>>> {\dostartFancyUppercase#1\dostopFancyUppercase}
>>>
>>> \de
On Sat, 19 Mar 2011, Cecil Westerhof wrote:
2011/3/19 Aditya Mahajan
On Sat, 19 Mar 2011, Cecil Westerhof wrote:
At the moment I have I my document:
{\switchtobodyfont[1.25em]\bf M}ust
{\switchtobodyfont[1.25em]\bf S}hould
{\switchtobodyfont[1.25em]\bf C}ould
{\switchtobodyfont[1.25em
2011/3/19 Aditya Mahajan
> On Sat, 19 Mar 2011, Cecil Westerhof wrote:
>
> At the moment I have I my document:
>> {\switchtobodyfont[1.25em]\bf M}ust
>>
>> {\switchtobodyfont[1.25em]\bf S}hould
>>
>> {\switchtobodyfont[1.25em]\bf C}ould
>>
>>
On Sat, 19 Mar 2011, Cecil Westerhof wrote:
At the moment I have I my document:
{\switchtobodyfont[1.25em]\bf M}ust
{\switchtobodyfont[1.25em]\bf S}hould
{\switchtobodyfont[1.25em]\bf C}ould
{\switchtobodyfont[1.25em]\bf N}ot now
But I like to have a macro for this, so I could just do
At the moment I have I my document:
{\switchtobodyfont[1.25em]\bf M}ust
{\switchtobodyfont[1.25em]\bf S}hould
{\switchtobodyfont[1.25em]\bf C}ould
{\switchtobodyfont[1.25em]\bf N}ot now
But I like to have a macro for this, so I could just do:
\Acronym{Must Should Could Not~now}
Is more
set
> as such.
It’s font related:
\starttext
\dontleavehmode\ruledhbox{$Q$}\ruledhbox{$Y$}\ruledhbox{$N$}
\switchtobodyfont[pagella]
\dontleavehmode\ruledhbox{$Q$}\ruledhbox{$Y$}\ruledhbox{$N$}
\switchtobodyfont[termes]
\dontleavehmode\ruledhbox{$Q$}\ruledhbox{$Y$}\ruledhbox{$N$}
\stopte
Thanks Verdan and Wolfgang. As I suspected, \startlines was the way to go.
On Thu, Mar 10, 2011 at 6:56 PM, Wolfgang Schuster <
schuster.wolfg...@googlemail.com> wrote:
>
> Am 10.03.2011 um 18:28 schrieb John Haltiwanger:
>
> > \startalignment[left]
> >
> >
Am 10.03.2011 um 18:28 schrieb John Haltiwanger:
> \startalignment[left]
>
> \bgroup
> \switchtobodyfont[72pt]
> {\ss Freed \par
> by \par
> Design}
> \egroup
\startlines[align=flushright,style={\switchtobodyfont[72pt,ss]}]
Fr
2011/3/10 John Haltiwanger
> To me the space between 'Freed' and 'by' looks awkward:
>
> \starttext
> \startalignment[left]
>
> \bgroup
> \switchtobodyfont[72pt]
> {\ss Freed \par
> by \par
> Design}
>
To me the space between 'Freed' and 'by' looks awkward:
\starttext
\startalignment[left]
\bgroup
\switchtobodyfont[72pt]
{\ss Freed \par
by \par
Design}
\egroup
\stoptext
-- Should I be using \start..\stopline
Hi Mathew,
I looked at your example. I made some comments on \setuplayout and setup of
fonts \switchtobodyfont vs. \setupbodyfont.
Willi
On 9 Mar 2011, at 18:04, mathew wrote:
> Hi. I recently returned to TeX after a 20 year absence, and decided ConTeXt
> was the best choice of package
orks:
\setupcolors[state=start]·
\setupbars[underbar][
offset=0.1,
rulethickness=0.2,
order=foreground,
color=red]
\starttext·
\switchtobodyfont[60pt]
This is an \underbar{underlined} word.·
\stoptext·
Thanks Wolfgang for your help!
estion:
\setupcolors[state=start]
\setupbar[underbar][bottomoffset=2pt,rulethickness=12pt,rulecolor=red]
\starttext
\switchtobodyfont[60pt]
This is an \underbar{underlined} word.
\stoptext
But now it complains that "setupbar" is not recognized:
Undefined control sequence...
2 >>
\setupb
=12pt,rulecolor=red]
\starttext
\switchtobodyfont[60pt]
This is an \underbar{underlined} word.
\stoptext
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context
page\framed[frame=off, background=color, %
> backgroundcolor=gray:9]{\slidetitle{#1}}}
> \usemodule[simplefonts]
> \setmainfont[Helvetica]
> \switchtobodyfont[20pt]
>
> \definehead[slidetitle][subject]
> \setuphead[slidetitle][style=\tfb,
>
color, %
backgroundcolor=gray:9]{\slidetitle{#1}}}
\usemodule[simplefonts]
\setmainfont[Helvetica]
\switchtobodyfont[20pt]
\definehead[slidetitle][subject]
\setuphead[slidetitle][style=\tfb,
color=lightsteelblue]
\def\SlideTitle#1{\page\framed[
g \setupinterlinespace[height=0.2,depth=0] did
> not help and the kludge \switchtobodyfont[0.1pt] does has the spirit
> of ConTeXt ;-) Anybody out there knowing how to do it?
maybe \lineskip=0pt helps?
Regards, Hartmut
> tight in vertical sense (kludge with vskip of -0.3mm).
DOES NOT WORK
>
> \def\startdvbscreen{DVB-screen\crlf\start\setupinterlinespace[line=0.5mm]}
> does not work:
DOES WORK A BIT
> \def\startdvbscreen{DVB-screen\crlf\start\switchtobodyfont[0.1pt]}
> ___
art\switchtobodyfont[0.1pt]}
___
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/listinfo/ntg-context
webpage : http://www.pra
as is possible. Trying
> \setupinterlinespace[height=0.2,depth=0] did not help and the kludge
> \switchtobodyfont[0.1pt] does has the spirit of ConTeXt ;-)
> Anybody out there knowing how to do it?
\setupinterlinespace[line=0.5mm] or use MetaPost (not su
the kludge
\switchtobodyfont[0.1pt] does has the spirit of ConTeXt ;-)
Anybody out there knowing how to do it?
Hans van der Meer
___
If your question is of interest to others as well, please add an entry to the
Wiki!
Why is the second color in the palet not showing up? I foolowed the example in the manual (section 6 page 6). Strange: adding a third color in the palet (see comment) now shows the first two! Off by one error in a loop?Hans van der Meer\setuppapersize[A5][A5]\switchtobodyfont[20pt]\definepalet[dvb
.
What am I missing here? The wiki didn't procure more information then the
manual.
Hans van der Meer
\setuppapersize[A5][A5]
\switchtobodyfont[20pt]
\starttext
\color[red]{hello} \quad
\color[green]{hello} \quad
\color[cyan]{hello} \quad
\showcolor[red]
\showcolor[green]
\showcolor
:) That would be awesome.
> > 2) To set the font size I do the following, is there a better solution
> > like bodyfont=xyz for definetyping or is it just fine like this?
> >
> > \definevimtyping [PHP] [
> > syntax=php,
> > before={\switchtobodyfont[small]},
> >
to them. I think that I should just be able to plug in
ConTeXt's line numbering mechanism.
2) To set the font size I do the following, is there a better solution like
bodyfont=xyz for definetyping or is it just fine like this?
\definevimtyping [PHP] [
syntax=php,
before={\switcht
\usemodule[simplefonts] % load the module
\setmainfont[Gentium Basic]
\starttext
Transcription of gloss on fol. 18 begins here:
\blank[2*big]
{\switchtobodyfont[14pt]{\simplefont[Mionchló]{Luan cengcegeise i(n)diu duī
ingliid dalacha iſ tɼua ī ſcel tuathal do bith dithɼe
{\high{\simplefont
e I do the following, is there a better solution like
bodyfont=xyz for definetyping or is it just fine like this?
\definevimtyping [PHP] [
syntax=php,
before={\switchtobodyfont[small]},
]
Marco
___
If your ques
801 - 900 of 1747 matches
Mail list logo