Jump to content

User:Arcorann: Difference between revisions

From Wikisource
Content deleted Content added
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Subpages ==
== Subpages ==
* [[/common.js]]
* [[/common.js]]
* [[/runningheader.js]]
* [[/templatescript.js]]
* [[/templatescript.js]]
* [[/TOCstyle]]
* [[/TOCstyle]]
Line 8: Line 9:


* [[/Check]]
* [[/Check]]

* [[/Sandbox]]


Works:
Works:
Line 14: Line 17:
* [[/Historical Notice of the attempt made by the English Government to rectify the Calendar]]
* [[/Historical Notice of the attempt made by the English Government to rectify the Calendar]]
* [[/In the Year 2889]]
* [[/In the Year 2889]]
* [[/Playne Discourse]]
* [[/A Tale of the Twentieth Century]]
* [[/A Tale of the Twentieth Century]]
* [[/The Richest Man in Babylon]]
* [[/The Richest Man in Babylon]]
Line 69: Line 73:


{|
{|
|-
| Pseudoheader || <pre>{{ph|class=chapter|PREFACE}}
{{ph|class=chapter num|Chapter IX}}
{{ph|class=chapter title|Guild Socialism|level=2}}</pre> ||
|-
|Formatting pseudoheaders
|-
| Drop initial || <pre>{{di|x}}</pre> || {{di|x}}
|-
| Uppercase || <pre>{{uc|Abc}}</pre> || {{uc|Abc}}
|-
| Small caps || <pre>{{sc|Abc}}</pre> || {{sc|Abc}}
|-
|End page hyphen || <pre>{{peh}}</pre>
|-
|Running header || <pre>{{rh|l|text|r}}</pre>
<pre>{{rvh|{{{pagenum}}}|odd|even}}</pre>
|-
|-
|Brace2 || <pre>{{brace2|}}
|Brace2 || <pre>{{brace2|}}
Line 93: Line 80:
{{brace2|1|u}}
{{brace2|1|u}}
{{brace2|1|d}}</pre>
{{brace2|1|d}}</pre>
|-
|sic || <pre>{{SIC|wrd|word}}</pre>
|-
|-
|ditto marks, gaps || <pre>January {{fsp}}5
|ditto marks, gaps || <pre>January {{fsp}}5
Line 100: Line 85:
{{ditto bar|January}} 29
{{ditto bar|January}} 29
{{phantom|January}} 26</pre> || January {{fsp}}5<br />{{ditto|January}} 12<br />{{ditto bar|January}} 19<br />{{phantom|January}} 26
{{phantom|January}} 26</pre> || January {{fsp}}5<br />{{ditto|January}} 12<br />{{ditto bar|January}} 19<br />{{phantom|January}} 26
|-
|Single quote || <pre>{{`}}</pre>
|-
|Poems || <pre>{{ppoem|...}}</pre>
<pre>{{block center|{{ppoem|...}}}}</pre>
<pre>{{fqm|'}}</pre>
|-
|-
|Quote blocks (CSS style using .wst-quote) || <pre>{{quote|text}}</pre>
|Quote blocks (CSS style using .wst-quote) || <pre>{{quote|text}}</pre>
Line 118: Line 97:
<ref follow="p99n1">end</ref></pre>
<ref follow="p99n1">end</ref></pre>
|-
|-
|Rule || <pre>{{rule|width=12em}}</pre>
|Rule || <pre>{{rule|12em}}</pre>
|-
|-
|Indent || <pre>{{Text-indent|2em|text}} = {{dent|0|2em|text}}</pre>
|Custom rule || <pre>{{custom rule|sp|20|d|4|do|7|d|4|sp|20}}</pre> || {{custom rule|sp|20|d|4|do|7|d|4|sp|20}}
<pre>{{hanging indent|2em|text}} = {{dent|2em|-2em|text}}</pre>
<pre>{{Text-indent|2em|text}} = {{dent|0|2em|text}}</pre>
|-
|-
|Margin || <pre>{{Left margin|2em|text}} = {{dent|2em|0|text}}</pre>
|Indent and margin || Indent start of paragraph: <pre>{{Text-indent|2em|text}} = {{dent|0|2em|text}}</pre>
Hanging indent: <pre>{{hanging indent|2em|text}} = {{dent|2em|-2em|text}}</pre>
Margin: <pre>{{Left margin|2em|text}} = {{dent|2em|0|text}}</pre>
|-
|-
|Float right || <pre>left {{float right|right}}</pre>
|Float right || <pre>left {{float right|right}}</pre>
Line 132: Line 111:
long text left {{float right|{{nowrap|long text right}}}}
long text left {{float right|{{nowrap|long text right}}}}
|-
|-
|sfrac || <pre>{{sfrac|A|B}} {{sfrac|A|B|C|font-size=60%}}</pre>||{{sfrac|A|B|C}} {{sfrac|A|B|C|font-size=60%}}
|Div col || <pre>{{div col|rule=yes}}</pre>
|-
|2-column index list || <pre>{{div col}}{{index list/s}}*item, 123{{index list/e}}{{div col end}}</pre>
|-
|Letter spacing || <pre>{{lsp|0.15em}}</pre>
<pre>{{lsp||Cha|p|. VI|I|: A New Beginnin|g.}}</pre>
|-
|Padded page break || <pre>{{ppb}}</pre>
|-
|Double height row || <pre>{{dhr|4em}}</pre>
|}
|}


Line 138: Line 126:


{|
{|
|2-column index list || <pre>{{column list|2|{{index list/s}}*item, 123{{index list/e}}}}</pre>
|-
|-
|}
|}


=== Table styles ===
=== Unsorted templates ===


{|
{|
| <pre>{{flex wrap centre}}</pre>
|Alignment || <code>al</code>, <code>ac</code>, <code>ar</code>, <code>aj</code>
|}

=== Table styles ===
Just do it in index CSS instead.
{|
|Alignment || <code>al</code>, <code>ac</code>, <code>ar</code>, <code>aj</code> || <code>text-align: justify;</code>
|-
|-
|Small caps || <code>sc</code>, <code>asc</code>
|Small caps || <code>sc</code>, <code>asc</code>
Line 323: Line 316:
margin-bottom: 1em;
margin-bottom: 1em;
}
}

.
._toc {
margin: 0 auto;
}
._toc td:nth-last-child(3) {
text-align: right;
padding-right: 0.25em;
vertical-align: top;
}

._toc td:nth-last-child(2) {
overflow: hidden;
position: relative;
}

._toc td:nth-last-child(1) {
text-align: right;
padding-left: 0.25em;
vertical-align: bottom;
}

._toc tr._toc-h td {
font-size: 80%;
}

._toc tr:not(._toc-h) td:nth-last-child(2)::after {
position: absolute;
padding-left: 0.5em;
word-spacing: 2em;
content: "... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... .";
text-align: right;
text-indent: 0;
}


</pre>
</pre>

== Useful pages in userspace ==

* [[User:Rochefoucauld/Publishing Companies/Publishing marks]]

Latest revision as of 02:05, 23 August 2024

Subpages

[edit]

Works:

Lists of works:

[edit]

The original Popular Science Monthly (or The Popular Science Monthly, if you prefer) is here:

And its successor, which subsequently merged into Science:

Easy enough. No, the problem here is the other magazine. Here is an incomplete list of its hierarchy including all the magazines it absorbed:

And to this day Popular Science claims continuity with the original Popular Science Monthly...

Texts

[edit]

In progress

[edit]

To be filled.

Other projects

[edit]

Roughly ascending order of difficulty.

  • An Introduction to Chronology by James Hodgson 1747
  • Memoirs of the Twentieth Century, Samuel Madden - only a Google Books scan, lots of ses
  • Playne Discourse of John Dee - digital copy available but not freely available
  • Compendium novae rationis - can use scans from Clavius Romani calendarii a Gregorio XIII P.M. restituti explicatio, but how to upload? (just by itself or as part of Opera Mathematica? we have a PDF of the latter, the former obtained from Google Books last time)

Cheat sheet

[edit]

To add things that are easy to forget.

Brace2
{{brace2|}}
{{brace2|2}}
{{brace2|4|r}}
{{brace2|1|l}}
{{brace2|1|u}}
{{brace2|1|d}}
ditto marks, gaps
January {{fsp}}5
{{ditto|January}} 12
{{ditto bar|January}} 29
{{phantom|January}} 26
January  5
January 12
January— — — 19
January 26
Quote blocks (CSS style using .wst-quote)
{{quote|text}}
Pages
<pages index="foo.pdf" from="88" to="98" />
<pages index="bar.djvu" include="19-22,24"/>
<pages index="baz.djvu" include="330" onlysection="abc" />
<pages index="baz.djvu" from=330 to=331
  fromsection="xyz" tosection="xyz" />
Page break stuff
<ref name="p99n1">start</ref>
<ref follow="p99n1">end</ref>
Rule
{{rule|12em}}
Custom rule
{{custom rule|sp|20|d|4|do|7|d|4|sp|20}}
Indent and margin Indent start of paragraph:
{{Text-indent|2em|text}} = {{dent|0|2em|text}}
Hanging indent:
{{hanging indent|2em|text}} = {{dent|2em|-2em|text}}
Margin:
{{Left margin|2em|text}} = {{dent|2em|0|text}}
Float right
left {{float right|right}}
long text left {{float right|{{nowrap|long text right}}}}
left right

long text left long text right

Div col
{{div col|rule=yes}}
2-column index list
{{div col}}{{index list/s}}*item, 123{{index list/e}}{{div col end}}
Letter spacing
{{lsp|0.15em}}
{{lsp||Cha|p|. VI|I|: A New Beginnin|g.}}
Padded page break
{{ppb}}
Double height row
{{dhr|4em}}

Longer templates

[edit]

Unsorted templates

[edit]
{{flex wrap centre}}

Table styles

[edit]

Just do it in index CSS instead.

Alignment al, ac, ar, aj text-align: justify;
Small caps sc, asc
Borders br, br., br2, br2., brd, bb, bl, bt, ba etc. right border (solid, dotted, 2px solid, 2px dotted, doubled), bottom, left, top, all etc.
[edit]

Polytonic Greek

[edit]

Copied from w:Greek diacritics#Unicode

Also use the coronis: the middle character in τα᾽μά.

Vowels by breathing and accent
Breathing, etc. Accent Adscript Rho
  Α Ε Η Ι Ο Υ Ω Ρ
Acute ´ Ά Έ Ή Ί Ό Ύ Ώ        
Grave `        
Smooth ᾿  
Acute  
Grave  
Circumflex  
Rough
Acute  
Grave  
Circumflex Ἷ  
Diaeresis ¨ Ϊ Ϋ
Macron ˉ
Breve ˘
Lower case vowels by breathing and accent
Breathing, etc. Accent Subscript Rho
α ε η ι ο υ ω ρ
Acute ´ ά έ ή ί ό ύ ώ  
Grave `  
Circumflex      
Smooth ᾿
Acute  
Grave  
Circumflex      
Rough
Acute  
Grave  
Circumflex      
Diaeresis ¨ ϊ ϋ
Acute ΅ ΐ ΰ
Grave
Circumflex
Macron ˉ
Breve ˘

Sample styles.css

[edit]

See also e.g. Index:The American language; an inquiry into the development of English in the United States (IA americanlanguage00menc 0).pdf/styles.css.

.wst-heading {
	text-align: center;
}

.wst-heading._chapter-num {
	font-size: 120%;
	text-transform: uppercase;
	margin-top: 1.5em;
	margin-bottom: 1em;

}

.wst-heading._chapter-title {
	font-size: 120%;
	font-variant: all-small-caps;
	margin-top: 1em;
	margin-bottom: 1em;

}

.wst-heading._section-title {
	font-style:italic;
	margin-top: 1em;
	margin-bottom: 1em;
}

._toc {
	margin: 0 auto;
}
._toc td:nth-last-child(3) {
	text-align: right;
	padding-right: 0.25em;
	vertical-align: top;
}

._toc td:nth-last-child(2) {
	overflow: hidden;
	position: relative;
}

._toc td:nth-last-child(1) {
	text-align: right;
	padding-left: 0.25em;
	vertical-align: bottom;
}

._toc tr._toc-h td {
	font-size: 80%;
}

._toc tr:not(._toc-h) td:nth-last-child(2)::after {
	position: absolute;
	padding-left: 0.5em;
	word-spacing: 2em;
	content: "... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... .";
	text-align: right;
	text-indent: 0;
}


Useful pages in userspace

[edit]