ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Pavneet Arora <pavneet_arora@waroc.com>
To: ntg-context@ntg.nl
Subject: Tent style cards
Date: Sat, 21 Dec 2019 17:08:42 -0500	[thread overview]
Message-ID: <20191221220842.GA1193@Harduaganj> (raw)

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

advTHANKSance.

>>>MWE<<<

\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]
    \strut
    \tfd A Name
\stopbuffer

\starttext
    \showframe
    \adaptpapersize[tblcard,mirrored][letter,portrait]\getbuffer[tblcard]
    \page
    \getbuffer[tblcard]
\stoptext

-- 
Pavneet Arora           m: +1 647-406-6843
Waroc Informatik        e: pavneet_arora@waroc.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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

             reply	other threads:[~2019-12-21 22:08 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-21 22:08 Pavneet Arora [this message]
2019-12-22  7:24 ` Pablo Rodriguez
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=20191221220842.GA1193@Harduaganj \
    --to=pavneet_arora@waroc.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).