# Change font style of figure title in Makie

**URL:** https://discourse.julialang.org/t/change-font-style-of-figure-title-in-makie/87779
**Category:** Visualization
**Tags:** plotting, makie
**Created:** [September 25, 2022, 12:05pm UTC](https://discourse.julialang.org/t/change-font-style-of-figure-title-in-makie/87779 "2022-09-25T12:05:39Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![vembha](https://avatars.discourse-cdn.com/v4/letter/v/5fc32e/32.png) [@vembha](https://discourse.julialang.org/u/vembha)
#### Post date: [September 25, 2022, 12:05pm UTC](https://discourse.julialang.org/t/change-font-style-of-figure-title-in-makie/87779/1 "2022-09-25T12:05:39Z")

</div>

Hello people,

After calling the `CairoMakie` package, I use the theming function `set_theme!(Theme(font = "Times New Roman"))` to make sure all the text elements in the figure use the user-defined font - ‘Times New Roman’ in this case.

Except for the plot title, all the plot elements use the user-defined font. Attached below is the screenshot of one panel from my 4x4 grid plot.

![చిత్రము](https://global.discourse-cdn.com/julialang/original/3X/f/4/f48139d30df8c3c1f5cb977d713371030b9dcdc5.png)

One can see that `Makie` is using the default font for the title. I tried passing the command `font = "Times New Roman"` in the `Axis` function as `Axis(fig[i, j], title = plot_title, titlecolor = :black, yticks = [0, 2.5, 5]; font = "Times New Roman")` but this throws an error.

Can someone tell me how to set a custom font style for titles/subtitles? Thanks in advance.

---

<div class="post-metadata">

### Author: ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://discourse.julialang.org/u/jules)
#### Post date: [September 25, 2022, 1:20pm UTC](https://discourse.julialang.org/t/change-font-style-of-figure-title-in-makie/87779/2 "2022-09-25T13:20:05Z")

</div>

It’s titlefont
