Jump to content

Wikipedia talk:MOSPHYS

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Gradient of scalar field dotted with vector field

[edit]

Just a thought, why is this notation:

(∇f )⋅ v

not recommended? There is nothing controversial about it... M∧Ŝc2ħεИτlk 12:54, 3 February 2013 (UTC)[reply]

Of course, I expressed the thought poorly. In an article, where nothing but vector fields and gradients is needed, it may be used. But if we have to operate with both vectors and higher tensors, then the use of different styles for tensor fields of different types would be confusing. Incnis Mrsi (talk) 13:46, 3 February 2013 (UTC)[reply]
Makes sense, thanks, M∧Ŝc2ħεИτlk 13:51, 3 February 2013 (UTC)[reply]
I restricted the example to settings with an indeterminate metric tensor. Incnis Mrsi (talk) 15:25, 3 February 2013 (UTC)[reply]

Fexternal

[edit]

Why not to merge it to already existing “If an item which obeys different typographical rules has to be included” paragraph? Incnis Mrsi (talk) 15:25, 3 February 2013 (UTC)[reply]

Ok, will do. Just thought to place it in contrast with the tensor notation. M∧Ŝc2ħεИτlk 15:32, 3 February 2013 (UTC)[reply]
Why it was not get into the table? Incnis Mrsi (talk) 16:07, 3 February 2013 (UTC)[reply]
Done. M∧Ŝc2ħεИτlk 17:24, 3 February 2013 (UTC)[reply]

Table format for introduction examples?

[edit]

Why? A table should present information which can be correlated into rows and columns, these are just random examples. All that's needed are simple lists, like so:

Units and quantities
  • The speed of light: c = 299792458 m·s−1,
  • Planck's constant: ħ = 1.054571726(47)×10−34 J·s,
  • Coulomb's constant: 1/ε0 = 8.987551787368×109 N·m2·C−2.
Common mathematical formulae
F = dp/dt
or inline for simpler special case, F = ma.
d/dt|Ψ⟩ = Ĥ|Ψ⟩
or inline, ∂Ψ/t = ĤΨ.
∂ρ/∂t + ∇·j = σ
or inline for simpler form, αJα = σ (see below for tensor indices).
Substances and reactions
242
95
Am5+
242
96
Cm6+
+
e
+
ν
e
n0p+ +
e
+
ν
e
or in terms of quarks, displayed again,
(udd) → (uud) +
e
+
ν
e

any better or worse? At the same time, it shows what the inline/displayed formats of the {{math}} template look like... M∧Ŝc2ħεИτlk 15:32, 3 February 2013 (UTC)[reply]

In my initial version the table was not stuffed with extra-wide examples, and was not split to 3 rows of unclear purpose – there was only one content row (but more that 1 example per cell). Of course, the present table is awful and the list would be better, if you will not be extremely verbose in Introduction. Incnis Mrsi (talk) 16:07, 3 February 2013 (UTC)[reply]
I know it wasn't stuffed before I did so, I presumed when you wrote "more examples, please" to add more content in rows, not within the same cells, apologies for that. Also I did originally plan to link "p for proton" as p in the actual reaction, but then decided not to for consistency with the other reactions you wrote that had no links... (and the "verbosity" is not intensional, it happens during an explaination...)M∧Ŝc2ħεИτlk 17:24, 3 February 2013 (UTC)[reply]
I think it would be better to integrate those examples in their respective subsections. Where they are now they only serve to clarify what we mean by the subsection headings, which we could achieve by one short example each, but even that I don't think is needed. Good work otherwise! — HHHIPPO 22:28, 3 February 2013 (UTC)[reply]
Yes I thought that too, but see the link provided by Incnis Mrsi above: was not stuffed, where he requested more examples there and then. M∧Ŝc2ħεИτlk 23:01, 3 February 2013 (UTC)[reply]

Ratio of infinitesimals or derivative?

[edit]

Would it be worth adding this subsubsubsection:


Ratios of differential (infinitesimal) quantities and derivatives

In physics, ratios of differential (infinitesimal) quantities frequently occur, and share the same notation with first order derivatives, which also frequently occur. For example, the differential amount of work dW done by a force F to move a particle over an infinitesimal displacement dr is:

dW = Fdr

then dividing by an infinitesimal time increment dt gives the rate of doing work, the power;

