Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Sans serif math (for dyslectic pupils)

16 views
Skip to first unread message

Hendrik Maryns

unread,
May 10, 2011, 4:16:47 PM5/10/11
to
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all,

I am typesetting exercise sheets for school. Dyslectic people have
trouble with serif fonts, so I set everything in sans with

\renewcommand{\familydefault}{\sfdefault}

I also want sans in math. This poses a problem:
- - Euler looks ugly
- - cmbright does not have the ° symbol in the right place (I use XeTeX
and use the symbol ° directly in math. I do not want to switch back and
use ^\circ.) Guess I should file a bug?
- - same thing with mathpazo
- - sfmath still does not give me serif numbers, only letters.

Suggestions?

Ideally, I’d like to use this font: http://studiostudio.nl/ (I’m afraid
the guy is fond of Flash Player, but click on ‘Project Dyslexie’). Is
that possible?

TIA, H.
- --
Hendrik Maryns
http://www.tcl-sfs.uni-tuebingen.de/hendrik/
===========
signature.asc?!?
http://en.wikipedia.org/wiki/PGP
http://mindprod.com/project/mailreadernewsreader.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/

iEYEARECAAYFAk3JnS8ACgkQBGFP0CTku6MujACgt16/rCpAUgn0OC9KHAHQ3tf4
650An30HFs/WioZvMOZO6LlsYERtA8Gc
=EKmu
-----END PGP SIGNATURE-----

José Carlos Santos

unread,
May 10, 2011, 4:53:45 PM5/10/11
to
On 10-05-2011 21:16, Hendrik Maryns wrote:

> I am typesetting exercise sheets for school. Dyslectic people have
> trouble with serif fonts, so I set everything in sans with
>
> \renewcommand{\familydefault}{\sfdefault}
>
> I also want sans in math. This poses a problem:
> - - Euler looks ugly
> - - cmbright does not have the ° symbol in the right place (I use XeTeX
> and use the symbol ° directly in math. I do not want to switch back and
> use ^\circ.) Guess I should file a bug?
> - - same thing with mathpazo
> - - sfmath still does not give me serif numbers, only letters.
>
> Suggestions?

See if the Arev Sans font interests you. You will the documentation at
CTAN, at /fonts/arev/doc/fonts/arev/arevdoc.pdf

Best regards,

Jose Carlos Santos

Christophe Caignaert

unread,
May 11, 2011, 1:11:37 AM5/11/11
to
On 10 mai, 22:16, Hendrik Maryns <hamar...@googlemail.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi all,
>
> I am typesetting exercise sheets for school.  Dyslectic people have
> trouble with serif fonts, so I set everything in sans with
>
> \renewcommand{\familydefault}{\sfdefault}
>
> I also want sans in math.  This poses a problem:
> - - Euler looks ugly
> - - cmbright does not have the ° symbol in the right place (I use XeTeX
> and use the symbol ° directly in math.  I do not want to switch back and
> use ^\circ.)  Guess I should file a bug?
> - - same thing with mathpazo
> - - sfmath still does not give me serif numbers, only letters.
>
> Suggestions?
>
> Ideally, I’d like to use this font:http://studiostudio.nl/(I’m afraid

> the guy is fond of Flash Player, but click on ‘Project Dyslexie’).  Is
> that possible?
>
> TIA, H.
> - --
> Hendrik Marynshttp://www.tcl-sfs.uni-tuebingen.de/hendrik/

kpfonts with the sfmath option ?

Christophe

Ulrike Fischer

unread,
May 11, 2011, 6:53:17 AM5/11/11
to
Am Tue, 10 May 2011 22:16:47 +0200 schrieb Hendrik Maryns:


> - - cmbright does not have the ° symbol in the right place (I use XeTeX
> and use the symbol ° directly in math. I do not want to switch back and
> use ^\circ.) Guess I should file a bug?

\documentclass{article}
\usepackage{cmbright}
\DeclareMathSymbol{°}{\mathbin}{symbols}{"0E}
\usepackage{fontspec}
\begin{document}
$x^° y^\circ$
\end{document}


--
Ulrike Fischer

Hendrik Maryns

unread,
May 12, 2011, 4:11:31 PM5/12/11
to
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Op 11-05-11 07:11, Christophe Caignaert schreef:


> On 10 mai, 22:16, Hendrik Maryns <hamar...@googlemail.com> wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Hi all,
>>
>> I am typesetting exercise sheets for school. Dyslectic people have
>> trouble with serif fonts, so I set everything in sans with
>>
>> \renewcommand{\familydefault}{\sfdefault}
>>
>> I also want sans in math. This poses a problem:
>> - - Euler looks ugly
>> - - cmbright does not have the ° symbol in the right place (I use XeTeX
>> and use the symbol ° directly in math. I do not want to switch back and
>> use ^\circ.) Guess I should file a bug?
>> - - same thing with mathpazo
>> - - sfmath still does not give me serif numbers, only letters.
>>
>> Suggestions?
>>
>> Ideally, I’d like to use this font:http://studiostudio.nl/(I’m afraid
>> the guy is fond of Flash Player, but click on ‘Project Dyslexie’). Is
>> that possible?

