pivot-output: Implement superscript.
authorBen Pfaff <blp@cs.stanford.edu>
Thu, 31 Dec 2020 01:26:04 +0000 (17:26 -0800)
committerBen Pfaff <blp@cs.stanford.edu>
Thu, 31 Dec 2020 01:26:24 +0000 (17:26 -0800)
src/output/pivot-output.c

index 44a044b8b0ff3bbc67b321d222aa3d04065f911d..12e1efafdb9b5db905642cd8c0e3614c8a3fabfb 100644 (file)
@@ -135,6 +135,9 @@ fill_cell (struct table *t, int x1, int y1, int x2, int y2,
       if (value->n_subscripts)
         table_add_subscripts (t, x1, y1,
                               value->subscripts, value->n_subscripts);
+
+      if (value->superscript)
+        table_add_superscript (t, x1, y1, value->superscript);
     }
 }