dW/dt = Fdr/dtP = Fv

where

v = dr/dt

is the velocity of the moving particle.

Notations can be misleading, as

So these are not exactly the same, differentials are more general. Following are the recommended applications of the notation.

Operations Notation Usage in the literature
Division of infinitesimal quantities dy and dx dy/dx, dydx, dy/dx

Ratios or derivatives

Derivative of y = y(x) as a function of x d/dxy
  • Used only for derivatives, not ratios as above,
  • makes clear that differentiation is an operator,
  • clarifies notation for higher derivatives by repeated action of a derivative,
dn/dxn = d/dx...d/dxd/dxy

For partial derivatives this is not a problem, since differentials are never written as "∂x"; only the full symbol of a partial derivative, in any of the equivalent notations;

∂F/∂x, /∂xF, ∂F∂x, ∂xF, ∂F/∂x,

has meaning.


to Nomenclature and notation, or Mathematics, or where? I think we should agree on this concept throughout physics articles... It's tripped me up before... I don't see this in WP:MOSMATH either... M∧Ŝc2ħεИτlk 09:00, 5 February 2013 (UTC)[reply]

It should be explained in a dedicated subsection in #Nomenclature_and_notation (possibly explaining that the differential of the scalar function is an 1-form) and to be mentioned in the table in #Mathematics too. But just a quibble: use U+2219 BULLET OPERATOR for dot product, and never use U+2022 for it. Also, I think that any display formula which contains a vinculum has to be formatted in <math> unless there is a solid substantiation to do otherwise. Incnis Mrsi (talk) 10:07, 5 February 2013 (UTC)[reply]
Ok. For the dot product I just use the small dot symbol in the "symbols" of the "special characters" in the edit window, but wil change to U+2219 BULLET OPERATOR. Are you sure about changing all fractions, roots, and derivatives, each with a vinculum, from {{math}} to <math> ? M∧Ŝc2ħεИτlk 10:40, 5 February 2013 (UTC)[reply]

Edits in 26–28 February

[edit]

As is usually the case, I have spent an excessive number of edits trying to improve, but there are still a number of loose ends:

  • I added another section to what this page calls "formulae"; notation for sets and spaces, which seems to be appropriate, since "units" and their symbols are in this categorization...
  • What font should be used for tensors when not written in index notation? See here.
  • What font to use for standard number sets, like for integers/real/complex etc. numbers? See here. Blackboard bold is fine in LaTeX but not ideal for wikicode, as we have to keep copying and pasting the characters from somewhere else... Same for calligraphic/script letters...
  • Does everyone agree that fraktur is extremely nasty to use? Most likely not. Unfortunately it is used for real/imaginary axes in the complex plane, and for denoting groups in group theory, and elsewhere... The point is - it looks extremely horrible, it is unreadable, and is hell to write down by hand... And what millenuim do we live in anyway?? The middle ages are in the dim and distant past... >_<
Other (readable!) fonts can easily suffice... I have no doubt other editors like to use it though, and can live with that case...
  • In general do we agree on the use of sans serif? Apparently there has been debate of it's use on WP, See here...
  • What about typography of Greek letters? Their application for indices is included, but what about when they're just used like any variable; say a wavefunction ψ, ψ, or an angle θ, θ? I think it's silly that lower case Greek isn't always italicized (look around WP physics and maths pages...)... Apart from tensor indices, why treat Greek and Latin alphabets different? We should just use ψ in exactly the same way as for x. This is partial though, since capital Greek looks slightly odd (IMO): Φ, Ψ, Ω... compare to P, J, Y...
  • The prerequisite knowledge for the mathematics section needs completion, the classification of difficulty could use better naming (to be less "educational"..) and the now-called "graduate level" section could potentially be too long, so just reduce that to a descriptive paragraph? Ok, wikiproject maths has already been asked about what operations (and formalism?) is well-known... and some of the discussion has been incorporated into my recent editing, but again it's still incomplete...
  • Are there any more opinions on sidebars/navboxes than those currently included? See here and here.

These are things we need agreement on. Of course, any feedback will help (apart from how irregular the mathematical typesetting alternates between LaTeX and wikicode... which has already by raised). Thanks, M∧Ŝc2ħεИτlk 19:59, 27 February 2013 (UTC)[reply]

