Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Jonas Plewinski
pystencils
Commits
d3aa7c68
Commit
d3aa7c68
authored
Apr 05, 2018
by
Jan Hönig
Committed by
Martin Bauer
Apr 10, 2018
Browse files
Updated pystencils jupyter notebooks
Fixed a bug in field.py
parent
2afb8023
Changes
1
Hide whitespace changes
Inline
Side-by-side
field.py
View file @
d3aa7c68
...
...
@@ -432,7 +432,7 @@ class Field(object):
return
t
def
_latex
(
self
,
_
):
n
=
self
.
_field
.
latex
N
ame
if
self
.
_field
.
latex
N
ame
else
self
.
_field
.
name
n
=
self
.
_field
.
latex
_n
ame
if
self
.
_field
.
latex
_n
ame
else
self
.
_field
.
name
if
self
.
_superscript
:
return
"{{%s}_{%s}^{%s}}"
%
(
n
,
self
.
_offsetName
,
self
.
_superscript
)
else
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment