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$?
Asked
Active
Viewed 8,065 times
2
2 Answers
8
What about:
\documentclass{article}
\usepackage{amsmath}
\DeclareMathOperator\supp{supp}
\begin{document}
$\supp f(x)$
\end{document}
to produce
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:
Note that this is just A list. You can do much more than just listed here.
Raaja_is_at_topanswers.xyz
- 648
- 4
- 20
- 53
-
2It should be noted, however, that there is no built-in macro for the support of a function, as it is commonly denoted by supp rather than sup. – Circumscribe Dec 05 '18 at 20:37
-


$\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\textis super wrong (too many people misuse\text), define\suppvia\DeclareMathOperator\supp{supp}and use\suppor use\newcommand\supp{\mathrm{supp}}if you do not want it to behave as an operator. – daleif Dec 05 '18 at 11:43