2

So far i have been using $\text{supp} u$ but that is very cumbersome and probably wrong, do we have an equivalent of \lim for $\lim$?

h3h325
  • 209
  • 1
    You could use in math-mode $\mathrm{supp} u$. But your question is not very clear. Here there is an example: https://tex.stackexchange.com/questions/448069/fix-ugly-kerning-in-equation-subscript/448070#448070. – Sebastiano Dec 05 '18 at 11:36
  • 4
    \text is super wrong (too many people misuse \text), define \supp via \DeclareMathOperator\supp{supp} and use \supp or use \newcommand\supp{\mathrm{supp}} if you do not want it to behave as an operator. – daleif Dec 05 '18 at 11:43

2 Answers2

8

What about:

\documentclass{article}
\usepackage{amsmath}

\DeclareMathOperator\supp{supp}

\begin{document}

  $\supp f(x)$

\end{document}

to produce

enter image description here

Note that this requires the amsmath package. Actually, in the preamble of my papers I usually have quite a lot of these so instead I use code like:

\usepackage{etoolbox}% for \forcsvlist

% mathematics operators
\newcommand{\DeclareMyOperator}[1]{%
  \expandafter\DeclareMathOperator\csname #1\endcsname{#1}
}
\forcsvlist{\DeclareMyOperator}{%
   Ext, End, Hom, Ind, Mat,Res,
}

This defines \Ext, \End, ..., \Res. for me.

0

The good think about LaTex is that it offers a lot of sophisticated commands, for instance, you can use:

\documentclass[10pt,a4paper]{article}
\begin{document}
\noindent Some nice options (note that they also include super/sub scripts in them for instance \texttt{\\<one\_of\_the\_command>\_\{your\_subscript\}$^\wedge$\{your\_super\_script\}})
\begin{itemize}
    \item Supremum: $\sup$
\item   Maximum: $\max$
\item   Infimum: $\inf$
\item   Minimum: $\min$
\item   Limits: $\lim$
\item  Sum: $\sum$
\item $\ldots$
\end{itemize}


\end{document}

This is for instance, would give you:

![enter image description here

Note that this is just A list. You can do much more than just listed here.