Re: how to: different fonts in the same file
Carsten Weise <[email protected]>
| Newsgroups | gmane.comp.graphics.ipe.general |
|---|---|
| Message-ID | <CAAE8XJFPs+7KjrD8Hfy9XmSGFNjprG+61HeDL59y9fctUXigDg@mail.gmail.com> |
Hi Otfried, well I took these ideas from some web pages on IPE and fonts. But probably a good idea, to try this latex only first. I'll be back when I've tried that. /Carsten On Sat, Nov 29, 2014 at 3:20 PM, Otfried Cheong <[email protected]> wrote: > Hmm. Do you actually know how to do this in a normal Latex document, > outside of Ipe? Your problem most likely has nothing to do with Ipe. > > You need to make sure that this works first. Then it should also work > in Ipe, as long as the fonts are Postscript or Truetype fonts. > > If you want somebody to help, you should probably say where you got > dejavu.sty and libertine.sty - what Latex distribution are you using? > > Cheers, > Otfried > > > On 29/11/14 23:05, Carsten Weise wrote: > > Hi, > > > > I'm currently trying to see if IPE is useful for me to prepare > > presentations. > > IPE definitely has some features I would like to use, but I also have > > some requirements which need to be matched. > > > > One of these is that I need to use different fonts in the same > presentation. > > I have tried to do this with IPE, but was not successful. I searched the > > net, but I can't find a proper way to do it. > > > > What works: > > > > when I put > > \usepackage{dejavu} > > or > > \usepackage{libertine} > > in the preamble, then I get my text in dejavu or in libertine, good. > > > > What I tried: > > > > I put > > \usepackage{dejavu} > > \usepackage{libertine} > > both in my preamble, > > > > and then, in a paragraph text field, I put > > {\fontencoding{T1}\fontfamily{dejavu} > > very important text > > } > > > > but this will not change the font. > > > > I also used > > \fontencoding{T1}\fontfamily{dejavu}\selectfont > > > > but then I got an error message > > "An error occured during the pdf latex run" > > > > Any idea how to do this? Maybe a good simple example using two different > > fonts? > > > > Thanks > > Carsten > > > > > > > > > > _______________________________________________ > > Ipe-discuss mailing list > > Ipe-discuss-rGrgPyRx506NN8uzcEdRPYRWq/[email protected] > > http://lists.science.uu.nl/mailman/listinfo/ipe-discuss > > > _______________________________________________ > Ipe-discuss mailing list > Ipe-discuss-rGrgPyRx506NN8uzcEdRPYRWq/[email protected] > http://lists.science.uu.nl/mailman/listinfo/ipe-discuss > _______________________________________________ Ipe-discuss mailing list Ipe-discuss-rGrgPyRx506NN8uzcEdRPYRWq/[email protected] http://lists.science.uu.nl/mailman/listinfo/ipe-discuss