* fonts and function in math mode
@ 2014-04-28 11:46 Flavien Lambert
2014-04-28 12:59 ` Wolfgang Schuster
0 siblings, 1 reply; 5+ messages in thread
From: Flavien Lambert @ 2014-04-28 11:46 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 560 bytes --]
Hi everyone, could you tell me how to use the Ubuntu font for the math
command \max in the following example?
\definefontfamily [mainface] [sans] [Ubuntu]
[regularfont=ubuntu,italicfont=ubuntuitalic,boldfont=ubuntubold]
\definefallbackfamily [mainface] [math] [Ubuntu]
[preset=math:lowercaseitalic,tf=name:ubuntu]
\definefontfamily [mainface] [math] [Latin Modern Math]
\setupbodyfont[mainface]
\starttext
$ abc \max$ abc max
\stoptext
I am also interesting by knowing where I can find all the features
"preset=math:" possible.
Best regards,
Flavien.
[-- Attachment #1.2: Type: text/html, Size: 781 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: fonts and function in math mode
2014-04-28 11:46 fonts and function in math mode Flavien Lambert
@ 2014-04-28 12:59 ` Wolfgang Schuster
2014-04-28 13:09 ` Wolfgang Schuster
2014-04-28 13:14 ` Flavien Lambert
0 siblings, 2 replies; 5+ messages in thread
From: Wolfgang Schuster @ 2014-04-28 12:59 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 28.04.2014 um 13:46 schrieb Flavien Lambert <petit.lepton@gmail.com>:
> Hi everyone, could you tell me how to use the Ubuntu font for the math command \max in the following example?
>
> \definefontfamily [mainface] [sans] [Ubuntu] [regularfont=ubuntu,italicfont=ubuntuitalic,boldfont=ubuntubold]
> \definefallbackfamily [mainface] [math] [Ubuntu] [preset=math:lowercaseitalic,tf=name:ubuntu]
> \definefontfamily [mainface] [math] [Latin Modern Math]
>
> \setupbodyfont[mainface]
>
> \starttext
> $ abc \max$ abc max
> \stoptext
\definefontfamily [mainface] [sans] [Ubuntu]
\definefallbackfamily [mainface] [math] [Ubuntu] [preset=math:lowercaseitalic]
\definefallbackfamily [mainface] [math] [Ubuntu] [preset=math:lowercasenormal]
\definefontfamily [mainface] [math] [Latin Modern Math]
\setupbodyfont[mainface]
\starttext
$ abc \max$ abc max
\stoptext
BTW: Why do you set the upright, italic etc. styles by hand?
> I am also interesting by knowing where I can find all the features "preset=math:" possible.
The presets are defined in font-eel.mkvi with the \definefontfamilypreset command.
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: fonts and function in math mode
2014-04-28 12:59 ` Wolfgang Schuster
@ 2014-04-28 13:09 ` Wolfgang Schuster
2014-04-28 13:14 ` Flavien Lambert
1 sibling, 0 replies; 5+ messages in thread
From: Wolfgang Schuster @ 2014-04-28 13:09 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 28.04.2014 um 14:59 schrieb Wolfgang Schuster <schuster.wolfgang@gmail.com>:
>
> Am 28.04.2014 um 13:46 schrieb Flavien Lambert <petit.lepton@gmail.com>:
>
>> Hi everyone, could you tell me how to use the Ubuntu font for the math command \max in the following example?
>>
>> \definefontfamily [mainface] [sans] [Ubuntu] [regularfont=ubuntu,italicfont=ubuntuitalic,boldfont=ubuntubold]
>> \definefallbackfamily [mainface] [math] [Ubuntu] [preset=math:lowercaseitalic,tf=name:ubuntu]
>> \definefontfamily [mainface] [math] [Latin Modern Math]
>>
>> \setupbodyfont[mainface]
>>
>> \starttext
>> $ abc \max$ abc max
>> \stoptext
>
> \definefontfamily [mainface] [sans] [Ubuntu]
>
> \definefallbackfamily [mainface] [math] [Ubuntu] [preset=math:lowercaseitalic]
> \definefallbackfamily [mainface] [math] [Ubuntu] [preset=math:lowercasenormal]
> \definefontfamily [mainface] [math] [Latin Modern Math]
>
> \setupbodyfont[mainface]
>
> \starttext
> $ abc \max$ abc max
> \stoptext
>
> BTW: Why do you set the upright, italic etc. styles by hand?
>
>> I am also interesting by knowing where I can find all the features "preset=math:" possible.
>
> The presets are defined in font-eel.mkvi with the \definefontfamilypreset command.
The correct name of the file is font-sel.mkvi.
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: fonts and function in math mode
2014-04-28 12:59 ` Wolfgang Schuster
2014-04-28 13:09 ` Wolfgang Schuster
@ 2014-04-28 13:14 ` Flavien Lambert
2014-06-10 18:18 ` Flavien Lambert
1 sibling, 1 reply; 5+ messages in thread
From: Flavien Lambert @ 2014-04-28 13:14 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1951 bytes --]
Thanks Wolfgang. I set it by hand because I was using the light version and
the bold version of the light one does not exist ;) I just put regular for
the example.
On 28 April 2014 20:59, Wolfgang Schuster <schuster.wolfgang@gmail.com>wrote:
>
> Am 28.04.2014 um 13:46 schrieb Flavien Lambert <petit.lepton@gmail.com>:
>
> > Hi everyone, could you tell me how to use the Ubuntu font for the math
> command \max in the following example?
> >
> > \definefontfamily [mainface] [sans] [Ubuntu]
> [regularfont=ubuntu,italicfont=ubuntuitalic,boldfont=ubuntubold]
> > \definefallbackfamily [mainface] [math] [Ubuntu]
> [preset=math:lowercaseitalic,tf=name:ubuntu]
> > \definefontfamily [mainface] [math] [Latin Modern Math]
> >
> > \setupbodyfont[mainface]
> >
> > \starttext
> > $ abc \max$ abc max
> > \stoptext
>
> \definefontfamily [mainface] [sans] [Ubuntu]
>
> \definefallbackfamily [mainface] [math] [Ubuntu]
> [preset=math:lowercaseitalic]
> \definefallbackfamily [mainface] [math] [Ubuntu]
> [preset=math:lowercasenormal]
> \definefontfamily [mainface] [math] [Latin Modern Math]
>
> \setupbodyfont[mainface]
>
> \starttext
> $ abc \max$ abc max
> \stoptext
>
> BTW: Why do you set the upright, italic etc. styles by hand?
>
> > I am also interesting by knowing where I can find all the features
> "preset=math:" possible.
>
> The presets are defined in font-eel.mkvi with the \definefontfamilypreset
> command.
>
> 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
>
> ___________________________________________________________________________________
>
[-- Attachment #1.2: Type: text/html, Size: 2898 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: fonts and function in math mode
2014-04-28 13:14 ` Flavien Lambert
@ 2014-06-10 18:18 ` Flavien Lambert
0 siblings, 0 replies; 5+ messages in thread
From: Flavien Lambert @ 2014-06-10 18:18 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 2452 bytes --]
Hi all, following the subject of my previous messages, I was wondering what
is the paremeter that governs the parentheses, brackets and so on.
The following command does change the sum sign for example but not the rest:
\definefallbackfamily [mainface] [math] [Latin Modern Math]
[preset=math:mathematicaloperators,tf=name:latinmodernsans,scale=1.2]
On 28 April 2014 09:14, Flavien Lambert <petit.lepton@gmail.com> wrote:
> Thanks Wolfgang. I set it by hand because I was using the light version
> and the bold version of the light one does not exist ;) I just put regular
> for the example.
>
>
> On 28 April 2014 20:59, Wolfgang Schuster <schuster.wolfgang@gmail.com>
> wrote:
>
>>
>> Am 28.04.2014 um 13:46 schrieb Flavien Lambert <petit.lepton@gmail.com>:
>>
>> > Hi everyone, could you tell me how to use the Ubuntu font for the math
>> command \max in the following example?
>> >
>> > \definefontfamily [mainface] [sans] [Ubuntu]
>> [regularfont=ubuntu,italicfont=ubuntuitalic,boldfont=ubuntubold]
>> > \definefallbackfamily [mainface] [math] [Ubuntu]
>> [preset=math:lowercaseitalic,tf=name:ubuntu]
>> > \definefontfamily [mainface] [math] [Latin Modern Math]
>> >
>> > \setupbodyfont[mainface]
>> >
>> > \starttext
>> > $ abc \max$ abc max
>> > \stoptext
>>
>> \definefontfamily [mainface] [sans] [Ubuntu]
>>
>> \definefallbackfamily [mainface] [math] [Ubuntu]
>> [preset=math:lowercaseitalic]
>> \definefallbackfamily [mainface] [math] [Ubuntu]
>> [preset=math:lowercasenormal]
>> \definefontfamily [mainface] [math] [Latin Modern Math]
>>
>> \setupbodyfont[mainface]
>>
>> \starttext
>> $ abc \max$ abc max
>> \stoptext
>>
>> BTW: Why do you set the upright, italic etc. styles by hand?
>>
>> > I am also interesting by knowing where I can find all the features
>> "preset=math:" possible.
>>
>> The presets are defined in font-eel.mkvi with the \definefontfamilypreset
>> command.
>>
>> 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
>>
>> ___________________________________________________________________________________
>>
>
>
[-- Attachment #1.2: Type: text/html, Size: 3706 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-06-10 18:18 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-28 11:46 fonts and function in math mode Flavien Lambert
2014-04-28 12:59 ` Wolfgang Schuster
2014-04-28 13:09 ` Wolfgang Schuster
2014-04-28 13:14 ` Flavien Lambert
2014-06-10 18:18 ` Flavien Lambert
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).