ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Otared Kavian <otared@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Unexpected symbol with Enumeration
Date: Thu, 17 Oct 2019 07:39:55 +0200	[thread overview]
Message-ID: <D58184E7-C15C-4260-A8A9-272263117112@gmail.com> (raw)
In-Reply-To: <CACyK-epV1n1a1OgnYoj2+ZyoVZycsQVCvaQBqg9vNFh-j1q7Gw@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 5476 bytes --]

Hi Fabrice,

The Lucida OT family is indeed not free (it costs 110 US dollars from TUG), but tha Asana Math is included in the distribution of ConTeXt, LuaMetaTeX and, I think, TeXLive.

Best regards: Otared 

> On 16 Oct 2019, at 23:38, Fabrice Couvreur <fabrice1.couvreur@gmail.com> wrote:
> 
> Hi Kavian,
> It seems to me that these fonts are not free.
> Thank you for your help.
> Fabrice
> 
> Le mer. 16 oct. 2019 à 05:28, Otared Kavian <otared@gmail.com <mailto:otared@gmail.com>> a écrit :
> Hi Fabrice,
> 
> I use Lucida OT fonts for all my documents, but since I prefer the script fonts from another font I have the following setups for my font:
> 
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> %% Some Font Definitions
> \definefallbackfamily[myfont][math][Asana Math]
> 	[range={uppercasescript,lowercasescript}]
> 
> % lucida font
> \definefontfamily[myfont][serif][Lucida Bright OT]
> \definefontfamily[myfont][math][LucidaBrightMathOT]
> \definefontfamily[myfont][sans][LucidaSansOT]
> \definefontfamily[myfont][mono][LucidaSansTypewriterOT]
> 
> \setupbodyfont[myfont,9pt]
> 
> %% End of Font Definitions
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> 
> Then when I use for instance the command $\cal{C}$ the script font from Asana Math is used, instead of from Lucida OT.
> 
> Best regards: OK
> 
>> On 15 Oct 2019, at 21:57, Fabrice Couvreur <fabrice1.couvreur@gmail.com <mailto:fabrice1.couvreur@gmail.com>> wrote:
>> 
>> Hello,
>> Thanks to you two. 
>> "Another solution is to define your own mixture of math fonts and text fonts."
>> I thought you should not mix several fonts in one text. I know you're a teacher, what are you doing to write your documents ?
>> Fabrice
>> 
>> Le mar. 15 oct. 2019 à 19:11, Otared Kavian <otared@gmail.com <mailto:otared@gmail.com>> a écrit :
>> Hi Fabrice,
>> 
>> Wolfgang gave the right answer, but I wanted to point out that it is better not to use \setupbodyfont in the middle of your document, as you did in the excerpt below: in this case it is better to use 
>> 
>> \switchtobodyfont[xits]
>> 
>> or even better define the character you want before using it as in
>> 
>> \define\CScript{\start\switchtobodyfont[xits] \m{\mathscript{C}} \stop}
>> 
>> and then use that command as in:
>> 
>> La droite \m{(AM)} est {\bf une sécante} à la courbe \CScript en \m{A}.
>> 
>> Another solution is to define your own mixture of math fonts and text fonts.
>> 
>> Best regards: OK
>> 
>> 
>>> On 15 Oct 2019, at 18:39, Fabrice Couvreur <fabrice1.couvreur@gmail.com <mailto:fabrice1.couvreur@gmail.com>> wrote:
>>> 
>>>  La droite \m{(AM)} est {\bf une sécante} à la courbe {\setupbodyfont[xits]\m{{\mathscript C}}} en \m{A}.
>> 
>> ___________________________________________________________________________________
>> If your question is of interest to others as well, please add an entry to the Wiki!
>> 
>> maillist : ntg-context@ntg.nl <mailto:ntg-context@ntg.nl> / http://www.ntg.nl/mailman/listinfo/ntg-context <http://www.ntg.nl/mailman/listinfo/ntg-context>
>> webpage  : http://www.pragma-ade.nl <http://www.pragma-ade.nl/> / http://context.aanhet.net <http://context.aanhet.net/>
>> archive  : https://bitbucket.org/phg/context-mirror/commits/ <https://bitbucket.org/phg/context-mirror/commits/>
>> wiki     : http://contextgarden.net <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 <mailto:ntg-context@ntg.nl> / http://www.ntg.nl/mailman/listinfo/ntg-context <http://www.ntg.nl/mailman/listinfo/ntg-context>
>> webpage  : http://www.pragma-ade.nl <http://www.pragma-ade.nl/> / http://context.aanhet.net <http://context.aanhet.net/>
>> archive  : https://bitbucket.org/phg/context-mirror/commits/ <https://bitbucket.org/phg/context-mirror/commits/>
>> wiki     : http://contextgarden.net <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 <mailto:ntg-context@ntg.nl> / http://www.ntg.nl/mailman/listinfo/ntg-context <http://www.ntg.nl/mailman/listinfo/ntg-context>
> webpage  : http://www.pragma-ade.nl <http://www.pragma-ade.nl/> / http://context.aanhet.net <http://context.aanhet.net/>
> archive  : https://bitbucket.org/phg/context-mirror/commits/ <https://bitbucket.org/phg/context-mirror/commits/>
> wiki     : http://contextgarden.net <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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________


[-- Attachment #1.2: Type: text/html, Size: 13582 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
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-10-17  5:39 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-15 16:39 Fabrice Couvreur
2019-10-15 16:52 ` Wolfgang Schuster
2019-10-15 17:11 ` Otared Kavian
2019-10-15 19:57   ` Fabrice Couvreur
2019-10-16  3:28     ` Otared Kavian
2019-10-16 21:38       ` Fabrice Couvreur
2019-10-17  5:39         ` Otared Kavian [this message]
2019-10-17  6:00       ` Aditya Mahajan
2019-10-17 14:03         ` Otared Kavian

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=D58184E7-C15C-4260-A8A9-272263117112@gmail.com \
    --to=otared@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).