Hi,
Sorry to revive this discussion (which I initiated), but the text in the
following code does not wrapped around the figure.
Why ?
Fabrice
\setupcolors
[state=start]
\definecolor[MyColorB][c=0.00, m=0.62, y=1.00, k=0.00]
\definecolor[MyColorA][.75(MyColorB,white)]
\defineframedtext
Hi,
Well, I think I have solved the problem : it is because of the blank line.
Why ?
Fabrice
2015-08-13 17:19 GMT+02:00 Fabrice Couvreur fabrice1.couvr...@gmail.com:
Hi,
Sorry to revive this discussion (which I initiated), but the text in the
following code does not wrapped around the figure.
On 2015-08-13 11:19, Fabrice Couvreur wrote:
Hi,
Sorry to revive this discussion (which I initiated), but the text in
the following code does not wrapped around the figure.
Why ?
Fabrice
\setupcolors
[state=start]
\definecolor[MyColorB][c=0.00, m=0.62, y=1.00, k=0.00]
framedtext like the second
framedtext ?
You have to use \starthanging instead of \placefgure when you’re in a
frame.
\starttext
\startframedtext[width=max]
\starthanging[location=right]
{\startMPcode
draw unitsquare scaled 2cm ;
\stopMPcode}
\input tufte
Dear Otared and Wolfgang,
It works fine after replacing the text itself.
Thank you for the info.
Best regards,
Dalyoung
___
If your question is of interest to others as well, please add an entry to the
Wiki!
Hi Otared,
A small mistake on your part : do not write \input knuth.tex but \input
knuth.
Then I want the text in the first framedtext wrapped around the figure as in
the second.
Fabrice
2015-08-08 6:18 GMT+02:00 Otared Kavian ota...@gmail.com:
Hi,
You should use the same width if you want
Fabrice Couvreur mailto:fabrice1.couvr...@gmail.com
8. August 2015 00:49
Hi,
Why the text does not move in the first framedtext like the second
framedtext?
You have to use \starthanging instead of \placefgure when you’re in a frame.
\starttext
\startframedtext[width=max]
\starthanging
Dear Wolfgang,
You have to use \starthanging instead of \placefgure when you’re in a frame.
\starttext
\startframedtext[width=max]
\starthanging[location=right]
{\startMPcode
draw unitsquare scaled 2cm ;
\stopMPcode}
\input tufte
\stophanging
Hi Jeong,
You are right, but probably this is due to the way the source file knuth.tex is
encoded: if you replace
\input knuth
by the text itself, that is by the following
Thus, I came to the conclusion that the designer of a new system must not only
be the implementer and first
Jeong Dal mailto:hak...@me.com
8. August 2015 15:49
Dear Wolfgang,
Thank you for letting me know the command “starthanging”.
I tried the command “\startfiguretext … \stopfiguretext”, and found
that there is no text below the square.
\startframedtext[width=\textwidth]{
Hi,
Why the text does not move in the first framedtext like the second
framedtext ?
Thank you.
Fabrice
\definecolor[MyColorB][c=0.00, m=0.62, y=1.00, k=0.00]
\definecolor[MyColorA][.75(MyColorB,white)]
\defineframedtext
[MyText]
[frame=off,
background=MyFrame,
width=\textwidth
}
\stopframedtext
Best regards: OK
On 08 Aug 2015, at 00:49, Fabrice Couvreur fabrice1.couvr...@gmail.com
wrote:
Hi,
Why the text does not move in the first framedtext like the second framedtext
?
Thank you.
Fabrice
\definecolor[MyColorB][c=0.00, m=0.62, y=1.00, k=0.00]
\definecolor[MyColorA
in the output are produced by the spaces between the tags
(\xmlstrip doesn’t seem to work)
and you have to use a combination of \removeunwantedspaces and \ignorespaces
to remove them.
To center your table this isn’t necessary when you replace \midaligned with a
framedtext
environment
when you replace \midaligned with
a framedtext
environment in combination with “location=middle” or use a float command
like \placefigure.
I think I can reduce the number of places where spaces have to be suppressed.
With just 2 \removeunwantedspaces and 1 \ignorespaces I get rid of most
are produced by the spaces between the tags (\xmlstrip
doesn’t seem to work)
and you have to use a combination of \removeunwantedspaces and \ignorespaces to
remove them.
To center your table this isn’t necessary when you replace \midaligned with a
framedtext
environment in combination with “location
to work)
and you have to use a combination of \removeunwantedspaces and \ignorespaces to
remove them.
To center your table this isn’t necessary when you replace \midaligned with a
framedtext
environment in combination with “location=middle” or use a float command like
\placefigure.
\startxmlsetups
the command
\setuplinenumbering[location=text,align=left,style=\tt,command=\numeroLigneCode,distance=-.5em,width=2em]
outside of the definition of the verbatim zone code, it works.
This behavior seems rather strange and when it collides with using verbatim
zone enclosed in framedtext, it leads
.
This behavior seems rather strange and when it collides with using verbatim
zone enclosed in framedtext, it leads to two line numbering overwriting
each other.
\defineframed[numeroLigneCode][location=low,width=fit,strut=yes,frame=off,rightframe=on]
\definetyping[code][numbering=line,page=yes,bodyfont
braces, and changing setlayout. I
am considering putting all the text in a
framedtext but with the frame suppressed.
You mean like the second paragraph in the attached PDF?
Wolfgang
test.pdf
Description: Adobe PDF document
in a
framedtext but with the frame suppressed.
Any suggestions?
--
John Culleton
Wexford Press
Free list of books for self-publishers:
http://wexfordpress.net/shortlist.html
Updated PDF e-book: Create Book Covers with
Scribus 1.4.5 coming soon at
http://www.booklocker.com
with a previous
InDesign layout.
On one particular page I want to narrow the text
width a bit to cause the bottom line to fill
the full text width. I have tried adjusting
\hsize within braces, and changing setlayout. I
am considering putting all the text in a
framedtext but with the frame suppressed.
Any
?
\setuptyping[TEX]
\startTEX
RSpec.describe Post, :type = :model do
end
\stopTEX
You can add a framedtext environment around the verbatim text and use
“location=middle” to center it.
\setuptyping
[TEX]
[before={\startframedtext[location=middle]},
after=\stopframedtext]
\starttext
cannot figure out how to do that. With the code below how can I
centre the whole block horizontally on the page?
\setuptyping[TEX]
\startTEX
RSpec.describe Post, :type = :model do
end
\stopTEX
You can add a framedtext environment around the verbatim text and use
“location
Hi,
How can I use textbackground within framedtext. In the following MWE, the
background extends beyond the frame of framedtext. Do I have to use a
different mechanism?
\definetextbackground[bg][
background=color,
backgroundcolor=yellow,
frame=off]
\starttext
\startframedtext
Before
=\overlayheight]{\useMPgraphic{accolade}}}]
\defineoverlay[rightbrace][\rightaligned{\mirror{\scale[height=\overlayheight]{\useMPgraphic{accolade]
\starttext
\framedtext[frame=off,loffset=1em,roffset=1em,background={rightbrace}]{
La longueur est \unit{4 centimeter} ; on donne à $L$ la valeur
with a
table or something similar [I’m in a hurry right now]):
\starttext
\dontleavehmode\framedtext[frame=on,loffset=1em,roffset=1em,background={rightbrace}]{
La longueur est \unit{4 centimeter} ; on donne à $L$ la valeur $4$.
La largeur est \unit{3 centimeter} ; on donne à $l$ la valeur $3
Wolfgang,
Why is it better to use a framed text environment?
With framedtext you need only one environment to put a frame around your text
and center it
(you can also set the distance before and after the environment) while the
\framed command
requires you to center the content with additional
I'm using mkii. I have a \footnote in text between \startframedtext and
stopframedtext, but the footnote is not typeset, neither at the bottom of the
page nor at the bottom of the framed text. Is there a way to do that?
G
Did you issue an \automigrateinserts in your setup?
Sytse
On 12/07/2014 12:00 PM, Gerben Wierdal wrote:
I'm using mkii. I have a \footnote in text between \startframedtext and
stopframedtext, but the footnote is not typeset, neither at the bottom of the
page nor at the bottom of the framed
On 07 Dec 2014, at 12:33, Sytse Knypstra sytse.knyps...@home.nl wrote:
Did you issue an \automigrateinserts in your setup?
No. I'm using mkii, I get an unknown command so it's probably mkiv.
I solved it partly using \startlocalfootnotes, \placelocalfootnotes,
\stoplocalfootnotes in the frame.
Hi,
In the following code, I would like columns that contain the figures have a
white background.
Best regards,
Fabrice
\definecolor[mycolor][c=0.1, m=0.00, y=0.00, k=0.00]
\setupcaptions[number=no]
\starttext
\startframedtext[
width=\textwidth,
frame=on,
location=middle,
[H4][c=0.07, m=0.00, y=0.15, k=0.00]
\setupfloat
[algorithm]
[background=color,
frame=on,
framecolor=H1prime,
backgroundcolor=H4,
width=0.5\textwidth]
You have to put a framedtext environment around the algorithmic environment,
you can do this by replacing \setupfloat
Am 30.09.2014 um 21:52 schrieb Couvreur Fabrice couvreur.fabr...@wanadoo.fr:
Hello Wolfgang,
Thank you for the answer, but I did not understand everything.
I try ti explain it with a few examples. When you text in a framedtext
environment context creates a box with the given width (which
\stopframedtext
\stoptext
In this case framedtext is the better choice but it can be done with framed as
well
but one has to set values for align and disable the strut, e.g.
\framed
[align=right,strut=no]
{\startitemize
…
\stopitemize}
and when you use MkIV replace \framed
I have a question regarding the interplay between framedtext and itemize.
Example
\startitemize[n]\startitem
\startframedtext[left][width=0.5\textwidth]\leavevmode
some text
\stopframedtext
\stopitem\stopitemize
The framedtext is put on the next line instead of on the first of the item.
[cid
der h.vanderm...@uva.nl wrote:
I have a question regarding the interplay between framedtext and itemize.
Example
\startitemize[n]\startitem
\startframedtext[left][width=0.5\textwidth]\leavevmode
some text
\stopframedtext
\stopitem\stopitemize
The framedtext is put on the next line
Am 22.07.2014 16:12, schrieb Otared Kavian:
Maybe you want something like this:
\starttext
\startitemize[n]
\setlocalhsize
\item \framed[width=\localhsize,align=right]{Some text.}
\item \startframed[width=\localhsize,align=right] Some text. \stopframed
\stopitemize
\stoptext
or
\item
: try indenting=yes for indentation. For white space, enclose the
settings in a startsetups...stopsetups, and then use the setups=... key for
framedtext.
Aditya
___
If your question is of interest to others as well
==
See attached. Thanks in advance
Untested: try indenting=yes for indentation. For white space, enclose
the settings in a startsetups...stopsetups, and then use the setups=...
key for framedtext.
Thanks Aditya. indenting=yes was a bust but the following works:
\startsetups
Dear all, I was wondering if there was a way to avoid a new paragraph after
a framed text. For example, the following code
\starttext
\framedtext[width=6em]{abc}\framedtext[width=6em]{abc}
\stoptext
produces two boxes on top of each other. Is it possible to make them side
by side?
I could use
Am 05.07.2014 um 13:07 schrieb Flavien Lambert petit.lep...@gmail.com:
Dear all, I was wondering if there was a way to avoid a new paragraph after a
framed text. For example, the following code
\starttext
\framedtext[width=6em]{abc}\framedtext[width=6em]{abc}
\stoptext
produces two
I am typesetting a series of items with boxedcolumns enclose in a framedtext:
\startframedtext[width=\makeupwidth,offset=0pt,frame=off,align=tolerant]
\startboxedcolumns[n=2,separator=rule]
Occasionally it happens that material at the end of the first column is not
typeset
I am typesetting a series of items with boxedcolumns enclose in a framedtext:
\startframedtext[width=\makeupwidth,offset=0pt,frame=off,align=tolerant]
\startboxedcolumns[n=2,separator=rule]
Occasionally it happens that material at the end of the first column is not
typeset
I have some difficulties with columns inside a framedtext. The example below
shows that columns does not work inside framedtext, whereas simplecolumns does.
However, the latter does not show rules between the columns. Can I have both?
Is columns definitely not working here or is it temporarily
Am 03.10.2013 um 10:21 schrieb H. van der Meer h.vanderm...@uva.nl:
I have some difficulties with columns inside a framedtext. The example below
shows that columns does not work inside framedtext, whereas simplecolumns
does. However, the latter does not show rules between the columns. Can I
Thanks,
But I think mixedcolumns has to solve a problem width the width of the
frametext. Whereas boxedcolumns honors the width of the enclosing framedtext,
mixedcolumns does not. See the example.
% NOT OK WIDTH NOT RESPECTED
\startframedtext[width=.8\makeupwidth,align=verytolerant
Am 03.10.2013 um 12:02 schrieb H. van der Meer h.vanderm...@uva.nl:
Thanks,
But I think mixedcolumns has to solve a problem width the width of the
frametext. Whereas boxedcolumns honors the width of the enclosing framedtext,
mixedcolumns does not. See the example.
Boxedcolumns
If I remember well, framedtext sets a localhsize for the width of its content.
I guess that is why boxedcolumns stays within the width specified. But is there
a specific reason why mixedcolumns in general does not?
Hans van der Meer
On 3 okt. 2013, at 12:07, Wolfgang Schuster schuster.wolfg
Am 03.10.2013 um 12:26 schrieb H. van der Meer h.vanderm...@uva.nl:
If I remember well, framedtext sets a localhsize for the width of its
content. I guess that is why boxedcolumns stays within the width specified.
But is there a specific reason why mixedcolumns in general does
On 10/3/2013 12:35 PM, Wolfgang Schuster wrote:
Am 03.10.2013 um 12:26 schrieb H. van der Meer h.vanderm...@uva.nl:
If I remember well, framedtext sets a localhsize for the width of its content.
I guess that is why boxedcolumns stays within the width specified. But is there
a specific
On Thu, Oct 3, 2013 at 6:55 PM, Hans Hagen pra...@wxs.nl wrote:
On 10/3/2013 12:35 PM, Wolfgang Schuster wrote:
Am 03.10.2013 um 12:26 schrieb H. van der Meer h.vanderm...@uva.nl:
If I remember well, framedtext sets a localhsize for the width of its
content. I guess that is why
between the rule and the heading which isn’t the case with framedtext
where the whole block is unbreakable.
I used `before` (probably in the wrong way ;-) ) to add more space above each
chapter title.
How to do this without `before`?
Controlling the space before and after the heading
which works but also with side effects because allow TeX to
break
the page between the rule and the heading which isn’t the case with framedtext
where the whole block is unbreakable.
I used `before` (probably in the wrong way ;-) ) to add more space above
each chapter title.
How to do
working \NC \setupalign[hz,hanging]
\setuptolerance[horizontal,stretch] \input knuth \NC\NR
\stoptabulate
\subject{Frame}
Framedtext resets align/tolerance:
\startframedtext[width=0.6\textwidth]
aling/tolerance not working
\input tufte
\stopframedtext
\startframedtext[width=0.6\textwidth
Am 30.08.2013 um 17:55 schrieb Christian Prim christian.p...@gmx.ch:
Thanks Wolfgang
I have tested it (on new beta) but the alignment is still wrong in the
tabulate-environment. It's correct in the framedtext-environment, but
tolerance is still missing, so that a line is still too long
-environment. It's correct in the framedtext-environment, but
tolerance is still missing, so that a line is still too long.
My new questions:
- What about tolerance? Where must I add the keys?
The \setupalign command does also accepts “tolerant”, “verytolerant” and
“stretch” as keyword which
Thanks Wolfgang
I have tested it (on new beta) but the alignment is still wrong in the
tabulate-environment. It's correct in the framedtext-environment, but
tolerance is still missing, so that a line is still too long.
My new questions:
- What about tolerance? Where must I add the keys?
- What
Christian Prim christian.p...@gmx.ch:
Thanks Wolfgang
I have tested it (on new beta) but the alignment is still wrong in the
tabulate-environment. It's correct in the framedtext-environment, but
tolerance is still missing, so that a line is still too long.
My new questions:
- What
As can be seen in the following example, within an itemized list the framedtext sticks out to the right, instead of having its right edge aligned with the outer ones.Is there a simple remedy or is it an unwanted effect?I would like the right edges line up perfectly.
Hans van der Meer
\starttext
Am 20.03.2013 um 19:29 schrieb H. van der Meer h.vanderm...@uva.nl:
As can be seen in the following example, within an itemized list the
framedtext sticks out to the right, instead of having its right edge aligned
with the outer ones.
Is there a simple remedy or is it an unwanted effect
:29 schrieb H. van der Meer h.vanderm...@uva.nl:
As can be seen in the following example, within an itemized list the
framedtext sticks out to the right, instead of having its right edge aligned
with the outer ones.
Is there a simple remedy or is it an unwanted effect?
I would like the right
want, a simple way is to use the framedtext
environment which can be positioned on the right margin, complexes
solutions are possible but they require more code.
\defineframedtext[epigraph][location=right,frame=off,offset=.25ex]
\starttext
\title{Ward}
\startepigraph
\input ward
\hairline
\stoptext
framedtext already does most of this (except that it makes the paragraphs
unbreakable across pages). I don't remember if backgrounds has all the
relevant keys.
Aditya
___
If your question is of interest
should be short enough to fit
in the title frame) Actually the definition of FrameTitle uses a \hbox …
It puts the “title” (in the example Zapf (…)”) in the box and not the text.
The text itself for the frame is put in a framedtext environment.
Wolfgang
}
{\externalfigure[dummy][]}{bb}
\stopcombination}
When there are more combinations in the document I would create a named
framedtext to align them.
\defineframedtext
[centered]
[frame=off,
width=fit,
offset=overlay,
location=middle]
\useMPlibrary[dum]
\starttext
Dear all,
I have two questions.
1. I defined \Myheader and use it to shape the chapter head as following:
\def\Myheader#1#2{%
\framedtext
[width=\overlaywidth,
height=9\bodyfontsize,
background=color,
backgroundcolor=lightgray,
offset=2pt,
strut=no,
frame=off,
align={middle, middle}]
{
{\tfb
/an option for framedtexts with overlay to get the max
width/height size of the main content + overlays ?
Can you create a minimal example showing what you are trying to do? The
following example is a bit confusing (where is \MPstring{Content} set? Why
use framedtext instead of framed? What
.
Can you include a check (\ifinner … \fi) to change the columns method from
“otr” to “box”
when the items are in a box, e.g. in a framedtext environment or a layer.
%\setupmixedcolumns[itemgroupcolumns][method=box]
\starttext
\startframedtext[width=max]
\startitemize[columns,two]
\startitem
now made it into a fast start/stop (no need for argument testing
in itemize).
Can you include a check (\ifinner … \fi) to change the columns method from
“otr” to “box”
when the items are in a box, e.g. in a framedtext environment or a layer.
Sure, but even better is to do that at the parent
-hand
(even) page.
2) How does one put a frame around a margin? Layers? Overlay?
\framedtext?
3) Am I correct I can use the COMMAND parameters in \setuplayout to
specify there is some text to use as a marginal in the (chapter |
section) header (using \margintext, I presume)?
I am working
on a
right-hand (odd) page and the left margin on a left-hand (even) page.
Change the layout with \setuplayout and enable doublesided with
\setuppagenumbering.
2) How does one put a frame around a margin? Layers? Overlay? \framedtext?
You can use \setupbackgrounds.
3) Am I correct I can use
on a
right-hand (odd) page and the left margin on a left-hand (even) page.
2) How does one put a frame around a margin? Layers? Overlay? \framedtext?
3) Am I correct I can use the COMMAND parameters in \setuplayout to
specify there is some text to use as a marginal in the (chapter | section
\MyChapter#1#2{ %2 -- text, 1 -- cislo
\framedtext[width=\overlaywidth,
offset=10pt,
strut=no,
frame=off,
% bottomframe=on,
align=right]{%
\vbox{#2}\vbox{#1}
}
}
\def\Cislovani#1{
\framed[background={NumberDeco
%
{\hfill\kern-1em\it#1\hfill\strut\crlf\strut\hfill\hphantom{\tf#3}\framedtext[frame=off,offset=overlay,align=middle,style=TOCstyleBF]{#2}\hfill\tf#3}
% here the interlinespace is ignored
%
{\hfill\kern-1em\it#1\hfill\strut\crlf\strut\hfill\hphantom{\tf#3}\framedtext[frame=off,offset=overlay
:
\definelistplacement[MyListItemIT][none]#1#2#3%
{\hfill\kern-1em\it#1\hfill\strut\crlf\strut\hfill\hphantom{\tf#3}\framedtext[frame=off,offset=overlay]{\bf\midaligned{#2}}\hfill\tf#3}
\setuplist[chapter]
[alternative=MyListItemIT]
\definecombinedlist[TOCtoc]
[chapter]
\setupcombinedlist
about to leave the desk.
Back again ...
Here is the corresponding minimal example:
\definelistplacement[MyListItemIT][none]#1#2#3%
{\hfill\kern-1em\it#1\hfill\strut\crlf\strut\hfill\hphantom{\tf#3}\framedtext[frame=off,offset=overlay]{\bf\midaligned{#2}}\hfill\tf#3}
Probably a bug
Am 17.01.2012 um 12:19 schrieb luigi scarso:
Probably a bug, but this is ok
\definelistplacement[MyListItemIT][none]#1#2#3%
{\hfill\kern-1em\it#1%
\hfill\strut\crlf\strut\hfill\hphantom{\tf#3}%
\framedtext[frame=off,offset=overlay,align=middle,style=bold]%
{#2}%
\hfill\tf#3
Am 17.01.2012 um 13:14 schrieb Steffen Wolfrum:
Am 17.01.2012 um 12:19 schrieb luigi scarso:
Probably a bug, but this is ok
\definelistplacement[MyListItemIT][none]#1#2#3%
{\hfill\kern-1em\it#1%
\hfill\strut\crlf\strut\hfill\hphantom{\tf#3}%
\framedtext[frame=off,offset=overlay,align
[height=\overlayheight]{\useMPgraphic{Test}}}]
\starttext
\framedtext[frame=off,loffset=1em,roffset=1em,background=TTest]{\input
knuth\par}
\setupTABLE[frame=off,offset=1ex]
\setupTABLE[row][each][align={middle,lohi}]
\bTABLE
\bTR
\bTD[nr=3,background=TTest] drei \eTD
\eTR
\eTABLE
\stoptext
Why does framedtext extends to the right in \itemize? Shouldn't the width be
reduced by the extend of the item-shift? Isn't that the idea behind the
fit-parameter.
It wouldn't be a problem to calculate a reduced width, but how can I access the
marginshift caused by the item?
A minimal example
Am 04.01.2012 um 16:25 schrieb Hans van der Meer:
Why does framedtext extends to the right in \itemize? Shouldn't the width be
reduced by the extend of the item-shift? Isn't that the idea behind the
fit-parameter.
It wouldn't be a problem to calculate a reduced width, but how can I
That is it! Thanks.
Hans van der Meer
On 4 jan. 2012, at 17:09, Wolfgang Schuster wrote:
Am 04.01.2012 um 16:25 schrieb Hans van der Meer:
Why does framedtext extends to the right in \itemize? Shouldn't the width be
reduced by the extend of the item-shift? Isn't that the idea behind
Hi Hans,
If this can be of any help for you to localize the origin of the bug with the
latest beta (ConTeXt ver: 2011.12.18 15:57 MKIV), I would like to report that
when a \framedtext is used by its own, the result is as expected, while when it
follows \startbackground …. \stopbackground
On 19-12-2011 09:14, Otared Kavian wrote:
Hi Hans,
If this can be of any help for you to localize the origin of the bug with the
latest beta (ConTeXt ver: 2011.12.18 15:57 MKIV), I would like to report that
when a \framedtext is used by its own, the result is as expected, while when
)
Understood. Do you have a more appropriate version of what I was trying
to do using textbackgounds instead?
it depends .. if you have small boxes, you as well use a regular
framedtext (with background) or when you span pages you can use
textbackgrounds ... the backgrounds you use is some
On Wed, 2011-11-23 at 11:03 +0100, Hans Hagen wrote:
it depends .. if you have small boxes, you as well use a regular
framedtext (with background) or when you span pages you can use
textbackgrounds ... the backgrounds you use is some compromise
Hmm, I am using boxes that sometimes span
On 23-11-2011 20:02, Kip Warner wrote:
On Wed, 2011-11-23 at 11:03 +0100, Hans Hagen wrote:
it depends .. if you have small boxes, you as well use a regular
framedtext (with background) or when you span pages you can use
textbackgrounds ... the backgrounds you use is some compromise
Hmm, I am
Hey folks,
I've been pulling my hair out for hours, as I can't seem to figure out
how to set the margin with and height for a textbackground area so the
text doesn't start immediately at the left frame line and go to the
right frame line. I am using this:
\definetextbackground[FramedText
this:
\definetextbackground[FramedText][
location=paragraph,
color=color_text,
background=color,
backgroundcolor=colour_page,
framecolor=colour_text,
leftoffset=1.0\bodyfontsize,
rightoffset=1.0\bodyfontsize,
before={
\blank
,style={\it}]
\starttext
\myFrame{Hello}
\stoptext
Is it on purpose?
IIRC, the name of the key is foregroundstyle.
Or use \framedtext{…}
\defineframedtext[myFrame][frame=on,align=middle,style=\it,width=fit]
Andreas
to add 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
On Thu, Nov 03, 2011 at 03:33:48PM +0100, Wolfgang Schuster wrote:
How is a framedtext more logical than a dictum or epigraph environment,
with my solution you can also change the definition of the code to place
the epigraph format without any change in the text while your framed text
Am 03.11.2011 um 15:51 schrieb Alan Braslau:
On Thu, Nov 03, 2011 at 03:33:48PM +0100, Wolfgang Schuster wrote:
How is a framedtext more logical than a dictum or epigraph environment,
with my solution you can also change the definition of the code to place
the epigraph format without any
the definition as follows:
\def\Mytitle#1{%
\framedtext
[width=\overlaywidth,
height=5\bodyfontsize,
background=color,
backgroundcolor=lightgray,
offset=2pt,
strut=no,
frame=off,
align=middle,
top=\vss,
bottom=\vss]{
\sans #1} }
\setuphead[title][textcommand=\Mytitle]
This makes everything
Dear all,
For the header text, I used \getmarking as follows:
\setupheadertexts[][{\getmarking[{\v!title}]}]
*
This problem comes from my setting which is as follows:
\title{\ss\bf\tfb Title}
I changed it by using the definition as follows:
\def\Mytitle#1{%
\framedtext
[width
As Hraban mentions it might be best to place the two tables with \placefigure +
startcombination .. \stopcombination.
If you want to stick to the columnsets and this is for this single page only,
then you could place the spanning text in a \framedtext. The placefigure
command must be place
the spanning text in a \framedtext. The placefigure
command must be place right after the \startcolumnset command. This you could
place with \placefigure like this:
\placefigure
[btlr]
[]
{none}
{\offset[y=-7cm]{\framedtext[width=\makeupwidth,offset=0pt,frame=off]
{Zwar
.. \stopcombination.
If you want to stick to the columnsets and this is for this single page only,
then you could place the spanning text in a \framedtext. The placefigure
command must be place right after the \startcolumnset command. This you could
place with \placefigure like
]
\starttext
\chapter{Foo Bar}
\stoptext
Marco
If you don't want to use framedtext (cfr wolfgang)
\setuplabeltext [en] [chapter=Chapter~]
\def\MyChapter#1#2{\vbox{#1\blank#2}}
\setuphead [chapter] [command=\MyChapter]
\starttext
\chapter{Foo Bar}
\stoptext
If you don't want to use framedtext (cfr wolfgang)
\setuplabeltext [en] [chapter=Chapter~]
\def\MyChapter#1#2{\vbox{#1\blank#2}}
\setuphead [chapter] [command=\MyChapter]
\starttext
\chapter{Foo Bar}
\stoptext
Thanks to both of you. Added to the wiki.
Marco
201 - 300 of 498 matches
Mail list logo