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 is extremely basic and I know how to solve it basically but it is a workaround and I was wondering whether there is a much better way to do it - here is the problem:

I'd like to give some property (i.e. written text) a label, and I do it like this:

    \text{\emph{all functions considered are smooth}}.

This way I get my desired label - but it is no good if for example the text is rather long ...

share|improve this question
Check this question: How to link to a label using specific text. – m0nhawk Dec 17 '12 at 17:34
By "label" here you actually mean the equation number, right? Is that what you want, or do you want some other label? If need be, provide an image of the desired output (even if it's generated in Word). – Werner Dec 17 '12 at 18:34
@Werner yes, by "label" I mean the equation number, thanks for asking I should have been more clear on this! – harlekin Dec 17 '12 at 20:49
up vote 2 down vote accepted

Normally this is done with the \newtheorem command.

enter image description here



    all functions considered are smooth;

blah blahh see \ref{12345}
share|improve this answer
thanks for this suggestion, usually I frame my theorems, propositions, lemmas etc in the theorem - environment - here I was rather looking for a version that puts less formal emphasis into the text. – harlekin Dec 17 '12 at 20:51
the markup should be the same, you can style the prop theorem style however you like, especially if you use a package such as theorem or amsthm that make it easier to make such customisations, so if you don't want a bold heading and just want a number, that can just be a style definition for prop – David Carlisle Dec 17 '12 at 20:55
true, actually, that'll do the job. many thanks! – harlekin Dec 17 '12 at 20:59

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.