Formatting Math in Posts: Get Answers Here

  • Thread starter James L. Stru
  • Start date
In summary, one way to format math for readability in a post is to use an ASCII text editor or save the Word document as plain text and export equations to LateX using MathType. The equations can be wrapped in [tex] tags for proper interpretation. Alternatively, equations can be written by hand in LateX.
  • #1
James L. Stru
2
0
Can someone explain to me how to format math so it will be readable in a post? My post is written in a Microsoft Word doc file with MathType objects. I can convert the MathType to a lot of different formats. I have tried several but when I Preview the post all the formatting stuff is printed out literally instead of being interpreted as formatting instructions.
 
Physics news on Phys.org
  • #2
Use an ASCII text editor like Notepad or Textpad. From Word, one needs to post text in rtf, or somehow as text-only.

Equations to be done in LateX.
 
  • #3
Best I can suggest is to save a copy of the Word document as plain text, then use MathType to export all the equations to LaTeX, and finally paste the LaTeX code into the plain text version. Wrap each equation inside PF's [ tex ] and [ /tex ] tags. (Remove the spaces inside the brackets. I had to add them so PF wouldn't interpret them as actual tags.)

When I want to write a post offline, I use a simple text editor, TextEdit on Mac OS, configured to create plain text documents by default. I've occasionally used MathType to create equations in LaTeX format, but I've learned enough LaTeX that it's usually quicker for me to write it by hand.
 
  • #4
Thanks, that worked.
 

FAQ: Formatting Math in Posts: Get Answers Here

How do I format mathematical equations in my posts?

To format mathematical equations in your posts, you can use LaTeX, a typesetting language specifically designed for writing mathematical equations. You can enclose your equations in dollar signs ($) to indicate that it is a mathematical expression. For example, $x^2 + y^2 = z^2$ will be displayed as x² + y² = z².

Can I use any other formatting options besides LaTeX?

Yes, some platforms may have built-in formatting options for mathematical equations. For example, on some forums, you can use the [math][/math] tags to enclose your equations. However, LaTeX is the most widely used and versatile option for formatting mathematical equations in posts.

How can I insert special symbols or characters in my equations?

To insert special symbols or characters in your equations, you can use LaTeX commands. For example, \alpha will display as α and \frac{a}{b} will display as a/b. You can find a comprehensive list of LaTeX commands and symbols online.

Can I format multiple equations in one post?

Yes, you can format multiple equations in one post by separating them with a line break. For example, $x^2 + y^2 = z^2$
$a^2 + b^2 = c^2$ will be displayed as x² + y² = z² and a² + b² = c² on separate lines.

Is it possible to preview my formatted equations before posting?

Some platforms may have a preview option that allows you to see how your equations will be displayed before posting. If this option is not available, you can use an online LaTeX editor to preview your equations and then copy and paste the formatted code into your post.

Similar threads

Replies
25
Views
1K
Replies
1
Views
1K
Replies
22
Views
1K
Replies
1
Views
2K
Replies
1
Views
2K
Replies
43
Views
11K
Back
Top