# MathText usage for different font or non-ASCII characters in the axis titles

**URL:** https://discourse.paraview.org/t/mathtext-usage-for-different-font-or-non-ascii-characters-in-the-axis-titles/283
**Category:** ParaView Support
**Created:** [July 6, 2018, 1:14pm UTC](https://discourse.paraview.org/t/mathtext-usage-for-different-font-or-non-ascii-characters-in-the-axis-titles/283 "2018-07-06T13:14:30Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![ahmet](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/a/ac91a4/32.png) [@ahmet](https://discourse.paraview.org/u/ahmet)
#### Post date: [July 6, 2018, 1:14pm UTC](https://discourse.paraview.org/t/mathtext-usage-for-different-font-or-non-ascii-characters-in-the-axis-titles/283/1 "2018-07-06T13:14:30Z")

</div>

Hello,

As you know, if I want to use mathematical expressions/symbols in the axis titles, the font of the axis title (inside or outside of the $$ signs) is converted to the default font of matplotlib (DejaVu Sans). My problem comes out here. I am using non-ASCII characters (mostly extended ASCII chars, Turkish language) in the axis title (outside of the $ signs) so default font type doesn’t support non-ASCII chars.

My questions are:

1. Can I change default font type when MathText is used? If possible, how?
2. Can I use ASCII codes or utf-8 unicode in the axis title when MathText is used? If possible, how?

Thanks in advance,

---

<div class="post-metadata">

### Author: ![ahmet](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/a/ac91a4/32.png) [@ahmet](https://discourse.paraview.org/u/ahmet)
#### Post date: [July 10, 2018, 7:29am UTC](https://discourse.paraview.org/t/mathtext-usage-for-different-font-or-non-ascii-characters-in-the-axis-titles/283/2 "2018-07-10T07:29:09Z")

</div>

Does anyone have an idea?

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [July 10, 2018, 7:49am UTC](https://discourse.paraview.org/t/mathtext-usage-for-different-font-or-non-ascii-characters-in-the-axis-titles/283/3 "2018-07-10T07:49:57Z")

</div>

Hello,

If you are talking about Line Chart Axis Title or similar, there is a font control in the advanced options that allows you to select a specific font file.

 ![2018-07-10-114632_364x563_scrot](https://discourse.paraview.org/uploads/default/original/1X/1b7783c7051dd084b971d343ba06668b3ced596b.png)

---

<div class="post-metadata">

### Author: ![ahmet](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/a/ac91a4/32.png) [@ahmet](https://discourse.paraview.org/u/ahmet)
#### Post date: [July 10, 2018, 9:34am UTC](https://discourse.paraview.org/t/mathtext-usage-for-different-font-or-non-ascii-characters-in-the-axis-titles/283/4 "2018-07-10T09:34:32Z")

</div>

Hello Mathieu,

No. I am aware of title font control but when the MathText is used, font control is disabled. You can easily test it by typing a text/symbol between the $$ signs in the chart axis title. If you know a way to activate the font control when the MathText is used, I will be satisfied.

Thank you for your help,

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [July 10, 2018, 9:49am UTC](https://discourse.paraview.org/t/mathtext-usage-for-different-font-or-non-ascii-characters-in-the-axis-titles/283/5 "2018-07-10T09:49:31Z")

</div>

Indeed, that does not seems possible at the moment. Could you open an issue on our gitlab ?  
[https://gitlab.kitware.com/paraview/paraview/issues](https://gitlab.kitware.com/paraview/paraview/issues)

---

<div class="post-metadata">

### Author: ![ahmet](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/a/ac91a4/32.png) [@ahmet](https://discourse.paraview.org/u/ahmet)
#### Post date: [July 10, 2018, 11:42am UTC](https://discourse.paraview.org/t/mathtext-usage-for-different-font-or-non-ascii-characters-in-the-axis-titles/283/6 "2018-07-10T11:42:01Z")

</div>

> [@mwestphal](#):
>
> open an issue on our gitlab

I opened an issue on gitlab. Here is the link: [https://gitlab.kitware.com/paraview/paraview/issues/18284](https://gitlab.kitware.com/paraview/paraview/issues/18284)

Thanks again,
