Use indentnext=yes on setupfloats: https://wiki.contextgarden.net/Command/setupfloat
Joel via ntg-context hat am 13.05.2025 03:39 CEST geschrieben:
\starttext
\setupindenting[yes, big, always
On 2/13/2025 12:11 PM, mf wrote:
Hello,
I want to set to space between a figure (float) and the main text.
I thought this worked:
\setupfloat[figure][spaceafter=2cm]
but it does not, while this:
\setupfloat[spaceafter=2cm]
works, but -- I suppose -- it does effect every float, not just
Hello,
I want to set to space between a figure (float) and the main text.
I thought this worked:
\setupfloat[figure][spaceafter=2cm]
but it does not, while this:
\setupfloat[spaceafter=2cm]
works, but -- I suppose -- it does effect every float, not just figures.
Here's a MWE to te
for any hint.
Tomáš
%%%
% Tested with TL2024 and with current LMTX
\setupindenting[yes,2em]
%\setupfloat[figure][indentnext=yes]
\setupfloat[indentnext=yes]
\starttext
\input knuth
%\startplacefigure[location=here] %OK
\startplacefigure[location=page] %does not indent
\framed{An ima
,
]
\setuppagenumbering[alternative=doublesided]
\definemargindata[margincaption][inner][
margin=margin,
%width=\innermarginwidth,
align=flushleft,
stack=yes,
voffset=-.5em,
]
\setupmarginframed[inmargin][
align={flushleft,low},
]
\definefloat[rightfigure][figure]
\setupfloat[rightfigure][
default
use \startmyfigure etc
\setupfloat[myfigure][
counter=figure,
]
Hraban
___
If your question is of interest to others as well, please add an entry
to the Wiki!
maillist : ntg-context@ntg.nl /
https
Henning Hraban Ramm schrieb am 31.07.2024 um 20:43:
Hi, I defined new float types for special figure/caption placement,
but would like to use the general figure counter. I didn’t find a
setup for that. How can I do this?
pseudocode:
\setupfloat[myfigure][
counter=figure,
]
\useMPlibrary
Hi, I defined new float types for special figure/caption placement, but
would like to use the general figure counter. I didn’t find a setup for
that. How can I do this?
pseudocode:
\setupfloat[myfigure][
counter=figure,
]
Hraban
urba...@ca.rr.com schrieb am 28.04.2024 um 19:54:
I swear I used to understand this stuff. I plead old age. Why do I
get two different results from the float placements here:
\definefloat[mysidebar][mysidebars]
\setupfloat[mysidebar][leftmargindistance=-.25in,rightmargindistance=-.25in
I don't think that 'sidebar' has much to do with it. The part that is
not working as expected is the 'mysidebar', which is not getting the
'outer' location, nor the 'none' captioning that I get with
placefloat.
setupfloat[mysidebar][leftmargindistance
4 um 19:54 schrieb urba...@ca.rr.com:
I swear I used to understand this stuff. I plead old age. Why do I
get two different results from the float placements here:
\definefloat[mysidebar][mysidebars]
\setupfloat[mysidebar][leftmargindistance=-.25in,rightmargindistance=-.25in,outer,none]
\define
I swear I used to understand this stuff. I plead old age. Why do I get
two different results from the float placements here:
definefloat[mysidebar][mysidebars]
setupfloat[mysidebar][leftmargindistance=-.25in,rightmargindistance=-.25in,outer,none]
defineframedtext [sidebartext]
[width=.4textwidth
Denis
%%%
\setupexternalfigures
[location={local,global,default}]
\setupfloats[compress=no]
\setupfloat[figure][default=top]
\starttext
\input knuth
\placefigure{Cow 1}{\externalfigure[cow][
width=.5\textwidth,
]}
\placefigure{Cow 2}{\externalfigur
Meyer:
how can I suppress a blank line between a text paragraph and
\placefigure?
I get one there, but I don't want it.
Did you try
\setupfloat[figure][spacebefore=,]
?
or "none" or "{disable,nowhite,back}"
You can set the space only for *all* floats, e.g.
Henning Hraban Ramm schrieb am 06.04.2024 um 12:56:
Am 06.04.24 um 12:48 schrieb Thomas Meyer:
how can I suppress a blank line between a text paragraph and
\placefigure?
I get one there, but I don't want it.
Did you try
\setupfloat[figure][spacebefore=,]
?
or "none" or "{
Am 06.04.24 um 12:48 schrieb Thomas Meyer:
how can I suppress a blank line between a text paragraph and \placefigure?
I get one there, but I don't want it.
Did you try
\setupfloat[figure][spacebefore=,]
?
or "none" or "{disable,nowhite,back}"
https://wiki.contextgard
similar
effect as \starttextdisplay.
\usemodule[visual]
\setupfloat[figure][location=left]
\starttext
\fakewords{10}{20}
\startlinecorrection
\fakeimage{4cm}{3cm}{6cm}{4cm}
\stoplinecorrection
\fakewords{10}{20}
\blank[2*line]
\fakewords{10}{20}
\startplacefigure[location={force,none}]
\fakeimage
[visual]
\setupfloat[figure][location=left]
\starttext
\fakewords{10}{20}
\startlinecorrection
\fakeimage{4cm}{3cm}{6cm}{4cm}
\stoplinecorrection
\fakewords{10}{20}
\blank[2*line]
\fakewords{10}{20}
\startplacefigure[location={force,none}]
\fakeimage{4cm}{3cm}{6cm}{4cm}
\stopplacefigure
\fakewords
is Mikael because I saw the command the first time in the
source of a presentation from him.
Oh, that’s probably where I saw it, too.
Here is a short example which two other solution to get a similar effect
as \starttextdisplay.
\usemodule[visual]
\setupfloat[figure][location=left
ner}{\flushnextbox}%
\else
\flushnextbox
\fi}
\hbox}
\setupfloat[table][command=\FloatTableALignment]
\setupfloat[figure][default=rightmargin]
\starttext
\inright{Lorem ipsum \unknown}\samplefile{lorem}
\startplacefigure
\externalfigure[dummy][width=\rightmarginwi
the edge. If I don’t, I can’t get it to move to the
left edge of the image.
How can I do that?
Hraban
"""
\useMPlibrary[dum]
\setuplayout[
backspace=5cm,
width=12cm,
]
\definefloat[marginfigure]
\setupfloat[marginfigure][
leftmargindistance=-\leftmargintotal,
righ
enerally work okay. If you're using columns, weird stuff can
sometimes happen with top/bottom floats, but you should still be able to
make them work. You can also try adding
\setupfloat[ntop=100]
at the start of you're document. I've had that fix an otherwise-
unexplainable
]
% \showframe
\definefloat
[marginfigure]
[figure]
\setupfloat
[marginfigure]
[outermargindistance=-\outermargintotal,
default={outermargin,height,high,low,none}]
\starttext
\startstaticMPfigure{square}
draw fullsquare scaled 3cm;
\stopstaticMPfigure
\startitemize
\placemarginfigure
]
\setuplayout
[header=0pt,
margin=4cm,
footerdistance=.5cm,
topspace=1cm,
backspace=1cm,
cutspace=2cm,
width=fit,
height=\dimexpr
\paperheight-\topspace+\footerheight+\footerdistance-4cm\relax]
% \showframe
\definefloat
[marginfigure]
[figure]
\setupfloat
[marginfigure
gt; >
>>>>> > Replace \showframe with \showgrid and you will see that there might
>>>>> be
>>>>> > not enough space to fit the image in the first page.
>>>>> >
>>>>> > Add "bottomspace=7.25
lfigure[dum]}
> \dorecurse{5}{\input ward} %% extra
> \stoptext
>
> and the extra text shows how much space the image requires. Holding a
> ruler up to the screen you can see that it won't fit.
>
> The problem seems to be that the image is reserving space for a
text
and the extra text shows how much space the image requires. Holding a ruler up
to the screen you can see that it won't fit.
The problem seems to be that the image is reserving space for a caption even
though there isn't a caption. A work-around is to change \setupfloat to the
fo
]
\setupfloat
[recipe]
[default={right,none}]
\showframe
\starttext
\dorecurse{11}{\input ward}
\placerecipe{}{\externalfigure[dum]}
\stoptext
___
If your question is of interest to others as well, please add an
Thanks Duncan!
Alain
Le 28/04/2022 à 13:05, Duncan
Hothersall a écrit :
You should be able to change the space above and
below a float with the spacebefore and spaceafter keys to
\setupfloat. I think the default
You should be able to change the space above and below a float with the
spacebefore and spaceafter keys to \setupfloat. I think the default value
is big for each, but you can override that with null. Something like
\setupfloat[figure][spacebefore=,spaceafter=]
Hope that helps.
Duncan
On Thu
n\LeftMarginSize
> \LeftMarginSize=\dimexpr \backspace + \rightmarginwidth +
> \rightmargindistance \relax
> \newdimen\TextAreaSize
> \TextAreaSize=\dimexpr \textwidth + \rightmarginwidth + \rightmargindistance
> \relax
> \definefloat[marginfigure][marginfigures][figure]
> \
\relax
\newdimen\TextAreaSize
\TextAreaSize=\dimexpr \textwidth + \rightmarginwidth + \rightmargindistance
\relax
\definefloat[marginfigure][marginfigures][figure]
\setupfloat[marginfigure][location=inner,default=top,width=\TextAreaSize]
\setupcaptions[marginfigure][
leftmargin=\dimexpr \LeftMar
aph. A
fix
is to use \indentation after \stopplacefigure.
\setupfloat[figure][indentnext=yes]
\starttext
%\setupbodyfont[11pt]
\setupindenting[yes, medium]
\input ward
\endgraf
\startplacefigure[title=A Figure,location={page,auto}]
\startframedtext \input wa
As always, it is hard to tell whether this is my stupidity, the wrong version
of ConText, or a bug.
\setupfloat[figure][indentnext=yes]
\starttext
%\setupbodyfont[11pt]
\setupindenting[yes, medium]
\input ward
\startplacefigure[title=A Figure,location=page]
\startframedtext \input ward.tex
On Fri, 10 Dec 2021 17:01:26 +0100
Hans Hagen wrote:
> no example code
The MWE was included in the OP on 2021-10-30. But here it is again:
\setupfloat [figure]
[default=bottom] %% fails
%% [default=top] %% works
\definefloat
[foo] [foos]
[figure]
\starttext
\startplacefig
| fatal error: return code: 256
\setupfloat [figure]
[default=bottom] %% fails
%% [default=top] %% works
\definefloat
[foo] [foos]
[figure]
\starttext
\startplacefigure [title=Foo]
\framed{Foo}
\stopplacefigure
\startplacefoo [title=Bar]
\framed{Bar}
\stopplacefoo
\stopte
T. Kurt Bond schrieb am 17.07.2021 um 08:38:
I have the following file:
\setupfloat[table][default=nonumber]
\starttext
\section[title={Tables without force}]
Here is a table without a caption, unforced.
\startplacetable[location=none]
\bTABLE
\bTR\bTD r1c1
On 7/17/21 8:38 AM, T. Kurt Bond wrote:
> I have the following file:
>
> \setupfloat[table][default=nonumber]
>
> \starttext
> \startplacetable[title={Table With A Caption},location=force]
> \bTABLE
> \bTR\bTD r2c1 \eTD\bTD r2c2\eTD\eTR
> \e
nehighlight[emph][style={\em}]
> \definehighlight[strong][style={\bf}]
>
> \setupfloat[table][default={here}]
>
> \definereferenceformat[figura][text={Figura~}]
> \definereferenceformat[tabla][text={Tabla~}]
>
> \setupcaptions[style={\sans\small},
> width=max
MWE (sorry for the long table, I hadn't anything else at hand):
\definehighlight[emph][style={\em}]
\definehighlight[strong][style={\bf}]
\setupfloat[table][default={here}]
\definereferenceformat[figura][text={Figura~}]
\definereferenceformat[tabla][text={
> > \startMPcode
> > > draw fullcircle scaled 1cm;
> > > \stopMPcode
> > > }
> > >
> > > \dorecurse{50}{d e f } % not indented
> > >
> > > \dorecurse{50}{g h i }
> > > \stoptext
> >
> \dorecurse{50}{d e f } % not indented
> >
> > \dorecurse{50}{g h i }
> > \stoptext
> >
>
> The second bracket group of \placefigure is for references.
> Instead of
>
> \placefigure[here,none][indentnext=yes]{}{...
>
> write
>
>
t; > \dorecurse{50}{d e f } % not indented
> >
> > \dorecurse{50}{g h i }
> > \stoptext
> >
>
> The second bracket group of \placefigure is for references.
> Instead of
>
> \placefigure[here,none][indentnext=yes]{}{...
>
> write
>
> \set
\setupfloat[figure][indentnext=yes]
\placefigure[here,none]{}{...
That way you enable indentation after every figure.
Massi
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist
_maitriser-lempreinte-carbone-de-la-france-1.pdf
Please, what would be a preferred way ?
- overlay ?
- overlay and layer ?
- \setuphead with before/after ?
- \setupfloat[bleedfigure] and \placebleedfigure{}{\blackrule}
I try to describe the specification here :
1. doublesided docume
wp-content/uploads/2020/10/hcc_rapport_maitriser-lempreinte-carbone-de-la-france-1.pdf
Please, what would be a preferred way ?
overlay ?
\setuphead with before/after ?
\setupfloat[bleedfigure] and \placebleedfigure{}{\blackrule}
I try t
• Place a figure as full-page figure
> • Change orientation accordingly (if it's a landscape PDF, for instance)
> • Make that using \setupfloat (or other setup), not directly in
> \placefloat
> • Place captions in another page (ideally on opposite page)
>
nce)
3. Make that using \setupfloat (or other setup), not directly in
\placefloat
4. Place captions in another page (ideally on opposite page)
Problems:
- I can't get # 1 and # 3 at same time
- \setupfloat doesn't have before option, which I could use to change
orientat
tance=0.375in,
> width=4.125in,
> ]
>
> \showframe
>
> \definecolor [transparentred] [r=1,t=.5,a=1]
>
> \definefloat[topfigure][topfigures][figure]
>
> \setupfloat[topfigure][
> default={margin},
> location=flushleft,
> maxwidth=6.5in,
> ]
>
> \setup
[topfigure][topfigures][figure]
\setupfloat[topfigure][
default={margin},
location=flushleft,
maxwidth=6.5in,
]
\setupcaption[topfigure][
number=no,
location=bottom,
style={\switchtobodyfont[8bp]},
]
\starttext
\dorecurse{4}{\samplefile{knuth}}
\startplacetopfigure[title={\samplefile{ward
t the
bottom of the page? I hope what I ask makes sense.
/Mikael
\useMPlibrary[dum]
\definefloat[bottomfigure][bottomfigures][figure]
\setupfloat[bottomfigure][default=bottom]
\starttext
\dorecurse{4}{\samplefile{knuth}}
\startplacebottomfigure
\externalfigure[dummy][width=\text
pted the more advanced features/coding. ??
>
> >
> I spent *days* trying to figure out how to add more whitespace
> around a floated graphic (the default is too cramped in my opinion). I
> finally just
> threw up my hands and decided that no one else has this opinion
the jargon. I probably mainly think in terms of HTML/CSS lingo and
> then MS Word. When I hunt through the wiki or the manuals or Google for
> solutions, I naturally use the terms I know. But it seems that the things
> I've wanted are referred to differently in ConTeXt. I spent *days
\hbox{{\externalfigure[#2][#3]}}
\advance\myht by -\wd0
\myht=.5\myht
\myxx=\myht
\divide\myxx by \lineheight
\mysp=\myxx
\advance\mysp by 1
\setupfloat[figpage][toffset=\myht]
\setupcaption[figpage][spaceafter=\the\mysp*big]
\startplacefigpage[location={here},title=#1]
{\externalfigu
e floats in the header or footer, they serve no purpose
and you can include images without it. Below is a solution
with nested frames but you can also use a table to create
the header layout.
However, replacing the figure in the page header by a normal text
suddenly solves the problem: puttin
header by a normal text
suddenly solves the problem: putting "split" in the setupfloat and
"header=repeat" in the setupxtable gives me a table with repeated
headers that starts exactly where I want it to start. Apparently in this
case, the "headers=repeat" is necessary
align=middle,
frame=off]
{\tfx \crlf Annex T.2.3. \crlf \tfx Date of issue: \crlf \currentdate
\crlf page \pagenumber of \lastpage}
}
}]
%\setupfloat[table][default={force,split}]
\setupxtable[offset=0cm,
frame=off,
bottomframe=on,
framecolor=gray,
option=stretch,
split=yes,
header=repeat,
#2{\math{\left[#1\nonscript\,;#2\right]}}
\unexpanded\def\point#1#2#3{\math{#1\left(#2\,;#3\right)}}
\switchtobodyfont[pagella,11pt]
\definefloat
[recipe]
[figure]
\setupfloat
[recipe]
[default={right,nonumber}]
\setuppagenumbering
[alternative=,
location
side, but it does not work.
> Thanks for your help.
> Fabrice
>
> \usemodule[tikz]
> \usetikzlibrary[trees]
>
> \definefloat
> [recipe]
> [figure]
>
> \setupfloat
> [recipe]
> [default={right,nonumber}]
> \starttext
> \startframed
Hello,
I want to use a text frame to put text and a probability tree side by side,
but it does not work.
Thanks for your help.
Fabrice
\usemodule[tikz]
\usetikzlibrary[trees]
\definefloat
[recipe]
[figure]
\setupfloat
[recipe]
[default={right,nonumber}]
\starttext
i!
> >>>
> >>> Some images run into each other when using floats. The following
> >>> example illustrates this. The second image (or frame) runs into
> >>> the side figure frame. How to prevent this?
> >>>
> >>> \setu
figure frame. How to prevent this?
\setupfloat [figure] [default=left]
\starttext
\samplefile{knuth}
\startplacefigure [title=Foo]
\framed [width=5cm, height=5cm]{}
\stopplacefigure
\samplefile{ward} \blank
Add:
\dontleavehmode
Thanks for the nudge in the right direction.
Is
> > side figure frame. How to prevent this?
> >
> > \setupfloat [figure] [default=left]
> >
> > \starttext
> > \samplefile{knuth}
> >
> > \startplacefigure [title=Foo]
> >\framed [width=5cm, height=5cm]{}
> > \stopplacefigure
> >
Aditya Mahajan schrieb am 30.10.2019 um 16:55:
On Wed, 30 Oct 2019, Marco Patzer wrote:
Hi!
Some images run into each other when using floats. The following
example illustrates this. The second image (or frame) runs into the
side figure frame. How to prevent this?
\setupfloat [figure
On Wed, 30 Oct 2019, Marco Patzer wrote:
Hi!
Some images run into each other when using floats. The following
example illustrates this. The second image (or frame) runs into the
side figure frame. How to prevent this?
\setupfloat [figure] [default=left]
\starttext
\samplefile{knuth
Hi!
Some images run into each other when using floats. The following
example illustrates this. The second image (or frame) runs into the
side figure frame. How to prevent this?
\setupfloat [figure] [default=left]
\starttext
\samplefile{knuth}
\startplacefigure [title=Foo]
\framed
you can only set it for *all* floats.
\definefloat [poem]
% \setupfloat
% [sidespacebefore=medium]
\setupfloat
[poem]
[background=color,
backgroundcolor=cyan]
\setupcaption
[poem]
[number=none]
\starttext
\dorecurse{2}{\samplefile{knuth}}
\startplacefloat [poem] [location=left
ught I don’t need to define or setup my
>> own float.
>>
>> \setupfloat inherits from \setupframed, but the parameters width, style and
>> background(color) don’t work.
>> Aren’t they supposed to work in \startplacefloat?
>>
>> How can I suppress the c
Henning Hraban Ramm schrieb am 25.09.2019 um 19:35:
Hi, I’d like to have a small poem beside my text.
My approach doesn’t work, with or without \framed:
Since I need this only once, I thought I don’t need to define or setup my own
float.
\setupfloat inherits from \setupframed, but the
Hi, I’d like to have a small poem beside my text.
My approach doesn’t work, with or without \framed:
Since I need this only once, I thought I don’t need to define or setup my own
float.
\setupfloat inherits from \setupframed, but the parameters width, style and
background(color) don’t work
ith the imposition
> > mechanism but a separate document is easier)."
> >
> Step 1:
>
> Create a document with a very big left margin where you can place all
> floats.
>
> \setuppapersize
>[A3,landscape]
>
> \setuplayout
>[backspace=23.5cm,
>
ut a separate document is easier)."
Step 1:
Create a document with a very big left margin where you can place all
floats.
\setuppapersize
[A3,landscape]
\setuplayout
[backspace=23.5cm,
width=15cm,edge=14cm]
\showframe
\setupfloat
[default=leftedge,
minwidth=
I have been working with MetaPost as following, which worked fine with one
startMPcode section with variables, but with 2 startMPcode Metapost
sections, it keeps telling me the numbers dont add up:
\definefloat [floatright][figure]
\setupfloat [floatright][default={right,none
Brilliant! Thanks Taco.
On Mon, 22 Jul 2019 at 16:32, Taco Hoekwater wrote:
> Hi,
>
> \setupfloat[thematicimage]
> [freeregion=no]
>
> But I do not know what that actually means.
> I just noticed that it makes the white background box not be white
Hi,
\setupfloat[thematicimage]
[freeregion=no]
But I do not know what that actually means.
I just noticed that it makes the white background box not be white any more.
Taco
> On 22 Jul 2019, at 16:39, Duncan Hothersall wrote:
>
> Hi all.
>
> Have been experimentin
Background]
[background=color,
backgroundcolor=cyan,
frame=off,
leftoffset=1em,
rightoffset=1em,
topoffset=1em,
bottomoffset=1em,
location=paragraph]
\definefloat[thematicimage][figure]
\setupfloat[thematicimage]
[default=right,none},
Got it.
\setupfloat[table][default={here,split}]
See: https://wiki.contextgarden.net/Command/setupfloat#Example
On Wed, Jul 10, 2019 at 7:32 PM Thangalin wrote:
>
> Sorry! The subject line should be, "Split extreme tables across pages"...
>
> > This does the job, but
\definepapersize
[911]
[width=9in,
height=11in]
\setuppapersize
[911]
\setuplayout
[backspace=1in%
,leftmargin=.5in%
,leftmargindistance=0.25in%
,width=5.5in%
,rightmargindistance=0.25in%
,rightmargin=2in%
]
\definefloat
[edgefigure]
[figure]
\setupfloat
[edgefigure]
[rightmargindistance=-\oute
Fabrice Couvreur schrieb am 24.04.2019 um 19:44:
Hi,
Why does bold text touch the figure ?
Thank you.
Fabrice
\definefloat
[recipe]
[figure]
\setupfloat
[recipe]
[default={right,none}]
\starttext
\placerecipe{}{
\setupbodyfont[8pt,pagella]
\startMPcode
path p, q
Hi,
Why does bold text touch the figure ?
Thank you.
Fabrice
\definefloat
[recipe]
[figure]
\setupfloat
[recipe]
[default={right,none}]
\starttext
\placerecipe{}{
\setupbodyfont[8pt,pagella]
\startMPcode
path p, q ;
p:= unitsquare xyscaled (1.5cm
makes
nothing. What am I doing wrong?
Best wishes,
Tomáš
%%%
\setuplayout[grid=yes]
\starttext
\def\myfig#1#2#3#4{
\startplacefigure[location={right,none}]
\setupfloat[roffset=0cc] % leftmargindistance=2cm
\startfloatcombination[1*1]
\setupfloatcaption[align=middle
On Wed, 19 Dec 2018 18:29:33 +0100
Hans Hagen wrote:
> \setupfloat
>[figure]
>[default=left,margin=1cm]
Thanks for the eye-opener. I realised I applied the margin on the item
group instead of the float. Sometimes it's the simple
On 12/19/2018 1:15 PM, Marco Patzer wrote:
Hi!
The bullet of itemize lists runs into the boxes and caption of
floats. How to add spacing so the bullet doesn't touch the float?
Example:
\setupexternalfigures
[location=default]
\setupfloat
[figure]
[default=left]
\setupit
Hi!
The bullet of itemize lists runs into the boxes and caption of
floats. How to add spacing so the bullet doesn't touch the float?
Example:
\setupexternalfigures
[location=default]
\setupfloat
[figure]
[default=left]
\setupitemize
[packed, autointro]
\starttext
\startit
>> I used \setupindenting[always,medium]. This works everywhere except
>> after a figure placed with \placefigure. Why does placing the figure
>> suppress the indent after it? And how can this behaviour be changed?
>
> I wonder whehter \setupfloat[figure][indentnext=yes] wo
On 12/6/18 6:10 PM, Hans van der Meer wrote:
> I used \setupindenting[always,medium]. This works everywhere except
> after a figure placed with \placefigure. Why does placing the figure
> suppress the indent after it? And how can this behaviour be changed?
I wonder whehter \setupflo
ility)
What is the difference of singular and plural commands like \setupfloat
and \setupfloats. Does the singular always inherit from the plural? And why?
in most cases they're synonyms
I have a limited understanding of the \defineX \setupX and \X line, but
would love to hear more.
ju
Neat factsheet to print out, if you give a workshop about ConTeXt.
I am looking for a small text explaining the naming system of the
commands, because I only partly understand the interdependence of eg.
singular and plural commands.
What is the difference of singular and plural comma
oes. I actually have set "default=auto, top, bottom".
MWE:
\definefloat
[smallfigure]
[smallfigures]
[figure]
\setupfloat
[smallfigure]
[default=outer]
\setupfloat
[figure]
[default=top] %% commenting this fixes the issue
\showframe
\starttext
\startplacefigure
\extern
w.ntg.nl/mailman/listinfo/ntg-context
>> webpage : http://www.pragma-ade.nl / http://context.aanhet.net
>> archive : https://bitbucket.org/phg/context-mirror/commits/
>> wiki : http://contextgarden.net
>>
>> ___
>
>
\def
lo
>
>
> > Thank you.
> > Fabrice
> >
> > \definefloat
> > [recipe]
> > [figure]
> >
> > \setupfloat
> > [recipe]
> > [default={right,none}]
> >
> > \starttext
> > \placerecipe{}{%
> > \startxtable
cells is 3.5cm.
I hope it helps,
Pablo
> Thank you.
> Fabrice
>
> \definefloat
> [recipe]
> [figure]
>
> \setupfloat
> [recipe]
> [default={right,none}]
>
> \starttext
> \placerecipe{}{%
> \startxtable[align={middle,lohi},width
Hello,
Why is the text wrapping around the board or far too far ?
Thank you.
Fabrice
\definefloat
[recipe]
[figure]
\setupfloat
[recipe]
[default={right,none}]
\starttext
\placerecipe{}{%
\startxtable[align={middle,lohi},width=1.7
cm]
\startxrow[background=color
,
header=3\bodyfontsize,
headerdistance=\bodyfontsize,
bottom=3\bodyfontsize,
location={middle},
margin=\measure{Margin},
rightmargin=4.5cm,
marking=on,
]
\definefloat
[recipe]
[figure]
\setupfloat
[recipe]
[default={margin,none}]
\defineconversionset [digit
\setupfloat
[spacebefore=2*line,
spaceafter=2*line]
but not this one where I change only the values for the table instance.
\setupfloat
[table]
[spacebefore=2*line,
spaceafter=2*line]
I am curious as to why this design choice was made. Does it make sense to
change these to per
wrong?
Sincerely,
John Grasty
\setupfloat[table][before={\blank[2*big]}]
\setupxtable[frame=off]
\setupxtable[head][topframe=on,bottomframe=on]
\setupxtable[body][]
\setupxtable[foot][bottomframe=on]
\starttext
\input douglas
\startplacetable[title={Cost Overview}]
\startxtable
\startxtablehead
margin beside a float (image) that is placed left or
right?
\setupfloats[margin=3cm]
I thought there should be a setting like that, but it’s missing in
http://wiki.contextgarden.net/Command/setupfloat
I’ll add it.
I didn’t check what left/rightmargindistance does, just anticipated it would be
ide a float (image) that is placed left
>> or right?
>\setupfloats[margin=3cm]
I thought there should be a setting like that, but it’s missing in
http://wiki.contextgarden.net/Command/setupfloat
I’ll add it.
I didn’t check what left/rightmargindistance does, just anticipated it would be
]
\placefigure[left]{}{}
\input ward \input ward
\definefloat[myleft]
\setupfloat
[myleft]
[default=left,
leftmargindistance=1cm]
\placefloat
[myleft]{}{}
\input ward \input ward
\setupfloat
[myleft]
[default=left,
margin=1cm
On 4/3/2018 12:38 AM, Aditya Mahajan wrote:
On Mon, 2 Apr 2018, Wolfgang Schuster wrote:
The problem is that float with the “bottom” or “auto” positions don’t
indent the paragraph
which appears after the float while “top” does it.
begin example
\setupindenting[yes,6cm]
\setupfloat
1 - 100 of 386 matches
Mail list logo