Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I need to write something below and top of ampersand sign. I want it to be like \sum. I have tried

\&_{i = 0}^{n}

but it shows i=0 in the index but not below ampersand sign.

share|improve this question

2 Answers 2

up vote 15 down vote accepted
\documentclass{report}

\DeclareMathOperator*{\amper}{\&}

\begin{document}
Inline: $\amper_{i=1}^n$

Inline with display: $\amper\limits_{i=1}^n$

Display: \[ \amper_{i=1}^n \] 
\end{document}

enter image description here

share|improve this answer

If you wanted the ampersand to display larger in display style, you can use scalerel package to grow the size to match the vertical extent of the \sum sign.

\documentclass{article}
\usepackage{amsmath}
\DeclareMathOperator*{\foo}{\scalerel*{\&}{\sum}}
\usepackage{scalerel}
\begin{document}
\[ \foo_{i=3}^{6}(f^2(i)) \]
\centering This is inline: \(\foo_{i=3}^{6}(f^2(i)) \)
\end{document} 

enter image description here

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.