-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.html
90 lines (83 loc) · 3.34 KB
/
README.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Utilities for Typesetting</title>
<style>
/* From extension vscode.github */
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
.vscode-dark img[src$=\#gh-light-mode-only],
.vscode-light img[src$=\#gh-dark-mode-only] {
display: none;
}
</style>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/Microsoft/vscode/extensions/markdown-language-features/media/markdown.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/Microsoft/vscode/extensions/markdown-language-features/media/highlight.css">
<style>
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe WPC', 'Segoe UI', system-ui, 'Ubuntu', 'Droid Sans', sans-serif;
font-size: 14px;
line-height: 1.6;
}
</style>
<style>
.task-list-item {
list-style-type: none;
}
.task-list-item-checkbox {
margin-left: -20px;
vertical-align: middle;
pointer-events: none;
}
</style>
<style>
body {
font-family: 'Latin Modern Sans';
background:#343232;
}
pre, code, kbd, samp { color: #ad648e; font-family: 'Latin Modern Mono'; font-size: 1em; }
h1,h2,h3,h4,p,li,link,nav,a{
font-family: 'Latin Modern Sans';
font-weight:normal;
color:#d8d0d0;
line-height:1.5em;
}
link,nav,a{
font-family: 'Latin Modern Sans';
font-weight:normal;
color:#7391ec;
line-height:1.5em;
}
h1,h2,h3,h4{ font-weight: normal; }
h1{ font-size:2.5em; }
h2{ font-size:2em; }
h3{ font-size:1.5em; }
h4{ font-size:1.2em; }
p{ font-size:1em; }
</style>
</head>
<body class="vscode-body vscode-light">
<h1 id="utilities-for-typesetting">Utilities for Typesetting</h1>
<ul>
<li>
<p>The LaTeX package <code>custom</code> specifies:</p>
<ul>
<li>macros for commonly used symbols in trajectory optimization literature.</li>
<li>page formatting in <code>article</code> class with math fonts from <code>mathpazo</code> package.</li>
<li>behavior of hyperlinks via <code>\hypersetup</code>.</li>
</ul>
</li>
<li>
<p>The style file <code>preview.css</code> specifies <a href="https://tug.org/FontCatalogue/latinmodernroman/">Latin Modern Sans</a> typeface for VS Code preview of markdown file. Place the style file in the root directory of a VS Code workspace and add the following to the workspace settings file <code>.vscode\settings.json</code>:</p>
<pre><code class="language-json"><span class="hljs-punctuation">{</span>
<span class="hljs-attr">"markdown.styles"</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">[</span><span class="hljs-string">"preview.css"</span><span class="hljs-punctuation">]</span>
<span class="hljs-punctuation">}</span>
</code></pre>
<p>See the example provide in <code>.vscode</code> directory of this repo. Opening this repository in VS Code will apply the style to this preview of this readme file. See the rendered HTML version <a href="README.html">here</a>.</p>
</li>
</ul>
</body>
</html>