opitem
> \stopitemize
>
> \samplefile{ward}
> \stoptext
>
> A. Christe
> Le 22 août 2023 à 07:12 +0200, Alexandre Christe ,
> a écrit :
>
> It’s true that \vtop{…} does the job for a single line of items, but it
> doesn’t in the case there’re multiple (\vtop{}
aligns with the bottom.
>
> Here’s a modified MWE
>
> \startitemize[n][style=\bf]
> \item \godown[-\lineheight] \startitemize
> [a,columns,two,packed,broad][stopper=),before={\blank[nowhite]}]
> \item $6(x - \dfrac{5}{12})^2 - \dfrac{1}{24}$
> \item $-3(x - \dfrac{1}{3})^2
Hi,
On Tue, Aug 22, 2023 at 7:16 AM Alexandre Christe
wrote:
>
> It’s true that \vtop{…} does the job for a single line of items, but it
> doesn’t in the case there’re multiple (\vtop{}) aligns with the bottom.
>
> Here’s a modified MWE
>
> \startitemize[n][style=\
It’s true that \vtop{…} does the job for a single line of items, but it doesn’t
in the case there’re multiple (\vtop{}) aligns with the bottom.
Here’s a modified MWE
\startitemize[n][style=\bf]
\item \godown[-\lineheight] \startitemize
[a,columns,two,packed,broad][stopper=),before={\blank
solution to this issue. When
> having mathematics, I'd not like to adjust by hand the factor of \linewidth
> for the \godown command.
>
> Here's a MWE
>
> \starttext
>
> \startitemize[n][style=\bf]
> \item \godown[-\lineheight] \startitemize
> [a,columns,four,packed,
Dear ConTeXt users,
Time goes by but I haven't yet found a nice solution to this issue. When
having mathematics, I'd not like to adjust by hand the factor of \linewidth
for the \godown command.
Here's a MWE
\starttext
\startitemize[n][style=\bf]
\item \godown[-\lineheight] \startitemize
leur15]
\setupcolors
[
textcolor=CouleurPrincipale,
]
\setuphead
[part]
[
style=\bfd,
textcolor=Couleur1,
numbercolor=CouleurContraste1,
bodypartlabel=Part,
placehead=yes,
page=left,
header=high,
align=flushleft,
alternative=middle,
before={\strut\godown[
spread) appear nicely symmetrical.
Currently I'm using \godown[\dimexpr80mm-\pagetotal] (for A5 pages) between
each pair which works nicely in that if the first biography is too long it
overlaps and I know to edit it to be shorter.
However, if the second biography is a little long, it pushes
\starttext
\startitemize[n]
\item\godown[-\lineheight]
\startitemize[a,columns,packed][before={\blank[nowhite]},right=\),stopper=]
\item bla
\item bla
\item bla
\item bla
\stopitemize
\item\godown[-\lineheight]
\startitemize[a,columns,packed][before={\blank[nowhite]},n=3,right
Hi!
In the following example “Lorem ipsum” sits on an otherwise empty
page in LMTX. Output is as expected with MkIV. Has the interface
changed or may it be a bug in LMTX?
\starttext
\null\godown [15.5cm]
\samplefile{knuth}
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod
]
[{\getmarking[chapter]}]
\setupfootertexts
[]
[\pagenumber]
[\pagenumber]
[]
\setupmakeup[standard][top=,bottom=,doublesided=yes]
\setupcounter[userpagenumber][state=stop]
\starttext
\startstandardmakeup[page=yes,doublesided=yes]
\strut
\godown
>>> If I am correct then one should be able to enable the font feature tnum for
>>> the page-numbers with “pagecommand=“.
>>>
>>> I have
>>>
>>> \setuphead
>>> [section]
>>> [aftersection=\page, textstyle=\bfd, numberstyle=\bfd
>>
>> If I am correct then one should be able to enable the font feature tnum for
>> the page-numbers with “pagecommand=“.
>>
>> I have
>>
>> \setuphead
>> [section]
>> [aftersection=\page, textstyle=\bfd, numberstyle=\bfd, align=middle,
>
e=\bfd, align=middle,
after={\godown[-1\lineheight]}, number=no]
\setuplist[section][pagecommand={\addfeature[tnum]#1\subtractfeature[tnum]}]
However if I do this then I get the pagenumber prefixed with ‘section’
e.g.
bbb bar buch bühne section3
What am I doing in the wrong way?
\setuplist[c
Hi,
hm, I am a little puzzled…
If I am correct then one should be able to enable the font feature tnum for the
page-numbers with “pagecommand=“.
I have
\setuphead
[section]
[aftersection=\page, textstyle=\bfd, numberstyle=\bfd, align=middle,
after={\godown[-1\lineheight
][n=2]
\starttext
\title{Two Column Layout with Footnotes Spanning Page}
\startabstract
Footnotes start at the wrong place.
And why is blank[big] ignored after this abstract?
\stopabstract
\godown[1em]
\startcolumnset[TwoColumns]
\section{The first}
This is a test.\footnote{Why do footnotes
only
\writestatus{DEBUG}{--dostartsolution...finished}
}
\def\stopsolution{
\stopSOLUTION
\writestatus{DEBUG}{--dostopsolution...1}
\doif{\examshowsolutions}{no}{\godown[\solutionheight]}
\writestatus{DEBUG}{--dostopsolution...finished}
}
\starttext
\def\examshowsolutions{no} % control whether
Hi Jarda and all,
I tested it on my computer using CTX from TL 2010 and 2013 and I have got
the same result in both cases. It seems that the content of the option before
is completely ignored. I tested another values for this option
(\page,\vskip,\godown...), no result.
The only one way which
,
I tested it on my computer using CTX from TL 2010 and 2013 and I have got
the same result in both cases. It seems that the content of the option before
is completely ignored. I tested another values for this option
(\page,\vskip,\godown...), no result.
The only one way which works is the manual
on the upper-right-corner
graphic. So, I'm looking for a way to protect the graphic, or to force
the Abstract to start a minimum distance from the top of the page.
The Abstract can be forced down the page if necessary by manually
inserting a \godown[] command before it, but I would prefer
for a way to protect the graphic, or to force
the Abstract to start a minimum distance from the top of the page.
The Abstract can be forced down the page if necessary by manually
inserting a \godown[] command before it, but I would prefer a
programmatic solution.
Floating the graphic and wrapping text
that it encroaches on the upper-right-corner
graphic. So, I'm looking for a way to protect the graphic, or to force
the Abstract to start a minimum distance from the top of the page.
The Abstract can be forced down the page if necessary by manually
inserting a \godown[] command before it, but I would
the page if necessary by manually
inserting a \godown[] command before it, but I would prefer a
programmatic solution.
Floating the graphic and wrapping text around it does not seem like a
good option, because I want to ensure that its position is absolute
and it never moves. Also, the Abstract
the result you
desire... Not knowing wether this is better I use sometimes \godown[dimension]
2. Looking at the output it is not centered exactly and a little bit to
the left. Why is this the default? Does anyone know? Looking at the
manual [2] in chapter page design (p. 29, screen version
\godown[dimension]
2. Looking at the output it is not centered exactly and a little bit to
the left. Why is this the default? Does anyone know? Looking at the
manual [2] in chapter page design (p. 29, screen version) this seems to
be the backspace value. Is there an easy way to center
Am 21.10.2011 um 21:01 schrieb Willi Egger:
Thank you Wolfgang.
I do not remember but there was a time where \godown would not work without
the strut. So I have mistaken this.
The makeup environments put the content in a \vbox and at the begin of a \vbox
a vertical skip isn’t discarded
Thank you Wolfgang.
I do not remember but there was a time where \godown would not work without the
strut. So I have mistaken this. And indeed the result is ok whithout the start-
stoplines.
Thanks!
Willi
On 20 Oct 2011, at 15:42, Wolfgang Schuster wrote:
Am 19.10.2011 um 22:03 schrieb
with inserting an empty line.
Add \vfill before \stopstandardmakeup.
\setupmakeup[standard][top=,bottom=]
\setuplines[before=,after=]
\starttext
\startstandardmakeup[doublesided=no,page=yes]
\strut
\godown[.25\textheight]
\startalignment[middle]
\startlines
=,bottom=]
\setuplines[before=,after=]
\starttext
\startstandardmakeup[doublesided=no,page=yes]
\strut
\godown[.25\textheight]
\startalignment[middle]
\startlines
{\bfd Der Titel}
\blank[line
on blank pages
\def\ChapterTitle#1#2{
\centerline{\switchtobodyfont[ChapterStart,18pt]{\ss\bf #2}}
\godown[.5in]}
\setuphead[chapter]
[command= \ChapterTitle,textstyle=bold,header=empty,footer=empty,
page=mychapterpagebreak,
numbercommand={\switchtobodyfont[big]{\ss\sl}}]
\definestartstop
,right] %eliminates headers
on blank pages
You change the style of the number but suppress it in the output,
i guess there is some reason for this and i don't understand it.
\def\ChapterTitle#1#2{
\centerline{\switchtobodyfont[ChapterStart,18pt]{\ss\bf #2}}
\godown[.5in]}
\setuphead
the style of the number but suppress it in the output,
i guess there is some reason for this and i don't understand it.
\def\ChapterTitle#1#2{
\centerline{\switchtobodyfont[ChapterStart,18pt]{\ss\bf #2}}
\godown[.5in]}
\setuphead[chapter]
[command= \ChapterTitle,textstyle=bold,header
\Myheader#1#2{
\setupfloats[offset=none,margin=0 in]
\startfiguretext
[left]
[fig:graphic]
{none}
{\externalfigure[graphic][frame=off]}
{\switchtobodyfont[26pt] {\ss\bf\sl #1}}
\godown[.5in]
{\ss\bf #2}
\stopfiguretext}
Tom Benjey
717-258-9733 voice
717-243-0074
they are supposed to be. Any ideas?
\def\Myheader#1#2{
\setupfloats[offset=none,margin=0 in]
\startfiguretext
[left]
[fig:graphic]
{none}
{\externalfigure[graphic][frame=off]}
{\switchtobodyfont[26pt] {\ss\bf\sl #1}}
\godown[.5in]
{\ss\bf #2}
\stopfiguretext
}
\framedtext[settings]
\from[reference]
\getbuffer[name]
# \getfiguredimensionsonly
# \getmarking[name][options]
# \getvalue
# \getvariable
# \globalletvalue
\godown[dimension]
\goto{text}{text}[references]
\gotobox{text}[references]
\graycolor[text]
\grid[options]
# \gsaveXMLasdata
\hairline
\head
I find a get a lot of whitespace around my defined descriptions.
Setting
\setupdescriptions[\c!before=,\c!inbetween=,\c!after=]
does not much help.
Is there something else that can be done. Preferably without
resorting to wild guesses like before=\godown[-10pt] or the like
. I also can't seem to find
a way to draw a fine double line: \hline \hline \\[-8pt]
\HL \MR \HL skips a whole line and godown[] doesn't seem to work in table
context.
Thanks for any suggestions.
pgpEkcGavP9NR.pgp
Description: PGP signature
to one another I tried
\setupthinrules[height=2pt,depth=0pt,interlinespace=medium]
\thinrule\godown[1pt]\thinrule
But the natural height of the lines then interfers. Setting \godown
[negative amount] will work, of course, but seems unnatural to me.
At least I feel it condems me
having to adjust for little gaps with:
\godown[-0.029\bodyfontsize]
Does this ring a bell with anyone?
The last time I had problems with minute offsets, it was Acrobat's
fault. Do you also have problems in DVI mode?
Taco
___
ntg-context mailing list
Hans Hagen wrote:
Adam Lindsay wrote:
having to adjust for little gaps with:
\godown[-0.029\bodyfontsize]
Does this ring a bell with anyone? I would have thought \godown[0pt]
was the answer, but not so, here. The font metrics seem to be right,
adding up to 1000 in both directions
in the metafun
manual.
Have a good weekend
Willi
Jessica Holle wrote:
Yes this works. Thx,
But I've testet it with godown=0pt
When I say this is to much distance between the kastens and
comment \godown=0pt out there is the same strange thing.
When I comment it on all my pages out there is a bigger
Jessica Holle wrote:
Yes this works. Thx,
But I've testet it with godown=0pt
When I say this is to much distance between the kastens and
comment \godown=0pt out there is the same strange thing.
When I comment it on all my pages out there is a bigger distance
between the first and second kasten
\definestartstop[extract][
before={\godown[0.10pc]
\indenting[next]
\setupnarrower[left=1.5pc,right=1.5pc]
\startnarrower[left,right]},
after={\stopnarrower
\godown[0.25pc]
\indenting[yes]}]
\starttext
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Morbi
]
\setupfootnotes[indenting=yes]
\setupfootnotes[interaction=yes]
\setupnotedefinition[footnote][indenting={big,yes}]
% Extract setup
\definestartstop[extract][
before={\godown[0.10pc]
\blank[0.25pc,force] % 0.10pc is not enough
\indenting[next
Hi Alan,
I tried your code. I made the extract to be typeset in red.- Indeed a
poor spacing.
I withdrew the \godown[0.10pc]. The result looked fine to me. Then I
replaced the \godown by \blank[halfline], the result was again o.k.
Finally the \godown[0.10pc] was replaced with \godown[12pt
the amount of
thinking an coder has to do, and so would really like to define the
startextract..\stopextract environment more effectively.
don't use \godown, use \blank since it is more clever in accumulating
cq. handling vertical spaces; also,
\defineblank[footnotedistance][.1pc
Willi Egger wrote:
Hi Alan,
I tried your code. I made the extract to be typeset in red.- Indeed a
poor spacing.
I withdrew the \godown[0.10pc]. The result looked fine to me. Then I
replaced the \godown by \blank[halfline], the result was again o.k.
Finally the \godown[0.10pc] was replaced
, use
the overlay as a background and nice I have my menu.
But then I make a small space with \godown and now the framed
section goes down and up from page to page.
This phenomenon is only when I do the link (\goto) on the whole
framed. When I put the link on the text there is no problem.
Hope aou
with this as the
background.
Then I defined a framed box with the same values as the graphic, use
the overlay as a background and nice I have my menu.
But then I make a small space with \godown and now the framed
section goes down and up from page to page.
This phenomenon is only when I do the link
Yes this works. Thx,
But I've testet it with godown=0pt
When I say this is to much distance between the kastens and
comment \godown=0pt out there is the same strange thing.
When I comment it on all my pages out there is a bigger distance
between the first and second kasten.
Why?
Why only
for me. \godown doesnt work
either. Half of a line in space would be great. I tried that with
starttable too, but the \HL command in tabulate works better. The text
is aligned directly under the ends of the line. So i use tabulate. And
the other problem is, crlf only works if tab is set to |p
it with \crlf, but this is too much for me. \godown doesnt work
either. Half of a line in space would be great. I tried that with
starttable too, but the \HL command in tabulate works better. The text
is aligned directly under the ends of the line. So i use tabulate. And
the other problem is, crlf only
Hello Hans,
it's better, but not the space value i want. To see the difference:
\starttext
\starttabulate[|l|p|]
\NC Some Text \NC Other Text \NC\NR\HL
\NC Some Text \NC Other Text \NC\NR
\TB
\NC Some Text \NC Other Text \NC\NR
\NC Some Text \NC Other Text \NC\NR
\stoptabulate
\godown[3cm
\stoptabulate
\godown[3cm]
\starttable[|l|p|]
\NC Some Text \NC Other Text \NC\FR\HL
\NC Some Text \NC Other Text \NC\SR
\NC Some Text \NC Other Text \NC\SR
\NC Some Text \NC Other Text \NC
\stoptable
\stoptext
The best look gives \SR or \MR, but as you see, the table doesn't
start at left side
the problems that the ConTeXt manual warns about if we use
\vskip?
maybe (a patched version of \godown):
\def\godown[#1]%
{\ifhmode\endgraf\fi
\ifvmode\nointerlineskip\vskip#1\relax}
test
\godown[10cm]
test
is \vspace accumulating?
Hans
{\setupbodyfont[18pt]\setupinterlinespace[height=0,depth=0]Chapter}%
\framed{\setupbodyfont[36pt]\setupinterlinespace[height=.1,depth=0]#1}%
\godown[-1ex]\framed{\setupbodyfont[24pt]\setupinterlinespace[line=2ex]#2\par}%
}}
\setuphead
[chapter]
[command=\mychapter,textcommand=\chaptercase,
textstyle=\sl
Hans wrote:
quick and dirty:
\setuphead[chapter][before=\vbox to 10cm\bgroup,after=\vss\egroup]
\starttext
\chapter{test} \input tufte
\chapter{test\endgraf test} \input tufte
\stoptext
there are other solutions (synchronizing stuff) but that's more complex
Great! This solution worked for me. I
line after it should
always start at the same vertical point.
Something like
--
\chapter{Chapter title}
\godown[to=15pc]
Start of the text of the chapter...
--
would be ideal, but of course \godown starts from the current point and
doesn't offer a to= option! I'm not sure that layers
the title takes up, the first line after it should
always start at the same vertical point.
Something like
--
\chapter{Chapter title}
\godown[to=15pc]
Start of the text of the chapter...
quick and dirty:
\setuphead[chapter][before=\vbox to 10cm\bgroup,after=\vss\egroup]
\starttext
\chapter{test
59 matches
Mail list logo