LaTeX bleg
Mar. 16th, 2009 10:36 amI have a "logit" inside an expression, but I don't want it to look like l-o-g-i-t are variables.
For exp, it works to use \exp... but unfortunately \logit is not recognized.
For exp, it works to use \exp... but unfortunately \logit is not recognized.
(no subject)
Date: 2009-03-16 05:46 pm (UTC)or roll your own command to use in math mode (put in preamble):
\DeclareMathOperator{\logit}{logit}
(no subject)
Date: 2009-03-16 05:46 pm (UTC)\operatorname{logit}. or alternatively, i usually just use\mathit{whatever}for anything that's a single variable and not a sequence of them.see also http://www.tex.ac.uk/cgi-bin/texfaq2html?label=newfunction if you really care about getting it "right".
(no subject)
Date: 2009-03-17 04:09 am (UTC)\newcommand{\logit}{\mathop{\mathrm{logit}}}}}}}}}}}}}(and then remove braces as needed). I'm amused that there are two different solutions before me.(no subject)
Date: 2009-03-21 08:11 pm (UTC)