ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Pablo Rodriguez <oinos@gmx.es>
To: ntg-context@ntg.nl
Subject: Re: Tent style cards
Date: Sun, 22 Dec 2019 08:24:23 +0100	[thread overview]
Message-ID: <fc781036-51ca-f9e2-f81d-15e2c61bd221@gmx.es> (raw)
In-Reply-To: <20191221220842.GA1193@Harduaganj>

On 12/21/19 11:08 PM, Pavneet Arora wrote:
> Hello.
>
> I am trying to do up some tent style table place holder cards for my
> daughter's wedding, and have been wracking my brain for a solution for a
> couple of days now.
>
> Having tried many alternatives, this is the closest I have come up with.
> But mirroring doesn't work.  If I use \setuparranging[2*4] mirroring
> works, but I only need tent style (1*2 head-to-head) so that I can trim
> to size.
>
> Any template that could be suggested would be most helpful as the
> wedding is on Mon (yikes!).

Hi Paavnet,

I think this could achieve what you might need:

    \definepapersize[tblcard][width=4in,height=3in]

    \setuppapersize[tblcard][letter,portrait]
    \setuparranging[2TOP]

    \setuplayout[
        height=3in,
        width=4in,
        topspace=0in,
        header=0in,
        bottomspace=0in,
        footer=0in,
        backspace=0.0in,
        %%
        location=middle,
        marking=on,
    ]

    \startbuffer[tblcard]
        \startframedtext
            [frame=off, width=\textwidth, height=\textheight,
              align={lohi, middle}]
            \tfd A Name
        \stopframedtext
    \stopbuffer

    \starttext
        %~ \showframe
        \rotate[rotation=180]{\getbuffer[tblcard]}
        \page
        \getbuffer[tblcard]
    \stoptext

I hope it goes on time ;-),

Pablo
--
http://www.ousia.tk
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2019-12-22  7:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-21 22:08 Pavneet Arora
2019-12-22  7:24 ` Pablo Rodriguez [this message]
2019-12-22 10:08 ` Wolfgang Schuster
2019-12-22 14:53   ` Pavneet Arora
2019-12-22 10:23 ` Wolfgang Schuster
2019-12-22 10:32   ` Hans Hagen

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=fc781036-51ca-f9e2-f81d-15e2c61bd221@gmx.es \
    --to=oinos@gmx.es \
    --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).