[Ipe-discuss] Increasing base point size

Sherif Ghali shghali at gmail.com
Wed Jun 28 17:51:45 CEST 2017


To increase the base point size in latex to 12pt, one would start with

    \documentclass[12pt]{article}

To increase the base point size for a latex document mid-document one might
add

    \fontsize{12}{12}\selectfont

to the preamble. Ref: https://tex.stackexchange.com/a/4140/9549

Since Ipe wraps in \documentclass itself, I tried using the latter method
to increase the base point to 12pt, but that didn't work. Can you suggest
another way?

You can see that the base point size is different by comparing the output
of running

    iperender -pdf 12pt-base.ipe 12pt-base.pdf

on the ipe/xml file:

<?xml version="1.0"?>
<!DOCTYPE ipe SYSTEM "ipe.dtd">
<ipe version="70206" creator="Ipe 7.2.7">
<info created="D:20170628114219" modified="D:20170628114232"/>
<ipestyle name="letter-portrait">
<layout paper="612 792" origin="0 0" frame="612 792"/>
</ipestyle>
<page>
<layer name="alpha"/>
<view layers="alpha" active="alpha"/>
<path layer="alpha" stroke="black">
0 792 m
0 0 l
612 0 l
612 792 l
h
</path>
<text transformations="translations" pos="192 640" stroke="black"
type="label" width="67.123" height="6.815" depth="1.93"
valign="baseline">Greetings, 12pt</text>
</page>
</ipe>

with the result of pdflatex on the file

\documentclass[12pt]{article}
\usepackage{helvet}
\renewcommand\familydefault{\sfdefault}
\begin{document}
\thispagestyle{empty}
Greetings, 12pt
\end{document}

The same issue arises with 11pt, but then it's harder to see that the two
font sizes are not equal.

-Sherif Ghali
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.science.uu.nl/pipermail/ipe-discuss/attachments/20170628/d6e37803/attachment.html>


More information about the Ipe-discuss mailing list