TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am wondering whether anyone knows how to type $E \subset F$ vertical. That is $E$ is on the top then right below it is $\cap$, and below which is $F$.

share|improve this question
Without a little more context about where you want this sort of construction, it's hard to tell what would be the best way to build it... Could you explain where you would use such a vertical stack of symbols? – Seamus Jul 19 '11 at 12:47
You can mark inline code with backticks : ` – Seamus Jul 19 '11 at 12:47
@Seamus, yes I want to use it within "$" and "$". – Anand Jul 19 '11 at 14:51
Could you give an example of where you want to use it. – Seamus Jul 19 '11 at 14:56
up vote 3 down vote accepted

Based on Seamus answer, here is a marcro that only uses TeX-ish primitives. It should work in any math context, and requires \usepackage{graphicx}.



share|improve this answer
Thanks Stéphne Gimenez. :-) – Anand Jul 19 '11 at 17:58

Is this the sort of thing you had in mind?


stacked subset

Note I used \subseteq to show that this can work with all relations.

share|improve this answer
You could use array instead of tabular to simplify the writing. – Gonzalo Medina Jul 19 '11 at 13:14
@Seamus and Gonzalo Medina, Thanks a lot! :-) – Anand Jul 19 '11 at 14:48
@Seamus, it seems that I couldn't put these codes in my surrounding text. – Anand Jul 19 '11 at 14:53
@Anand that's why you need to tell us how you want to use this thing so we can tailor the solution... – Seamus Jul 19 '11 at 15:18
@Seamus, I see. Thank you so much! :-) – Anand Jul 19 '11 at 17:54

Your Answer


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.