Skip to content

Commit c450f5b

Browse files
committed
Recognize that some papers have used {quote} for {abstract} frontmatter, and latexml remained agnostic
1 parent 13a1191 commit c450f5b

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

css/ar5iv.css

+16
Original file line numberDiff line numberDiff line change
@@ -1077,6 +1077,22 @@ blockquote.ltx_epigraph {
10771077
margin-left: calc(0.45*var(--main-width)) !important;
10781078
}
10791079

1080+
/* Exception: some articles carelessly use {quote} instead of abstract */
1081+
/* see ar5iv#253 and ar5iv-css#3 for examples */
1082+
.ltx_authors + .ltx_para:has(+ .ltx_section) > blockquote.ltx_quote:only-child,
1083+
.ltx_titlepage:not(:has(.ltx_abstract)) > blockquote.ltx_quote:last-child,
1084+
.ltx_abstract > .ltx_title_abstract + blockquote.ltx_quote:last-child {
1085+
max-width: 90%;
1086+
margin: auto;
1087+
border-left: initial;
1088+
font-size: initial;
1089+
font-style: initial;
1090+
line-height: initial;
1091+
padding: initial;
1092+
position: initial;
1093+
z-index: initial;
1094+
}
1095+
10801096
/* ================================= */
10811097
/* from LaTeXML.css, possibly edited */
10821098
/* ================================= */

0 commit comments

Comments
 (0)