I opt for use of
in display style, but for su(n) inline. Greek lowercase letters pose an interesting question. Its solution depends on whether Roman Greek lowercase letters are available in <math> and, more precisely, in both of its major presentations. Incnis Mrsi (talk) 19:29, 28 February 2013 (UTC)[reply]
Sorry - didn't realize this post just now either... Italic greek are possible in {{math}} and LaTeX, yet upright Greek letters are easily possible in {{math}}, but not at all in LaTeX... That's actually a reason to favour italic lowercase Greek letters though. M∧Ŝc2ħεИτlk 20:39, 28 February 2013 (UTC)[reply]
Forgot to add: hats or no hats for operators? (Although my preference is irrelevant - hats are preferable). M∧Ŝc2ħεИτlk 19:10, 28 February 2013 (UTC)[reply]

Needs streamlining

[edit]

I'm impressed by the amount of effort that has gone into developing this manual of style. Kudos to Incnis Mrsi and Maschen! However, there is a lot of material that duplicates other style guides, making it hard to determine where the physics guidelines differ. The more concise it is, the easier it will be to use. For example, section 1.2.1 (on markup) isn't needed here. Also, I don't see why such an extensive discussion of elementary operations is needed. RockMagnetist (talk) 05:19, 28 February 2013 (UTC)[reply]

The operations section can be shortend, but a section on this theme is definitely needed (so when writing articles we can agree on what to expect from the reader).
Maybe we could try to amplify the scope of those sections while keeping a compact table format: for instance while outlining prerequisites, we actually do include notational conventions (which would absorb some of the earlier sections)? M∧Ŝc2ħεИτlk 07:15, 28 February 2013 (UTC)[reply]

Bigmath

[edit]

I'm surprised to see {{Bigmath}} used in the display formulae. I have not even seen it mentioned in previous arguments over LaTeX vs HTML; those arguments were over what to use for inline equations, while everyone seemed to prefer LaTeX for display. And no wonder - it is so much easier to use and looks so much better, especially when there are integral signs. RockMagnetist (talk) 05:29, 28 February 2013 (UTC)[reply]

Yes, I used that to keep Incnis Mrsi happy (who seems to have strong opinions on the {{math}}, {{mvar}}, {{bigmath}} templates), but it's very confusing since above he states above "to use math for expressions using a vinculum"... which includes all fractions, roots, derivatives... . I wrote in 1.2.1 to use {{math}} inline and {{bigmath}} or <math> for displayed. Due to the much more popular use of LaTeX for displayed formulae anyway, I agree that's what should be used, not bigmath. Personal preferences of individual editors are not important for what is easier and is already a standard.
Exactly the same comment was stated at wikiproject physics.
In this case, I think we should keep that section at least for now (even if redundant); it can also include pointers to possible LaTeX/mathjax errors. We can always disperse it into other sections or delete it in the final stage. M∧Ŝc2ħεИτlk 07:15, 28 February 2013 (UTC)[reply]

Does the code need to be displayed?

[edit]

I find it ironic that there are several tables in which a usage that is not recommended is highlighted in red, along with the code to reproduce it. I don't see the point in providing the code for unwanted results. Indeed, I'm not sure the tables help. Most style guides display examples of the recommended style, and it is up to the reader to look at the source and see how they were produced. That is harder to do when the formulae are in tables. If you wish to make it easier to view the code, an alternative is to use footnotes. I will take the liberty of editing one of the tables to provide an example for comparison. RockMagnetist (talk) 18:50, 28 February 2013 (UTC)[reply]

Those ideas/changes are mainly my fault, not Incnis Mrsi's...
  • I put the code for the "not-recommended" notation to compare with the recommended, so editors know what code produces the unwanted results.
  • Similarly recently removed footnotes since they contained information that could just be stated there and then without having to scroll down to the very bottom of the page.
  • The code is there to make it easier to see how it is produced... It seems a bit reversed that to say it's easier to make the reader read up the code when it's already directly next to the formula on site? I don't understand your point...
  • Soon, I'm soon going to transform all displayed formulae to LaTeX, so don't give yourself that labour. M∧Ŝc2ħεИτlk 19:04, 28 February 2013 (UTC)[reply]
