8f32341bee
In rendered HTML, the line number should be right aligned, and code should be left aligned accordingly. In addition, this patch added the basic build instructions, so that someone can generated the PDF and HTML files. Close #44
50 lines
772 B
INI
50 lines
772 B
INI
\Preamble{xhtml}
|
|
|
|
\Configure{tableofcontents*}{chapter,section,subsection}
|
|
|
|
\Css{html {
|
|
width: 100vw;
|
|
overflow-x: hidden;
|
|
}}
|
|
|
|
\Css{body {
|
|
max-width: 50rem;
|
|
box-sizing: border-box;
|
|
padding: 1rem;
|
|
margin: 0 auto;
|
|
overflow-x: hidden;
|
|
}}
|
|
|
|
\Css{div.author {
|
|
white-space: normal;
|
|
}}
|
|
|
|
\Css{img.math {
|
|
height: 1rem;
|
|
vertical-align: top;
|
|
}}
|
|
|
|
\Css{pre.fancyvrb, {
|
|
white-space: pre;
|
|
}}
|
|
|
|
\Css{figure, .fancyvrb, .verbatim {
|
|
margin-inline: 0;
|
|
overflow-x: auto;
|
|
}}
|
|
|
|
\Css{.ecrm-0500 {
|
|
font-size: 70\%;
|
|
font-style: italic;
|
|
color: gray;
|
|
width: 1.5rem;
|
|
display: inline-block;
|
|
-webkit-user-select: none;
|
|
-moz-user-select: none;
|
|
-o-user-select: none;
|
|
user-select: none;
|
|
}}
|
|
|
|
\begin{document}
|
|
\EndPreamble
|