#How to get `dots.v` to be treated like `divides` in terms of layout?
1 messages · Page 1 of 1 (latest)
?render $ b | a <=> a class("relation", dots.v) b $
It's not really the same though I just noticed. The | fence doesn't have relation spacing, it just keeps spaces around itself if there are any. So the exact same thing would be $ b | a <=> a space dots.v space b $.
they're not, and and I'm pretty sure divides does have the relation class
here's a show rule if you want to handle it that way everywhere
?render ```
#show math.equation: it => {
show sym.dots.v: math.class.with("relation")
it
}
$ b divides a <=> a dots.v b $
The vertical bar keeps spacing around itself so that { x | y } doesn't look bad. I'm not sure whether it is the technically correct space width though.
If there is such a thing as technically correct here.
sym.divides and sym.bar aren't the same thing
sym.divides should absolutely be a relation, sym.bar kind of has to be special cased
in russian literature dots.v is often used as an inverse of divides, i dont know about english literature
I haven't really seen it used that way
but also due to its uses in matrix and vectors, it's complicated to make it a relation by default I feel
Дели́мость — одно из основных понятий арифметики и теории чисел, связанное с операцией деления. С точки зрения теории множеств, делимость целых чисел является отношением, определённым на множестве целых чисел.
wait, why does ru wiki has the old layout
i defined it as ```typ
let divisible = class("relation", sym.dots.v);
yeah that seems fine
wdym by "new layout"? i have monobook theme in global wikimedia preferences
the english one has been the default wiki look for a while now, I'm surprised that it'd change per language for some reason
yep the default theme is different (in russian, "по умолчанию" is "(by) default" and "устаревшая" is old/obsolete/outdated; "Векторная" is "Vector" (adj.))