Want to take part in these discussions? Sign in if you have an account, or apply for one below
Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.
1 to 8 of 8
One can see in the page Feynman slash notation that the LaTeX command \slash{...}
is used but it fails to render anything, it just fails silently, as if it were a redefinition of \nop{...}
. This can be not just a problem of that page if usage spills to more places. Stripping slashing generates formulas that are wrong but maybe not obviously so, leading to a potentially insidious problem.
When I first read your message, also for me the slash wasn’t showing. But now, a minute later, it is.
Therefore I suspect that this is not an issue specific to \slash
but rather an instance of the known bug which has been with us for some time now:
It frequently happens upon loading of a page that parenthesis in formulas and math operators are not being rendered: One sees the mathematical variables, but not the rest of the formulas that they are part of.
In such a situation, any step that forces the page to re-render makes the missing symbols appear (such as reloading the page or scrolling down a full screen height and back up again).
This is indeed annoying, yes, to say the least.
We have discussed the issue before somewhere on the nForum: here, though without coming to a conclusion.
I could try to contact the technical team again to see if they have any idea.
Sorry, I take that back. It’s a different issue now:
Further testing shows that I consistently see the slash on the nLab pages when using Firefox (on Windows, in my case) but not when using Chrome (either on Windows or on Android).
Further experimenting in the Sandbox:
Tried what happened when we hack the effect by typing “$D\!\!\!\!\!/$
”.
Again, this comes out fine with Firefox, but not with Chrome: the latter ignores the negative whitespace “\!
”.
So it seems clear that it is a rendering issue with Chrome (Blink). Maybe somebody wants to file a bug report to them.
Thanks, that’s useful.
Your unicode encoding works for me with Chrome on Win!
But it still does not work:
(1.) with Chrome on Android,
(2.) generally, with any browser (a.) here on the nForum and (b.) in math mode.
(In the latter cases the negative whitespace is insufficient: the slash hardly touches the preceding letter.)
Here is a table with some variants. Now that I test-view this on the nForum, I see that here on the nForum \slash
is invisible even with Firefox.
code | rendering |
---|---|
$\slash{D}$ |
|
$D\!\!\!\!\!/$ |
D/ |
$𝐷̸$ |
𝐷̸ |
$\text{𝐷̸}$ |
𝐷̸ |
$\text{∂̸}$ |
∂̸ |
So we don’t seem to have any satisfactory solution so far.
Thanks. I guess this still doesn’t work inside a math environent, though.
We’d need some replacement for the \slash
appearing in a display context like $$ \slash{D} = \gamma^\my \partial_\mu $$
.
But maybe the issue is not worth the effort. I don’t think that the slash notation is used much at all on nLab pages, besides the page dedicated to it.
I’ll just add a warning there now and then maybe we can safely leave it at that.
1 to 8 of 8