TeX - LaTeX Asked on July 1, 2021
Below is an example of an asymmetrical limit (or uncertainty)
How can I typeset this in a LaTeX equation? Such pair of numbers should be vertically stacked while being vertically center-aligned with rest of the equation.
Solution
$X^{+Y}_{-Z}$
Here's a way to stack asymmetrical limits using macro Vectorstack
from package stackengine (based on further clarification you provide in comments to your question):
Code:
documentclass{article}
usepackage{stackengine}
begin{document}
[
%setstackgap{L}{baselineskip} % Uncomment and change this if you want to adjust vertical spacing between stacked content
A = B
enskip Vectorstack{+0.60 -0.59}
enskip textrm{cm}
]
end{document}
Answered by reportaman on July 1, 2021
I propose this solution using nccmath
with the mrel
.
documentclass[12pt]{article}
usepackage{nccmath}
begin{document} $L=+0.39!mrel{+0.60[.12ex]-0.59} mathrm{cm}$
end{document}
Increasing the value of [...ex]
:
documentclass[12pt]{article}
usepackage{nccmath}
begin{document} $L=+0.39!mrel{+0.60[2ex]-0.59} mathrm{cm}$
end{document}
Answered by Sebastiano on July 1, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP