Doug Kerr
Well-known member
You may have seen in various forum sections recently several threads with posts mostly by myself and Ted Cousins, discussing various technical topics. Often these post have included mathematical equations. And the need to do so will no doubt time to time arise here.
Both Ted and I have looked into various ways to include mathematical equations in OPF posts. The OPF application is not really very amenable to that.
So far it seems that there are three ways to include equations. I will illustrate by using this equation (shown here as a picture, in fact the third of the three methods I will discuss).
Method 1 - Straight ASCII text with pseudocode
This method uses only ASCII characters. Here is the above equation rendered in that form:
x=(-b+-sqrt(b^2-4ac))/2a
The constructs "+-" and "sqrt" are what I consider pseudocode in this context.
Especially for complex equations, this can be a bit hard for the reader to follow.
Method 2 - Some non-ASCII Unicode characters included
Ted has pointed out that some improvement in "readability" can sometimes be gotten with the use of non-ASCII Unicode characters, which in general the OPF application deals with graciously.
Here is an example for the same equation:
x=(-b±√(b²-4ac))/2a
On Windows keyboards, the Unicode superscript "2" can be entered with Alt+0178 (the digits being entered on the numeric keypad). The Unicode superscript "3" can be entered with Alt+0179. (There are no further superscript digits available, as far as I know.) The Unicode square root symbol is Alt+251. The Unicode "plus/minus" symbol (±) is Alt+0177.
Method 3 - Picture of an equation composed in "standard" form
There are various applications that permit the generation of equations in "standard" form. One way or another (even with "screen shot" software) we can capture a picture of the finished equation and include it in our OPF post, like so:
Further particulars of different ways of doing this are beyond the scope pf this post.
Best regards,
Doug
Both Ted and I have looked into various ways to include mathematical equations in OPF posts. The OPF application is not really very amenable to that.
So far it seems that there are three ways to include equations. I will illustrate by using this equation (shown here as a picture, in fact the third of the three methods I will discuss).
Method 1 - Straight ASCII text with pseudocode
This method uses only ASCII characters. Here is the above equation rendered in that form:
x=(-b+-sqrt(b^2-4ac))/2a
The constructs "+-" and "sqrt" are what I consider pseudocode in this context.
Especially for complex equations, this can be a bit hard for the reader to follow.
Method 2 - Some non-ASCII Unicode characters included
Ted has pointed out that some improvement in "readability" can sometimes be gotten with the use of non-ASCII Unicode characters, which in general the OPF application deals with graciously.
Here is an example for the same equation:
x=(-b±√(b²-4ac))/2a
On Windows keyboards, the Unicode superscript "2" can be entered with Alt+0178 (the digits being entered on the numeric keypad). The Unicode superscript "3" can be entered with Alt+0179. (There are no further superscript digits available, as far as I know.) The Unicode square root symbol is Alt+251. The Unicode "plus/minus" symbol (±) is Alt+0177.
Method 3 - Picture of an equation composed in "standard" form
There are various applications that permit the generation of equations in "standard" form. One way or another (even with "screen shot" software) we can capture a picture of the finished equation and include it in our OPF post, like so:
Further particulars of different ways of doing this are beyond the scope pf this post.
Best regards,
Doug
Last edited: