ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* slanting an intermezzo.
@ 2015-03-25 21:36 John Culleton
  2015-03-26  7:07 ` Otared Kavian
  0 siblings, 1 reply; 2+ messages in thread
From: John Culleton @ 2015-03-25 21:36 UTC (permalink / raw)
  To: mailing list for ConTeXt users

I am redoing a book originally done in InDesign
and the prior typesetter took delight in using
every trick in the book. I can match all of them
 in context except one. He creates little sidebars
 and sometimes he leans them to the left by a few
degrees. Here is an example of one such sidebar.
How 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}
------------------------------------------------
\noindent

\input knuth.tex
\stopframedtext
\input knuth.tex
\input knuth.tex
\input knuth.tex

\stoptext
------------------------------
I know I am supposed to use \rotate but I can't
figure out how to rotate an intermezzo.

Please help!

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/!
___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: slanting an intermezzo.
  2015-03-25 21:36 slanting an intermezzo John Culleton
@ 2015-03-26  7:07 ` Otared Kavian
  0 siblings, 0 replies; 2+ messages in thread
From: Otared Kavian @ 2015-03-26  7:07 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1113 bytes --]

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
\input knuth.tex
\stopframedtext}

\input knuth.tex
\input knuth.tex
\input knuth.tex

\stoptext
%%%%%%%%%%%% end tilted-framed.tex

Best regards: OK

> On 25 Mar 2015, at 22:36, John Culleton <John@wexfordpress.com> wrote:
> 
> 
> \starttext
> \setupframed[background=screen,framecorner=rectangular,backgroundscreen=0.70]
> \placeintermezzo[right,none]{}
> \startframedtext[width=3in]
> 
> \centerline {\bf RECIPE FOR SUCCESS}
> ------------------------------------------------
> \noindent
> 
> \input knuth.tex
> \stopframedtext
> \input knuth.tex
> \input knuth.tex
> \input knuth.tex
> 
> \stoptext
> ------------------------------
> I know I am supposed to use \rotate but I can't
> figure out how to rotate an intermezzo.
> 
> Please help!
> 
> John Culleton


[-- Attachment #1.2: Type: text/html, Size: 16430 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2015-03-26  7:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-25 21:36 slanting an intermezzo John Culleton
2015-03-26  7:07 ` 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).