Skip to content

Commit 00f4aba

Browse files
committed
Doc: sync functableentry markup choices with website style.
Jonathan Katz felt that slightly different indentation settings made for a better-looking result, so sync stylesheet-fo.xsl (for PDF) and stylesheet.css (for non-website-style HTML) with those choices. Discussion: https://postgr.es/m/31464.1587156281@sss.pgh.pa.us
1 parent f332241 commit 00f4aba

File tree

2 files changed

+5
-10
lines changed

2 files changed

+5
-10
lines changed

doc/src/sgml/stylesheet-fo.xsl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@
8282
<!-- indent all but first line of entries in tables of functions -->
8383
<xsl:choose>
8484
<xsl:when test="self::entry[@role='functableentry']">
85-
<xsl:attribute name="margin-left">5em</xsl:attribute>
86-
<xsl:attribute name="text-indent">-5em</xsl:attribute>
85+
<xsl:attribute name="margin-left">4em</xsl:attribute>
86+
<xsl:attribute name="text-indent">-3.5em</xsl:attribute>
8787
<xsl:attribute name="text-align">left</xsl:attribute>
8888
</xsl:when>
8989
</xsl:choose>

doc/src/sgml/stylesheet.css

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -78,15 +78,10 @@ div.example {
7878

7979
/* formatting for entries in tables of functions: indent all but first line */
8080

81-
th.functableentry {
82-
padding-left: 5em;
83-
text-indent: -5em;
84-
text-align: left;
85-
}
86-
81+
th.functableentry,
8782
td.functableentry {
88-
padding-left: 5em;
89-
text-indent: -5em;
83+
padding-left: 4em;
84+
text-indent: -3.5em;
9085
text-align: left;
9186
}
9287

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy