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.

The code

\DeclareMathOperator*{\FAggregate}{F}

\begin{equation}
q_k'(e) = \FAggregate\limits_{a \in R}_a (q_k(S(a)))
\end{equation}

causes a problem with an additional _a. What I want is the a to show in the subscript position as shown in the following picture:

desired output

How could I achieve that?

share|improve this question

1 Answer 1

I suggest to add the subscript as an argument to \FAggregate:

\documentclass{article}
\usepackage{amsmath}
\newcommand{\FAggregate}[1][]{\operatorname*{F_\mathnormal{#1}}}

\begin{document}
\begin{equation}
q_k'(e) = \FAggregate[a]_{a \in R} (q_k(S(a)))
\ne\FAggregate_{a \in R} (q_k(S(a)))
\end{equation}
\end{document}

If the subscript is mandatory, then define

\newcommand{\FAggregate}[1]{\operatorname*{F_\mathnormal{#1}}}

and use it as

\FAggregate{a}_{a \in R}

Note that \limits is not necessary in display style.

enter image description here

share|improve this answer
    
You may want to change F_\mathnormal{#1}} to F_{\!\mathnormal{#1}}} to mitigate the visual "hole" that would otherwise arise because the lower-right "zone" of the letter "F" is empty. –  Mico Feb 26 '13 at 23:09
    
@Mico This might be a valuable addition in this particular case, due to the shape of the letter. –  egreg Feb 26 '13 at 23:13

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.