# Writing complexity classes in LaTeX

Is there anyone who knows which package/style should I use to write a complexity class like this? You can see the highlighted word below, this is an all-caps word, but some letters are slightly bigger than the others. How to do this exactly in LaTeX?

-
You might want to have a look at the complexity package (even though it does not produce exactly this kind of results by default). –  Jukka Suomela Jun 7 '11 at 23:31
This is not all caps. It's merely small caps. The color can be done with color or better xcolor –  Yan Zhou Jun 8 '11 at 9:03
@Yan: sorry for my poor english... thanks anyway... –  zfm Jun 8 '11 at 12:27

\documentclass{article}