/* Century Schoolbook font is very similar to Computer Modern Math: cmmi */
.BOLDMATH {
    font-family: 'Century Schoolbook', serif;
    font-weight: bold;
}

SPAN.MATH {
    display: inline-block;
}

/* don't stretch spaces inside eqn */

DIV.author_info {
    text-align: center;
}

/* latex centers author */

.LEFT {
    text-align: left;
}

.FLOATLEFT {
    float: left;
}

.CENTER {
    text-align: center;
}

.CENTER > * {
    margin: auto;
}

.RIGHT {
    text-align: right;
}

.FLOATRIGHT {
    float: right;
}

.TOP {
    vertical-align: top;
}

.MIDDLE {
    vertical-align: middle;
}

.BOTTOM {
    vertical-align: bottom;
}

IMG.LEFT {
    float: left;
}

IMG.RIGHT {
    float: right;
}

IMG.TOP {
    vertical-align: top;
}

IMG.BOTTOM {
    vertical-align: baseline;
}

/* captions for latex tables and figures appear at bottom */
CAPTION {
    caption-side: bottom;
}

DL.COMPACT > dt {
    float: left;
    padding-right: 1em;
}

/* implement both fixed-size and relative sizes */
.XTINY {
    font-size: xx-small;
}

.TINY {
    font-size: x-small;
}

.SCRIPTSIZE {
    font-size: smaller;
}

.FOOTNOTESIZE {
    font-size: small;
}

.SMALL {
    font-size: small;
}

.LARGE {
    font-size: large;
}

.XLARGE {
    font-size: large;
}

.XXLARGE {
    font-size: x-large;
}

.HUGE {
    font-size: larger;
}

.XHUGE {
    font-size: xx-large;
}

/* mathematics styles */
DIV.displaymath {
    text-align: center;
    margin-top: 1em;
    margin-bottom: 1em;
}

/* math displays: margins for \abovedisplayskip \belowdisplayskip */
TD.eqno {
    width: 0;
}

/* equation-number cells */
TABLE.PAD TD,
TABLE.PAD TH {
    padding: 3px;
}

/* Ensure table headers have borders like body cells */
TABLE.BORDER TD,
TABLE.BORDER TH,
THEAD th,
THEAD td {
    border: 1px solid black;
}

TABLE.equation {
    width: 100%;
}

/* place eq nos at right/left edge */
TABLE.equation > * {
    vertical-align: baseline;
}

TABLE.equation TD {
    white-space: nowrap;
    padding-bottom: 5px;
}

/* Normalize typography for both HTML (LaTeX2HTML) and MD content */
.rh-html h1,
.rh-html h2,
.rh-html h3,
.rh-html h4,
.rh-html h5,
.rh-html h6,
.markdown h1,
.markdown h2,
.markdown h3,
.markdown h4,
.markdown h5,
.markdown h6 {
    font-family: inherit;
    line-height: 1.4;
    margin: 1.2em 0 0.6em;
}

.rh-html p,
.markdown p {
    margin: 0.6em 0;
}

.rh-html ul,
.rh-html ol,
.markdown ul,
.markdown ol {
    padding-left: 1.25rem;
}

.rh-html table,
.markdown table {
    font-size: 0.95rem;
}

TABLE {
    border-collapse: collapse;
}

/* document-specific styles come next */
SPAN.textbf {
    font-weight: bold;
}

.rh-html h1,
.rh-html h2,
.rh-html h3,
.rh-html h4,
.rh-html h5,
.rh-html h6,
.markdown h1,
.markdown h2,
.markdown h3,
.markdown h4,
.markdown h5,
.markdown h6 {
    font-family: inherit;
    line-height: 1.4;
    margin: 1.2em 0 0.6em;
}

.rh-html p,
.markdown p {
    margin: 0.6em 0;
}

.rh-html ul,
.rh-html ol,
.markdown ul,
.markdown ol {
    padding-left: 1.25rem;
}

.rh-html table,
.markdown table {
    font-size: 0.95rem;
}
