I am not sure whether this is the right place to post (you already corrected me Thorsten, sorry about my last post ).
Is anyone here using the MetaUML package? I have been using it for quite a while now but I have been unable to find a way to make parts of the text in the diagram appear in Italics. By reading the manual (CTAN links to 0.2.3, on sourceforge 0.2.5 can be found too) and the short intro I deduced that I may have two options to do this.
The tex file (use PDFLaTeX):
Then I have three mp files, called mwePicA.mp, mwePicB.mp and mwePicC.mp.
A: the working example that shows a box with text in it. Of this text, only the first two words need to be in italics.
B: one option is to set the font for that box. I think this is the way to do it (based on what I read in the manual), but it doesn't work and even if it did work, it would make the whole text italic instead of the first two words.
When I run mpost on this (command: mpost mwePicB.mp) it renders this error:
Looking at the second line of the error, I think that 'metauml_defaultFontOblique' is interpreted as being the font called 'ptmro8r' (this is an adobe font that lives here: /usr/share/texmf/fonts/tfm/adobe/times/ptmro8r.tfm).
C: another option is to set the font for a part of the text that appears in a box.
This gives the following error:
So, I exhausted the two options the manual gave me. And even if they had worked, they would have made all text in the box go italics instead of just the first two words.
Does anyone have an idea how to address this problem?
If you need more info, please ask.
For those not familiar with MetaUML: "MetaUML is a GNU GPL MetaPost library for typesetting UML diagrams, using a human-friendly textual notation." and can be found at http://metauml.sourceforge.net or at CTAN http://ctan.org/pkg/metauml.
LaTeX forum ⇒ Graphics, Figures & Tables ⇒ Metapost MetaUML: use italics
Information and discussion about graphics, figures & tables in LaTeX documents.
1 post • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 3 guests