Here is a minimal example that better describes my problem.
It seems to depend on the size of the image. 30 mm and 40 mm width
works, 35 mm does not.
I have not tested height, although the image I want to use would be
portrait format.
\setuplayout[grid=yes]
\setupinterlinespace[line=15pt
Hi Jeroen,
You can try this :
\setupmargindata[inmargin][location=inner,
style={\ssx\setupinterlinespace[line=2.8ex]}]
\setupmarginframed[inmargin][align=left]
Sorry if I send owls to Athens !
JP
Le 19/03/2024 à 15:38, Jeroen a écrit :
For comments that are placed in the margin
rotrusion}]
\definefontfamily [noto_japanese] [rm] [Noto Serif JP]
[features={default,fullprotrusion}]
\definefontfamily [noto_japanese] [ss] [Noto Sans JP]
[features={default,fullprotrusion}]
\setupbodyfont
[noto_japanese]
\setscript
[nihongo]
\setupalign
[hanging]
\setupindenting
[
=doublesided, location={header, inmargin}]
\setupmargindata[inmargin][location=inner,
style={\ssx\setupinterlinespace[line=2.8ex]}]
\setupmarginframed[inmargin][align=right]
\setupbodyfontenvironment[default][em=italic]
% Use Theano Didot as Ancient Greek font
\definefallbackfamily[mainface][serif
]
\setuppagenumbering[alternative=doublesided, location={header, inmargin}]
\setupmargindata[inmargin][location=inner,
style={setupinterlinespace[line=2.8ex]}]
\setupmarginframed[inmargin][align=right]
\setupbodyfontenvironment[default][em=italic]
\definefallbackfamily[mainface][rm][Theano
Didot
ow}, width=\outermarginwidth,
headcolor=red, color=green, style={\tfx\setupinterlinespace}, align=width]
\setupexternalfigures[location=default]
\setupmargindata[style={\tfx}, stack=yes]
\setupmargindata[inouter][color=orange]
\setupmargindata[ininner][color=blue]
\showframe
\starttext
\section{Margin Tes
ng font features for this, but I haven’t learned how to do that. Any advice
is welcome.
Example code below uses the Libertinus font, which has these superior and
inferior numbers, to produce sample paragraph demonstrating a few options for
fractions in text.
Gavin
\usetypescriptfile[libertinus]
\se
with \setupinterlinespace or you use a different fraction command
which uses
smaller numbers or creates inline fractions.
\starttext
\startlines
\type{\frac{1}{3}}: \m{\frac{1}{3}}
\type{\xfrac{1}{3}}: \m{\xfrac{1}{3}}
\type{\xxfrac{1}{3}}: \m{\xxfrac{1}{3}}
\type{\tfrac{1}{3}}: \m{\tfrac{1}{3}}
\type{\sfrac{1}{3
On 12/4/2023 6:43 AM, Alexandre Christe wrote:
Hi,
Here’s a MWE:
\setupinterlinespace[line=3ex]
\definefontfeature[default][default][lnum=yes,tnum=yes]
\usetypescriptfile[alegreya_libertinus]
\setupbodyfont[alegreya-light,ss,10pt]
\setupmathematics[autopunctuation={all}]
% math definitions
Hi,
Here’s a MWE:
\setupinterlinespace[line=3ex]
\definefontfeature[default][default][lnum=yes,tnum=yes]
\usetypescriptfile[alegreya_libertinus]
\setupbodyfont[alegreya-light,ss,10pt]
\setupmathematics[autopunctuation={all}]
% math definitions
\enablemathautospacing % more global
ntent than a file name.
BTW, if its contents cannot be in more than a single page, the approach
suggested above might be easier.
> \startfrontmatter[]
Empty brackets are not required here.
> \start
> \setuplayout[re
> \setupinterlinespace[.8ex]
I would say that
example.
\starttext
\heightofstring{x}
\the\exheight
\stoptext
To get one and a half line of interlinespace with ConTeXt you can set a
fixed value with the \setupinterlinespace command.
\setupinterlinespace[line=18pt]
\showgrid
\starttext
\samplefile{lorem}
\stoptext
Wolfgang
of wordprocessors to be sure it is not
such different.
Sorry for not providing an example (again my lack of experience), I will do it
from now on.
thanks, I will try to learn a little more to get an idea of how ConTeXt ist
built
It’s \setupinterlinespace, and the default is 2.8ex, so 1.3ex is too small
]
\setuppagenumbering[location=]
\input{03_portadaEval.tex}%this is my title page
\stopsectionblock
\startfrontmatter[]
\start
\setuplayout[reset]
\setupinterlinespace[.8ex]
\completecontent
\stop
\stopfrontmatter
\startbodymatter[]
\input
ult value is
\setupinterlinespace[line=2.85ex].
I have just discovered that with values such as line=1.3ex,
\setuplayout[grid=yes] behaves very differently than with values such as
line=2ex (and above).
I mean, lines follow the grid when the text fits. See the difference with:
\showframe
of a section are printed one over the
other.
Playing with the options and setupinterlinespace I got the unhappily
desired 1.3ex that may school requieres for the teaching programs
(grid=line, interlinespace=1.3ex), but I somehow feel that's not the right
way to go.
1. Why are the lines printed one over
=mpos:par:myexample,
location=paragraph,
topoffset=0.4em,
leftoffset=0em,
rulethickness=0.7pt]
\definetyping[Listing]
[option=commands]
\setuptyping
[Listing]
[bodyfont=10pt,
margin=1em,
before=%
{\blank[3*medium]
\setupinterlinespace[line=2.4ex]
\starttextbackground
]
Change the alignment value for your Listing's.
\setuptyping
[Listing]
[bodyfont=10pt,
margin=1em,
align={flushleft,verytolerant},
before=%
{\blank[3*medium]
\setupinterlinespace[line=2.4ex]
\starttextbackground[listingbackground]},
after=%
{\stoptextbackground
\blank
]
[bodyfont=10pt,
margin=1em,
before=%
{\blank[3*medium]
\setupinterlinespace[line=2.4ex]
\starttextbackground[listingbackground]},
after=%
{\stoptextbackground
\blank[4*medium]}]
\protect
\starttext
\startListing
test test test test test test test test test test test
Dear gang,
I. In Context, as is well known, scaling a character is not independent of
switching the font:
===
\startTEXpage[offset=1em]
\definefont[Times][times @ 14pt]
\Times Test \tfx Test
\setupinterlinespace
\Times Test \switchtobodyfont[x]Test
\Times Test \high{Test}
\stopTEXpage
I am using only local footnotes in a document, but am having difficulty
influencing the interlines space between these notes. Since I am only
using local footnotes, I thought initially that the following would work
for them
\startsetups[footnote:interlinespace]
\setupinterlinespace[line
% define the pinyin command
> > \define[2]\pinyin{%
> > \setbox1 = \hbox{#1}%
> > \setbox2 = \hbox{\darkgray \pinyinfont #2}%
> > \newdimen\maxwd%
> > \ifdim \wd1>\wd2 \maxwd=\wd1 \else \maxwd=\wd2 \fi%
> > \setbox1 = \hbox to \maxwd{\hfill
% define the pinyin command
> > \define[2]\pinyin{%
> > \setbox1 = \hbox{#1}%
> > \setbox2 = \hbox{\darkgray \pinyinfont #2}%
> > \newdimen\maxwd%
> > \ifdim \wd1>\wd2 \maxwd=\wd1 \else \maxwd=\wd2 \fi%
> > \setbox1 = \hbox to \maxwd{\
]
\setupinterlinespace
[40pt]
\setuplayout
[color=darkblue]
\setuppagenumbering
[location=footer]
\defineconversionset
[pagenumber]
[]
[chinesenumerals]
\protected\def\stripe#1{\hbox orientation 0 yoffset 3pt{\strut #1}}
\setscript[hangul]
\starttext
% \startscript[hangul
ill}%
\hskip0pt plus5pt\vbox{\setupinterlinespace[line=0.5em]\box2\box1}%
above line
% \hskip0pt
plus5pt\vtop{\setupinterlinespace[line=0.5em]\box1\box2}% under line
}
```
usage as follows:
```lmtx
\pinyin{寖備}{jìn bèi}
```
The ruby command has no problem with chinese but you need a font which
head, current = flushrange(head,current,first,last)
end
setlist(box,head)
end
\stopluacode
% % % % % % % % % %
\setuptolerance[verytolerant,stretch]
\definefont[NotoCJK][NotoSanstc-Regular*default @ 24pt]
\setupinterlinespace[40pt]
\unexpanded\def\stripe#1{\hbox orientation 0 y
}%
\setbox2 = \hbox{\darkgray \pinyinfont #2}%
\newdimen\maxwd%
\ifdim \wd1>\wd2 \maxwd=\wd1 \else \maxwd=\wd2 \fi%
\setbox1 = \hbox to \maxwd{\hfill \box1 \hfill}%
\setbox2 = \hbox to \maxwd{\hfill \box2 \hfill}%
\hskip0pt plus5pt\vbox{\setupinterlinespace[line=0.5em]\box2\b
022 um 14:00:
>
> > Is there any documentation about \ruby?
>
>
> You can see all available parameters in setup-en.pdf, the example below
> shows a few of them:
>
> begin example
> \setupinterlinespace[line=4ex]
>
> \setuptype[style=\ttx]
>
> \st
amano.kenji via ntg-context schrieb am 15.08.2022 um 14:00:
Is there any documentation about \ruby?
You can see all available parameters in setup-en.pdf, the example below
shows a few of them:
begin example
\setupinterlinespace[line=4ex]
\setuptype[style=\ttx]
\starttext
\start
acing: Must be no more than six lines per vertical inch.
"
While the line spacing resolves in ConTeXt to
\setupinterlinespace[line=\dimexpr(1in / 6)]
I was wondering if one can limit "type density" as the number of glyphs per
inch in TeX too? I thought, it is more convenient to r
e the line spacing resolves in ConTeXt to
\setupinterlinespace[line=\dimexpr(1in / 6)]
I was wondering if one can limit "type density" as the number of glyphs per
inch in TeX too? I thought, it is more convenient to rephrase this request (for
a 7 in textwidth) to limit the number of gl
Dear list,
I have the following sample:
\setuppapersize[A6]
\definelinenote[otherlinenote]
\setupnote[otherlinenote]
[compress=yes]
\startsetups[line:notes]
\setupinterlinespace[line=2.9ex]
\stopsetups
\setupnote[linenote]
[paragraph=yes, compress=yes, compressmethod
\setupinterlinespace[line=11pt, height=.79,depth=.21]
\lineskiplimit-\maxdimen
\setupwhitespace[0pt]
\stopsetups
You're using the wrong skip. These interwors* things are not meant to be
set, as they are basically font dimensions (and in traditional tex you'd
then set them global for each shared font
Hi,
with my last ConTeXt ver 2022.01.21 20:31 LMTX (arm64) this work:
\startsetups footnotesetup
\interwordspace 2.75pt % \setuptolerance[NEUNspace] hat hier keine Wirkung!
\interwordstretch 1.7pt
\interwordshrink 0.9pt
\setupinterlinespace[line=11pt, height=.79,depth=.21]
\lineskiplimit
[palatino,9.5pt]\setupinterlinespace[13pt]
\setuppagenumbering [alternative=doublesided,location=]
\setupheader[strut=yes]
\setupheadertexts[text][][\blackrule]
\definepapersize[stw][width=17cm,height=24cm]
\setuppapersize[stw][stw]
\setuplayout
[width=122mm,
backspace=18mm,topspace
;
> \definemeasure[xheight][0.1in]
>
> \definemeasure[base][3\measured{xheight}]
>
> % Since all distances are in terms of base units, specify the paper size
> in those
>
> % terms as well.
>
> \definepapersize[slide][width=26\measured{base},height=20\measured{base}]
>
&g
}]
\setuppapersize[slide]
\setupinterlinespace[line=\measure{base}]
\setuplayout
[
topspace=2\measured{base},
header=\zeropoint,
headerdistance=\zeropoint,
height=middle, % Space for 20-4=16 lines
footerdistance=\zeropoint,
footer=\zeropoint,
bottomspace=2\measured{base},
%
cutspace=2
are in terms of base units, specify the paper size in
those
% terms as well.
\definepapersize[slide][width=26\measured{base},height=20\measured{base}]
\setuppapersize[slide]
\setupinterlinespace[line=\measure{base}]
\setuplayout
[
topspace=2\measured{base},
header=\zeropoint,
headerdistance
red{base},height=20\measured{base}]
\setuppapersize[slide]
\setupinterlinespace[line=\measure{base}]
\setuplayout
[
topspace=2\measured{base},
header=\zeropoint,
headerdistance=\zeropoint,
height=middle, % Space for 20-4=16 lines
footerdistance=\zeropoint,
foote
\measured{xheight},height=60\measured{xheight}]
\setuppapersize[slide]
\setupinterlinespace[line=\measure{base},top=1]
\setuplayout[
leftedge=\zeropoint,
rightedge=\measure{zero},
leftedgedistance=\zeropoint,
rightedgedistance=\zeropoint,
leftmargin=\zeropoint,
rightmargin=\zeropoint
Hi,
the \blackrule (in my real project this is the running title) on page 1 is
about 1mm higher than on page 2.
Why?
Best, Steffen
\setupbodyfont[palatino,9.5pt]\setupinterlinespace[13pt]
\setuppagenumbering [alternative=doublesided,location=]
\setupheader[strut=yes]
\setupheadertexts[text
m] {Page background}
\setlayer [l_text] [x=1cm,y=1cm] {Text background}
\tracingmacros1
\dorecurse{4}{xxx\page}
\tracingmacros0
\stoptext
\showgrid
\starttext
\samplefile{lorem}
\page
\start \setupinterlinespace[2]% 2 lines, also possible: 1.5, 3, ...
\samplefile{lorem}\par
\stop
\page
upindenting[yes]\tfx\setupinterlinespace},
spacebefore=medium,
indentnext=no,
leftmargin=no,
rightmargin=no,
]
\starttext
\subject{asdf}
\dorecurse{5}{
\input knuth
\startblockquote
\input ward
\stopblockquote
\input knuth
\input ward
\subject{asdf}
\input knuth
\startblockquote
\input
enting[yes]\tfx\setupinterlinespace},
spacebefore=medium,
indentnext=no,
leftmargin=no,
rightmargin=no,
]
\starttext
\subject{asdf}
\dorecurse{5}{
\input knuth
\startblockquote
\input ward
\stopblockquote
\input knuth
\input ward
\subject{asdf}
\input knuth
\startblockquote
\
every line.
This is a line of text.
% <-- here is the space between lines
% <-- this space here is as tall as a line of text.
% <-- here is the next space between lines
This is the next visible line of text.
The closest I can get is the "big" setting in `\setupinterlinespace`
ere is the space between lines
% <-- this space here is as tall as a line of text.
% <-- here is the next space between lines
This is the next visible line of text.
The closest I can get is the "big" setting in `\setupinterlinespace`, but it
isn't big enough. I've also tried manual measur
On 1/12/2022 1:09 AM, jbf via ntg-context wrote:
For poetry that has non-regular indentations, I simply
\definelines[poem] and set that up the way I want, obviously, with
\setuplines[poem] e.g. [before={\blank
\setupinterlinespace[line=2.5ex]},after={\blank},indenting=first
For poetry that has non-regular indentations, I simply
\definelines[poem] and set that up the way I want, obviously, with
\setuplines[poem] e.g. [before={\blank
\setupinterlinespace[line=2.5ex]},after={\blank},indenting=first].
And then, but I guess it is still a hack, I use \hskip
On 12/20/2021 12:06 PM, mf via ntg-context wrote:
Il 18/12/21 13:00, Wolfgang Schuster ha scritto:
\definefontfeature [tightlines] [dimensions={*,0,0}]
\starttext
\samplefile{ward}\par
\blank
\start
\setupinterlinespace[line=5pt]
\definedfont[Normal*default,tightlines
Il 18/12/21 13:00, Wolfgang Schuster ha scritto:
\definefontfeature [tightlines] [dimensions={*,0,0}]
\starttext
\samplefile{ward}\par
\blank
\start
\setupinterlinespace[line=5pt]
\definedfont[Normal*default,tightlines]
\samplefile{ward}\par
\stop
\stoptext
Thanks Wolfgang
mf via ntg-context schrieb am 18.12.2021 um 09:47:
Il 17/12/21 20:17, Wolfgang Schuster ha scritto:> \starttext
>
> \samplefile{ward}\par
>
> \blank
>
> \start \setupinterlinespace[line=12pt]
> \samplefile{ward}\par
> \stop
>
> \stoptext
Yes, but you can't
On 12/18/2021 9:47 AM, mf via ntg-context wrote:
Il 17/12/21 20:17, Wolfgang Schuster ha scritto:> \starttext
>
> \samplefile{ward}\par
>
> \blank
>
> \start \setupinterlinespace[line=12pt]
> \samplefile{ward}\par
> \stop
>
> \stoptext
Yes, but you ca
Il 17/12/21 20:17, Wolfgang Schuster ha scritto:> \starttext
>
> \samplefile{ward}\par
>
> \blank
>
> \start \setupinterlinespace[line=12pt]
> \samplefile{ward}\par
> \stop
>
> \stoptext
Yes, but you can't say \setupinterlinespace[line=6pt] and make lines
over
\samplefile{ward}\par
\blank
\start \setupinterlinespace[line=12pt]
\samplefile{ward}\par
\stop
\stoptext
Wolfgang
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg
result for a half-title page,
but I need to reduce the vertical space between 'A JOURNEY' and 'from
the' so that the 'h' of the 'the' is just touching the baseline of
the 'R' in JOURNEY. At the moment there is some distance between them.
I thought I could do this with \setupinterlinespace
there is some distance between them.
I thought I could do this with \setupinterlinespace[] (not represented
in the MWE because it did not work) but no matter what dimensions I put
in there, it makes no difference. Is there another way I can make
infinitesimal adjustments to distance between the two
do this with \setupinterlinespace[] (not represented
in the MWE because it did not work) but no matter what dimensions I put
in there, it makes no difference. Is there another way I can make
infinitesimal adjustments to distance between the two lines in question?
Julian
\startstandardmakeup
\expanded{\writetolist[chapter]{}{#1}}
\startBilingualTitle
\noindentation\setlatin{}\tfd\setupinterlinespace\feature[+][smallcaps]\word{#1}\feature[<]
\nextBilingualTitle
\hfill\nextBilingualTitle
\noindentation\setarabic{}\tfd\setupinterlinespace{#2}
\stopBilingual
er10.otf*arabic at 28pt]
% \definefont[ARABICFONT][file:almfixed.otf*arabic at 28pt]
\disabledirectives[filters.utf.reorder]
\noheaderandfooterlines
\setupwhitespace[big]
% \setupinterlinespace[line=4.2ex]
\starttext
% \startTEXpage[offset=1ex]
\setupdirections[bidi=global,method=one]
\righttoleft
\
]
% \setupinterlinespace[line=4.2ex]
\starttext
% \startTEXpage[offset=1ex]
\setupdirections[bidi=global,method=one]
\righttoleft
\ARABICFONT
خَ % a
خَل
% \stopTEXpage
\stoptext
==
Three bugs:
I. If we use start|stoptex and comment start|stopTeXpage, then both
lines 19 and 21 give
][file:UthmanTN1_Ver10.otf*arabic at 28pt]
% \definefont[ARABICFONT][file:almfixed.otf*arabic at 28pt]
\disabledirectives[filters.utf.reorder]
\noheaderandfooterlines
\setupwhitespace[big]
% \setupinterlinespace[line=4.2ex]
\starttext
% \startTEXpage[offset=1ex]
\setupdirections[bidi=global,method=one
]
%\setupinterlinespace[line=25.5bp]
\tfb
One\crlf
Two
Three
}
\stopTEXpage
%
For some reason \setuplocalinterlinespace[line=25.5bp] seems to affect only the
first paragraph in the group, but not the distance between the two paragraphs.
Using \setupinterlinespace instead
{
\setuplocalinterlinespace[line=25.5bp]
%\setupinterlinespace[line=25.5bp]
\tfb
One\crlf
Two
Three
}
\stopTEXpage
%
For some reason \setuplocalinterlinespace[line=25.5bp] seems to affect
only the first paragraph in the group, but not the distance between
Hi,
I have this MWE:
%
\definebodyfontenvironment
[9bp]
[
normal=9bp,
b=24bp,
]
\setupbodyfont[9bp]
\startTEXpage
{
\setuplocalinterlinespace[line=25.5bp]
%\setupinterlinespace[line
tiesmode\zerocount
\setupinterlinespace[ntop=1]
\showmakeup[penalty]
\placefigure[left]{}{}
\input tufte \par
\egroup
}
\page EMPTY \page
% these shaping parameters will discourage a linebreak within a
% shape; the placement macro checked available space but that
% doesn't m
,small]\setupinterlinespace},
before={\blank[white,small]\startcodebkg}, % a bit of extra space
after={\stopcodebkg},
directory=vimout/, % note: you must create this folder yourself!
]
\starttext
\startvimR
#!/usr/bin/env R
included_aa <- list(
`6d1t` = 2
ollowing MWE, the "preference" and
"penalty" options (apart from "penalty:-1") for the second line break
don't change the total page count or appearance of the final page at all
(which would be expected in a document of this size):
```
\setuplayout[
grid=yes %enable
t; > appreciated.
>
> Most of the stuff was already answered by Pablo. Below is my version how
> to set the layout to fit the requirements.
>
> \definefontfamily
>[garamond]
>[rm]
>[EBGaramond]
>
> \setupbodyfont
>[garamond,12pt]
>
> \definef
d,12pt]
\definefont
[MyPartFont]
[Serif at 24pt]
[line=36pt]
\setuppagenumbering
[alternative=doublesided,
location=]
\setupinterlinespace
[line=18pt]
\definepagebreak
[blankpagebreak]
[yes,header,footer,right]
\definehead
[MyPart]
[part]
\definecharacterkerning
[mypartkerni
title fonts (is any of this redundant, or can it be
consolidated?):
\definefontsynonym [EBGaramond] [name:EBGaramond-Regular] [features=default]
\definefontfamily[garamond] [rm] [EBGaramond] [features={default}]
\setupbodyfont[garamond, 12pt]
\setupinterlinespace[18pt] %text line spacing
\definefont[My
?
\setupinterlinespace [line=2ex]
\startsetups[setups:cover]
\setupinterlinespace [line=6ex]
\stopsetups
\definemakeup
[coverpage]
[pagestate=start]
\setuplayout
[coverpage]
[setups=setups:cover]
\starttext
\startmakeup
[coverpage]
\input lorem
\stopmakeup
% from here I expect
? Or is it better to use something else?
\setupinterlinespace [line=2ex]
\startsetups[setups:cover]
\setupinterlinespace [line=6ex]
\stopsetups
\definemakeup
[coverpage]
[pagestate=start]
\setuplayout
[coverpage]
[setups=setups:cover]
\starttext
\startmakeup
[coverpage
Ok, I've now tried to adapt my real document to this (see below). But I'm
running into some problems:
1. I'm not sure whether to use \setuplocalinterlinespace or
\setupinterlinespace. With \setuphead, \setuplocalinterlinespace works, but it
doesn't work with \framed... But even with \setuphead
I've tried adjusting interlinespacing, but it seems to make no difference :
==
\setupinterlinespace[
height=.72,
depth=.28,
top=2,
%top=0,
%top=5,
%top=1,
bottom
[backspace=176pt,width=194pt]
\setupinterlinespace[line=22pt]
\style[tfa]
\startalignment[hanging,flushleft,nothyphenated]
\placeinitial Ahora, vosotros que amáis, dejadme que os formule una
pregunta: ¿quién sufre más por ello, Arcite o Palamón? ¿El que
ve a su dama diariamente, pero está
works fine as long as it stays within the general layout.
This is the code I'm referring to:
\startmakeup[standard][doublesided=yes]
\setuplayout[backspace=176pt,width=194pt]
\setupinterlinespace[line=22pt]
\style[tfa]
\startalignment[hanging,flushleft,nothyphenated]
\placeinitial Ahora
the general layout.
This is the code I'm referring to:
\startmakeup[standard][doublesided=yes]
\setuplayout[backspace=176pt,width=194pt]
\setupinterlinespace[line=22pt]
\style[tfa]
\startalignment[hanging,flushleft,nothyphenated]
\placeinitial Ahora, vosotros que amáis, dejadme que os formule una
? Thank you in advance.
you can use some old, probaly never really used, mechanism ...
\defineruby[auto] [align=auto,color=darkred]
\defineruby[left] [align=flushleft,color=darkred]
\defineruby[right] [align=flushright,color=darkred]
\defineruby[spread][stretch=yes]
\setupinterlinespace[22pt
?
\setuppapersize[A5][A5]
% Activate this and \testpage stops working
%\setupalign[height]
%\setuptolerance[vertical,stretch]
%\setupinterlinespace[
% stretch=0.001,
% shrink=0.001,
% ]
%
\showframe
\starttext
\section{Section}
\input knuth\par
\input knuth\par
\input knuth
Hi,
I'm still playing/struggling with vertical glue to have pages of a constant
height. The following settings give reasonable results:
=
\setuppapersize[A5][A5]
\setupalign[line]
\setuptolerance[vertical,stretch]
\setupinterlinespace[
stretch=0.001
,
]
% \setupalign[line]
% \setuptolerance[vertical,verytolerant,stretch]
% \setupinterlinespace[stretch=0.01]
\startsetups[mypenalties]
\setdefaultpenalties
\setpenalties\clubpenalties{2}{0}
\setpenalties\widowpenalties{2}{0}
\setpenalties
Ok, after dabbling around a bit more, I can now come up with the following
example
\setuppapersize[A5][A5]
\showframe
\setuptolerance[vertical,stretch]
%\setupalign[line]
%\setupinterlinespace[stretch=0.1] % vertical stretching seems to kick
> -Ursprüngliche Nachricht-
> Von: ntg-context Im Auftrag von Aditya
> Mahajan
> Gesendet: Dienstag, 27. April 2021 05:49
> An: mailing list for ConTeXt users
> Betreff: Re: [NTG-context] Style options and setupinterlinespace
>
> On Mon, 26 Apr 2021, denis
On 4/27/2021 5:49 AM, Aditya Mahajan wrote:
On Mon, 26 Apr 2021, denis.ma...@ub.unibe.ch wrote:
Wikified, as per Aditya's suggestion.
I expanded on the description to make it clearer (hopefully). However, as I was testing,
I realized that the remark about math font sizes ("These quick font
On Mon, 26 Apr 2021, denis.ma...@ub.unibe.ch wrote:
> Wikified, as per Aditya's suggestion.
I expanded on the description to make it clearer (hopefully). However, as I was
testing, I realized that the remark about math font sizes ("These quick font
switches [...] do not change the bodyfont, so
Wikified, as per Aditya's suggestion.
Denis
> -Ursprüngliche Nachricht-
> Von: Maier, Denis Christian (UB)
> Gesendet: Montag, 26. April 2021 22:50
> An: mailing list for ConTeXt users
> Betreff: AW: [NTG-context] Style options and setupinterlinespace
>
> Tha
Betreff: Re: [NTG-context] Style options and setupinterlinespace
>
> Aditya Mahajan schrieb am 26.04.2021 um 18:02:
> >> Von: Maier, Denis Christian (UB)
> >> Gesendet: Donnerstag, 22. April 2021 15:15
> >> An: 'mailing list for ConTeXt users'
> >>
Aditya Mahajan schrieb am 26.04.2021 um 18:02:
Von: Maier, Denis Christian (UB)
Gesendet: Donnerstag, 22. April 2021 15:15
An: 'mailing list for ConTeXt users'
Betreff: Style options and setupinterlinespace
Hi,
the wiki (https://wiki.contextgarden.net/Font_Switching) currently says
style=\tfx» should change
> the interline spacing as well. But it does not seem to be the case as
> the example below shows.
To change interlinespace you need either to use \switchtobodyfont[x] or
\tfx\setupinterlinespace.
In my experience, \tfx doesn’t behave in a
> Von: Maier, Denis Christian (UB)
> Gesendet: Donnerstag, 22. April 2021 15:15
> An: 'mailing list for ConTeXt users'
> Betreff: Style options and setupinterlinespace
>
> Hi,
>
> the wiki (https://wiki.contextgarden.net/Font_Switching) currently says:
>
>
Hi again,
should I change the wiki or is the current behaviour a bug (that will
eventually be corrected)?
Best,
Denis
Von: Maier, Denis Christian (UB)
Gesendet: Donnerstag, 22. April 2021 15:15
An: 'mailing list for ConTeXt users'
Betreff: Style options and setupinterlinespace
Hi,
the wiki
]
[
before={\setupindenting[yes]\tfx\setupinterlinespace},
spacebefore=medium
?
Best,
Denis
\setuppapersize[A5][A5]
\showframe
\setupblank[big,flexible]
\setupinterlinespace[stretch=0.03]
\setuptolerance[vertical,stretch]
\setupalign[height]
\setuphead
[section,subject]
[
before={\blank[2*big,flexible
nedelimitedtext[blockquoteB]
\setupdelimitedtext[blockquoteB]
[
before={\tfx\setupinterlinespace},
spacebefore=medium,
]
[
before={\setupindenting[yes]\tfx\setupinterlinespace},
spacebefore=medium,
indentnext
]
[
style=\tfx,
%style=\tfx\setupinterlinespace, % this breaks grid snapping
spacebefore=halfline
][style=\bfe]
\dostepwiserecurse {10} {2020} {10} {
\title{Here we go #1!}
\start
\glyphxscale#1\relax
\glyphyscale#1\relax
\setupinterlinespace
\samplefile{ward}%
\start
\bf
\samplefile{ward}%
\glyphxscale\numexpr(#
\definescaledfont[bfe][xscale=2000,yscale=6000,style=bf]
\setuphead[chapter][style=\bfe]
\dostepwiserecurse {10} {2020} {10} {
\title{Here we go #1!}
\start
\glyphxscale#1\relax
\glyphyscale#1\relax
\setupinterlinespace
\samplefile{ward}%
\start
\bf
\samplefile
(0,1)
withshadecolors (red, blue) ;
\stopuseMPgraphic
\defineoverlay[MyShade][\useMPgraphic{MyShade}]
\setupbackgrounds[page][background=MyShade]
\startmakeup
\definedfont[SerifBold*default @ 50pt] \setupinterlinespace
\defineeffect[MyOutline][alternative=outer,rulethickness
\glyphscale#1\relax
\setupinterlinespace
\samplefile{ward}%
\bf
\samplefile{ward}
\par
\stop
\page
}
\stopbuffer
\getbuffer
\title{Scaled fonts}
Although \CONTEXT\ is quite efficient with fonts there is always room for
improvement. However, after years of finetuning the font
1 - 100 of 1008 matches
Mail list logo