# Graphing with Ipe

I am new to the TeX Stackexchange, so I want to apologize beforehand if I do not comply with the question-writing customs/rules.

My question is about the graphing program for LaTeX Ipe. I have downloaded it from the webpage, and when using it I am having trouble to insert math-mode text. For example, I click the "insert math" option, and write \mathbb{R} and it does not print out. Instead an error pops out saying:

***! Undefined control sequence.

l.57 $\mathbb {R}$%
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., \hobx'), type I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
Overfull \hbox (170.0pt too wide) in paragraph at lines 61--62
[][]
[]
[1
{C:/ProgramData/MiKTeX/2.9/pdftex/config/pdftex.map}] (ipetemp.aux) )
Here is how much of TeX's memory you used:
1410 strings out of 493673
17230 string characters out of 3143954
75428 words of memory out of 3000000
4817 multiletter control sequences out of 15000+200000
5467 words of font info for 20 fonts, out of 3000000 for 9000
1025 hyphenation exceptions out of 8191
23i,5n,35p,213b,119s stack positions out of 5000i,500n,10000p,200000b,50000s
<C:/Progra
m Files/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmmi10.pfb><C:/Program Files/
MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmsy10.pfb>
Output written on ipetemp.pdf (1 page, 17215 bytes).
PDF statistics:
18 PDF objects out of 1000 (max. 8388607)
0 named destinations out of 1000 (max. 500000)
13 words of extra memory for PDF output out of 10000 (max. 10000000)***

I am also having trouble to print \mathscr{R} and other symbols.

Thank you very much, and again, I apologize if the format of my question is not in line with the norms of the site.

• \mathbb is from the amssymb package, so adding \usepackage{amssymb} to the preamble of your document should solve the problem. – Phelype Oleinik Jan 23 '18 at 2:36
• Hi thank you for the answer and the edit! I am also new to Ipe, so could you clarify this for me? I downloaded it and I use "as if" it was Microsoft Paint (for example): I open it, draw, save, and export as .eps. I never write a preamble as in a latex document. How can I access such preamble? Is there a better way to use Ipe rather than the one i just described? – thekiciminister Jan 23 '18 at 2:42
• Done! I found it! Thank you very much! Do you have any idea of how to fix the second inquiry? The one about the "display math" mode – thekiciminister Jan 23 '18 at 2:49
• I'm voting to close this question because it was solved in the comments. – Stefan Pinnow Jan 23 '18 at 5:23
• @agustromo I think it would be best if you wrote an answer summarising the comments that helped. – Andrew Swann Jan 23 '18 at 7:30