Using cosec
Saturday 2nd April 2005
British (and who else?)1 prefer to use for but doesn’t recognise \cosec as a command. You could use \mathrm{cosec} which produces or even use Babel, but a very simple method would be to add a line in class.latexrender.php Just after
$string .= "\begin{document}\n";
add the line
$string .= "\newcommand{\cosec}{\operatorname{cosec}}\n";
and then you’ll be able to use \cosec wherever you want eg
You can find a whole lot more newcommands at Birmingham (UK) University Maths Postgrad Committee’s Latex Commands page
1. Russian Babel has the \cosec command; so who else uses cosec rather than csc?