# Writing formula in LaTeX

How can I write the formula shown below? I am new to LaTeX and I found how to write upper bounds but it is getting really complicated writing it as a whole.

• \{X(t)\}_{t\geq0}^{\infty} (inside of math mode, of course) – Manuel Nov 27 '14 at 11:42
• I inserted \usepackage{mathtools} but I am getting an error mathtools.sty not found. – user3599420 Nov 27 '14 at 11:46
• you must have a very minimal installation, if you don't have mathtools, you should be able to add it with the texlive or miktex package manager (whichever you are using) but you do not need mathtools here so just don't add that line. – David Carlisle Nov 27 '14 at 11:52
• I removed it and it worked! :) However, I am having a problem with this error saying that it do not have .sty files. I am using TexMaker and Texworks how can I install these .sty files please? Thanks! – user3599420 Nov 27 '14 at 11:55
• Which distribution do you use? – Bernard Nov 27 '14 at 12:06

\documentclass{article}
\noindent In inline mode you get $\{X(t)\}_{t \geq 0}^{\infty}$'' and in display mode you get
$$\{X(t)\}_{t \geq 0}^{\infty}$$