][width=5cm,frame=off]}
\setcollector [example] [corner={right,bottom},location={right,top}]
{\rotate[rotation=90]{\framed[frame=off]{\tfxx Taken by Kathy Luck, used
with permission}}}
\leftaligned{\composedcollector{example}}
Julian
On 13/9/24 02:26, Wolfgang Schuster wrote:
jbf schrieb am
,frame=off]}}
Remove \leftaligned.
\setcollector [example] [corner={right,bottom},location={left,top}]
{\rotate[rotation=90]{\framed[frame=off]{\tfx Taken by Kathy Luck, used
with permission}}}
\placefigure [] [] {} {\composedcollector{example}}
\placefigure {} {\leftaligned{composedcollect
e] [corner={right,bottom},location={left,top}]
{\rotate[rotation=90]{\framed[frame=off]{\tfx Taken by Kathy Luck, used
with permission}}}
\placefigure [] [] {} {\composedcollector{example}}
The pic goes beneath a poem which is left aligned, so I want the photo
to be left aligned, and relatively sm
alue.
* lw hs
lw stands for \linewidth which is the default value for rulethickness in
\framed etc.
I mixed up \linewidth with \textwidth, thought the one was LaTeX and the
other \ConTeXt, since we’re talking about rulewidth otherwise.
hs is just \hsize.
Then it makes sense.
* ph vh
ph
getbuffer[dimensions]
\stoptext
* lw hs
lw stands for \linewidth which is the default value for rulethickness in
\framed etc.
hs is just \hsize.
* ph vh
ph is \paperheight.
vh doesn't exist.
Wolfgang
_
Hi,
Finally got it working with:;
\setupcolors[state=start]
\definecolor [maincolor] [r=, g=.5, b=.7]
\define[2]\MyChapterCommand
{\framed[align=flushright, width=\textwidth,
frame=off]{\rotate[rotation=90]{\rm\small\sc \headtext{chapter}}
\framed[backgroundcolor=maincolor, background=color
Hi,
My final version is below:
\setupcolors[state=start]
\definecolor [maincolor] [r=, g=.5, b=.7]
\define[2]\MyChapterCommand
{\framed[align=flushright,
frame=off]{\rotate[rotation=90]{\rm\small\sc \headtext{chapter}}
\framed[backgroundcolor=maincolor, background=color,
frame=off
}}
\framed[backgroundcolor=maincolor, background=color,
frame=off, foregroundcolor=white, foreground=color, style=\bfd]{#1}
\blank#2}
\setuphead[chapter][command=\MyChapterCommand]
\setupheadtext[chapter=Chapter]
\starttext
\chapter{Hello world}
\stoptext
The size of chapter no. is too small and I would
\framed and \rotate with \offset.
Hraban
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl /
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
use of \framed?
Hi Gerion,
there is an \ifinframed conditional, such as in:
...
This may help to achieve what you want.
Just in case it helps,
Thanks for the answer, but we misunderstood. I'll try to formulate it clearer:
If I get it right, to set margin notes, you need to sp
yscaled 1cm ;
\stopuseMPgraphic
\defineoverlay[circled][\useMPgraphic{circled}]
\def\Circled#1%
{\framed
[background=circled,frame=off,offset=overlay]
{\color[darkred]{#1}}}
\setuppagenumbering[location=]
\setupheadertexts[margin][][\hbox to \hsize{\hss\Circled\pagenumber\hss}]
and for
Am Freitag, 2. August 2024, 07:42:29 MESZ schrieb Pablo Rodriguez via ntg-
context:
> On 8/2/24 01:13, Gerion Entrup wrote:
> > Ok, I think I understand that in principal. Thanks for the explanation.
> > Can I somehow know in advance that a margin note makes use of \framed?
On 8/2/24 01:13, Gerion Entrup wrote:
> Ok, I think I understand that in principal. Thanks for the explanation.
> Can I somehow know in advance that a margin note makes use of \framed?
Hi Gerion,
there is an \ifinframed conditional, such as in:
\starttext
\framed{\ifinframed a\els
rates:
> >
> > significant in
> > credible com
> > ponents
> >
> > In general:
> > Does the "align" argument in setupmargindata has a meaning at all?
>
> The align key works and the output is correct but the problem in this
> case is a
controlled with the margindata
mechanism has style and align options.
2. In addition to the placement mechanism some of the margin texts make
use of \framed for the content. Because not all margin texts should make
use \framed this is optional and controlled with an extra setup-command.
The sepa
=]
\setupfooter
[style=normal]
\setupfootertexts
[{\framed[width=max,frame=off,boffset=2mm]{\pagenumber}}]
\stopsetups
How can I continue to use the setup but still get my roman numerals in
the frontpart?
Julian
On 26/6/24 10:52, jbf wrote:
Something that has worked for me in the past
ust" works:
> > ```
> > \startbuffer
> > This is a test \stacking [1] {and a proof} of \stacking [2] {concept}
> > indeed.
> > \stopbuffer
> > ...
> > \setupstacking[criterium={1-}]
> > ```
> >
> > I also wondered,
{1:2,201},{1:3,301},{1,2,4},{1-5},{1-6},{1-7}]
%D \startTEXpage
%D \startstacking[1] \framed{ONE}\stopstacking
%D \startstacking[2] \framed{TWO}\stopstacking
%D \startstacking[201] \framed{MORE} \stopstacking
%D \startstacking[3] \framed{
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-
\starttext
\startTEXpage[offset=1pt]
\colored[a=1,t=.5,r=
MPgraphic{Moon::Growing_moon}]
\defineoverlay[newmoon][\useMPgraphic{Moon::Newmoon}]
\defineoverlay[fullmoon][\useMPgraphic{Moon::Fullmoon}]
\defineframed
[Moon]
[height=\bodyfontsize,
width=\bodyfontsize,
frame=off]
% \starttext
% Results with \type{framed}
%
% \blank
%
% Heute ist abnehmender Mond {
On Thu, 6 Jun 2024, Wolfgang Schuster wrote:
> Aditya Mahajan schrieb am 06.06.2024 um 14:48:
> > Hi,
> >
> > I am testing some of my old styles on latest context and find that the
> > background key of \startbackground and \starttextbackground doesn't work
>
Aditya Mahajan schrieb am 06.06.2024 um 14:48:
Hi,
I am testing some of my old styles on latest context and find that the
background key of \startbackground and \starttextbackground doesn't work
(\framed is working as expected). Here is a MWE:
1. \starttextbackground isn't based
Hi,
I am testing some of my old styles on latest context and find that the
background key of \startbackground and \starttextbackground doesn't work
(\framed is working as expected). Here is a MWE:
\startuseMPgraphic{background:test}
fill OverlayBox withcolor 0.75[red,white];
; > \setuptexttexts [margin] []
> > [\marginframe{\hbox orientation 1
> > {DRAFT}}]
> > [\marginframe{\hbox orientation 1
> > {DRAFT}}]
>
> There is no need for low level option when you use \rotate, e.g.
>
> [\ma
is no need for low level option when you use \rotate, e.g.
[\marginframe{\rotate[rotation=270]{DRAFT}}]
\framed has a orientation key but it's not so easy to use in this case
because you have to set length for width and height, e.g.
\defineframed
[marginframe]
[width
Forget this question: location=top did the trick.
Should have found earlier. Rest of the day contemplating over the fact it took
me so long to find out 🥲
yours sincerely
dr. Hans van der Meer
> On 31 May 2024, at 12:13, Hans van der Meer via ntg-context
> wrote:
>
> I have no problem of ali
I have no problem of aligning two or more \framedtext boxes bottomwise on the
baseline, nor centering them vertically within a \vcenter.
But I do not succeed in placing them with their top aligned without the
following trick: typeset them in a box, determine largestheight and then
typeset again
for
one the the argument?
All in all, the correct documentation would be:
> Command to use for typesetting the title. First argument is the number,
> second the title text. Styling of these parameters can be achieved only by
> specifying style=.
> > ## Line breaks + ## Framed
> > Ho
Hi Gebrion,
> ## Font size + ## Bold text
for font size etc., you can use
\setuphead [chapter] [style={\setupbodyfont[11pt]}] or
\setuphead [chapter] [style=\tf]
\setuphead [chapter] [style=\bf]
> ## Line breaks + ## Framed
> How can I achieve line breaks?
\define[2]\
; ```
>
> ## Makeups
>
> The best solution, I had so far, was to define a makeup, but I don't get it
> to work with text with mixed alignment and it does not solve the font size
> problem:
> ```
> \definemakeup[chapter][align=left, top=]
> \define[2]\MyChapter{%
&g
pmakeup
(\structureuservariable{intro})
}
```
(see 5.pdf)
## Framed
I also have tried this but it does not bring any linebreaks:
```
\define[2]\MyChapter{%
\framed[frame=off, offset=0pt]{#1\\#2:\\ \structureuservariable{subtitle}\\
(\structureuservariable{intro})}
}
```
(see 6.pdf)
Kip Warner schrieb am 28.05.2024 um 06:29:
On Mon, 2024-05-27 at 19:44 +0200, Wolfgang Schuster wrote:
You can use the \framed solution and modify it to use a metapost
graphic as background, it also easy to replace the circle with a
hexagon etc.
\startuseMPgraphic{textcircle}
draw
On Mon, 2024-05-27 at 19:44 +0200, Wolfgang Schuster wrote:
> You can use the \framed solution and modify it to use a metapost
> graphic as background, it also easy to replace the circle with a
> hexagon etc.
>
> \startuseMPgraphic{textcircle}
> draw fullcircle
but it's a bit annoying that I have to create an SVG of
just a circle and store it somewhere. I'm fine with using MetaPost,
especially if it makes this easier, but I just don't know how.
You can use the \framed solution and modify it to use a metapost graphic
as background, it also eas
On Mon, 2024-05-27 at 19:28 +0200, Wolfgang Schuster wrote:
> TeX complains about the value ".5fw" for the radius key. Hans added
> last year the function to add new units to ConTeXt and I used it to
> set the radius to half of the width of the framed box.
>
> Use the
set the
radius to half of the width of the framed box.
Use the following version of the setup for the frame which works with
older ConTeXt installations because it doesn't use the feature.
\defineframed
[textcircled]
[ width=1.5em,
height=1.5em,
location=low,
corner=r
topspace+\headerheight+\headerdistance\relax},]
{\framed[background=myoverlay,frame=off]{\strut\getshapetext}}
\startshapetext[mymetafunpath, mymetafunpath] % <= WITH \startsubsection
#2
\startsubsection[title={Title for section #1}]
%\MySubSectionCommand{1}{Title for section #1}
\input knu
}
\reference[myref2]{MyRef2} Here is the second reference.\par
See reference \in[myref1] on \at{page}[myref1]\par
\stopshapetext
\definelayer[testA]
\setlayer[testA][x=-1cm,y=3cm]{\framed[background=ol1]{\strut\getshapetext}}
\setlayer[testA][x=9cm,y=3cm] {\framed[background=ol1]{\strut
Hi all,
I am happy to share one way to get "pull quotes between two columns"
(in a three columns layout).
https://wiki.contextgarden.net/images/5/50/context_3columns_layout.pdf
It's not based on Columns / ColumnSet / Page Columns.
It just combines \startuseMPgraphic + build_par
fairly obvious format.
\definecolor [wolley] [\colorcomponents{yellow},t=0.5,a=1]
\starttext
%\showcolorcomponents [yellow]
\framed[background=color,backgroundcolor=darkblue,foregroundcolor=yellow]{yellow}
\framed[background=color,backgroundcolor=darkblue,foregroundcolor=wolley]{wolley}
\st
ommands provide a way to inherit their options but the "framed"
and "counter" mechanism supports it.
To use the framed mechanism with your own command replace
\installcommandhandler with \installframedcommandhandler. This creates a
command named \inherited...framed which ca
etelistofsynonyms
Command/ completeregister
Command/ copylabeltext
Command/ ctxfunction
Command/ ctxfunctiondefinition
Command/ currentlabel
Command/ delimitedtext
Command/ description
Command/ enumeration
Command/ fence
Command/ fraction
Command/ framed
Command/ framedtext
Command/ getbuffer
Command/ hbox
Co
k. did you mean you will add
> this feature for next updates?
we're talking outlines so that is paths which implies no search but you
can do this (Keith and/or Hraban will explain and/or wikify it)
\starttext
\startbuffer[MyText]
\definedfont[name:texgyrepag
output pdf
> > the third example currently does not work. did you mean you will add
> > this feature for next updates?
> we're talking outlines so that is paths which implies no search but you
> can do this (Keith and/or Hraban will explain and/or wikify it)
>
> \starttext
>
>
s paths which implies no search but you
can do this (Keith and/or Hraban will explain and/or wikify it)
\starttext
\startbuffer[MyText]
\definedfont[name:texgyrepagellabold*default]foo f o o%
\stopbuffer
\startbuffer[MyText]
\framed[align=normal,frame=off]{\input{tufte}}%
\stopbuf
around them so not meant for
e.g. section heads or whatever text; it's for images, framed stuff,
maybe bTABLE etc
Hans
-
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 80
In German, I call these "Spaßeinheiten" (units of measurement =
"Maßeinheiten"; Spaß = fun; "units of leisurement" might be a good
translation).
Apart from being fun they are also useful, for instance the "ts" (and
dk) make good framed offsets when ma
bodyfont[modern, 12.50pt]
If these lines are irrelevant for the issue you are experiencing, please
don’t include them.
> \definemargindata [MyInMargin][inleft]
> \definemarginframed[MyInMargin][topframe=on,bottomframe=on,rulethickness=1pt,width=1.90cm]
You define this margin framed, but you
I have been able to achieve it as following, but the first frame width is
fixed so will cause problems with other chapter numbers such as VIII
\unexpanded\def\HeadTitle#1#2%
{\hbox to \hsize \bgroup
\hfill
\setupframed[offset=.5em,frame=off]
\tbox{\framed[width=22mm,align=right]{#1}}%
\tbox
elevant for the issue you are experiencing, please
don’t include them.
> \definemargindata [MyInMargin][inleft]
> \definemarginframed[MyInMargin][topframe=on,bottomframe=on,rulethickness=1pt,width=1.90cm]
You define this margin framed, but your sample makes no use of it.
Sorr
Chinese are
introduced into a document written in French. With footnotes and a few
framed lines.
I submit this example for your perusal and ask you whether it could
possibly appear on a wiki page devoted to the combination of
non-European languages in the same text. In English translation, of
actor (old) dashfactor (new)
\NC test \NC test and test and test and done \NC \NR
\ML[1,1]
\NC test \NC test and test and test and done \NC \NR
\NC test \NC test and test and test and done \NC \NR
\NC test \NC test and test and test and done \NC \NR
\LL[1,10]
\stoptabulate
\frame
.
For the example, I use this macro definition (which does no work!)
\long\def\prueba
#1\par#2\par#3\par#4ñ{\framed[frame=off,width=0.8\textwidth,corner=round,offset=1em,align=flushleft]%
{{\bf Beispiel}: #1\\
\qquad a) #2\\
\qquad b) {\bf #3}\\
\qquad c) #4
}
I get: tex error on line 493 in file
does no work!)
\long\def\prueba
#1\par#2\par#3\par#4ñ{\framed[frame=off,width=0.8\textwidth,corner=round,offset=1em,align=flushleft]%
{{\bf Beispiel}: #1\\
\qquad a) #2\\
\qquad b) {\bf #3}\\
\qquad c) #4
}
I get: tex error on line 493 in file ./prueba.tex: The file ended when
scanning an
dtext
\framed{Foo}
\stopframedtext
\starttextbackground
\framed{Foo}
\stoptextbackground
\stoptext
How do it get the same spacing as in the framedtext case?
Is there a solution to this? Or an explanation why the spacing
differs?
these are fundamentally different mechanisms .. you can play
[location=paragraph,
>%% offset=overlay, %% does nothing
>%% backgroundoffset=overlay, %% does nothing
>%% depthcorrection=off, %% does nothing
>%% topoffset=3mm,%% works, but only for positive values
>background=,
>frame=on]
&
th
>> frame=on) but I didn't get the frame to play nicely (see example below). I
>> can get the frame where I want it if instead I do
>> \framed[frame=on,...]{\externalfigure...}
>> but this leaves me wondering whether
>> (1) I am misinterpreting the wik
s
which keys and values \setupexternalfigure allows.
> I tried to put a frame around a picture (using \externalfigure with
> frame=on) but I didn't get the frame to play nicely (see example below). I
> can get the frame where I want it if instead I do
> \framed[frame=on,..
where I want it if instead I do
\framed[frame=on,...]{\externalfigure...}
but this leaves me wondering whether
(1) I am misinterpreting the wiki pages,
(2) The wiki pages are misleading/wrong, or
(3) There is a bug in some code.
If anyone would care to enlighten me, I would appreciate it.
In
for some more reading.
> You can do: \setupTABLE[2][3] to select the formatting for row 3 and column 2
> (or the other way around ... always forget). In the worst case, you can
> always do
> ...
> \NC .. \NC[options] ... \NC \NR
>
> Each cell is just a \framed[...]
row 3 and column 2
(or the other way around ... always forget). In the worst case, you can always
do
...
\NC .. \NC[options] ... \NC \NR
Each cell is just a \framed[...]; so all options for \framed[...] work for
Natural Tables.
page which use vrules don't use tabulate
>> to create the tables.
>> Coincidence? I think not. :-)
> Table which rely on rules to make the content readable have a serious
> problem
> (read Edward Tufte books how you can improve the visual style) but the
> better
> a
or extreme tables.
Below is a example which uses the table like wrapper for natural tables
which makes adding rules and changing the padding around text very
simple because each table cell is a \framed block with all its options.
\starttext
\startsetups[ruledtable]
\setupTABLE [frame=off,ali
>
> \startMPcode
>
> draw textext("hello") rotated 45 ;
>
> \stopMPcode
>
>
>
> \framed{hello}
>
>
>
> \stopmode
>
>
>
> \startnotmode[mkiv]
>
>
>
> \startMPcode
>
> draw textext("hello
draw textext("hello") rotated 45 ;
\stopMPcode
\framed{hello}
\stopmode
\startnotmode[mkiv]
\startMPcode
draw textext("hello") rotated -45 ;
\stopMPcode
\framed{hello}
\stopnotmode
\stoptext
After compiling in the folder:
Is this becaus
I tried this for old style factorial, but it appears much below the line in
which it is used. How can I bring it up?
On Wed, Dec 27, 2023 at 6:18 PM Shiv Shankar Dayal <
shivshankar.da...@gmail.com> wrote:
>
>
> A simple alternative to tikz is the usage of \framed.
>>
Hi!
Not by computer, and I'm sure Hans (or Wolfgang) has already shown a way to
do the old factorial with the actuarian mechanism when I'm back to the
computer...
/Mikael
Den ons 27 dec. 2023 13:49Shiv Shankar Dayal
skrev:
>
>
> A simple alternative to tikz is t
A simple alternative to tikz is the usage of \framed.
>
> \define[1]\oldfact
> {\inmframed[frame=off,strut=no,leftframe=on,bottomframe=on]{#1}}
>
> \starttext
>
> \m{\oldfact{n}}
>
> \stoptext
>
> Wolfgang
>
> Thanks a lot. It should work n
Shiv Shankar Dayal schrieb am 27.12.2023 um 13:31:
What do you expect here to pass as argument to the oldfact command?
I will pass something like n, 5, 10 etc.
A simple alternative to tikz is the usage of \framed.
\define[1]\oldfact
{\inmframed[frame=off,strut=no,leftframe=on
Hi,
in my ConTeXt book, some examples for \framed with rounded corners look
odd, as if the MetaPost calculation of rounded corners fails.
I can’t find a minimal example that shows the problem, and I can’t
imagine which of the settings in my extensive environment would cause it.
Find below
does nothing
%% depthcorrection=off, %% does nothing
%% topoffset=3mm,%% works, but only for positive values
background=,
frame=on]
\starttext
\startframedtext
\framed{Foo}
\stopframedtext
\starttextbackground
\framed{Foo}
\stoptextbackground
\stoptext
How
xyscaled
(OverlayWidth-OverlayLineWidth,OverlayHeight-OverlayLineWidth)
withpen pencircle scaled OverlayLineWidth
withcolor OverlayColor ;
\stopusableMPgraphic
\defineoverlay[MetaCirc][\useMPgraphic{MetaCirc}]
a\dontleavehmode\framed
[background=MetaCirc,
bac
On 11/5/2023 7:23 AM, anton.chig...@mail.com wrote:
I want to use \bigcirc to encircle text.
Is there a way to do it.
if you're wiling to compensate for its depth:
\defineoverlay
[BigCirc]
[{\scale
[width=\overlaywidth]
{\setbox0\hpack{\bigcirc}\raise\dp0\box0}}]
\f
upTypeArea[bcor=0mm,alphabets=3.1]
\setuppagenumbering[alternative=doublesided]
\starttext
\dorecurse4{\framed[width=\textwidth,height=\textheight]{test}\page}
\stoptext
I got:
texmf-dist/tex/context/third/typearea/t-typearea.tex'
loading > Something like KOMA-TypeArea
tex error
\starttext
\dorecurse4{\framed[width=\textwidth,height=\textheight]{test}\page}
\stoptext
I got:
texmf-dist/tex/context/third/typearea/t-typearea.tex'
loading > Something like KOMA-TypeArea
tex error > tex error on line 89 in file
/usr/local/texlive/2023/texmf-dist/tex/con
Csikos Bela schrieb am 20.10.2023 um 14:53: > Hello: > > Protrusioin doesn't
work in framed environment. > > This is a short code: > >
\definefontfeature[default][default][expansion=quality,protrusion=quality] > >
\setupalign[hz,hanging] > > \sho
I forgot to attach the pdf. Eredeti levél Hello:Protrusioin
doesn't work in framed environment.This is a short
code:\definefontfeature[default][default][expansion=quality,protrusion=quality]\setupalign[hz,hanging]\showframe\starttext\input
tufte\blank\framed[frame=off,loc
Csikos Bela schrieb am 20.10.2023 um 14:53:
Hello:
Protrusioin doesn't work in framed environment.
This is a short code:
\definefontfeature[default][default][expansion=quality,protrusion=quality]
\setupalign[hz,hanging]
\showframe
\starttext
\input tufte
\blank
\framed[fram
Hello:Protrusioin doesn't work in framed environment.This is a short
code:\definefontfeature[default][default][expansion=quality,protrusion=quality]\setupalign[hz,hanging]\showframe\starttext\input
tufte\blank\framed[frame=off,location=top,align=normal,offset=0pt]{\input
tufte
}\
Jeroen schrieb am 16.09.2023 um 22:28:
This MWE has a framed text for some verbatim text (code) with as title
ref. a counter 1, 2, etc.. Is there a way to change this frame text
title as following with the chapter number and a sequential number and
the title.
Code Fragment 1.1 (The First
\stopCode
\stopchapter
\stoptext
Op zo 17 sep 2023 om 17:31 schreef Bruce Horrocks :
>
>
> > On 16 Sep 2023, at 21:28, Jeroen wrote:
> >
> > This MWE has a framed text for some verbatim text (code) with as title
> ref. a counter 1, 2, etc.. Is there a way to change this
> On 16 Sep 2023, at 21:28, Jeroen wrote:
>
> This MWE has a framed text for some verbatim text (code) with as title ref. a
> counter 1, 2, etc.. Is there a way to change this frame text title as
> following with the chapter number and a sequential number and the ti
This MWE has a framed text for some verbatim text (code) with as title ref.
a counter 1, 2, etc.. Is there a way to change this frame text title as
following with the chapter number and a sequential number and the title.
Code Fragment 1.1 (The First Title)
Code Fragment 1.2 (The Second Title
Jeroen schrieb am 10.09.2023 um 22:05:
Is there an easy way to reduce the line space between rows in a
natural table so the table takes less vertical space.
Natural tables and extreme tables take extra vertical space because the
table cell use the framed-mechanism
which add a small margin on
; \ifmmode
> \mframed[background=canceloverlay, frame=off, offset=overlay]{{#1}}%
> \else%
> \framed[background=canceloverlay, frame=off, offset=overlay]{{#1}}%
> \fi%
> }
>
> Maybe something else is available nowadays.
>
> A. Christe
> Le 22 août 2023 à 12:22 +0200
;
\stopuniqueMPgraphic
\defineoverlay[canceloverlay][\uniqueMPgraphic{cross out}]
\define[1]\cancel{%
\ifmmode
\mframed[background=canceloverlay, frame=off, offset=overlay]{{#1}}%
\else%
\framed[background=canceloverlay, frame=off, offset=overlay]{{#1}}%
\fi%
}
Maybe something else is available nowadays.
A
On 8/15/23 21:48, vm via ntg-context wrote:
> [...]
> A different approach is to use \dontleavehmode
In that case, \dorecurse is your friend, such as in:
\starttext
\startTEXpage[offset=10mm, pagestate=start]
\dorecurse{5}{
\dontleavehmode
\framed[frame=off]{\externalfigure[p1-4_4-01-56-
thanks!
On 15/08/2023 21:26, Hans Hagen via ntg-context wrote:
you're missing \startcaption \stopcaption after each content section
indeed, adding \startcaption\stopcaption at each line will make the
spacing equal.
A different approach is to use \dontleavehmode
\dontleavehmode
\f
ly after the meeting) but here is one:
>
> \starttext
>
> \defineoverlay
>[test]
>[\color
> [blue]
> {TEST
>\inframed
> [foregroundcolor=red]
> {xxx}
>TEST}]
>
>
}
TEST}]
\framed
[background=test,
foregroundstyle=\switchtobodyfont[small]]
{test}
\stoptext
From now on many commands accept (properly) nested [] inside commands
that use [] as fences (like the setup commands) where it makes sense. It
is up to the user to
=style:oblique,
force=yes,
rscale=1.0]
\definefontfamily [archimate] [ss] [Helvetica]
\setupbodyfont[archimate]
\starttext
\setuplanguage[en][patterns={ru}]\mainlanguage[ru]
{\framed[frame=on,align=flushleft,width=7cm]{Техніка здатна до фізичної
поведінки (на відміну від інформаційної поведінки
[archimate] [ss] [Helvetica]
\setupbodyfont[archimate]
\starttext
\setuplanguage[en][patterns={ru}]\mainlanguage[ru]
{\framed[frame=on,align=flushleft,width=7cm]{Техніка здатна до фізичної
поведінки (на відміну від інформаційної поведінки). Наприклад `Металургійний
комбінат'.}}\\
\setuplangua
Hans van der Meer via ntg-context schrieb am 16.07.2023 um 12:14:
I cannot get rid of some depth in framed. Used various combinations of
the depth and backgrounddepth setting, nothing helps.
What am I doing wrong? Or is something in \framed not working in the
way I expected?
1. Include your
I cannot get rid of some depth in framed. Used various combinations of the depth and backgrounddepth setting, nothing helps.What am I doing wrong? Or is something in \framed not working in the way I expected?See the accompanying MWE.
yours sincerelydr. Hans van der Meer
framedepth.pdf
r[Gebuesch]
Hier versteckt sich ein Wolf...
\stopviewerlayer
Bäume, Bäume, Bäume...
\viewerlayer[Gebuesch]{... und ein Rotkehlchen}
\startviewerlayer[Versteck]Rumpelwicht\stopviewerlayer
\defineoverlay[MitVersteck]
[{\overlayrollbutton[VideLayer{Versteck}][HideLayer{Versteck}]}]
\framed[
Hi,
I uploaded a new lmtx. Apart from the modules installer (that Hraban has
to check) and subtle improvements in math (we're now in tweaking
penalties mode) there are a few changes:
- The endstrut in framed got lost but is back again; there is now alao a
location=inline option.
- S
I found a MWE that shows the problem:
"""
\setuppapersize[C5]
\showframe
\starttext
\startplacefigure[location=page,title={Pagefloat}]
\framed[width=\textwidth,height=.75\textheight]{TEST}
\stopplacefigure
\dorecurse{4}{\section{Tufte \recurselevel}
\samplefile{tufte}}
\s
it in a simple example like this:
"""
\starttext
\dorecurse{2}{\samplefile{tufte}}
\startplacefigure[location=page,title={Pagefloat}]
\framed[width=\textwidth,height=.5\textheight]{TEST}
\stopplacefigure
\dorecurse{5}{\samplefile{knuth}}
\stoptext
"""
What could
t
\dorecurse{2}{\samplefile{tufte}}
\startplacefigure[location=page,title={Pagefloat}]
\framed[width=\textwidth,height=.5\textheight]{TEST}
\stopplacefigure
\dorecurse{5}{\samplefile{knuth}}
\stoptext
"""
What could cause this behavior? For what shoul
On Fri, 19 May 2023, Jeroen via ntg-context wrote:
> Many thanks. Is there a proper way to add some space (a couple of pt or em)
> to the left and the right of the text itself so the frame does not get so
> close to the text?
\framed[loffset=0.2ex, roffset=0.2ex]{...}
Also s
1 - 100 of 1001 matches
Mail list logo