Right - you just meant to click on "edit" and look at the source code... (Stupid me!)... Fair point - feel free to delete those columns then. M∧Ŝc2ħεИτlk 19:14, 28 February 2013 (UTC)[reply]
Code columns deleted. M∧Ŝc2ħεИτlk 19:30, 28 February 2013 (UTC)[reply]
I'm not sure that footnotes are a great idea (they're certainly extra work), but I have provided an example. The easiest use is to just mouse over them and the code should be displayed (I don't know if that works for everyone). RockMagnetist (talk) 19:38, 28 February 2013 (UTC)[reply]
Ok, but why have you used {{bigmath}} for the inner products when we just agreed not to use bigmath for display? And why remove the table? It was clearly presented that way, bullet points are no more compact since the text now fills the screen. M∧Ŝc2ħεИτlk 19:57, 28 February 2013 (UTC)[reply]
The two of us agree that LaTeX should be used, but I decided to stick with the prevailing style until there was broader consensus. As for the table, I replaced it by two equations with footnotes; the rest of the text was already there. That way each example is right beside the discussion of it. I think you're way more fond of tables than most people; they should be used sparingly or the page starts to look cluttered. At any rate, my table-free example provides an alternative for other people to consider. RockMagnetist (talk) 20:05, 28 February 2013 (UTC)[reply]

Sorry - I didn't notice this reponse while just editing... Too many tables make the page look cluttered? (If anything the opposite IMO). Again IMO, the new style of "piping" the code into footnotes doesn't look very presentable (is this really going to apply to most/all expression on the page? lists of code in footnotes?), although can live with it for now. M∧Ŝc2ħεИτlk 20:28, 28 February 2013 (UTC)[reply]

My experience has been that, after looking at a recommendation in one of the tables, I have to hunt around for the explanation. It's so much simpler to just provide the examples with the explanation. Which may be why tables are rare to nonexistent on other MOS pages (including MOS:MATH).
As for the code, my real preference is to not display it at all and let people look at the page in their editor. I just presented this alternative in case there was some concern that many people wouldn't think to use the editor. RockMagnetist (talk) 20:39, 28 February 2013 (UTC)[reply]
Don't get the wrong idea - it's good that you allow others to fill in on alternative presentations. Yes, MOS:MATH doesn't even have tables, and is a good example of a MoS in general I've been trying to follow (although trying to include tables). M∧Ŝc2ħεИτlk 20:44, 28 February 2013 (UTC)[reply]
I suppose one reason for having footnotes (or tables) is that we generally implement only one of HTML or LaTeX in our examples. I'm tempted to say that is o.k., though - by only providing the implementation we prefer, we can exert subtle pressure on editors to use it! RockMagnetist (talk) 20:45, 28 February 2013 (UTC)[reply]

Some comments

[edit]

You guys have done a lot of work since I last looked at this, really impressive! I thought I could just read it all through and give some comments, but it's too much and changing too fast... So here's just a few remarks on the first part, and I'll do some minor tweaks myself.

  1. Notation and typesetting in formulae: I still don't see the purpose of the first table: are the examples meant to define the subsections, or to show the typesetting? In both cases I would include them in their subsection, maybe trimmed down a bit to stay as concise as possible.
  2. Application of <math>...</math> and {{math|...}}: I would remove the box around the rule of thumb. There's a lot of tables already and if everything is trying to stand out, nothing will. I wonder if we should replace the table with links to e.g. Wikipedia:Manual_of_Style/Mathematics#Typesetting_of_mathematical_formulae and Wikipedia:«math». I don't understand the sentence after the table.
  3. Vectors and vector spaces: There's a number of parser errors when I look at this subsection while logged out. I think deprecating arrows is a good idea. I don't like the red cell background with nearly invisible grey borders. For consistency with the main MOS we could use green and red text, like in {{xt}} but without switching to serif style. We could also steal the tooltip without footnote mechanism from there.

So much for now, I hope it's useful. Sorry for the telegraphic style. — HHHIPPO 20:44, 28 February 2013 (UTC)[reply]

I love the tooltip idea! It's what I really wanted to do instead of footnotes but didn't know how. RockMagnetist (talk) 20:47, 28 February 2013 (UTC)[reply]
Hmm, the disadvantage of these tooltips is that one can't copy and paste from them. But then they work without activating gadgets, and we really don't want the footnotes to display, so this might be the best solution for now. — HHHIPPO 21:07, 28 February 2013 (UTC)[reply]

In order of your points:

  1. The first table is an overview (apologies this was not adequately answered before...). Something will be done soon...
  2. Done - the table (I wrote) was just a waste of space and time anyway, this should be covered in depth in other manuals of styles.
  3. The parser errors are due to the \underleftarrow or \underrightarrow LaTeX commands, placed there intentionally to see if they would actually work (this is a draft!). Yes red/green text would be nice (but no point changing to another font... just the font colour) - cf above the forthcoming depreciation of tables..

M∧Ŝc2ħεИτlk 20:55, 28 February 2013 (UTC)[reply]

For point 1 the examples were included into the sections. Better? M∧Ŝc2ħεИτlk 21:14, 28 February 2013 (UTC)[reply]
Yes. RockMagnetist (talk) 21:20, 28 February 2013 (UTC)[reply]
Yes, thanks! One might do some fine-tuning once the sections are done, but as you said, this is very much a work in progress.
A related thought: we're going down quite deep in the sub-sub-section tree, and it's easy to lose track of where you are when reading. Should we get rid of the first section's header and promote all its contents by one level? — HHHIPPO 21:26, 28 February 2013 (UTC)[reply]
Yes, feel free to make any adjustments.
After creating so much chaos I should stay out of the way now, and let you guys carry on the good work... Thanks! M∧Ŝc2ħεИτlk 21:32, 28 February 2013 (UTC)[reply]
I moved the typesetting to its own section since it is common to all kinds of mathematical display. RockMagnetist (talk) 22:04, 28 February 2013 (UTC)[reply]

I drafted two templates for coloring examples, in user space for now: User:Hhhippo/sxt and User:Hhhippo/!sxt. The differences to {{xt}} and {{!xt}} are that they don't change the font family and that they try to generate a default tooltip if no title= parameter is given. This doesn't work if the example includes <math> tags or templates though, so in many cases we will still need to set title=<nowiki>...</nowiki>. I implemented them in Sets and spaces as an example. Regarding the contents there: I think blackboard bold is ok, since inserting the unicode letters is easy with the CharInsert gadget. I don't have a strong opinion on how to typeset Lie groups or Hilbert spaces, other than that some recommendation would be nice to have. — HHHIPPO 20:28, 2 March 2013 (UTC)[reply]

I'm happy you're doing this. Not sure what the CharInsert gadget is though, will look into this. Thanks, M∧Ŝc2ħεИτlk 21:33, 2 March 2013 (UTC)[reply]
Check the Gadgets tab in your user preferences, the last item under Editing. Maybe we should mention this somewhere. — HHHIPPO 21:41, 2 March 2013 (UTC)[reply]
It already was turned on, but I have never even used the toolbar underneath the edit browser, and that's where the symbols can be quickly inserted (in this case the "math and logic" option gives the blackboard bold letters (and more)). Thanks! Yes, perhaps it could be mentioned to slow editors (like me!) who may not realize this feature... M∧Ŝc2ħεИτlk 21:49, 2 March 2013 (UTC)[reply]

Sources for guidelines?

[edit]

Ideally, these guidelines should be more than just the personal tastes of a handful of editors. Should we try to follow a particular style guide - for example, the APA guide? I have added a Further reading section with a couple of sources. RockMagnetist (talk) 21:32, 28 February 2013 (UTC)[reply]

True. M∧Ŝc2ħεИτlk 21:35, 28 February 2013 (UTC)[reply]
It's good to have refs indeed, I'm not sure we can follow one completely though, we'll need to establish our own consensus, especially once we attempt to make this official. Personally I'm biased by once having worked as copy-editor for some Springer journals, I think that's not too far away from AIP though. — HHHIPPO 21:46, 28 February 2013 (UTC)[reply]

I am unhappy how this section starts. First, it is self-contradicting: code points placed at the Blackboard bold link belong to Mathematical Alphanumeric Symbols 0x1D5?? of SMP, but symbols from the actual table, ℕ ℚ ℤ ℝ ℂ, are Letterlike Symbols 0x21?? of BMP (except for 𝔽 = F). Second, SMP characters are not especially common in default browser fonts, so their presence in the MoS project causes an astonishment. Unlike ℕ etc., they are absent even from MathJax_Main. Incnis Mrsi (talk) 21:41, 28 February 2013 (UTC)[reply]

Isn't that just what Blackboard bold says, in the last paragraph of the lede? And I'm not sure we need the F here. — HHHIPPO 22:05, 28 February 2013 (UTC)[reply]
I did say blackboard bold/double-struck/you-name-it in wikicode would be a nuisance above - so changed to <math>. Also F may be deleted, it's not really needed. M∧Ŝc2ħεИτlk 22:20, 28 February 2013 (UTC)[reply]
[1] did not remove SMP characters, but introduced a new problem: the current wording implicitly recommends only <math> for ℕ ℚ ℤ ℝ ℂ. Oh the other hand, we recommend to avoid <math> in body text. Where is the truth? Incnis Mrsi (talk) 22:36, 28 February 2013 (UTC)[reply]
Let's just settle what blackboard bold letters to use with {{math}} inline instead of <math> inline. If the current ones are wrong, please insert the exact characters to use in that section. Thanks, M∧Ŝc2ħεИτlk 12:28, 1 March 2013 (UTC)[reply]
[edit]

Why do we have this section on a general Wikipedia style issue? If it agrees with Wikipedia:Categories, lists, and navigation templates, it's redundant. And if it doesn't, why are we trying to make our own policy on such a matter? RockMagnetist (talk) 15:47, 1 March 2013 (UTC)[reply]

The answer is at the end of this section. Are you going to delete it? I don't mind. M∧Ŝc2ħεИτlk 22:07, 1 March 2013 (UTC)[reply]
I'll wait for other opinions, but my opinion is that there is nothing in that discussion or this section that applies only to physics articles. RockMagnetist (talk) 22:43, 1 March 2013 (UTC)[reply]
At the moment there's indeed nothing specific to physics here. The section came about when a discussion on sidebars vs. footers emerged on several physics pages, but stalled shortly after. It would probably be a good idea to define our own style within the rather broad existing policies and guidelines, but that needs some discussion. So if we don't have anything better than now by the time we're done with the rest, we should drop it for the time being. — HHHIPPO 21:56, 5 March 2013 (UTC)[reply]

I added a new section which may seem very trivial and obvious to everyone, but isn’t actually, and hasn't been mentioned yet in the page. Feedback as always helps. M∧Ŝc2ħεИτlk 11:53, 2 March 2013 (UTC)[reply]

"Universal" sources?

[edit]

Do others think a section listing the standard works very frequently cited is a good idea? Examples including:

etc...

It sets an example of good sources. Thanks, M∧Ŝc2ħεИτlk 12:06, 2 March 2013 (UTC)[reply]

Actually, probably not, on second thought. But I can't see any pages within WikiProject physics that list such references and IMO it should, because it increases awareness of reliable sources within the project. I'll get that later. M∧Ŝc2ħεИτlk 13:17, 2 March 2013 (UTC)[reply]

Subscripts and superscripts

[edit]

A few thoughts on that section:

  1. I would more generally say that sub/superscripts representing variables, not just indices should be italic. For example, if you have an external magnetic field and want to discuss its time dependence at a fixed point x0, you might write (in displaystyle) , where x0 is not an index.
  2. What are the various typographical rules here? I see only one rule.
  3. I think this is the most important point about sub/superscripts and should come before the index notation part.
  4. Vector fields in 3D are often described as vectors rather than in index notation, and I don't think there's anything wrong with that.
  5. Ratios of differential (infinitesimal) quantities and derivatives has not much to do with sub/superscripts.

I'll give it a go later, just didn't want to interfere while you (Maschen) are working on the section. — HHHIPPO 11:30, 3 March 2013 (UTC)[reply]

Your ideas are correct, although about 3d vector fields in index notation, are you referring to the end of the section Vectors and vector spaces? Of course vector calc in 3d doesn't need index notation, these are conventions Incnis Mrsi set (see the above first few sections on this page). The sections are growing almost anywhere but it's easy to move them around. I'll try and fix things now and not interfere later. Thanks, M∧Ŝc2ħεИτlk 12:10, 3 March 2013 (UTC)[reply]
Once more, I hope you don't mind me copying your example (of the magnetic field this time). M∧Ŝc2ħεИτlk 12:17, 3 March 2013 (UTC)[reply]
No, feel free to use it if you like it. My point 4 was referring to Index notation for tensors and spinors, which starts out with vector fields.
On second thought, I wonder if we should collect most of the 'italic/roman for variables/names' issue in the very beginning, as a fundamental rule (unless otherwise noted). At the moment this topic is scattered over various places with quite some overlap. I'll think about it a bit more before trying, but I have the feeling that can be done more efficiently. — HHHIPPO 12:33, 3 March 2013 (UTC)[reply]
Just finished the previous edit. That initial segment wasn't written by me, so I'll change that, and after try to factorize the roman/italic variables at the beginning in the new section Greek typography, which may have a title anme change. Thanks, M∧Ŝc2ħεИτlk 12:38, 3 March 2013 (UTC)[reply]
In the end I'm not sure how exactly to factorize all things italic/upright. Seems easier to just say it within the context... Maybe you mean to provide a short list of what is (and not) to be upright or italic? Feel free to edit from now on, I've ran out of editing time for today. M∧Ŝc2ħεИτlk 13:01, 3 March 2013 (UTC)[reply]
I gave it a shot. There's more that can be compacted now by referring to the general roman vs. italic rule, but I have to leave now. Will continue tomorrow, but comments and tweaks are of course welcome. — HHHIPPO 17:23, 3 March 2013 (UTC)[reply]
Nice start, so from there you can cut redundancy in the rest of the article. M∧Ŝc2ħεИτlk 17:45, 3 March 2013 (UTC)[reply]
Why not to simply say that subscripts and superscripts shall be in the same style as corresponding writings usually appear? If the subscript refers to an (italicized) variable, then it should be italicized. If it refers to a substance or is just an abbreviation, then it should be Roman. Incnis Mrsi (talk) 17:59, 3 March 2013 (UTC)[reply]
Yes; short, punchy, to the point. The examples (and counterexamples) could simply be taken out the sections and listed after, that should cut out considerable repetition. Will try it if no-one else does sometime tomorrow. M∧Ŝc2ħεИτlk 18:26, 3 March 2013 (UTC)[reply]
Agreed. We should describe the recommended style by formulating rules, not let people deduce the rules from a bunch of examples. In some cases an example might be good to illustrate a point, but we shouldn't rely on them to make a point. Many can probably go somewhere else or out entirely. — HHHIPPO 21:34, 3 March 2013 (UTC)[reply]

Greek letters

[edit]

Previous post by Maschen on this topic: "What about typography of Greek letters? Their application for indices is included, but what about when they're just used like any variable; say a wavefunction ψ, ψ, or an angle θ, θ? I think it's silly that lower case Greek isn't always italicized (look around WP physics and maths pages...)... Apart from tensor indices, why treat Greek and Latin alphabets different? We should just use ψ in exactly the same way as for x. This is partial though, since capital Greek looks slightly odd (IMO): Φ, Ψ, Ω... compare to P, J, Y..."

I renamed and compacted the Greek letters section quite a bit. I don't think we need lots of examples to show what looks better, the 'consistency with <math>' argument is strong enough anyway. A remaining question that we should clarify is what to do if the letter does not appear in displayed math in the same article, and is used as a name rather than a variable, like in Rho meson. I would tend to always recommending lower case italic / upper case roman, for consistency with other articles. But there may be other opinions.
I also compacted the part about variants and removed the application examples. I don't think they are needed here, unless we would want to define which variant is recommended for which application. — HHHIPPO 22:43, 4 March 2013 (UTC)[reply]
No problem, keep editing, although the point of those Latin/Greek in HTML/LaTeX examples was to simply illustrate and the room occupied was inevitable. M∧Ŝc2ħεИτlk 23:29, 4 March 2013 (UTC)[reply]
Yes, it's not so easy to find the right middle ground, concise but still with enough explanation and illustration. We might need a few iterations. We could also start making more use of footnotes, they don't interrupt the flow of the 'story', but can provide background information or additional examples. — HHHIPPO

Italic/upright for particles seems to vary in the literature, maybe just use upright since that matches the upright for nuclide symbols and chemical/nuclear reactions? Here are a few links from Google: CERN, CERN, CERN (in the process found NIST,NIST, which are not as relevant for particles but perhaps the MoS itself). M∧Ŝc2ħεИτlk 22:11, 5 March 2013 (UTC)[reply]

I'm undecided. Have put it in for now and marked as 'consensus needed'. Feel free to change it. — HHHIPPO 22:06, 6 March 2013 (UTC)[reply]

Although we already decided arrows may be depreciated, I nevertheless created {{vec}} for left/right/doubleheaded arrows under/over a character, for use with {{math}} with inline HTML, as some editors prefer to use \vec in LaTeX (not the full over/under arrow) for vectors which also applies to one character: .

I'm sure we agree an allowance can be made for \vec as well as bold? Not all articles have to have an identical style, bold and vec are both used.

It has been included in the article. M∧Ŝc2ħεИτlk 22:01, 6 March 2013 (UTC)[reply]

I created one more template, {{intmath}}, for unicode integral symbols in {{math}}. The syntax is like LaTeX (see documentation). M∧Ŝc2ħεИτlk 21:49, 7 March 2013 (UTC)[reply]

More markup messages

[edit]

Maschen, I'm seeing markup messages in Firefox & Puffin browsers:

  " For Euclidean vectors, there are numerous conventions. The better notations for vectors use:
       bold: easy to typeset and print, and stands out, easily compatible with other diacritics), or
       \overrightarrow{\text{overarrows}} or Failed to parse (unknown function\underrightarrow): \underrightarrow{\text{underarrows}} "


 In bold italic section "
       A, \mathbf{A}, not A, \boldsymbol{A}
       Failed to parse (unknown function\underrightarrow): \overrightarrow{A}, \underrightarrow{A}, \underrightarrow{AB}, \overrightarrow{AB}, \underrightarrow{AB}"