> kpfonts with the sfmath option ?

Looks good, but here also the ° symbol is not typeset as with cmbright.

H.
- --
Hendrik Maryns
http://www.tcl-sfs.uni-tuebingen.de/hendrik/
===========
signature.asc?!?

? http://en.wikipedia.org/wiki/PGP
? http://mindprod.com/project/mailreadernewsreader.html


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/

iEYEARECAAYFAk3MPvMACgkQBGFP0CTku6Nz2wCgiGOMZxQ4RK4HXRkuwu5iZZet
XoYAn15WsVvU6iRoDvB1ofY84tJ1auL7
=iPDR
-----END PGP SIGNATURE-----

Hendrik Maryns

unread,
May 12, 2011, 4:14:19 PM5/12/11
to
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Op 11-05-11 12:53, Ulrike Fischer schreef:

Hm, nice, but ° is already superscript of its own, so I?d rather like

$x° y^\circ$

to look the same. Can you do that?

Thanks!


H.
- --
Hendrik Maryns
http://www.tcl-sfs.uni-tuebingen.de/hendrik/
===========
signature.asc?!?

? http://en.wikipedia.org/wiki/PGP
? http://mindprod.com/project/mailreadernewsreader.html


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/

iEYEARECAAYFAk3MP5oACgkQBGFP0CTku6ME0QCfUQU0/VkplNJvxEatzWjgYWKi
T9wAoMxIToYNf9Uf8nx1y3Nq1jBvN9rJ
=FLa8
-----END PGP SIGNATURE-----

Hendrik Maryns

unread,
May 12, 2011, 4:20:25 PM5/12/11
to
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Op 11-05-11 12:53, Ulrike Fischer schreef:

Where can I find more information on \DeclareMathSymbol?

H.
- --
Hendrik Maryns
http://www.tcl-sfs.uni-tuebingen.de/hendrik/
===========
signature.asc?!?

? http://en.wikipedia.org/wiki/PGP
? http://mindprod.com/project/mailreadernewsreader.html


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/

iEYEARECAAYFAk3MQQkACgkQBGFP0CTku6MrAACdHpSD5+55RkHBIT+cW93Tws3v
5h8AoIOcaLIKS+FvdZRs8A4VWSoXGrPp
=xVGC
-----END PGP SIGNATURE-----

Hendrik Maryns

unread,
May 12, 2011, 4:21:05 PM5/12/11
to
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Op 10-05-11 22:53, José Carlos Santos schreef:

It is made for presentations, I make exercise sheets. That doesn’t seem
to fit. OTOH, it looks like the only solution.

H.
- --
Hendrik Maryns
http://www.tcl-sfs.uni-tuebingen.de/hendrik/
===========
signature.asc?!?
http://en.wikipedia.org/wiki/PGP
http://mindprod.com/project/mailreadernewsreader.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/

iEYEARECAAYFAk3MQTAACgkQBGFP0CTku6PdRwCgnA+sUe7PRHSijxXYNz55t/z/
PqoAmwS8wtLYNLKDTGDbYzF/MQVOP7oe
=gYZc
-----END PGP SIGNATURE-----

William F Hammond

unread,
May 12, 2011, 5:38:52 PM5/12/11
to
Hendrik Maryns <hama...@googlemail.com> writes:

