From Xenharmonic Wiki
Jump to navigation Jump to search

The column of ratios should not be centered

The entries are not even near the same length. It looks messy. FloraC (talk) 02:00, 31 May 2020 (UTC)

In my opinion, single common fractions should be centered (most are octave-reduced and thus centered) while lists of fractions should be left-aligned. Decimals should be right-aligned (where fixed point makes sense, with a column-wide identical count of decimal places. Text should be left aligned. What do you think? --Xenwolf (talk) 12:44, 31 May 2020 (UTC)
Side note: I edited the page semi-autmatically (in an external editor with regex replacements). My primary goal was to remove the massive amount of redundant per-cell inline styling. I was not satisfied with each aspect of my results, but since they were an improvement anyway, I refused to reintroduce styling that could be disputable. So it's good you came along for a review 🙂 --Xenwolf (talk)
D'accord. But the solution is to default to center and add per-cell style to what should be left/right-aligned? That doesn't sound much different than before. FloraC (talk) 05:03, 1 June 2020 (UTC)
conerning make center to default: I don't favor center. I chose the default from the most used inline style specifications I encounter. There are people active in the wiki who favor centered text (maybe for esthetical reasons) and I try to respect things they do as far as it not too repelling to me. The problem with tables is that there is no good column-wide styling mechanism I'm currently knowing about. Maybe (hopefully) you have the expertise to explain me that I'm wrong. --Xenwolf (talk) 09:21, 1 June 2020 (UTC)
Now it's not in the conventions, I'm going with per-cell alignment for what we have agreed upon here anyway. Besides, I looked into Wikipedia only to find no column-wide alignment documented, so that must be the case. FloraC (talk) 13:06, 1 June 2020 (UTC)
Looks good so far. I continue to search for a general solution to this problem. --Xenwolf (talk) 14:34, 1 June 2020 (UTC)

I finally found the solution:
Up to 9 columns can now be aligned in one place: in the class attribute of the table. The built-in table default is left-alignment. You may override this by adding a class for each column that differs from that. Ffor example class="wikitable right-1 right-2" means that the text columns 1 and 2 will be right-aligned. There are 3×9 classes: left-1 to left-9, center-1 to center-9, and right-1 to right-1. The actual styling is done via CSS (see MediaWiki:Common.css). I stopped reworking the page after changing one of the tables because I urgently need a break now. Maybe you'd like (😉) to continue in the meantime.
--Xenwolf (talk) 21:37, 1 June 2020 (UTC)

Nice. FloraC (talk) 04:00, 2 June 2020 (UTC)

Theory section rework

The section was a mess since multiple topics were fused together. I reworked it in this order such that JI approximation quality comes first, and its identity as a tuning of higher-rank temperaments next. FloraC (talk) 17:56, 7 December 2021 (UTC)