From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Set a block of content at minimum distance from top of page?
Date: Thu, 2 Feb 2012 22:46:35 +0100 [thread overview]
Message-ID: <D651DE42-253B-4215-95C9-7D5F8FC29D03@googlemail.com> (raw)
In-Reply-To: <CAGfkPGk6CAauVjOXj9pwyszbQ2jxef+oJyGc9F9be3JFBLjhUA@mail.gmail.com>
Am 02.02.2012 um 21:51 schrieb Peter Park Nelson:
> Hi ConTeXt list,
>
> I have a document with a graphic (logo) in the upper right corner
> (positioned on a layer and placed as a background). To the left of
> this graphic are several text elements (Title, Author List, etc.) that
> don't go all the way across the page. (Currently I have wrapped them
> in \startnarrower...\stopnarrower -- is there a better way?) But this
> is followed by an Abstract paragraph that uses the full width of the
> page.
>
> I would like to ensure that the full-width text never starts high
> enough on the page that it encroaches on the upper-right-corner
> graphic. So, I'm looking for a way to protect the graphic, or to force
> the Abstract to start a minimum distance from the top of the page.
>
> The Abstract can be forced down the page if necessary by manually
> inserting a \godown[] command before it, but I would prefer a
> programmatic solution.
>
> Floating the graphic and wrapping text around it does not seem like a
> good option, because I want to ensure that its position is absolute
> and it never moves. Also, the Abstract needs to be full-width
> throughout, so I need to force it to start after the graphic rather
> than partially wrapping it.
>
> Any suggestions appreciated…
You can use something like the following code but without a example from you it’s difficult to give a answer.
\showframe[text][text]
\starttext
\maxaligned\bgroup
\startframed[frame=off,location=top,width=10cm,align=flushleft]%
line 1\\
line 2\\
line 3
\stopframed
\hfill
\tbox{\externalfigure[dummy][width=3cm,height=4cm]}%
\egroup
\input knuth
\stoptext
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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2012-02-02 21:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-02 20:51 Peter Park Nelson
2012-02-02 21:46 ` Wolfgang Schuster [this message]
2012-02-03 0:35 ` Peter Park Nelson
2012-02-04 2:16 ` Peter Park Nelson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=D651DE42-253B-4215-95C9-7D5F8FC29D03@googlemail.com \
--to=schuster.wolfgang@googlemail.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).