>> \DeclareMathSymbol{陣{\mathbin}{symbols}{"0E}
> ...


> Where can I find more information on \DeclareMathSymbol?

The LaTeX Companion, 2nd edition (don't know about the 1st
edition).

The args are documented there as "cmd", "type", "symbol-font",
and "slot".

-- Bill

Ulrike Fischer

unread,
May 13, 2011, 3:42:28 AM5/13/11
to
Am Thu, 12 May 2011 22:14:19 +0200 schrieb Hendrik Maryns:

>>> - - cmbright does not have the ° symbol in the right place (I use XeTeX
>>> and use the symbol ° directly in math. I do not want to switch back and
>>> use ^\circ.) Guess I should file a bug?

>> \documentclass{article}
>> \usepackage{cmbright}
>> \DeclareMathSymbol{°}{\mathbin}{symbols}{"0E}
>> \usepackage{fontspec}
>> \begin{document}
>> $x^° y^\circ$
>> \end{document}
>
> Hm, nice, but ° is already superscript of its own, so I?d rather like
>
> $x° y^\circ$
>
> to look the same. Can you do that?

Yes.

\documentclass{article}
\usepackage{cmbright}
\usepackage{fontspec}
\setsansfont{Linux Libertine O}
\begingroup
\catcode`\°=13\relax
\gdef°{{^\circ}}%or whatever you want
\endgroup
\mathcode`\°="8000\relax


\begin{document}

abc x°

$x° x°°, x^{x°} x^\circ$

\end{document}


But there just was a discussion on the context list about
"superscripts". Here two snippets of the discussion:

=====================

>> $e=mc^2$
>
> Shouldn't that be something like e=mc²?

Maybe at some point I will provide that as an option, but ² is one
of those weird unicode things ... what woudl you do in this case:

a = bc^{2d}

or

a = bc^{d^2}

which then could be entered as:

a = bc^{d²}

quite debatable.

*******************

> we had a discussion sometime ago whether we should treat ¹,²,
> etc as valid superscripts in math mode, and decided against it.

================

So think a bit if you will not get confused by the hidden "^".

--
Ulrike Fischer

Hendrik Maryns

unread,
May 14, 2011, 6:27:25 AM5/14/11
to
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Op 12-05-11 23:38, William F Hammond schreef:

That set me on the track, ?texdoc fntguide?, section 3.6 is where it is
explained.

Thanks, H.


- --
Hendrik Maryns
http://www.tcl-sfs.uni-tuebingen.de/hendrik/
===========
signature.asc?!?
? http://en.wikipedia.org/wiki/PGP
? http://mindprod.com/project/mailreadernewsreader.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/

iEYEARECAAYFAk3OWQ0ACgkQBGFP0CTku6O4mQCgtJvshi6OoMto6gKAUu8o9EnD
yrYAnAxxhCwDmIY0bQhPhayz9BSjh3Tc
=8ZiN
-----END PGP SIGNATURE-----

Hendrik Maryns

unread,
May 14, 2011, 6:29:47 AM5/14/11
to
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Op 13-05-11 09:42, Ulrike Fischer schreef:

Whoops, not what I expected.

> But there just was a discussion on the context list about
> "superscripts".

<snip>

Which indeed made me think twice. So I?ll either use a font which just
has the ° and shows it correctly (like the default, and euler and some
others), or go with your first suggestion.

Thanks, H.


- --
Hendrik Maryns
http://www.tcl-sfs.uni-tuebingen.de/hendrik/
===========
signature.asc?!?
? http://en.wikipedia.org/wiki/PGP
? http://mindprod.com/project/mailreadernewsreader.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/

iEYEARECAAYFAk3OWZsACgkQBGFP0CTku6PZswCgjfXdajoSVL+1VSi5LP5sl0O4
Pw4Anj5JKRuM0tYT7DdqNX4ElcKbBzRT
=D9Fe
-----END PGP SIGNATURE-----

Hendrik Maryns

unread,
May 14, 2011, 6:48:23 AM5/14/11
to
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Op 12-05-11 23:38, William F Hammond schreef:

What is still a mystery to me is the ?slot? argument and its syntax.
Seems like it often starts with ", but what else? Some sort of
hexadecimal code with all letters??

H.
- --
Hendrik Maryns
http://www.tcl-sfs.uni-tuebingen.de/hendrik/
===========
signature.asc?!?
? http://en.wikipedia.org/wiki/PGP
? http://mindprod.com/project/mailreadernewsreader.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/

iEYEARECAAYFAk3OXfcACgkQBGFP0CTku6Mc5gCfaMP3NX3I6FoCXVNxIdtrkO7L
EZsAoKtvYnozblC4nb8n6MswHOZoOfwU
=tnLr
-----END PGP SIGNATURE-----

Robin Fairbairns

unread,
May 15, 2011, 4:53:49 AM5/15/11
to
Hendrik Maryns <hama...@googlemail.com> writes:

> Op 12-05-11 23:38, William F Hammond schreef:
>> Hendrik Maryns <hama...@googlemail.com> writes:
>>
>>>> \DeclareMathSymbol{陣{\mathbin}{symbols}{"0E}
>>> ...
>>> Where can I find more information on \DeclareMathSymbol?
>>
>> The LaTeX Companion, 2nd edition (don't know about the 1st
>> edition).
>>
>> The args are documented there as "cmd", "type", "symbol-font",
>> and "slot".
>
> What is still a mystery to me is the ?slot? argument and its syntax.
> Seems like it often starts with ", but what else? Some sort of
> hexadecimal code with all letters??

== character number
--
Robin Fairbairns, Cambridge
my address is @cl.cam.ac.uk, regardless of the header. sorry about that.

Guenter Milde

unread,
May 15, 2011, 5:31:32 PM5/15/11
to
On 2011-05-12, Hendrik Maryns wrote:
> Op 10-05-11 22:53, José Carlos Santos schreef:
>> On 10-05-2011 21:16, Hendrik Maryns wrote:

>>> I am typesetting exercise sheets for school. Dyslectic people have
>>> trouble with serif fonts, so I set everything in sans with

>> See if the Arev Sans font interests you. You will the documentation at
>> CTAN, at /fonts/arev/doc/fonts/arev/arevdoc.pdf

> It is made for presentations, I make exercise sheets. That doesn’t
> seem to fit.

Not really, it's a "LaTeXification" of the Vera-Sans font.
But generally presentations are seen as the only use-case for sans-serif
math.

If you want to see a font specially made for presentations, have a look
at LXfonts.

Given that you use XeTeX (or LuaTeX) and depending on the complexity of
the math involved, you could try the (experimental) unicode-math package
with the font of your choice. This even allows you to mix sans serif
letters with math-symbols from another font. You will realize spacing
problems with fonts that are not OpenType Math on more complex formulae,
though.

Günter

0 new messages