Right now, I am using \lvert,\rvert, and \mid to display

\documentclass[border=3pt]{standalone}
\usepackage{amsmath}
\begin{document}
$\lvert x \rvert \mid y$
\end{document}
Is there a better way to do this?
|
Right now, I am using
Is there a better way to do this? |
||||
Option 1By making the
Option 2By making the font smaller locally,
Option 3Rephrasing the mathematical statement,
|
|||||||||||||||
|
|
I think this notation is possibly very confusing. Why not define an new math operator:
so you would then write
|
|||
|
|
|
Yes, it looks too similar to |
|||||
|
|
I have recently been lecturing on the Sylow theorems and related topics, which means that I am continually needing to say that the size of some group divides or is divisible by something. The solution I have adopted is to denote the size of a finite set by |
|||
|
|
divideswith something like\newcommand{\Divides}{\mathbin{\big|}}, and then use$ \lvert x \rvert \Divides y $. – Peter Grill Feb 11 at 1:10\DeclareMathOperator{\abs}{abs}so you would then write$\abs(x) \mid y$– A.Ellett Feb 11 at 1:49x\mid ysays exactly the same thing. – egreg Feb 11 at 9:31