+ blank space at 1st column of next line

   or "normal" or unit vectors, they can be bold, or a hat replaces the arrows:
       ê, \mathbf{\hat{e}}, \hat{e} , not Failed to parse (unknown function\underrightarrow): \overrightarrow{\hat{e}}, \underrightarrow{\hat{e}}

+ blank space at 1st column of next line


   There is also a specialized template  for creating bra and ket vectors.
       |ψ⟩, |ψ⟩, ⟨ψ|, ⟨ψ|, \left|\psi\right\rangle, \left\langle\psi\right| , not Failed to parse (unknown function\underrightarrow): \overrightarrow{\psi}, \underrightarrow{\psi},\boldsymbol{\psi},\hat{\psi}

+ blank space at 1st column of next line

Under Other "

   Hilbert spaces: H, Failed to parse (unknown function\mathscr): \mathcal{H}, \mathscr{H}


+ blank space at 1st column before "or ℋ" " Thanks, --Ancheta Wis   (talk | contribs) 17:40, 12 March 2013 (UTC)[reply]

You are right to point out \mathscr{}, \overleftarrow{}, \underleftarrow{}, \overrightarrow{}, \underrightarrow{} - those only work in mathjax for some reason. Are you using mathjax or png in the Firefox & Puffin browsers? Those will definitely not render - they are tested here to see what does and doesn't work for editors as well as decide on conventions. Thanks, M∧Ŝc2ħεИτlk 17:54, 12 March 2013 (UTC)[reply]

Small/wide/no hats for operators and vectors

[edit]

In some contexts, particularly relativistic quantum mechanics, operators and often unit vectors are required. The combinations of operator and vector notations which seem standard include:

  1. operators: no hats , unit vectors: small hats
  2. operators: small hats , unit vectors: no hats
  3. operators: no hats , unit vectors: no hats
  4. operators: wide hats , unit vectors: no hats
  5. operators: wide hats , unit vectors: small hats

We should clarify this in the MOS.

My preference is 5, since

  • it's immediately clear that a hat is for an operator, and not too different to a small hat as used in other contexts,
  • small hats are frequently used for unit vectors to indicate that it's normalized (of course, without the small hats the context should state what is a unit vector and not, but the hats make it clear), and I've never seen unit vectors with wide hats, though they may be used by some authors.

I'm not saying to change all QM articles using small hats for operators to wide hats where there is consistency, but where the conflict arises (in relativistic QM articles) this would be my convention.

Any other potential problems with this? Are wide hats used for something else within the same context? Thanks, M∧Ŝc2ħεИτlk 09:43, 22 June 2013 (UTC)[reply]