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-----
> 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
kpfonts with the sfmath option ?
Christophe
> - - 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
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-----
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-----
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-----
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-----
>> \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
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
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-----
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-----
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-----
> 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.
>>> 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