开发者

How to put a symbol above another in LaTeX? [closed]

开发者 https://www.devze.com 2023-01-04 21:55 出处:网络
Closed. 开发者_高级运维This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed. 开发者_高级运维This question is off-topic. It is not currently accepting answers.

Want to improve this question? Update the question so it's on-topic for Stack Overflow.

Closed 9 years ago.

Improve this question

How to put a symbol above (on the head of) another? For example, I want to produce something like this in one line.

a
#

i.e., a above #.

The effect should be almost the same with $#^a$ except that a is on the top instead of top right of #.


Use \overset{above}{main} in math mode. In your case, \overset{a}{\#}.


${a \atop \#}$

or

${a \above 0pt \#}$


If you're using # as an operator, consider defining a new operator for it:

\newcommand{\pound}{\operatornamewithlimits{\#}}

You can then write things like \pound_{n = 1}^N and get:

How to put a symbol above another in LaTeX? [closed]

0

精彩评论

暂无评论...
验证码 换一张
取 消