Support for non-commuting fields
This commit is contained in:
@ -105,7 +105,7 @@ def latex_engine(argv,text):
|
||||
oneline=0
|
||||
i=i+1
|
||||
|
||||
return(convert_latex(text,lsym,Lsym,Csym,oneline,columns))
|
||||
return(convert_latex(text,lsym,Lsym,Csym,oneline))
|
||||
|
||||
# convert to C format
|
||||
def convert_C(text, lsym, Lsym, Csym, oneline):
|
||||
@ -160,7 +160,7 @@ def convert_C(text, lsym, Lsym, Csym, oneline):
|
||||
return(text+';')
|
||||
|
||||
# convert to LaTeX format
|
||||
def convert_latex(text, lsym, Lsym, Csym, oneline, columns):
|
||||
def convert_latex(text, lsym, Lsym, Csym, oneline):
|
||||
# remove newlines
|
||||
if (oneline==0):
|
||||
text=text.replace('\n','\\\\\n')
|
||||
|
Reference in New Issue
Block a user