Learn How to Exclude Italics in PF: Tips for Writing SI Symbols in Upright Text

  • Thread starter Thread starter Herman Trivilino
  • Start date Start date
Click For Summary
SUMMARY

The forum discussion focuses on how to exclude italics when writing SI symbols in LaTeX for PF posts. Users can achieve upright text by enclosing the desired symbols in the command \mathrm{}. For example, using ##\sin px\ \mathrm{kg}## will render "kg" in upright text instead of italics. This method is essential for accurately representing SI units in scientific writing.

PREREQUISITES
  • Basic understanding of LaTeX syntax
  • Familiarity with scientific notation and SI units
  • Knowledge of PF (Physics Forums) posting guidelines
  • Experience with mathematical expressions in LaTeX
NEXT STEPS
  • Research LaTeX commands for formatting text, specifically \mathrm{}
  • Explore additional LaTeX packages for enhanced text formatting
  • Learn about proper representation of SI units in scientific documents
  • Practice writing complex mathematical expressions in LaTeX
USEFUL FOR

This discussion is beneficial for students, researchers, and educators who utilize LaTeX for writing scientific papers, particularly those needing to format SI symbols correctly in upright text.

Herman Trivilino
Science Advisor
Gold Member
Messages
3,796
Reaction score
1,786
When I type an expression in LaTeX here in a PF post the text is always in italics. I know nothing about LaTeX but am trying to learn. How do I make the text not be in italics? I want to write SI symbols in upright text, for example.

I tried to find the answer on the web but all I could find was explanations of how to make the text be in italics!
 
Physics news on Phys.org
Try enclosing them in \mathrm{ }

Like this: ##\sin px\ \mathrm{kg}##

Code:
##\sin px\ \mathrm{kg}##

EDIT by Jedi: Added a code block to show exactly what is typed...
 
Last edited by a moderator:
Thanks!
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 11 ·
Replies
11
Views
5K
  • · Replies 4 ·
Replies
4
Views
5K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 12 ·
Replies
12
Views
6K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 22 ·
Replies
22
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 13 ·
Replies
13
Views
9K
  • · Replies 2 ·
Replies
2
Views
2K