Skip to content

Commit 4f47b38

Browse files
committed
Noramlize whitespace formatting across current examples
1 parent 2f262e1 commit 4f47b38

File tree

26 files changed

+127
-144
lines changed

26 files changed

+127
-144
lines changed

β€Ždata/dropcaps/sile.silβ€Ž

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,4 @@ Also it uses a stand-off effect in lines following the opening.
2020
This helps highlight the fact that the initial letter belongs to the first word.
2121
The first line of text will be flush against the drop cap.
2222
Each additional line spanned with be indented with an extra space.
23-
2423
\end{document}

β€Ždata/dropcaps/xelatex.texβ€Ž

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
This may be exactly what you want, especially with modern typesetting styles which tend towards the minimalist.
1313

1414
\lettrine[lhang=.4,nindent=0sp]{``N}{ever say never,}'' the saying goes.
15-
Someday your dropcap may include leading punctuation {and} a hanging indent.
15+
Someday your dropcap may include leading punctuation \textit{and} a hanging indent.
1616
No worries.
1717
All you have to do is guess and fudge.
1818

@@ -21,5 +21,4 @@
2121
This helps highlight the fact that the initial letter belongs to the first word.
2222
The first line of text will be flush against the drop cap.
2323
Each additional line spanned with be indented with an extra space.
24-
2524
\end{document}
Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
<html>
2-
<head>
3-
<style>
4-
@page {
5-
@bottom-center {
6-
content: counter(page);
7-
}
8-
}
9-
</style>
10-
</head>
11-
<p>Hello World</p>
2+
<head>
3+
<style>
4+
@page {
5+
@bottom-center {
6+
content: counter(page);
7+
}
8+
}
9+
</style>
10+
</head>
11+
<body>
12+
<p>Hello World</p>
13+
</body>
1214
</html>
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
@require: stdjareport
22

33
document(|
4-
title = {};
5-
author = {};
4+
title = {};
5+
author = {};
66
|) '<
7-
+p{Hello World}
7+
+p{Hello World}
88
>
Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
<html>
2-
<head>
3-
<style>
4-
@page {
5-
@bottom-center {
6-
content: counter(page);
7-
}
8-
}
9-
</style>
10-
</head>
11-
<p>Hello World</p>
2+
<head>
3+
<style>
4+
@page {
5+
@bottom-center {
6+
content: counter(page);
7+
}
8+
}
9+
</style>
10+
</head>
11+
<body>
12+
<p>Hello World</p>
13+
</body>
1214
</html>

β€Ždata/hieroglyphs/sile.silβ€Ž

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
\set[parameter="document.parskip",value="1bs"]
66
\font[family=Libertinus Serif,size=16pt]
77
\begin{lua}
8-
98
local package = pl.class(SILE.packages.base)
109
package._name = "hieroglyphics"
1110

@@ -21,8 +20,8 @@ function package:registerCommands ()
2120
end
2221

2322
return package
24-
2523
\end{lua}
24+
2625
\begin{raggedright}
2726
\egyp-sample{{mdw.t-km.t}{Egyptian language}{π“Œƒπ“‚§π“°π“π“±π“―π“€π“ͺπ“†Žπ“…“π“Š–}}
2827

β€Ždata/hieroglyphs/typst.typβ€Ž

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,16 @@
66
justify: false,
77
)
88
#set text(
9-
font: "Libertinus Serif",
10-
size: 16pt,
9+
font: "Libertinus Serif",
10+
size: 16pt,
1111
)
1212

1313
#let egyp-sample(phonetics, translation, str)= {([
14-
_#(phonetics)_ β€˜#translation’
15-
#v(-0.5em)
16-
#line(length: 100%)
17-
#v(-0.5em)
18-
#set text(font: "Egyptian Text", size: 1.5em, fallback:false);#str
14+
_#(phonetics)_ β€˜#translation’
15+
#v(-0.5em)
16+
#line(length: 100%)
17+
#v(-0.5em)
18+
#set text(font: "Egyptian Text", size: 1.5em, fallback:false);#str
1919
])}
2020

2121
#egyp-sample("mdw.t-km.t", "Egyptian language", "π“Œƒπ“‚§π“°π“π“±π“―π“€π“ͺπ“†Žπ“…“π“Š–")

β€Ždata/integral-alignment/sile.silβ€Ž

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,4 @@
55
\begin[mode=display]{math}
66
\sum_{k=0}^\infty \int_{0}^\infty e^{-kx^2}\,\mo{d}x
77
\end{math}
8-
98
\end{document}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
#show math.equation: set text(font: "Libertinus Math",fallback: false)
1+
#show math.equation: set text(font: "Libertinus Math", fallback: false)
22

33
$ sum_(k=0)^oo integral_0^oo e^(-k x^2) dif x $
Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
\documentclass{article}
22
\usepackage{unicode-math}
33
\setmathfont{Libertinus Math}
4-
54
\begin{document}
6-
\[
7-
\sum_{k=0}^\infty \int_0^\infty e^{-kx^2}\,\symup{d}x
8-
\]
5+
\[
6+
\sum_{k=0}^\infty \int_0^\infty e^{-kx^2}\,\symup{d}x
7+
\]
98
\end{document}

0 commit comments

Comments
Β (0)