Hi,
I am trying to use LaTeX to show formulas, but the LaTeX images always show up on a new line instead of in-line. How do I get them to show up in-line?
On this page, you can see an instance of that error. https://nhsjs.com/2020/developing-honey-based-antimicrobial-wound-healing-agents-by-integrating-glucose-oxidase-enhancement-with-pectin-hydrogels/
If you search for the words: “Measurements for the zones of inhibition were normalized to values” you will see that the next two images are broken up awkwardly.
Hi,
I think you’ll like to be something like this -> https://i.imgur.com/wLc4GBF.png the problem is that wen you set those characters and images those are set like new paragraphs -> https://i.imgur.com/klLVBMV.png
What you can do is to edit the post and set it in code/editor mode and remove the paragraphs, the the images should be set correctly -> https://i.imgur.com/MiwuCrN.png
Also you can try using the options from Gutenberg https://www.wpbeginner.com/beginners-guide/how-to-add-and-align-images-in-wordpress-block-editor/ maybe this can help.
Let me know the results.
Hi Calin,
Really appreciate the fact that you took the time to take a look at my issue. So the problem is that the text you are seeing is actually written like this in the wordpress editor.
Measurements for the zones of inhibition were normalized to values $\phi$, where
The plugin WP-QuickLaTeX then converts $\phi$ into the proper symbol, creates an image, and then places the image in-line. The plug-in creator says that some themes’ default CSS adds line breaks before/after each image, which may be the issue. Is that a possibility here, and if so, how do I force the image in-line, rather than having the greek letter symbol on its own line each time?
Hi Calin,
I checked and tried to add an in-line image without using LaTeX but it still looks like this even using the inline image function in Gutenberg.
Hi,
Our theme do not have special elements for adding images in posts, this can be done using the editor from WordPress. I made a few tests and I found out that using the classic element is more easier to achieve what you need, here is a short video about how you can achieve it: http://www.filedropper.com/a34b29e5-a776-469f-9dd0-c799c09a7264
I hope this will help you!
Hey Calin,
Thanks so much for all the help. It really has made a huge difference!