From 5ac24755485a5c1cc1cef084f08706246ee4f66c Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Mon, 27 Apr 2020 11:00:28 -0400 Subject: [PATCH] Doc: render π more nicely in PDF output. We need to select symbol font explicitly, or it comes out misaligned. Alexander Lakhin, Tom Lane Discussion: https://postgr.es/m/10598.1587928415@sss.pgh.pa.us --- doc/src/sgml/func.sgml | 2 +- doc/src/sgml/ref/pgbench.sgml | 2 +- doc/src/sgml/stylesheet-fo.xsl | 5 +++++ 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index b0afaebf72..692f78aa51 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -1365,7 +1365,7 @@ repeat('Pg', 4) PgPgPgPg pi ( ) double precision - Approximate value of π + Approximate value of π pi() 3.141592653589793 diff --git a/doc/src/sgml/ref/pgbench.sgml b/doc/src/sgml/ref/pgbench.sgml index 58a2aa3bf2..c9a9f0e0e5 100644 --- a/doc/src/sgml/ref/pgbench.sgml +++ b/doc/src/sgml/ref/pgbench.sgml @@ -1528,7 +1528,7 @@ SELECT 4 AS four \; SELECT 5 AS five \aset pi() double - value of the constant PI + value of the constant π pi() 3.14159265358979323846 diff --git a/doc/src/sgml/stylesheet-fo.xsl b/doc/src/sgml/stylesheet-fo.xsl index 6797e06a77..2f2517d8ce 100644 --- a/doc/src/sgml/stylesheet-fo.xsl +++ b/doc/src/sgml/stylesheet-fo.xsl @@ -101,6 +101,11 @@ + + + + +