@@ -4,7 +4,7 @@ A SwiftUI view that renders LaTeX.
44
55![ Swift Version] ( https://img.shields.io/badge/Swift-5.7-orange?logo=swift ) ![ iOS Version] ( https://img.shields.io/badge/iOS-16-informational ) ![ macOS Version] ( https://img.shields.io/badge/macOS-13-informational )
66
7- ![ Hello, LaTeX! ] ( ./assets/images/device.png )
7+ < center >< img src = " ./assets/images/device.png " width = " 362 " height = " 707 " ></ center >
88
99## Installation
1010
@@ -30,7 +30,7 @@ struct MyView: View {
3030}
3131```
3232
33- ![ Hello, LaTeX! ] ( ./assets/images/hello.png )
33+ < img src = " ./assets/images/hello.png " width = " 98 " height = " 34.5 " >
3434
3535### Modifiers
3636
@@ -42,7 +42,7 @@ LaTeX("Hello, $\\LaTeX$!")
4242 .foregroundColor (.blue )
4343```
4444
45- ![ Hello, LaTeX! ] ( ./assets/images/hello_blue.png )
45+ < img src = " ./assets/images/hello_blue.png " width = " 100 " height = " 34.5 " >
4646
4747Along with supporting the built-in SwiftUI modifies, ` LaTeXSwiftUI ` defines more to let you configure the view.
4848
@@ -60,7 +60,7 @@ LaTeX("e^{i\\pi}+1=0")
6060 .parsingMode (.all )
6161```
6262
63- ![ Euler's Identity ] ( ./assets/images/euler.png )
63+ < img src = " ./assets/images/euler.png " width = " 88 " height = " 32.5 " >
6464
6565##### Equations
6666
@@ -88,7 +88,7 @@ LaTeX("Hello, ${\\color{red} \\LaTeX}$!")
8888 .imageRenderingMode (.original )
8989```
9090
91- ![ Rendering Mode ] ( ./assets/images/rendering_mode.png )
91+ < img src = " ./assets/images/rendering_mode.png " width = " 97.5 " height = " 56 " >
9292
9393#### Error Mode
9494
@@ -108,7 +108,7 @@ LaTeX("$\\asdf$")
108108 .errorMode (.rendered )
109109```
110110
111- ![ Errors ] ( ./assets/images/errors.png )
111+ < img src = " ./assets/images/errors.png " width = " 212.5 " height = " 68 " >
112112
113113#### Block Rendering Mode
114114
@@ -134,7 +134,7 @@ LaTeX("The quadratic formula is $$x=\\frac{-b\\pm\\sqrt{b^2-4ac}}{2a}$$ and it h
134134 .blockMode (.blockText )
135135```
136136
137- ![ Blocks ] ( ./assets/images/blocks.png )
137+ < img src = " ./assets/images/blocks.png " width = " 443 " height = " 363 " >
138138
139139#### Unencode HTML
140140
@@ -149,7 +149,7 @@ LaTeX("$x^2<1$")
149149 .unencoded ()
150150```
151151
152- ![ Unencoded HTML ] ( ./assets/images/unencoded.png )
152+ < img src = " ./assets/images/unencoded.png " width = " 85.5 " height = " 47 " >
153153
154154#### TeX Options
155155
@@ -188,3 +188,9 @@ VStack {
188188 }
189189}
190190```
191+
192+ ## Examples
193+
194+ ### Blah
195+
196+ ### Full Example
0 commit comments