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

This question already has an answer here:

I would like to typeenter image description here

how do I do it?


share|improve this question

marked as duplicate by Gonzalo Medina, dustin, Werner, Sean Allred, cmhughes Sep 2 '13 at 4:07

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

up vote 1 down vote accepted

Provided you've loaded the amsmath and amsfonts packages, you can write something like


enter image description here

\left and \right allows you to using grouping-like symbols and resize them to match the height of the material bracketed. In this case, you only have | which is not paired with anything else. So we use \left. to fill in for the missing grouping symbol.

Regarding \[...\], this is for displayed math expressions. It is currently preferred over $$...$$ as it handles various spacing issues better, among other things.

share|improve this answer
I trust you that this works and i will use it but can i ask how exactly does this make the | long? – Lost1 Sep 2 '13 at 0:42
you want the t outside the mathcal – Lost1 Sep 2 '13 at 0:44
also what is [ ]? never used this before – Lost1 Sep 2 '13 at 0:44
thanks a lot, really appreciate it. – Lost1 Sep 2 '13 at 0:49

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