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=-.25in,rightmargindistance=-.25in,outer,none
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
%%%
\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}{\externalfigure[cow
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.
\se
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 "{disab
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.contextgarden.ne
a 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
at 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
ork 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 bug once.
> I know, T
]
% \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
re[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 caption
&g
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
following:
\
]
\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
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
ginSize=\dimexpr \backspace + \rightmarginwidth +
> \rightmargindistance \relax
> \newdimen\TextAreaSize
> \TextAreaSize=\dimexpr \textwidth + \rightmarginwidth + \rightmargindistance
> \relax
> \definefloat[marginfigure][marginfigures][figure]
> \setupfloat[marginfigure][locat
\TextAreaSize=\dimexpr \textwidth + \rightmarginwidth + \rightmargindistance
\relax
\definefloat[marginfigure][marginfigures][figure]
\setupfloat[marginfigure][location=inner,default=top,width=\TextAreaSize]
\setupcaptions[marginfigure][
leftmargin=\dimexpr \LeftMarginSize / 2 \relax,
location
agraph. 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
: 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
\stoptext
Marco
LMTX
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
hlight[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={Tabla
> > \startMPcode
> > > draw fullcircle scaled 1cm;
> > > \stopMPcode
> > > }
> > >
> > > \dorecurse{50}{d e f } % not indented
> > >
> > > \dorecurse{50}{g h i }
> > > \stoptext
> >
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
>
> >
> > \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
>
&
\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 do
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
e 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)
> Problems:
>
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
orientation
- I have no idea how
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
at 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=\textwidth
>
> 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 but me so
> nobody has ever "fixed" it and thus
ki 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* trying to
> figure out how to add more whitespace around a floated graphic (the default
> is too cramped in my
{{\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]
{\externalfigure[#2
ats 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: put
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 necess
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
the
> > 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
but 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
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
gt; 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,
> width=15cm,edge=14cm]
ument 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=14cm]
\starttext
\
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=color,
backgroundcolor=cyan,
frame=off,
leftoffset=1em,
rightoffset=1em,
topoffset=1em,
bottomoffset=1em,
location=paragraph]
\definefloat[thematicimage][figure]
\setupfloat[thematicimage]
[default=right,none},
offset=1em
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,
th=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=-\outercombitotal
,leftmargindistan
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
but it 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 thing
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]
\setupitemize
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
\startitemize
>> 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
)
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.
just try one
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 c
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
\externalfig
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
?
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[head
can I setup/change the 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
/change the 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,
]
\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
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[figure][indentnext=yes]
\starttext
indentation.
What am I doing wrong?
Thanks for a help,
Tomáš
%% TL2017
\starttext
\indenting[yes,2em,first]
\setupfloat[indentnext=yes]
1none. \input knuth
\startplacefigure[location={none,}]
\setupcaption[width=0.45\makeupwidth,align={nothyphenated,middle
foregroundstyle={\switchtobodyfont[10pt]},
> align=verytolerant,
> alternative=serried, % text wrapped
> frame=off,
> corner=round,
> ]
>
> \definefloat
> [recipe]
> [figure]
>
> \setupfloat
>
rnative=serried, % text wrapped
frame=off,
corner=round,
]
\definefloat
[recipe]
[figure]
\setupfloat
[recipe]
[default={right,none}]
\showframe
\starttext
\placerecipe{}
{\FrameTitle{Info}{\startFramedText[width=10cm]
eMPgraphic
\defineoverlay
[MyFrame]
[\useMPgraphic{MyFrame}]
\defineframedtext
[MyFrame]
[frame=off,
foregroundstyle={\switchtobodyfont[10pt]},
background=MyFrame,
align={verytolerant},
height=fit]
\definefloat
[recipe]
[figure]
\setupfloat
[recipe]
[default={right,none}]
[MyFrame]
[\useMPgraphic{MyFrame}]
\defineframedtext
[MyFrame]
[frame=off,
foregroundstyle={\switchtobodyfont[8pt]},
background=MyFrame,
align={verytolerant},
height=fit]
\definefloat
[recipe]
[figure]
\setupfloat
[recipe]
[default={right,none}]
\showframe
\starttext
\p
h
> as the main text, even with "offset", I’d like to limit the whole box to
> the textwidth (or any other measure).
Hi Hraban,
I’m not sure wheter it might be a bug in width and maxwith not working,
but the following seems to work:
\definefloat[Beispiel][Beispiele]
\set
Ahoi,
I wonder how I can limit the width of a custom float, neither "width" nor
"maxwidth" seems to have any effect:
\definefloat[Beispiel][Beispiele]
\setupfloat[Beispiel][
%width=36mm,
maxwidth=.6\textwidth,
offset=1em,
background=color,backgroundcolor=yel
1 - 100 of 360 matches
Mail list logo