Skip to content

Commit

Permalink
Using fontspec instead of fontenc for luatex.
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfontein committed Apr 15, 2017
1 parent 3d010a8 commit 209e6a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions v7/latex_formula_renderer/latex_formula_renderer.py
Expand Up @@ -125,7 +125,7 @@ def _create_latex_call(program_name, format):
'programs': ['lualatex'],
'head': R"""\RequirePackage{luatex85}
\documentclass{standalone}
\usepackage[T1]{fontenc}
\usepackage{fontspec}
\usepackage{xcolor}
""",
'middle': R"""\pagestyle{empty}
Expand All @@ -141,7 +141,7 @@ def _create_latex_call(program_name, format):
'texfile': {
'programs': ['lualatex'],
'head': R"""\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage{fontspec}
\usepackage{xcolor}
""",
'middle': R"""\pagestyle{empty}
Expand Down

0 comments on commit 209e6a7

Please sign in to comment.