d again.
>
> The following code works but I guess that must be some more sophisticated
> ConTeXt way.
>
> Best wishes,
>
> Tomáš
>
>
> %%
> \def\myboxik#1#2{\start\setuphyphenation[cz][method=#1]\startframedtext[width=1dd]\hbox{{\bf#1}}\crlf#2\stopframe
\setuphyphenation[cz][method=#1]\startframedtext[width=1dd]\hbox{{\bf#1}}\crlf#2\stopframedtext\stop\par}
\def\mybox#1{\myboxik{traditional}{#1}\myboxik{default}{#1}\myboxik{expanded}{#1}\myboxik{original}{#1}\myboxik{tex}{#1}\myboxik{hyphenate}{#1}\myboxik{none}{#1}\par\thinrule}
\starttext
re any way in ConTeXt how to set it by default?
> # >
> # > Best wishes,
> # >
> # > Tomáš
> # >
> # > %% MWE:
> # >
> # > \starttext\mainlanguage[cz]
> # >
> \def\myboxik#1#2{\start\setuphyphenation[cz][method=#1]\startframedtext[width=1dd]\hbox{{\
ny way in ConTeXt how to set it by default?
# >
# > Best wishes,
# >
# > Tomáš
# >
# > %% MWE:
# >
# > \starttext\mainlanguage[cz]
# >
\def\myboxik#1#2{\start\setuphyphenation[cz][method=#1]\startframedtext[width=1dd]\hbox{{\bf#1}}\crlf#2\stopframedtext\stop\par}
#
t by default?
>
> Best wishes,
>
> Tomáš
>
> %% MWE:
>
> \starttext\mainlanguage[cz]
> \def\myboxik#1#2{\start\setuphyphenation[cz][method=#1]\startframedtext[width=1dd]\hbox{{\bf#1}}\crlf#2\stopframedtext\stop\par}
> \def\mybox#1{\myboxik{traditional}{#1}\m
anguage[cz]
\def\myboxik#1#2{\start\setuphyphenation[cz][method=#1]\startframedtext[width=1dd]\hbox{{\bf#1}}\crlf#2\stopframedtext\stop\par}
\def\mybox#1{\myboxik{traditional}{#1}\myboxik{default}{#1}\myboxik{expanded}{#1}\myboxik{original}{#1}\myboxik{tex}{#1}\myboxik{hyphenate}{#1}\myboxik{none}{#1
Le 18/03/2019, Aditya Mahajan a �crit
> On Mon, 18 Mar 2019, Romain Diss wrote:
>
> > Le 13/03/2019, Aditya Mahajan a �crit
> > > > Is there a simple way to split a large \startframedtext environment over
> > > > multiple pages. It doesn't
Le 18/03/2019, Alan Braslau a �crit
> On Mon, 18 Mar 2019 14:15:10 -0400 (EDT)
> Aditya Mahajan wrote:
>
> > On Mon, 18 Mar 2019, Romain Diss wrote:
> >
> > > Le 13/03/2019, Aditya Mahajan a �crit
> > >> > Is there a simple way to split a larg
On Mon, 18 Mar 2019 14:15:10 -0400 (EDT)
Aditya Mahajan wrote:
> On Mon, 18 Mar 2019, Romain Diss wrote:
>
> > Le 13/03/2019, Aditya Mahajan a �crit
> >> > Is there a simple way to split a large \startframedtext environment over
> >> > multiple pages.
On Mon, 18 Mar 2019, Romain Diss wrote:
Le 13/03/2019, Aditya Mahajan a �crit
> Is there a simple way to split a large \startframedtext environment over
> multiple pages. It doesn't work out of the box and I didn't find any
> option make it work in the wiki nor in the d
Le 13/03/2019, Aditya Mahajan a �crit
> > Is there a simple way to split a large \startframedtext environment over
> > multiple pages. It doesn't work out of the box and I didn't find any
> > option make it work in the wiki nor in the documentation I read.
>
>
Is there a simple way to split a large \startframedtext environment over
multiple pages. It doesn't work out of the box and I didn't find any
option make it work in the wiki nor in the documentation I read.
Use backgrounds or textbackground
Hi,
Is there a simple way to split a large \startframedtext environment over
multiple pages. It doesn't work out of the box and I didn't find any
option make it work in the wiki nor in the documentation I read.
Thanks.
--
R
1em,
headcommand=\FrameTitle,
alternative=serried]
\starttext
\startFramedText[width=\textwidth]
\startInfo
Cette suite d'appels sera notée Anissa--Boris--Gween et on dira qu'elle a
pour longueur 2.
\stopInfo
\stopFramedText
\startFramedText[width=\textwidth]
\startInfo
La matrice
]
\startxrow [corner=round,align=normal]
\startxcell
\typebuffer [userdata] [option=tex]
\stopxcell
\stopxrow
\stopembeddedxtable
\blank
\stopsetups
\startsetups [userdata:purecode]
\blank
\startframedtext
[width=max,offset=1ex,corner=round,framecolor=black
your examples in the document.
\starttext
\startbuffer
\startframedtext
\samplefile{klein}
\stopframedtext
\stopbuffer
\typebuffer[option=tex]
\getbuffer
\stoptext
You can use this to write your own environment for the examples (or use
the userdata
environment when you’re lazy :)
\defineuse
broad},
> frame=off,
> corner=round,
> radius=1.5em,
> width=10cm]
>
> \definedescription
>[Info]
>[before=,
> after=,
> text=Info,
> title=no,
> width=fit,
> distance=1em,
> h
after=,
text=Info,
title=no,
width=fit,
distance=1em,
headcommand=\FrameTitle,
alternative=hanging]
\showframe
\starttext
\startFramedText
\startInfo
\input zapf
\stopInfo
\stop
backgroundcolor=MyColorA,
> foregroundstyle={\switchtobodyfont[10pt]},
> align={right, broad},
> frame=off,
> corner=round,
> radius=1.5em,
> width=10cm,
> ]
>
> \showfra
ht, broad},
frame=off,
corner=round,
radius=1.5em,
width=10cm,
]
\showframe
\starttext
\FrameTitle{Info}{%
\startFramedText%
\input zapf
\stopFramedText}
\stoptext
The width opt
wrapped
frame=off,
corner=round,
]
\showframe
\starttext
\FrameTitle{Info}{\startFramedText[width=\textwidth]
\dorecurse{100}{blabla}
\stopFramedText}
\stoptext
___
If your question is
\FrameTitle{Info}{\startFramedText[width=\textwidth]
\dorecurse{100}{blabla}
\stopFramedText}
\stoptext
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist
quires external file gradient-t.pdf
\defineoverlay [gradient-img] [{\externalfigure[gradient-t][width=\overlaywidth,height=\overlayheight]}]
\starttext
using external image:
\startframedtext [background={foreground, gradient-img}]
\input knuth
\stopframedtext
metapost:
\startframedtext [
On Sun, 25 Mar 2018 09:29:01 -0600, Wolfgang Schuster
wrote:
Idris Samawi Hamid ادريس سماوي حامد <mailto:idris.ha...@colostate.edu>
25. März 2018 um 17:04
Dear gang,
Consider the following:
==
\starttext
\startframedtext[width=fit,frame=off,offset=0pt]
% \startlocalfootnot
Idris Samawi Hamid ادريس سماوي حامد <mailto:idris.ha...@colostate.edu>
25. März 2018 um 17:04
Dear gang,
Consider the following:
==
\starttext
\startframedtext[width=fit,frame=off,offset=0pt]
% \startlocalfootnotes[n=2]
\startlocalfootnotes
\input ward
\startfootnote
\inpu
Dear gang,
Consider the following:
==
\starttext
\startframedtext[width=fit,frame=off,offset=0pt]
% \startlocalfootnotes[n=2]
\startlocalfootnotes
\input ward
\startfootnote
\input ward
\stopfootnote
\placelocalfootnotes
\stoplocalfootnotes
\stopframedtext
\stoptext
e=2in]
\setupnotation[footnote][style={\PagellaRegularSmall},
numbercommand=\PagellaRegularSmall]
\setupnote [footnote]
[textcommand={\setupbodyfont[nonexisting]\high}]
\noheaderandfooterlines
\starttext
\startframedtext[width=4.5in,offset=0pt
titlestyle={\PagellaRegularSmall}] % Why is this
necessary?
\setupnote[footnote][textcommand={\PagellaRegularSmall}] % symbol-font
style in the main text
\noheaderandfooterlines
\starttext \PagellaRegular
\startframedtext[width=4.5in,offset=0pt]
\startlocalfootnotes
Text]
> [
>offset=0.6em,
>toffset=\lineheight,
>background=color,
>backgroundcolor=MyColorA,
>foregroundstyle={\switchtobodyfont[10pt]},
> align=verytolerant,
>frame=off,
>corner=01,
> ]
>
>
> \showframe
> \starttext
>
>
> [figure]
>
> \setupfloat
> [recipe]
> [default={right,none}]
>
> \showframe
>
> \starttext
> \placerecipe{}
>{\FrameTitle{Info}{\startFramedText[width=10cm]
> L'équivalent vingt pieds (EVP) est une unité de mesure
rnative=serried, % text wrapped
frame=off,
corner=round,
]
\definefloat
[recipe]
[figure]
\setupfloat
[recipe]
[default={right,none}]
\showframe
\starttext
\placerecipe{}
{\FrameTitle{Info}{\startFramedText[width=10cm]
t; background=color,
>>> backgroundcolor=MyColorB,
>>> ]
>>>
>>> \defineframedtext
>>> [FramedText]
>>> [
>>> offset=0.6em,
>>> toffset=\lineheight,
>>> background=color,
>>>
background=color,
>> backgroundcolor=MyColorB,
>> ]
>>
>> \defineframedtext
>> [FramedText]
>> [
>> offset=0.6em,
>> toffset=\lineheight,
>> background=color,
>> backgroundcolor=MyColorA,
>> foregro
t;> background=color,
>> backgroundcolor=MyColorB,
>> ]
>>
>> \defineframedtext
>> [FramedText]
>> [
>> offset=0.6em,
>> toffset=\lineheight,
>> background=color,
>> backgroundcolor=MyColorA,
>>
ackgroundcolor=MyColorA,
> foregroundstyle={\switchtobodyfont[10pt]},
> align=verytolerant,
> frame=off,
> corner=01,
> ]
>
>
> \showframe
> \starttext
>
> \FrameTitle{Info}{\startFramedText[width=10cm]
> L'équivalent vingt pieds (EV
,
frame=off,
corner=01,
]
\showframe
\starttext
\FrameTitle{Info}{\startFramedText[width=10cm]
L'équivalent vingt pieds (EVP) est une unité de mesure de conteneurs
(de longueur courante 20 pieds, soit environ \unit{6,1 meter}).
1 EVP représente environ \unit{38,5 cubic
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
dth,
frame=on,
rulethickness=1pt,
corner=0,
offset=12pt]
\starttext
\startframedtext
If you typeset text with background,
the footnote workaround does not work.
\postponenotes\footnote{So what could
I do to get this footnote d
ttext
\startcombination[2]
{\startframedtext
\startitemize
\item In The Flesh? 3:19
\item The Thin Ice 2:29
\item Another Brick In The Wall (Part 1)3:09
\item The Happiest Days Of Our Lives1:50
\stopitemize
\stopframedtext
}{}{
\startframedtext
\startitemize
\item Hey You 4:41
\it
hanks, that worked indeed (I had to skip the style of the chapter,
and put the \definedfont and \setupinterlinespace inside the macro).
For 2) I noted that a grid=no as option to \startframedtext results in
the frame starting from the top. Maybe there is a
color darkred;
setbounds currentpicture to unitsquare xyscaled (OverlayWidth,OverlayHeight);
\stopuseMPgraphic
}
\defineoverlay[chapnum][\useMPgraphic{chapnum}]
\define[1]\mychaptext{%
\startcolumnsetspan[intro]
\startframedtext[align={middle,lohi},background=chapnum,frame=on,framecolor=darky
frame is adjusted to natural
width, the underlying box is still full width. Therefore I tried framed but
there I obtain spurious vertical space out of nowhere. How can I place typing
into a natural sized box?
Cheers, Henri
---
\starttext
\ruledhbox{%
\startframedtext[width=fit,offset=0pt
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
ain spurious vertical space out of nowhere. How can I
> place typing into a natural sized box?
>
> Cheers, Henri
>
> ---
>
> \starttext
>
> \ruledhbox{%
> \startframedtext[width=fit,offset=0pt]
> \starttyping
> print("Hello World!")
&g
underlying box is still full width. Therefore I tried framed but
there I obtain spurious vertical space out of nowhere. How can I place typing
into a natural sized box?
Cheers, Henri
---
\starttext
\ruledhbox{%
\startframedtext[width=fit,offset=0pt]
\starttyping
print("Hello
ock.
>
>
> Two questions:
>
> * How can I get line numbers inside floating block?
>
> You can’t use them in floats unless you add a frame around the content,
> e.g.
>
> \startplacealgorithm
> \startframedtext
> \startlinenumbering
> ...
>
the floating block.
Two questions:
* How can I get line numbers inside floating block?
You can’t use them in floats unless you add a frame around the content, e.g.
\startplacealgorithm
\startframedtext
\startlinenumbering
...
\stoplinenumbering
\stopframedtex
\starttext
\startplacetable[title={some table}]
\startframedtext[width=fit,align=middle,frame=off]
\startlocalfootnotes
\startTABLE
\NC Content\footnote{Footnote} \NC\NR
\stopTABLE
\placelocalfootnotes
\stoplocalfootnotes
\stopframedtext
\stopplacetabl
\setupformula
[before={\startframedtext[background=color,backgroundcolor=lightblue]},
after={\stopframedtext}]
One typically wants to have a bounding box around the displayed math,
but not the white space or the equation number. For example, see the
attached image.
experimental framed support in
On Thu, 16 Jun 2016, Alan BRASLAU wrote:
On Thu, 16 Jun 2016 18:18:58 -0400
Aditya Mahajan wrote:
And some stage, it will be nice to discuss the possiblility of adding
background to formulas, especially aligned formulas.
something like a
\setupformula
[before={\startframedtext[background
On Thu, 16 Jun 2016 18:18:58 -0400
Aditya Mahajan wrote:
> And some stage, it will be nice to discuss the possiblility of adding
> background to formulas, especially aligned formulas.
something like a
\setupformula
[before={\startframedtext[background=color,backgroundcolor=lig
\headshownumber
> \scratchdimenone\dimexpr\headnumberwidth+\headnumberdistance\relax
> \scratchdimentwo\dimexpr\headnumberdistance\relax
> \else
> \scratchdimenone\zeropoint
> \scratchdimentwo\zeropoint
> \fi
>
> \startframedtext[offset=0.2
http://wiki.contextgarden.net/Widows_and_orphans_control
but I wasn’t able to solve.
I guess it could depend on the formatting of my headlines. Here they are:
\setuphead[section]
[style=\ss\tfa,
before={\blank[0.5cm]\startframedtext[offset=0.25cm,framecolor=black,
rulethickness=0.01cm, frame=off, topfra
oked at
>
> http://wiki.contextgarden.net/Widows_and_orphans_control
>
> but I wasn’t able to solve.
>
> I guess it could depend on the formatting of my headlines. Here they are:
>
> \setuphead[section]
> [style=\ss\tfa,
> before={\blank[0.5cm]\startframedtext[offset=0.25cm,fra
.
I guess it could depend on the formatting of my headlines. Here they are:
\setuphead[section]
[style=\ss\tfa,
before={\blank[0.5cm]\startframedtext[offset=0.25cm,framecolor=black,
rulethickness=0.01cm, frame=off, topframe=off,
bottomframe=on]\crlf},after={\stopframedtext\noindentation\blank
gt; Hmm, how to get this?
>>
>>
>> For chapter/section/subsection
>> I have e.g.
>>
>> \setuphead[chapter]
>> [style=\ss\tfc, before={\blank[1cm]\startframedtext[width=local,
>> foregroundcolor=black, background=color, backgroundcolor=bgGrey1,
>>
s that the first line of chapter/section/subsection should have
no indent.
Hmm, how to get this?
For chapter/section/subsection
I have e.g.
\setuphead[chapter]
[style=\ss\tfc, before={\blank[1cm]\startframedtext[width=local,
foregroundcolor=black, background=color, backgroundcolor=b
results in your text, please create an MWE.
> \setuphead[chapter]
> [style=\ss\tfc, before={\blank[1cm]\startframedtext[width=local,
> foregroundcolor=black, background=color, backgroundcolor=bgGrey1,
> framecolor=bgGrey2,offset=0.25cm, rulethickness=0.05cm, frame=off,
> topfram
indent.
Hmm, how to get this?
For chapter/section/subsection
I have e.g.
\setuphead[chapter]
[style=\ss\tfc, before={\blank[1cm]\startframedtext[width=local,
foregroundcolor=black, background=color, backgroundcolor=bgGrey1,
framecolor=bgGrey2,offset=0.25cm,
rulethickness=0.05cm, frame=off
On 4/11/2016 6:49 PM, Meer, Hans van der wrote:
On 11 Apr 2016, at 18:13, Alan BRASLAU mailto:alan.bras...@cea.fr>> wrote:
Would it not be better to use ConTeXt alignment, rather than the TeX
primitives \hfil and \hfill?
\startframedtext[left][frame=on,offset=0pt,width=broad,align=flu
On 11 Apr 2016, at 18:13, Alan BRASLAU
mailto:alan.bras...@cea.fr>> wrote:
Would it not be better to use ConTeXt alignment, rather than the TeX
primitives \hfil and \hfill?
\startframedtext[left][frame=on,offset=0pt,width=broad,align=flushleft]
left
\stopframedtext
Could be of course. B
Would it not be better to use ConTeXt alignment, rather than the TeX
primitives \hfil and \hfill?
\starttext
\startframedtext[left][frame=on,offset=0pt,width=broad,align=flushleft]
left
\stopframedtext
\startframedtext[middle][frame=on,offset=0pt,width=broad,align=middle]
centered
> On 11 Apr 2016, at 12:28, Mari Voipio wrote:
>
> On Mon, Apr 11, 2016 at 1:08 PM, Meer, Hans van der
> wrote:
>
>> \startframedtext[middle][frame=on,offset=0pt,width=broad]
>> \hfil centered\hfil
>> \stopframedtext
>> \startframedtext[middle][fra
On Mon, Apr 11, 2016 at 1:08 PM, Meer, Hans van der wrote:
> \startframedtext[middle][frame=on,offset=0pt,width=broad]
> \hfil centered\hfil
> \stopframedtext
> \startframedtext[middle][frame=on,offset=0pt,width=broad]
> \hfill centered\hfill
> \stopframedtext
One has \hfil
I am getting an unexpected results with framedtexts.Why is the second
"centered" not centered?
\starttext
\startframedtext[left][frame=on,offset=0pt,width=broad]
left\hfill
\stopframedtext
\startframedtext[middle][frame=on,offset=0pt,width=broad]
\hfil centered\hfil
\stop
]{\externalfigure[vipere.jpg][width=6cm]}}
\startframedtext[width=fit,background=color,backgroundcolor=FondTableaux]
\input knuth
\stopframedtext
\stoptext
___
If your question is of interest to others as well, please add an entry
?
>
> 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}
>
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]{
\startfigu
.
then the text is wrapped around the figure when using \starthanging.
Best regards: OK
> On 08 Aug 2015, at 15:49, Jeong Dal wrote:
>
> Dear Wolfgang,
>
>> You have to use \starthanging instead of \placefgure when you’re in a frame.
>>
>> \starttext
>
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 ;
> \sto
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]
\starth
btain the same result (by
> the way, you have to say also \stopframedtext in your source file):
>
> \startframedtext[width=\textwidth]{
> \placefigure[right,none]{}{%
> \startMPcode
> draw unitsquare scaled 2cm ;
> \stopMPcode}
> \input knuth.tex }
> \stopframedtext
Hi,
You should use the same width if you want to obtain the same result (by the
way, you have to say also \stopframedtext in your source file):
\startframedtext[width=\textwidth]{
\placefigure[right,none]{}{%
\startMPcode
draw unitsquare scaled 2cm ;
\stopMPcode}
\input knuth.tex
scaled 2cm ;
\stopMPcode}
\input knuth
\stopMyText
\startframedtext{
\placefigure[right,none]{}{%
\startMPcode
draw unitsquare scaled 2cm ;
\stopMPcode}
\input knuth}
\stoptext
___
If your question is of interest to
inbetween=\startframedtext,after=\stopframedtext in the
\setupdescriptions but this lead to an error "Missing } inserted"
search for textbackgrounds
-
Hans Hagen |
possible ?
there was a similar discussion - see
http://www.ntg.nl/pipermail/ntg-context/2015/081528.html
Best regards,
Lukas
I tried inbetween=\startframedtext,after=\stopframedtext in the
\setupdescriptions but this lead to an error "Missing } inserted"
--
Ing. Lukáš
I wish to write a text where there are definitions, theorems, ...
I wish to get a table of definitions at the end so I think the right
tool is description.
But I want the head or/and the main text have colored background.
Is it possible ?
I tried inbetween=\startframedtext,after
le=bold]
> \item
> \item
> \item \'Emettre une conjecture sur la nature de la transformation
> correspondant à l'enchaînement de ces deux translations.
> \startframedtext[frame=on,background=color,backgroundcolor=lightgray,width=local]
> On notera $\vec{u} + \vec{v}$ les caract
de la transformation
correspondant à l'enchaînement de ces deux translations.
\startframedtext[frame=on,background=color,backgroundcolor=lightgray,width=local]
On notera $\vec{u} + \vec{v}$ les caractéristiques de cette nouvelle
transformation.
\stopframedtext
\stopitemize
\column
\item
\star
different head alternatives where you set the differences with the
\defineheadalternative command.
% HeadA
\defineheadplacement[HeadA][vertical]#1#2%
{\startframedtext
#1\quad #2%
\stopframedtext}
\definehead[HeadA][section][alternative=HeadA]
% HeadB
\defineheadaltern
the
\defineheadalternative command.
% HeadA
\defineheadplacement[HeadA][vertical]#1#2%
{\startframedtext
#1\quad #2%
\stopframedtext}
\definehead[HeadA][section][alternative=HeadA]
% HeadB
\defineheadalternative[HeadB][renderingsetup=HeadB] % alternative=vertical
\startsetups[HeadB]
e
>>>> [tikz]
>>>>
>>>> \definesymbol[1]
>>>> [{\tikz\shade[shading=ball,ball color=blue] (0,0) circle (.2cm);}]
>>>>
>>>> \definecolor
>>>> [backcol]
>>>> [s=1,a=1,t=0.1]
>>>>
>&g
t=0.1]
\starttext
\startframedtext[width=4cm,background=color,backgroundcolor=backcol]
\startitemize
\item one
\item two
\item three
\stopitemize
\stopframedtext
\stoptext
Workaround (though I have no idea why this should work).
Does it also work if you use the following?
\definecolor
[ba
ball color=blue] (0,0) circle (.2cm);}]
>>
>> \definecolor
>>[backcol]
>>[s=1,a=1,t=0.1]
>>
>> \starttext
>>
>> \startframedtext[width=4cm,background=color,backgroundcolor=backcol]
>> \startitemize
>> \item one
>> \item two
&
the
background. Here's an example:
\usemodule
[tikz]
\definesymbol[1]
[{\tikz\shade[shading=ball,ball color=blue] (0,0) circle (.2cm);}]
\definecolor
[backcol]
[s=1,a=1,t=0.1]
\starttext
\startframedtext[width=4cm,background=color,backgroundcolor=backcol]
\startitemize
\ite
odule
[tikz]
\definesymbol[1]
[{\tikz\shade[shading=ball,ball color=blue] (0,0) circle (.2cm);}]
\definecolor
[backcol]
[s=1,a=1,t=0.1]
\starttext
\startframedtext[width=4cm,background=color,backgroundcolor=backcol]
\startitemize
\item one
\item two
\item three
\stopit
> Am 29.03.2015 um 22:05 schrieb Fabrice Couvreur :
>
> Hi,
>
> 1. In the following code, the color is not included in the \startframedtext
> \stopframedtext environment
Remove the \MPcolor command, it is only needed for meatiest graphics.
You can also remove \setup
Hi,
1. In the following code, the color is not included in the \startframedtext
\stopframedtext environment
2. How can the height of the red square adapts to the height of the text ?
3. Can we improve the code ?
Best regards,
Fabrice
\setupcolors[state=start]
\definecolor[mycolor][c=0.00, m
Hi John,
Maybe playing with something like what follows will help:
begin tilted-framed.tex
\starttext
\placeintermezzo[right,none]{}
\rotate[rotation=-10]{\startframedtext[width=3in]
\midaligned{\bf RECIPE FOR SUCCESS}
\par
\noindent
do I cause it to lean to the left about 3
degrees?
--
\starttext
\setupframed[background=screen,framecorner=rectangular,backgroundscreen=0.70]
\placeintermezzo[right,none]{}
\startframedtext[width=3in]
\centerline {\bf RECIPE FOR SUCCESS
ttext
> \placeintermezzo[center,none]{}
> \starttext
> \startframedtext[] [width=\hsize]
> \centerline{\ss\tfb Interest in Green, Organic,
> and Local Foods Is Exploding}
> \definecolumns[example][n=2]
> \startcolumns[example] Organic foods, locally
> sourced foods, and sustainable liv
is my code:
---
\setupframed[framecorner=round, frameradius=1em,
background=screen, backgroundscreen=0.70,
backgroundcorner=round, backgroundradius=1em,
corner=round, radius=1em] \starttext
\placeintermezzo[center,none]{}
\starttext
\startframedtext[] [width=\hsize]
\centerline{\ss\tfb Interest in Green, Organic,
=0.70,
backgroundcorner=round,
backgroundradius=1em,
corner=round,
radius=1em]
\startframedtext[right][width=3.2in]
\centerline{\ss\tfb Life Before Specialty}
\centerline{\ss\tfb Food Marketing}
What food entrepeneurs did before starting a specialty food firm (in order of
prevalence):
\startitemize[1]
I know how to place an intermezzo, e.g.
\starttext
\setupframed[framecorner=round,
frameradius=1em,
background=screen,
backgroundscreen=0.70,
backgroundcorner=round,
backgroundradius=1em,
corner=round,
radius=1em]
\definefloat[intermezzo]{ }
\placeintermezzo[right]{}
\startframedtext[width=3.2in
>
> 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]
>
>
> \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]},
> backgroundradius=1em,
> corner=round,
> radius=1em]
> \definefloat[intermezzo]{ }
>
> \kern 5em\placeintermezzo[right]{}
> \startframedtext[width=3.2in]
>
> \centerline{\ss\tfb Life Before Specialty}
> \centerline{\ss\tfb Food Marketing}
> \tfx
>
> What food entrepe
?
For the curious here is my code segment to date:
\setupframed[framecorner=round,
frameradius=1em,
background=screen,
backgroundscreen=0.70,
backgroundcorner=round,
backgroundradius=1em,
corner=round,
radius=1em]
\definefloat[intermezzo]{ }
\kern 5em\placeintermezzo[right]{}
\startframedtext[w
.
>
> 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
101 - 200 of 571 matches
Mail list logo