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 want to write a mathematical statement which also has to be numbered. For example :

The function f is bounded (1.1)

However, the align environment does not work. Any hints?

share|improve this question
2  
Welcome to TeX.sx! I have a hint: Please add a minimal working example (MWE). For a quick advice: Look into amsmath documentation for the command \text. –  tohecz Mar 1 '13 at 12:32
    
What number should it be given? Will it share the numbering with equations? With theorems? Where should the number be placed? –  egreg Mar 1 '13 at 12:33
    
Could you provide an minimal working example (MWE) that illustrates your problem? I don't quite understand, why align won't work and what you're trying to accomplish. –  Ronny Mar 1 '13 at 12:33
    
Share numberings with equations. The above number is an example. –  John Mar 1 '13 at 12:34
add comment

1 Answer 1

up vote 4 down vote accepted

This should work:

\usepackage{amsmath}

\begin{equation}\label{eq:whatever}
\text{The function $f$ is bounded}
\end{equation}

The text will be centered and numbered. The label allows you to refer to the line later with \ref{eq:whatever}.

(Edited to incorporate commenters' changes.)

share|improve this answer
    
Ok, this is what i needed. Thanks @Ethan Bolker. –  John Mar 1 '13 at 12:37
1  
you might also consider using \eqref if you want the xref to be enclosed automatically in (always upright) parentheses. –  barbara beeton Mar 1 '13 at 13:40
add comment

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.