* Setting framed
@ 2009-03-21 20:45 Diego Depaoli
2009-03-22 8:43 ` Wolfgang Schuster
0 siblings, 1 reply; 5+ messages in thread
From: Diego Depaoli @ 2009-03-21 20:45 UTC (permalink / raw)
To: mailing list for ConTeXt users
Hi all,
in my text each section ends with an one-line box so I used \framed
(thinking that's the right way).
How to put each box at the same distance from last previous line even
it comes after a list, a table, a regular text...?
There is an the option to set the \framed's font globally?
Thanks in advance
--
Diego Depaoli
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Setting framed
2009-03-21 20:45 Setting framed Diego Depaoli
@ 2009-03-22 8:43 ` Wolfgang Schuster
2009-03-23 0:34 ` Diego Depaoli
0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2009-03-22 8:43 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 21.03.2009 um 21:45 schrieb Diego Depaoli:
> Hi all,
> in my text each section ends with an one-line box so I used \framed
> (thinking that's the right way).
> How to put each box at the same distance from last previous line even
> it comes after a list, a table, a regular text...?
\dontleavehmode\framed{...}
or
\dontleavehmode\framedtext{...}
or
\startframedtext
...
\stopframedtext
> There is an the option to set the \framed's font globally?
\setupframed
or
\setupframedtext
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Setting framed
2009-03-22 8:43 ` Wolfgang Schuster
@ 2009-03-23 0:34 ` Diego Depaoli
2009-03-23 0:56 ` Wolfgang Schuster
0 siblings, 1 reply; 5+ messages in thread
From: Diego Depaoli @ 2009-03-23 0:34 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Sun, Mar 22, 2009 at 9:43 AM, Wolfgang Schuster
<schuster.wolfgang@googlemail.com> wrote:
>
> Am 21.03.2009 um 21:45 schrieb Diego Depaoli:
>
>> Hi all,
>> in my text each section ends with an one-line box so I used \framed
>> (thinking that's the right way).
>> How to put each box at the same distance from last previous line even
>> it comes after a list, a table, a regular text...?
>
> \dontleavehmode\framed{...}
Sorry Wolfgang, but I can't get wanted result
Consider follow example
\starttext
\startitemize
\item one
\item two
\stopitemize
\framed {This box is far from previous line}
\input tufte
\framed {This box is near previous line}
\startitemize
\item one
\item two
\stopitemize
\dontleavehmode\framed {Using dontleavehmode makes no difference
regarding previous line}
\input tufte
\dontleavehmode\framed {Here too}
\stoptext
My goal is to put all boxes at XXpt from previous line.
>> There is an the option to set the \framed's font globally?
>
> \setupframed
Yes, I know it, but... which option?
I do not find the right one
Cheers
--
Diego Depaoli
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Setting framed
2009-03-23 0:34 ` Diego Depaoli
@ 2009-03-23 0:56 ` Wolfgang Schuster
2009-03-23 1:20 ` Diego Depaoli
0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2009-03-23 0:56 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 23.03.2009 um 01:34 schrieb Diego Depaoli:
> Sorry Wolfgang, but I can't get wanted result
> Consider follow example
\defineframedtext
[myframe]
[width=fit,
offset=.25ex,
foregroundstyle=bolditalic,
before={\blank[medium]},
after={\blank[medium]}]
\setupitemize
[before={\blank[medium]},
after={\blank[medium]}]
> \starttext
> \startitemize
> \item one
> \item two
> \stopitemize
> \framed {This box is far from previous line}
\startmyframe
This box is far from previous line
\stopmyframe
You need a framedtext environment.
>>> There is an the option to set the \framed's font globally?
>>
>> \setupframed
> Yes, I know it, but... which option?
> I do not find the right one
foregroundstyle, see example setup above.
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Setting framed
2009-03-23 0:56 ` Wolfgang Schuster
@ 2009-03-23 1:20 ` Diego Depaoli
0 siblings, 0 replies; 5+ messages in thread
From: Diego Depaoli @ 2009-03-23 1:20 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Mon, Mar 23, 2009 at 1:56 AM, Wolfgang Schuster
<schuster.wolfgang@googlemail.com> wrote:
> \startmyframe
> This box is far from previous line
> \stopmyframe
>
> You need a framedtext environment.
Understood, It's easier than I thought
No need of cryptic parameters.
>>>> There is an the option to set the \framed's font globally?
>>>
>>> \setupframed
>>
>> Yes, I know it, but... which option?
>> I do not find the right one
>
> foregroundstyle, see example setup above.
Yes, NOW I see it
As usual... many thanks Wolfgang
--
Diego Depaoli
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-03-23 1:20 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-21 20:45 Setting framed Diego Depaoli
2009-03-22 8:43 ` Wolfgang Schuster
2009-03-23 0:34 ` Diego Depaoli
2009-03-23 0:56 ` Wolfgang Schuster
2009-03-23 1:20 ` Diego Depaoli
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).