ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Laundry symbols (now: altered picture)
Date: Tue, 5 Jun 2012 18:06:28 +0200	[thread overview]
Message-ID: <106745E6-1E52-4C1B-97F0-7ECE57E61C59@googlemail.com> (raw)
In-Reply-To: <op.wffq8wa0tpjj8f@lpr>


Am 05.06.2012 um 17:13 schrieb Procházka Lukáš Ing. - Pontex s. r. o.:

> Thank you, Wolfgang.
> 
> Two more questions, hope there'll be no more about this stuff.
> 
> On Tue, 05 Jun 2012 17:01:28 +0200, Wolfgang Schuster <schuster.wolfgang@googlemail.com> wrote:
> 
>> \usesymbols[mvs]
>> 
>> \starttext
>> \symbol[martinvogel 2][ShortForty]
>> \stoptext
>> 
>> or
>> 
>> \usesymbols[mvs]
>> 
>> \setupsymbolset[martinvogel 2]
>> 
>> \starttext
>> \symbol[ShortForty]
>> \stoptext
>> 
>> Wolfgang
> 
> - How to scale the desired symbol, e.g. 5 times? I played with "scale" somehow, but no effect.

It scales with the current font size.

\usesymbols[mvs]

\setupsymbolset[martinvogel 2]

\starttext
\symbol[ShortForty] {\tfd\symbol[ShortForty]}
\stoptext

> - Where the symbol set name "martinvogel 2" comes from? Is it a name "built in" the font file?

The symbols are defined in symb-imp-mvs.mkiv, with \usesymbols[…] you load the file.

> - - Is "2" part of the name or does it mean something, e.g. a factor?

The symbols are just put in named groups and “martinvogel 2” is the name of one of these groups (there is also “martinvogel 1”, don’t know how created these names).


When you define a symbol you can set the name as

   \definesymbol[<name>]{<symbol>}

or out it in a category with

   \definesymbol[<category>][<name>]{<symbol>}


When you have many symbols which you want to put in a category you can say

   \startsymbolset [<category>]

   \definesymbol[<name 1>]{<symbol 1>}
   \definesymbol[<name 2>]{<symbol 2>}

   \stopsymbolset

and omit the first argument. To print a symbol from this symbolset you have to write

   \symbol[<category>][<name>]

but when you add

   \setupsymbolset[<category>]

to your document ConTeXt will search in this symbol set even when you write only

   \symbol[<name>]

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
___________________________________________________________________________________

  reply	other threads:[~2012-06-05 16:06 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-05 13:18 Procházka Lukáš Ing. - Pontex s. r. o.
2012-06-05 14:26 ` Marco
2012-06-05 14:32   ` Wolfgang Schuster
2012-06-05 14:57     ` Procházka Lukáš Ing. - Pontex s. r. o.
2012-06-05 15:01       ` Wolfgang Schuster
2012-06-05 15:13         ` Procházka Lukáš Ing. - Pontex s. r. o.
2012-06-05 16:06           ` Wolfgang Schuster [this message]
2012-06-06  6:40             ` Procházka Lukáš Ing. - Pontex s. r. o.
2022-01-02 14:12 ` Alfredo Catalina via ntg-context
2022-01-02 14:36   ` Hans Hagen via ntg-context
2022-01-02 17:10     ` Alfredo Catalina via ntg-context

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=106745E6-1E52-4C1B-97F0-7ECE57E61C59@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).