From: Mica Semrick <mica@silentumbrella.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Remove left and right offset from nested frames?
Date: Tue, 02 Sep 2014 16:12:28 -0700 [thread overview]
Message-ID: <6549572d-713d-46b6-ae81-1691e57e150b@email.android.com> (raw)
In-Reply-To: <AEE8A62B-9EC0-4A8F-B46E-34129C0A1218@gmail.com>
Thanks Wolfgang, that worked well.
Are there more reasons to use start & stop over start{}?
On August 31, 2014 9:32:31 PM PDT, Wolfgang Schuster <schuster.wolfgang@gmail.com> wrote:
>
>Am 01.09.2014 um 00:18 schrieb Mica Semrick <mica@silentumbrella.com>:
>
>> Hello!
>>
>> Given:
>> \starttext
>>
>>
>\framed[frame=on,width=local,offset=0in,loffset=0in,roffset=0in,frameoffset=0in]{
>
>Add a % after the {.
>
>> \framed
>> [frame=on,
>> location=middle,
>> align={flushleft,nothyphenated,verytolerant}] % maybe also stretch
>> {%
>> {\tfd My Name Here}
>> }
>> \hfill
>> \framed
>> [frame=on,
>> location=middle,
>> align={flushright,nothyphenated,verytolerant}] % maybe also stretch
>> {%
>> 1234 Tree Ave. \#407, Beach City, CA 99876 \\
>> (123) 456-7890 \ \bullet \
>\goto{mail@email.com}[url(mailto:mail@email.com)]
>> }
>
>Add a % after the }.
>
>> }\stoptext
>> The two nested \framed commands are aligned as I'd like them, but I'd
>like to remove the small gaps so the text in the first nexted frame
>sits flush to the left of the text area and the second framed sits
>flush right to the text area. In other words, I'd like to remove the
>small gaps from the left and right of the frames.
>> Is that possible?
>
>You forgot a few comment signs in your code which can be avoided when
>you \startframed … \stopframed instead of \framed{…}.
>
>\starttext
>
>\startframed[frame=on,width=local,offset=0pt]
> \startframed[frame=on,location=middle,align={flushleft,nothyphenated,verytolerant},foregroundstyle=\tfd]
> My Name Here
> \stopframed
> \hfill
> \startframed[frame=on,location=middle,align={flushright,nothyphenated,verytolerant}]
> 1234 Tree Ave. \#407, Beach City, CA 99876\\
> (123) 456-7890 \hspace[medium] \symbol[bullet] \hspace[medium]
>\goto{mail@email.com}[url(mailto:mail@email.com)]
> \stopframed
>\stopframed
>
>\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
>___________________________________________________________________________________
___________________________________________________________________________________
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:[~2014-09-02 23:12 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-31 22:18 Mica Semrick
2014-09-01 4:32 ` Wolfgang Schuster
2014-09-02 23:12 ` Mica Semrick [this message]
2014-09-03 11:03 ` Wolfgang Schuster
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=6549572d-713d-46b6-ae81-1691e57e150b@email.android.com \
--to=mica@silentumbrella.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).