<div dir="ltr">Thanks. I can confirm that this also works when we insert \usepackage{times} or \usepackage{helvet} \renewcommand\familydefault{\sfdefault} before \makeatletter.</div><div class="gmail_extra"><br><div class="gmail_quote">On 29 June 2017 at 03:04, Guillaume Salagnac <span dir="ltr"><<a href="mailto:guillaume.salagnac@insa-lyon.fr" target="_blank">guillaume.salagnac@insa-lyon.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
to set the base font size to 12pt, you can copy-paste the following in the "latex preamble" of your "document properties" :<br>
<br>
\makeatletter<br>
\renewcommand*\@ptsize{2}<br>
\let\small\relax<br>
\let\footnotesize\relax<br>
\let\scriptsize\relax<br>
\let\tiny\relax<br>
\let\large\relax<br>
\let\Large\relax<br>
\let\LARGE\relax<br>
\let\huge\relax<br>
\input{size1\@ptsize.clo}<br>
\makeatother<br>
<br>
(via <a href="http://www.latex-community.org/forum/viewtopic.php?f=5&t=3477" rel="noreferrer" target="_blank">http://www.latex-community.<wbr>org/forum/viewtopic.php?f=5&t=<wbr>3477</a> )<br>
<br>
Cheers,<br>
-G<br>
<div><div class="h5"><br>
> Le 28 juin 2017 à 17:51, Sherif Ghali <<a href="mailto:shghali@gmail.com">shghali@gmail.com</a>> a écrit :<br>
><br>
> To increase the base point size in latex to 12pt, one would start with<br>
><br>
> \documentclass[12pt]{article}<br>
><br>
> To increase the base point size for a latex document mid-document one might add<br>
><br>
> \fontsize{12}{12}\selectfont<br>
><br>
> to the preamble. Ref: <a href="https://tex.stackexchange.com/a/4140/9549" rel="noreferrer" target="_blank">https://tex.stackexchange.com/<wbr>a/4140/9549</a><br>
><br>
> 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?<br>
><br>
> You can see that the base point size is different by comparing the output of running<br>
><br>
> iperender -pdf 12pt-base.ipe 12pt-base.pdf<br>
><br>
> on the ipe/xml file:<br>
><br>
> <?xml version="1.0"?><br>
> <!DOCTYPE ipe SYSTEM "ipe.dtd"><br>
> <ipe version="70206" creator="Ipe 7.2.7"><br>
> <info created="D:20170628114219" modified="D:20170628114232"/><br>
> <ipestyle name="letter-portrait"><br>
> <layout paper="612 792" origin="0 0" frame="612 792"/><br>
> </ipestyle><br>
> <page><br>
> <layer name="alpha"/><br>
> <view layers="alpha" active="alpha"/><br>
> <path layer="alpha" stroke="black"><br>
> 0 792 m<br>
> 0 0 l<br>
> 612 0 l<br>
> 612 792 l<br>
> h<br>
> </path><br>
> <text transformations="translations" pos="192 640" stroke="black" type="label" width="67.123" height="6.815" depth="1.93" valign="baseline">Greetings, 12pt</text><br>
> </page><br>
> </ipe><br>
><br>
> with the result of pdflatex on the file<br>
><br>
> \documentclass[12pt]{article}<br>
> \usepackage{helvet}<br>
> \renewcommand\familydefault{\<wbr>sfdefault}<br>
> \begin{document}<br>
> \thispagestyle{empty}<br>
> Greetings, 12pt<br>
> \end{document}<br>
><br>
> The same issue arises with 11pt, but then it's harder to see that the two font sizes are not equal.<br>
><br>
> -Sherif Ghali<br>
><br>
</div></div>> ______________________________<wbr>_________________<br>
> Ipe-discuss mailing list<br>
> <a href="mailto:Ipe-discuss@lists.science.uu.nl">Ipe-discuss@lists.science.uu.<wbr>nl</a><br>
> <a href="https://mailman.science.uu.nl/mailman/listinfo/ipe-discuss" rel="noreferrer" target="_blank">https://mailman.science.uu.nl/<wbr>mailman/listinfo/ipe-discuss</a><br>
<br>
</blockquote></div><br></div>