|
View:
New views
8 Messages
—
Rating Filter:
Alert me
|
|
|
Simulating Handwriting (and a couple of other questions)Dear All
A couple of Tikz/PGF/Beamer questions (1) Is it possible to simulate handwritten "notes" using PGF/Tikz... imagine a complicated equation, where a certain part can be outlined and then have something that looks like handwriting saying "this is the only term that doesn't vanish" or something like that... I guess I could scan some handwriting and then use images, but is there an easier way? (2) How do I "adjust" parameters in Beamer themes... I'm trying to use \usecolortheme{dolphin} \useoutertheme{shadow} \useinnertheme{rectangles} because nowadays, almost everyone seems to use the "whale" colortheme and I want to be a little different. But while I like the muted colours of "dolphin", the frame title is typeset in black on a background that fades-to-black, and the rectangular blocks have transparent background. I'd like to get back the white frame titles and the coloured backgrounds, but while I am sure the answer is in the manual, I couldn't figure out how to do it.. Thanks Gordon ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ pgf-users mailing list pgf-users@... https://lists.sourceforge.net/lists/listinfo/pgf-users |
|
|
Re: Simulating Handwriting (and a couple of other questions)Hi,
Not sure about (2) as I know know beamer very well, but Regarding (1): \documentclass{article} \usepackage[T1]{fontenc} \usepackage{emerald} \usepackage{tikz} \begin{document} \begin{tikzpicture} \node [draw, very thick, fill=blue!20, rounded corners=1ex, font=\ECFJD, text width=4cm] {This is the only term that doesn't vanish}; \end{tikzpicture} \end{document} Take a look at http://www.tug.dk/FontCatalogue/calligraphicalfonts.html for more fonts regards Mark 2009/6/9 Gordon Royle <gordon@...>: > Dear All > > A couple of Tikz/PGF/Beamer questions > > (1) Is it possible to simulate handwritten "notes" using PGF/Tikz... > imagine a complicated equation, where a certain part can be outlined > and then have something that looks like handwriting saying "this is > the only term that doesn't vanish" or something like that... I guess I > could scan some handwriting and then use images, but is there an > easier way? > > (2) How do I "adjust" parameters in Beamer themes... I'm trying to use > > \usecolortheme{dolphin} > \useoutertheme{shadow} > \useinnertheme{rectangles} > > because nowadays, almost everyone seems to use the "whale" colortheme > and I want to be a little different. > > > But while I like the muted colours of "dolphin", the frame title is > typeset in black on a background that fades-to-black, and the > rectangular blocks have transparent background. I'd like to get back > the white frame titles and the coloured backgrounds, but while I am > sure the answer is in the manual, I couldn't figure out how to do it.. > > > Thanks > > Gordon > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > pgf-users mailing list > pgf-users@... > https://lists.sourceforge.net/lists/listinfo/pgf-users > ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ pgf-users mailing list pgf-users@... https://lists.sourceforge.net/lists/listinfo/pgf-users |
|
|
Re: Simulating Handwriting (and a couple of other questions)On 09/06/2009, at 4:29 PM, Mark Wibrow wrote: Thanks for the pointer, but unfortunately I cannot seem to install the fonts... I'm using Mac OS X and installed the monster MacTex package when I started ... Anyway, the instructions for installing emerald say
I seem to have a multiplicity of texmf folders (texmf, texmf-config, texmf-dist, texmf-doc, texmf-var) but anyway I copied the trees into the /usr/local/texlive/2007/texmf folder. Then I ran "sudo texhash" and at least it managed to find "emerald.sty" and drew the nice blue box you made... BUT, and its a big but... I cannot get the actual FONT to appear.... I always use pdflatex and so I attempted to follow the instructions
Now I grind to a halt... I don't HAVE a texmf/pdftex/config directory... nor do I have a pdftex.cfg file (anywhere on the system). So what happens now when I run your little test program is that the log ends with...
Basically I just don't know enough about how fonts are defined and used to actually debug the instructions (all I know is that font management is a dark dark art...) Gordon ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ pgf-users mailing list pgf-users@... https://lists.sourceforge.net/lists/listinfo/pgf-users |
|
|
Re: Simulating Handwriting (and a couple of other questions)On Tuesday 09 June 2009 13:03:23 Gordon Royle wrote:
> Anyway, the instructions for installing emerald say > > > Copy trees "fonts" > > and "tex" into your texmf folder. > > [...] > Then I ran "sudo texhash" and at least it managed to find > "emerald.sty" and drew the nice blue box you made... That's not enough, see the readme. You need to configure dvips and/or pdftex to know about the font (i.e. some font mapping). I had the same problem. Oh, I just realized you read that, too: > > to the pdfTeX configuration file. With teTeX, fpTeX or > > MikTeX this is texmf/pdftex/config/pdftex.cfg. > > Now I grind to a halt... I don't HAVE a texmf/pdftex/config > directory... nor do I have a pdftex.cfg file (anywhere on the system). Same here. However, getting dvips to work was easy, and I stopped there because my interest in this is not urgent. ;-} Sorry. > > pdfTeX warning: /usr/texbin/pdflatex (file fjdmw8r): Font fjdmw8r at > > 600 not fo > > und > > </usr/local/texlive/2007/texmf-dist/fonts/type1/public/cm-super/ > > sfrm1000.pfb> > > Basically I just don't know enough about how fonts are defined and > used to actually debug the instructions (all I know is that font > management is a dark dark art...) Exactly. I believe the above map files map the "fjdmw8r" font (for which there are metrics in the tfm directory) to one of the real (i.e. type1) font file names. HTH, Hans ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ pgf-users mailing list pgf-users@... https://lists.sourceforge.net/lists/listinfo/pgf-users |
|
|
Re: Simulating Handwriting (and a couple of other questions)Is this of any help ?
http://c.caignaert.free.fr/ttf-english.html Sebastian Hans Meine a écrit : > On Tuesday 09 June 2009 13:03:23 Gordon Royle wrote: > >> Anyway, the instructions for installing emerald say >> >> >>> Copy trees "fonts" >>> and "tex" into your texmf folder. >>> >> [...] >> Then I ran "sudo texhash" and at least it managed to find >> "emerald.sty" and drew the nice blue box you made... >> > > That's not enough, see the readme. You need to configure dvips and/or pdftex > to know about the font (i.e. some font mapping). I had the same problem. > > Oh, I just realized you read that, too: > >>> to the pdfTeX configuration file. With teTeX, fpTeX or >>> MikTeX this is texmf/pdftex/config/pdftex.cfg. >>> >> Now I grind to a halt... I don't HAVE a texmf/pdftex/config >> directory... nor do I have a pdftex.cfg file (anywhere on the system). >> > > Same here. However, getting dvips to work was easy, and I stopped there > because my interest in this is not urgent. ;-} Sorry. > > >>> pdfTeX warning: /usr/texbin/pdflatex (file fjdmw8r): Font fjdmw8r at >>> 600 not fo >>> und >>> </usr/local/texlive/2007/texmf-dist/fonts/type1/public/cm-super/ >>> sfrm1000.pfb> >>> >> Basically I just don't know enough about how fonts are defined and >> used to actually debug the instructions (all I know is that font >> management is a dark dark art...) >> > > Exactly. I believe the above map files map the "fjdmw8r" font (for which > there are metrics in the tfm directory) to one of the real (i.e. type1) font > file names. > > HTH, > Hans > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > pgf-users mailing list > pgf-users@... > https://lists.sourceforge.net/lists/listinfo/pgf-users > ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ pgf-users mailing list pgf-users@... https://lists.sourceforge.net/lists/listinfo/pgf-users |
|
|
Re: Simulating Handwriting (and a couple of other questions)On Tue, Jun 9, 2009 at 1:03 PM, Gordon Royle <gordon@...> wrote:
No. In TeXlive it is called pdftex.map. It is at /usr/local/texlive/2008/texmf/fonts/map/pdftex/updmap/pdftex.map (replace 2008 for 2007 if appropriate) In order to try the example provided by Mark, I tried a "minimal local" installation. I.e: i copied to the same folder than the document the files: fjdmw8t.tfm fjdmw8t.vf fjdmw.pfb fjdmw8r.tfm, and a copy of the above mentioned pdftex.map. I edited pdftex.map and add at the end the contents of the file emerald.map (adding a single line with +map emerald.map doesn't work).
After this, the example compiled. Of course for a real installation you have to copy all files to appropiate places and edit pdftex.map (although I'm not sure this is a good idea, because it is probably overwritten each time you add a new font package through tlmgr)
Regards, --JL Diaz ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ pgf-users mailing list pgf-users@... https://lists.sourceforge.net/lists/listinfo/pgf-users |
|
|
Re: Simulating Handwriting (and a couple of other questions)Am Tue, 9 Jun 2009 19:03:23 +0800 schrieb Gordon Royle:
>> Make pdfTeX read the additional font map file emerald.map. >> This is usually accomplished by adding the line >> >> map +emerald.map >> >> to the pdfTeX configuration file. With teTeX, fpTeX or >> MikTeX this is texmf/pdftex/config/pdftex.cfg. > > Now I grind to a halt... I don't HAVE a texmf/pdftex/config > directory... nor do I have a pdftex.cfg file (anywhere on the system). This is outdated. On all modern systems map-files are added with the help of updmap or updmap-sys. On miktex I would add the line above to my updmap.cfg and then run updmap. TeXLive-people do in general updmap-sys --enable Map=mapfile. -- Ulrike Fischer ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ pgf-users mailing list pgf-users@... https://lists.sourceforge.net/lists/listinfo/pgf-users |
|
|
Re: Simulating Handwriting (and a couple of other questions)On 09/06/2009, at 10:14 PM, JL Diaz wrote: > > In order to try the example provided by Mark, I tried a "minimal > local" installation. I.e: i copied to the same folder than the > document the files: fjdmw8t.tfm fjdmw8t.vf fjdmw.pfb fjdmw8r.tfm, > and a copy of the above mentioned pdftex.map. I edited pdftex.map > and add at the end the contents of the file emerald.map (adding a > single line with +map emerald.map doesn't work). > > After this, the example compiled. Of course for a real installation > you have to copy all files to appropiate places and edit pdftex.map > (although I'm not sure this is a good idea, because it is probably > overwritten each time you add a new font package through tlmgr) Hmm.. well I can now make it work, but I don't know why... I copied the pdftex.map into the local directory and edited it... then it all worked fine. But no matter how I tried to use the pdftex.map in one of the texmf directories (texmf, texmf-var, texmf-dist) etc, it simply didn't seem to pick it up.. Oh well. Thanks for your help Gordon ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ pgf-users mailing list pgf-users@... https://lists.sourceforge.net/lists/listinfo/pgf-users |
| Free embeddable forum powered by Nabble | Forum Help |