The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Science formulas

2 posters

Go down

Solved Science formulas

Post by Guest Sun 29 Jan - 13:32

Forum version: ModernBB
Forum URL: https://academy.forumotion.me/

Is there a tutorial on how to implement mathematical formulas in posts? I am not sure if such thing is even possible on forumotion forums.
avatar
Guest
Guest


Back to top Go down

Solved Re: Science formulas

Post by Ape Sun 29 Jan - 20:06

Hi @Academic sadly no we don't.


Science formulas Left1212Science formulas Center11Science formulas Right112
Science formulas Ape_b110
Science formulas Ape1010
Ape
Ape
Administrator
Administrator

Male Posts : 18693
Reputation : 1959
Language : fluent in dork / mumbojumbo & English haha

http://chatworld.forumotion.co.uk/

Back to top Go down

Solved Re: Science formulas

Post by Niko Sun 29 Jan - 20:09

@Academic Do you have an example of what you mean?
Niko
Niko
Helper
Helper

Male Posts : 2722
Reputation : 186
Language : English, Italian, French
Location : Italy

https://www.fmcodes.net/

Back to top Go down

Solved Re: Science formulas

Post by Guest Sun 29 Jan - 20:20

Niko wrote:@Academic Do you have an example of what you mean?

Science formulas Screen14
avatar
Guest
Guest


Back to top Go down

Solved Re: Science formulas

Post by Niko Sun 29 Jan - 20:24

Oh @Academic - nothing easier!

Go, as founder, to ACP > Display > Templates > General and edit the content of the templateoverall_header
then, locate
Code:
</head>
and add this right before it

Code:
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>

Save and then publish the template!

Here a brief example I did on a forumotion forum

Science formulas Screen68
Niko
Niko
Helper
Helper

Male Posts : 2722
Reputation : 186
Language : English, Italian, French
Location : Italy

https://www.fmcodes.net/

Ape likes this post

Back to top Go down

Solved Re: Science formulas

Post by Guest Sun 29 Jan - 20:40

But how to apply any script? I mean, how to use any math formula?
avatar
Guest
Guest


Back to top Go down

Solved Re: Science formulas

Post by Niko Sun 29 Jan - 20:45

@Academic for that you can refer to the documentation of MathJax or to LatEx writing

for example this:
When \(a \ne 0\), there are two solutions to \(ax^2 + bx + c = 0\) and they are
\[x = {-b \pm \sqrt{b^2-4ac} \over 2a}.\]

will be converted to the example I showed you before :wouhou:

Here you can find a brief guidelines on how to write formulas in LatEx:
https://math.meta.stackexchange.com/questions/5020/mathjax-basic-tutorial-and-quick-reference
Niko
Niko
Helper
Helper

Male Posts : 2722
Reputation : 186
Language : English, Italian, French
Location : Italy

https://www.fmcodes.net/

Back to top Go down

Solved Re: Science formulas

Post by Guest Sun 29 Jan - 20:50

Alright, thanks. It's solved now.
avatar
Guest
Guest


Back to top Go down

Solved Re: Science formulas

Post by Ape Sun 29 Jan - 23:27

Problem solved & topic archived.
Please read our forum rules: ESF General Rules

Thank you for your help @Niko


Science formulas Left1212Science formulas Center11Science formulas Right112
Science formulas Ape_b110
Science formulas Ape1010
Ape
Ape
Administrator
Administrator

Male Posts : 18693
Reputation : 1959
Language : fluent in dork / mumbojumbo & English haha

http://chatworld.forumotion.co.uk/

Niko likes this post

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum