Skip to content

Commit

Permalink
Rename to theme_latexfonts
Browse files Browse the repository at this point in the history
  • Loading branch information
Kolaru committed Aug 13, 2023
1 parent 71ce905 commit 485c0b7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/documentation/latex.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ We provide a LaTeX theme to easily switch to the LaTeX default fonts for all the
using CairoMakie
CairoMakie.activate!() # hide

set_theme!(theme_latex())
set_theme!(theme_latexfonts())

fig = Figure()
Label(fig[1, 1], "A standard Label", tellwidth = false)
Expand Down
3 changes: 2 additions & 1 deletion src/Makie.jl
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ include("themes/theme_black.jl")
include("themes/theme_minimal.jl")
include("themes/theme_light.jl")
include("themes/theme_dark.jl")
include("themes/theme_latexfonts.jl")

# camera types + functions
include("camera/projection_math.jl")
Expand Down Expand Up @@ -207,7 +208,7 @@ export theme_black
export theme_minimal
export theme_light
export theme_dark
export theme_latex
export theme_latexfonts

export xticklabels, yticklabels, zticklabels
export xtickrange, ytickrange, ztickrange
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
function theme_latex()
function theme_latexfonts()
Theme(
fonts = Attributes(
:bold => texfont(:bold),
Expand Down

0 comments on commit 485c0b7

Please sign in to comment.