ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Mikael Persson <mickep@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Thanks. Two new questions: rotate and scale
Date: Fri, 13 Mar 2009 14:44:19 +0100	[thread overview]
Message-ID: <d5fddde00903130644k9fa69c2qe61c6f3f934d25be@mail.gmail.com> (raw)
In-Reply-To: <loom.20090313T133332-408@post.gmane.org>

On Fri, Mar 13, 2009 at 2:39 PM, Curious Learn <curiouslearn@gmail.com> wrote:
> Taco Hoekwater <taco <at> elvenkind.com> writes:
>
>
>> >> (2) Is there a command to scale the whole picture...not the components?
>>
>> Parse error. In my view, the whole picture *is* the components.
>>
>> Best wishes,
>> Taco
>
> Hi Taco,
>
> Sorry for the typo and for not being clear. I meant the following. I know that
> "scaled" command can be used to scale any particular component. To scale the
> whole picture does one have to scale each and every component individually, or
> is there one command that scales every component.
>
> One way is perhaps to define a variable, say u=1cm and express all measurements
> in terms of "u". Then by changing just "u" one can scale the whole picture (and
> all the components) up or down. Is there another way? For example, in TikZ there
> is a command "scale" which scales the entire picture if put as an option to
> \begin{tikzpicture}. I was wondering if something like that is available in
> Metapost too.
>

Hi,

I use the method of
u=1mm;
in the beginning and then use u as the "unit".
I think "currentpicture" is what you are after otherwise, but not sure.

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


  reply	other threads:[~2009-03-13 13:44 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-12  0:53 Command "show" in Metapost/Metafun Curious Learn
2009-03-12  4:44 ` Aditya Mahajan
2009-03-12  8:40   ` Hans Hagen
2009-03-12 15:42     ` Aditya Mahajan
2009-03-12 23:11     ` Thanks. Two new questions: rotate and scale Curious Learn
2009-03-13 11:23       ` Albrecht Kauffmann
2009-03-13 11:59         ` Curious Learn
2009-03-13 12:09         ` Taco Hoekwater
2009-03-13 13:39           ` Curious Learn
2009-03-13 13:44             ` Mikael Persson [this message]
2009-03-13 13:56             ` Taco Hoekwater
2009-03-13 14:43               ` Curious Learn

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=d5fddde00903130644k9fa69c2qe61c6f3f934d25be@mail.gmail.com \
    --to=mickep@gmail.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).