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'd like to express a set of vectors by {a_n} followed by a little column with two elements, the size of the set and n=1, as they usually are in some books. How can I create that column? I've tried with \stackrel{N}{n=1}, but it looks very big. Is there any other way?

share|improve this question
1  
Welcome to TeX.SX! Please help us to help you and add a minimal working example (MWE) that illustrates your problem. It will be much easier for us to reproduce your situation and find out what the issue is when we see compilable code, starting with \documentclass{...} and ending with \end{document}. –  Jubobs Jun 22 at 19:28
    
I tried, but strangely I couldn't find any elpful image that could ilustrate my question. Anyway, I got my answer :-) –  carllacan Jun 23 at 20:27

3 Answers 3

up vote 4 down vote accepted

Do you mean something like the following?

\documentclass{article}
\begin{document}
\[
  \{a_n\}_{n=1}^{N}
\]
\end{document}

Result

share|improve this answer
1  
That's so simple I didn't even think it would work. Thank you :-) –  carllacan Jun 23 at 20:37

Or maybe this?

enter image description here

\documentclass{article}
\begin{document}
$a_n \big\vert^{N}_{n=1}$
\end{document}
share|improve this answer
    
I prefer your solution than mine :) –  Mario S. E. Jun 22 at 20:26

Without a MWE, perhaps what you want is something like this?:

\documentclass{article}
\begin{document}
$\left. \right|^{N}_{n=1}$
\end{document}

enter image description here

Or using the a_n vector:

\documentclass{article}

\begin{document}
$a_n\left.\right|^{N}_{n=1}$
\end{document}

enter image description here

share|improve this answer
    
Why not a_n\bigr|_{n=1}^{N}? That way you leave no unwanted space. –  Manuel Jun 22 at 20:32
    
@Manuel ahhhh, I didn't know that :). thanks for the tip! –  Mario S. E. Jun 22 at 20:33
    
@Manuel what is the difference between \bigr| and \vert? –  Mario S. E. Jun 22 at 20:34
1  
@MarioS.E. - The symbols produced by \vert and | are identical. The former, though, is more "LaTeX-y" since it focuses more on the symbol's meaning than its concrete shape. –  Mico Jun 22 at 20:38
    
@MarioS.E. Well, I used | but you can use a_n\bigr\vert_{n=1}^{N} if you prefer. –  Manuel Jun 22 at 20:40

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.