ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* FunnyText
@ 2004-11-06 20:31 David Arnold
  2004-11-07 10:33 ` FunnyText Peter Münster
  2004-11-08 10:47 ` FunnyText Hans Hagen
  0 siblings, 2 replies; 6+ messages in thread
From: David Arnold @ 2004-11-06 20:31 UTC (permalink / raw)


All,

I've come across this in the Metafun manual:

\setupframedtexts
[FunnyText]
[backgroundcolor=lightgray,
framecolor=darkred,
rulethickness=2pt,
offset=\bodyfontsize,
before={\blank[big,medium]},
after={\blank[big]},
width=\textwidth]


But I am wondering how to use it to set up a big "Copyright" in the
background?

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: FunnyText
  2004-11-06 20:31 FunnyText David Arnold
@ 2004-11-07 10:33 ` Peter Münster
  2004-11-08 10:47 ` FunnyText Hans Hagen
  1 sibling, 0 replies; 6+ messages in thread
From: Peter Münster @ 2004-11-07 10:33 UTC (permalink / raw)


On Sat, 6 Nov 2004, David Arnold wrote:

> \setupframedtexts
> [FunnyText]
> [backgroundcolor=lightgray,
> framecolor=darkred,
> rulethickness=2pt,
> offset=\bodyfontsize,
> before={\blank[big,medium]},
> after={\blank[big]},
> width=\textwidth]
> 
> But I am wondering how to use it to set up a big "Copyright" in the
> background?

Not really an answer to your question, but I know about this possibility:

\startuniqueMPgraphic{copyright}
  draw btex \bf COPYRIGHT etex rotated 60 withcolor .8white;
  currentpicture := currentpicture ysized (\overlaywidth-0.5cm);
\stopuniqueMPgraphic

\defineoverlay[copyright][\uniqueMPgraphic{copyright}]
\setupbackgrounds[page][background=copyright]

\starttext
\input tufte
\stoptext

Thanks to Tobias Burnus for this code!

Cheers, Peter

-- 
http://pmrb.free.fr/contact/
_____________________________________
FilmSearch engine: http://f-s.sf.net/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: FunnyText
  2004-11-06 20:31 FunnyText David Arnold
  2004-11-07 10:33 ` FunnyText Peter Münster
@ 2004-11-08 10:47 ` Hans Hagen
  2004-11-08 13:07   ` \| and \proclaim not defined? Otared Kavian
  1 sibling, 1 reply; 6+ messages in thread
From: Hans Hagen @ 2004-11-08 10:47 UTC (permalink / raw)


David Arnold wrote:

> But I am wondering how to use it to set up a big "Copyright" in the
> background?

\setupbackgrounds[page][background=embargo]
\setupcolors[state=start]
\defineoverlay[embargo][{\lightgray\scale[factor=max]{\rotate[rotation=45]{EMBARGO}}}]

\starttext \input tufte \stoptext

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------

^ permalink raw reply	[flat|nested] 6+ messages in thread

* \| and \proclaim not defined?
  2004-11-08 10:47 ` FunnyText Hans Hagen
@ 2004-11-08 13:07   ` Otared Kavian
  2004-11-08 15:59     ` Hans Hagen
  0 siblings, 1 reply; 6+ messages in thread
From: Otared Kavian @ 2004-11-08 13:07 UTC (permalink / raw)


Hi all Contexters,

I have noticed that the commands \| (that is {\delimiter  "26B30D{}} 
and \proclaim are not defined anymore in ConTeXt, while they are part 
of plain TeX commands.
(It is however true that even though  $\|u\|$ does not work in 
ConTeXt, the command $\Vert u \Vert$ does).

Hans, is it on purpose?

Thanks for your attention.
Best regards: OK

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: \| and \proclaim not defined?
  2004-11-08 13:07   ` \| and \proclaim not defined? Otared Kavian
@ 2004-11-08 15:59     ` Hans Hagen
  2004-11-08 20:09       ` Otared Kavian
  0 siblings, 1 reply; 6+ messages in thread
From: Hans Hagen @ 2004-11-08 15:59 UTC (permalink / raw)


Otared Kavian wrote:
> Hi all Contexters,
> 
> I have noticed that the commands \| (that is {\delimiter  "26B30D{}} and 
> \proclaim are not defined anymore in ConTeXt, while they are part of 
> plain TeX commands.
> (It is however true that even though  $\|u\|$ does not work in ConTeXt, 
> the command $\Vert u \Vert$ does).
> 
> Hans, is it on purpose?

no, just an omission ... what should i patch?

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: \| and \proclaim not defined?
  2004-11-08 15:59     ` Hans Hagen
@ 2004-11-08 20:09       ` Otared Kavian
  0 siblings, 0 replies; 6+ messages in thread
From: Otared Kavian @ 2004-11-08 20:09 UTC (permalink / raw)


At 16:59 +0100 8/11/04, Hans Hagen wrote:
>Otared Kavian wrote:
>>Hi all Contexters,
>>
>>I have noticed that the commands \| (that is {\delimiter 
>>"26B30D{}} and \proclaim are not defined anymore in ConTeXt, while 
>>they are part of plain TeX commands.
>>(It is however true that even though  $\|u\|$ does not work in 
>>ConTeXt, the command $\Vert u \Vert$ does).
>>
>>Hans, is it on purpose?
>
>no, just an omission ... what should i patch?
>
>Hans

Hi Hans,

Thank you very much for your attention.
In my (humble) opinion, I think that a patch like

\let\|=\Vert

would be enough for the {\delimiter  "26B30D{}}.

As for \proclaim, it is defined in the TeXBook, but unfortunately I 
don't have it with me right now so I can't send you the patch 
immediately. I hope to be able to do it before Wednsday.

Best regards: OK

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-11-08 20:09 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-06 20:31 FunnyText David Arnold
2004-11-07 10:33 ` FunnyText Peter Münster
2004-11-08 10:47 ` FunnyText Hans Hagen
2004-11-08 13:07   ` \| and \proclaim not defined? Otared Kavian
2004-11-08 15:59     ` Hans Hagen
2004-11-08 20:09       ` Otared Kavian

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).