like this:
\startsetups bachotex:naglowek:columns
\defineframedtext [Dane]
\setupframedtext
[Dane]
[width=18cm ,
align=normal,
frame=no]
\definenarrower
[Streszczenia]
[2*middle]
\startplacefigure [location={here,none}]
{\st
list:members
\starttabulate[|l|l|l|]
\xmlflush{#1}
\stoptabulate
\stopxmlsetups
% Each gets his own table row.
\startxmlsetups xml:list:member
\NC \nameemaillink{#1} \NC \xmlatt{#1}{birthday} \NC \mobilelink{#1} \NC\NR
\stopxmlsetups
% finis
\environment xml.tex % XML processing instructio
On 1/31/2024 7:15 PM, Marco Patzer wrote:
On Thu, 16 Nov 2023 13:52:05 +0100
Marco Patzer wrote:
I'm having problems getting the textbackground spacing offset to work.
Example:
\setupframedtext
[offset=overlay,
width=max,
depthcorrection=off]
\setuptextbackground
[loc
On Thu, 16 Nov 2023 13:52:05 +0100
Marco Patzer wrote:
> I'm having problems getting the textbackground spacing offset to work.
> Example:
>
> \setupframedtext
> [offset=overlay,
>width=max,
>depthcorrection=off]
>
> \setuptextbackground
>
Hi!
I'm having problems getting the textbackground spacing offset to work.
Example:
\setupframedtext
[offset=overlay,
width=max,
depthcorrection=off]
\setuptextbackground
[location=paragraph,
%% offset=overlay, %% does nothing
%% backgroundoffset=overlay, %%
Pablo Rodriguez via ntg-context schrieb am 25.04.2022 um 18:17:
On 4/24/22 21:13, Wolfgang Schuster via ntg-context wrote:
Pablo Rodriguez via ntg-context schrieb am 24.04.2022 um 20:56:
[...]
Using current LMTX (2022.04.20 19:18), I’m afraid no format from
\setupframedtext is applied to the
On 4/24/22 21:13, Wolfgang Schuster via ntg-context wrote:
> Pablo Rodriguez via ntg-context schrieb am 24.04.2022 um 20:56:
>> [...]
>> Using current LMTX (2022.04.20 19:18), I’m afraid no format from
>> \setupframedtext is applied to the backcover framed text.
>> [
Pablo Rodriguez via ntg-context schrieb am 24.04.2022 um 20:56:
Dear list,
I have the following sample:
\defineframedtext[backcover]
\setupframedtext[backcover]
[frame=off,
offset=overlay,
width=\textwidth]
\starttext
\startframedtext[backcover]
\input
Dear list,
I have the following sample:
\defineframedtext[backcover]
\setupframedtext[backcover]
[frame=off,
offset=overlay,
width=\textwidth]
\starttext
\startframedtext[backcover]
\input zapf
\stopframedtext
\stoptext
Using current LMTX (2022.04.20 19:18
it with other fonts,
framedtext justifies the text here.
Are you sure it's not a tolerance issue? Frames don't inherit the
tolerance from the main environment¹. Try with
\setupframedtext
[align=verytolerant]
%% [align={verytolerant, stretch}]
Marco
¹ https://wiki
;t break across pages. So, if you have long answers, a different
> mechanism is needed.
> >
> > \definemode[solution][no]
> >
> > \doifmodeelse{solution}
> > {\defineframedtext[solution][empty=no]}
> > {\defineframedtext[solution][empty=ye
#x27;t work. Why?
> %
> \expanded{\defineframedtext[solution][empty=\doifmodeelse{solution}{no}{yes}]}
>
> \setupframedtext
> [solution]
> [
>spacebefore=medium,
>spaceafter=medium,
>width=broad,
>foregroundstyle=\rm\it,
>loffset=2em,
>roffset=2em,
&
long answers, a different mechanism
is needed.
\definemode[solution][no]
\doifmodeelse{solution}
{\defineframedtext[solution][empty=no]}
{\defineframedtext[solution][empty=yes]}
% Doesn't work. Why?
% \expanded{\defineframedtext[solution][empty=\doifmodeelse{solution}{no}{yes}]
=10cm]}
%setupframedtext [offset=0pt]
\definelayer [VRule]
[x=0mm,y=0pt,width=\textwidth,height=\textheight]
\setlayer [VRule]
[hoffset=0.75\textwidth,voffset=0pt]
{\blackrule[color=red,height=10em,width=1pt]}
\setupbackgrounds
Hi @list,
I don't fully understand the \enablemode mechanism. Given this MWE:
\startmode[test]
\setupframedtext [foregroundcolor=white,style={\tfa}]
\stopmode
\starttext
\startframedtext
ceci est un texte
\stopframedtext
\enablemode [test]
\startframedtext
ceci est un texte
\stopframe
On Fri, 30 Oct 2020, Damien Thiriet wrote:
> Hi @list,
>
>
> I don't fully understand the \enablemode mechanism. Given this MWE:
>
>
> \startmode[test]
> \setupframedtext [foregroundcolor=white,style={\tfa}]
> \stopmode
>
>
> \startte
> Am 30.10.2020 um 19:26 schrieb Damien Thiriet :
> I don't fully understand the \enablemode mechanism. Given this MWE:
>
> \startmode[test]
> \setupframedtext [foregroundcolor=white,style={\tfa}]
> \stopmode
>
>
> \starttext
> \startframedtext
&g
On 2/14/20 6:30 PM, Wolfgang Schuster wrote:
> On Fri, 14 Feb 2020 02:21:03 +0100
> Exp wrote:
>
>> Dear list,
>>
>> I want to prevent an overfull hbox caused by an inline typing by making the
>> alignment very tolerant, but it didn't work:
>>
On Fri, 14 Feb 2020 02:21:03 +0100
Exp wrote:
> Dear list,
>
> I want to prevent an overfull hbox caused by an inline typing by making the
> alignment very tolerant, but it didn't work:
>
> ```
> \setupframedtext[
> width=broad,
> align={verytolerant, str
Dear list,
I want to prevent an overfull hbox caused by an inline typing by making the
alignment very tolerant, but it didn't work:
```
\setupframedtext[
width=broad,
align={verytolerant, stretch}
]
\starttext
\startframedtext%[align={verytolerant, stretch}]
xx. x xx-xx
amed inherits from \setupframed (as explained in
tex/texmf-context/tex/context/interface/mkiv/i-context.pdf).
\setupframedtext (which I don’t think is exactly the same as
\setupframed) inherits from \setupplacement (which contains both keys
before and after).
That being said, I don’t know why before an
s existed in ConTeXt.Framed texts does the trick with your sample: \setupframedtext [width=\textwidth, frame=on, rulethickness=1pt, corner=0, offset=12pt] \starttext \startframedtext If you typeset text with background, the footnote workaround does not work. \p
ounds existed in ConTeXt.
>
> Framed texts does the trick with your sample:
>
>\setupframedtext
> [width=\textwidth,
>frame=on,
>rulethickness=1pt,
>corner=0,
>offset=12pt]
>
>\starttext
>\startfram
t the bottom of the
> page does not work if you try it using backgrounds. Here I provide a
> minimal example that shows the problem:
Dear Mathias,
I didn’t even know that backgrounds existed in ConTeXt.
Framed texts does the trick with your sample:
\setupframedtext
[width=\textwi
don't need the frame to be drawn.
Why distance=1cm and width=12cm have no effect in my code?
Thanks,
bcsikos
code:
\setupitemize[each][packed,joinedup,n][stopper=.~,itemalign=flushright]
\setupframedtext[width=5.5cm,frame=off,offset=0pt]
\setupcombinations[width=12cm,distance=1cm]
\star
Quoting from the command reference:
\startframedtext inherits \setupframedtext
and
\setupframedtext ... indenting = inherits \setupindenting
I interprete this as \setupindenting is carried to the inside of the framedtext
but this thus not happen. Instead one explicitely sets it on the call of
.
>
> I built a sample and then played with the em
> value. Lacking precise guidance I thought that
> the value was one of those 0 to 1 ranges. Not so.
> setting at 1.0 em gives me what I was looking
> for. The setting 0.1 em gave me rounding that was
> imperceptible without ma
t;
> \useoverviewpage{reference}
>
> An example is:
>
> \usemodule[overviewpage]
> \setuppapersize[S4]
>
> \setupframedtext[rulethickness=3pt]
>
> \starttext
>
> \startframedtext
> \input ward
> \stopframedtext
> \saveoverviewpage{ward}
> \page
reuse the page by
\useoverviewpage{reference}
An example is:
\usemodule[overviewpage]
\setuppapersize[S4]
\setupframedtext[rulethickness=3pt]
\starttext
\startframedtext
\input ward
\stopframedtext
\saveoverviewpage{ward}
\page
\input tufte
\page
\scale[width=0.5\textwidth]{\useovervie
frame), this box is then put into another box (which is shown which a black
frame) which has the width of the text area. The large outer box is necessary
when you want to align the inner box to the left, middle or right of the text
block.
\setupframedtext[width=8cm,framecolor=red,frameoffse
retch]
\setupframedtext[align={normal,hanging,hz}] %NEW
\setuptabulate[align={normal,hanging,hz}] %NEW
\showframe %NEW, for better seeing
\starttext
\subject{Normal Text}
align working, tolerance working.
\input knuth
\subject{Table}
Table resets align/tolerance:
\starttabulate
\NC align/toleranc
lues, to enable protrusion and font expansion for these environment
you have to change their align values.
\setupframedtext
[align={normal,hanging,hz}]
\setuptabulate
[align={normal,hanging,hz}]
Wolfgang
___
If your
ve any
> effect as shown in the MWE down below. Is there another way for all
> labels to inherit this alignment setting?
The global settings for \framed are changed with the \setupframed command,
the \setupframedtext commands changes the values for \startframedtext.
> 3. I cannot get int
useMPgraphic{myFrame}]
\defineframedtext[myStatement][frame=off]
\setupframedtexts[myStatement][backgroundcolor=lightgray,background=myOverlay,width=\textwidth,autowidth=force]
\starttext
\framed[fit]{\startmyStatement
TEST
\stopmyStatement}
\stoptext
You can try \framed[strut=no]{...} and a
(Of course, you need to put correct dimensions for the width and height
and also set an offset.)
Untested, so the syntax may be not quite correct.
You might want to use
\setupframedtext
and
\startframedtext
\stopframedtext
if you will be doing this often.
There is probably
[annotation] % Wolfgang's module
\define[2]\ExoSetup
{\resetnumber[formula]
\setupframedtext[
width=\textwidth,
frame=off,
leftframe=on]
\textrule{#1}%
\startframedtext
#2%
\stopframe
d something after the heading. When you want to use it only
one time the above is overkill but it’s useful when you want a epigraph
for each chapter. With \doifelsebuffer I can check if there the user
set a epigraph and only when there is one i want the framedtext
but I have to reset the buffer for t
gt; \stoptext
>
> I'd like to be able to accurately place the box alongside the title
> itself. Ideally I'd like to draw a line under the section header that
> meets the left side of the box as well, though I'll take what I can
> get at this point.
After some careful readin
hmode\framed{...}
or
\dontleavehmode\framedtext{...}
or
\startframedtext
...
\stopframedtext
There is an the option to set the \framed's font globally?
\setupframed
or
\setupframedtext
Wolfgang
___
If you
39 matches
Mail list logo