Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

joss-paper: Missing operators #335

Closed
PetrKryslUCSD opened this issue Jul 26, 2020 · 8 comments
Closed

joss-paper: Missing operators #335

PetrKryslUCSD opened this issue Jul 26, 2020 · 8 comments
Milestone

Comments

@PetrKryslUCSD
Copy link

The weak form definition is incomplete: the gradient operators and the dot product operator are missing. Perhaps the font did not include these symbols?

@fverdugo
Copy link
Member

Related to openjournals/joss-reviews#2520

@fverdugo fverdugo added this to the joss_paper milestone Jul 27, 2020
@fverdugo
Copy link
Member

@PetrKryslUCSD The operators are in the paper.md source file, but they are not visualized correctly.

In standard .tex documents to be compiled with pdflatex, I am able to display these operators by including

\usepackage[utf8x]{inputenc}
\usepackage{textgreek}

in the preamble. However, I do not know how to achieve this in this for the JOSS paper.

Dear editor @Kevin-Mattheus-Moerman, could you provide any hint on how to fix this? Could you please forward the issue to the person in charge of the paper compilation system?

@Kevin-Mattheus-Moerman
Copy link
Contributor

@fverdugo could you paste the code generating the desired expression here? Also could you share a screenshot of the expression being rendered correctly (e.g. using a different Latex editor)? I'll have out development team look at it then.
Worst case an ugly but practical solution would be to represent the expression as an image in the paper instead.

@Kevin-Mattheus-Moerman
Copy link
Contributor

@fverdugo ☝️

@fverdugo
Copy link
Member

fverdugo commented Aug 5, 2020

This is a MWE with some code snippets containing the Greek operators.

Consider a file main.tex with these contents:

\documentclass{article}
\usepackage[utf8x]{inputenc}
\usepackage{textgreek}
\begin{document}
\begin{verbatim}
f(x) = -Δ(u)(x); g(x) = u(x)
a(u,v) = ∇(u)⋅∇(v); l(v) = v*f
trian_Ω = Triangulation(model)
\end{verbatim}
\end{document}

Compile it with pdflatex

pdflatex main.tex

Result:
main.pdf

As I have said, the trick is to include these lines in the preamble:

\usepackage[utf8x]{inputenc}
\usepackage{textgreek}

@fverdugo
Copy link
Member

fverdugo commented Aug 5, 2020

@Kevin-Mattheus-Moerman

@fverdugo
Copy link
Member

@Kevin-Mattheus-Moerman
@PetrKryslUCSD

I have added the code sniped as a figure. Now the code symbols are visualized correctly.

https://raw.githubusercontent.com/openjournals/joss-papers/joss.02520/joss.02520/10.21105.joss.02520.pdf

You can close the issue, please.

@PetrKryslUCSD
Copy link
Author

Resolved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants