LaTeX Plus or Minus (±) - 完整指南
The plus or minus symbol (±) indicates two possible values.
Symbol Preview
±
Plus or Minus
LaTeX Code
No package required
\pmPlus or minus
目录
LaTeX Plus or Minus 是什么?
Used to denote that a value can be either positive or negative, commonly in formulas with two solutions.
如何在 LaTeX 中使用 Plus or Minus
方法 1:使用 \pm
✅无需额外包
Plus or minus
示例:使用 \pm
latex
\documentclass{article}
\begin{document}
% Using the Plus or Minus
Text with \pm
\end{document}常见用途
Plus or Minus 符号通常用于以下情况:
Quadratic Formula
Two solutions from quadratic formula.
Code
$x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}$Output
x = (-b ± √(b² − 4ac)) / 2a
完整示例
Quadratic Solutions
Plus minus in solutions
latex
\documentclass{article}
\begin{document}
The solutions are $x = 1 \pm \sqrt{2}$.
\end{document}常见问题
我应该使用哪种方法?
我们建议使用上面标记为"推荐"的方法。但是,最佳方法取决于您的具体需求:
- \pm: Plus or minus
我在哪里使用这个符号?
该符号可以用于:
- 在数学方程式中(数学模式)
- 在常规文本中(如果使用文本模式)
- 在各种文档环境中
我可以在显示模式中使用这个吗?
是的,在数学模式($ $)中工作的符号也适用于显示模式($$ $$)。这允许您在自己的行上显示符号,具有更大的格式。
🔗 Related Symbols You May Need
View all symbols →🎯 Need to Convert PDF to LaTeX?
Our free PDF to LaTeX converter preserves all mathematical symbols and formatting.
✓ Fast & accurate
✓ Preserves symbols
✓ Free online
✓ No registration