How do people render LaTeX equations in Insights articles?

  • Context: LaTeX 
  • Thread starter Thread starter stevendaryl
  • Start date Start date
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
13 replies · 1K views
Staff Emeritus
Science Advisor
Homework Helper
Insights Author
Messages
8,943
Reaction score
2,955
I was thinking about writing an Insights article, but when I went to the Dashboard, I didn't find an easy way to render LaTex. How do people typically do mathematics symbols in Insights?

Thanks,
Daryl
 
  • Like
Likes   Reactions: scottdave and Greg Bernhardt
Physics news on Phys.org
The inline symbols are ##A## and the separated $$ A $$. I normally use a TeX editor (with $A$ and $$A$$) and then apply global search and substitute commands of a text editor to switch them ($ to ## followed by #### to $$). What is a bit annoying are the carriage returns which behave differently and some begin-end sections as itemize, which have to be manually adjusted. Also the sections and subsections have to be changed into headline sizes. I still like my method, as I'll have a pdf at the end, not only the Insight on PF.

To check formats, use the "Preview" button, which generates a rendered html version in a different tab of the browser.
 
  • Like
Likes   Reactions: vanhees71 and Greg Bernhardt
For Insights articles, I'm seeing that inline Latex has quite a lot of spacing before and after each math expression -- I guess this is a Wordpress thing, since normal forum posts do not seem to have this issue. Here is an example of what I mean:
1598810400223.png

Are we pretty much resigned to this is the way it is, or is there something that can be done?

(I'm using Firefox 80.0, in case that is at all relevant.)

Thanks for any advice,

Mark
 
  • Like
Likes   Reactions: Ibix
Greg Bernhardt said:
Anyone noticing this with another browser?
Same thing in Edge, ver. 85.0.564.41
 
Greg Bernhardt said:
Anyone noticing this with another browser?
I see the same thing in Safari and Brave.
 
Greg Bernhardt said:
This issue has been resolved
Looks good on Firefox - thanks.
 
Greg Bernhardt said:
This issue has been resolved
Thanks Greg!

Not a huge deal, but the issue still appears when doing a preview of an Insights article I am currently editing. But as long as it looks okay in final published articles, and I see that it does, that should be okay.

Thanks again,

Mark

p.s. I'm using Firefox
 
  • Like
Likes   Reactions: vanhees71 and Greg Bernhardt
Redbelly98 said:
Not a huge deal, but the issue still appears when doing a preview of an Insights article I am currently editing.
.
.
.
p.s. I'm using Firefox
FYI, the inline-Latex issue is now fixed for preview mode as well.

(And I just submitted that Insights article I promised you, Greg.) :-)
 
  • Love
Likes   Reactions: Greg Bernhardt
Redbelly98 said:
And I just submitted that Insights article I promised you, Greg.
I just read through your Insight and it not only reads great, it looks beautiful.

Thanks @Redbelly98 and @Greg Bernhardt.
 
  • Like
Likes   Reactions: Redbelly98 and Greg Bernhardt