Skip to content
Permalink
Browse files

Using fontspec instead of fontenc for luatex.

  • Loading branch information
felixfontein committed Apr 15, 2017
1 parent 3d010a8 commit 209e6a7ab9df038d342ce6b20c3e456461c842d7
Showing with 2 additions and 2 deletions.
  1. +2 −2 v7/latex_formula_renderer/latex_formula_renderer.py
@@ -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}
@@ -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}

0 comments on commit 209e6a7

Please sign in to comment.
You can’t perform that action at this time.