From: William H. <wil...@gm...> - 2006-11-17 03:24:30
|
How can I choose which font appears in the heading of LaTeX invoices? A client would like to use their corporate stndard "Century Gothic" in the letterhead. W |
From: Stroller <lin...@my...> - 2006-11-17 13:13:21
|
On 17 Nov 2006, at 03:24, William Hamilton wrote: > How can I choose which font appears in the heading of LaTeX > invoices? A > client would like to use their corporate stndard "Century Gothic" > in the > letterhead. Hi, Are you printing as Postscript / PDF or HTML? I have done quite a bit of work on using different fonts in LaTeX templates recently and am able to help, but it's different (but not difficult) if you're using the HTML template. I use the LaTeX .tex templates because their layout will be very consistent - I think that using the HTML option when you print could cause the invoice to print differently with another browser. Stroller. |
From: Stroller <lin...@my...> - 2006-11-18 08:54:29
|
On 17 Nov 2006, at 13:13, Stroller wrote: > On 17 Nov 2006, at 03:24, William Hamilton wrote: > >> How can I choose which font appears in the heading of LaTeX >> invoices? A >> client would like to use their corporate stndard "Century Gothic" >> in the >> letterhead. > ... > Are you printing as Postscript / PDF or HTML? Duh! Excuse me! I see you've already answered this. You're not printing in HTML if you're asking about LaTeX invoices. Stroller. |
From: William H. <wil...@gm...> - 2006-11-17 23:01:57
|
Stroller wrote: > On 17 Nov 2006, at 03:24, William Hamilton wrote: > >> How can I choose which font appears in the heading of LaTeX >> invoices? A >> client would like to use their corporate stndard "Century Gothic" >> in the >> letterhead. > > Hi, > > Are you printing as Postscript / PDF or HTML? I have done quite a bit > of work on using different fonts in LaTeX templates recently and am > able to help, but it's different (but not difficult) if you're using > the HTML template. > > I use the LaTeX .tex templates because their layout will be very > consistent - I think that using the HTML option when you print could > cause the invoice to print differently with another browser. Thanks for your reply, using .tex to produce PDFs. W |
From: Dr E. L. <el...@li...> - 2006-11-18 07:15:29
|
Google is your friend, though Gothic and Latex produce unexpected results :-)-O there are almost 10000 articles returned for http://www.google.com.na/search?q=%22Century+Gothic%22+latex&btnG=Search So, it takes a bit of study to figure ut how LaTeX does the font substitutions, and please. let us know the cookbook version. el on 11/18/06 1:01 AM William Hamilton said the following: > Stroller wrote: >> On 17 Nov 2006, at 03:24, William Hamilton wrote: >> >>> How can I choose which font appears in the heading of LaTeX >>> invoices? A >>> client would like to use their corporate stndard "Century Gothic" >>> in the >>> letterhead. >> Hi, >> >> Are you printing as Postscript / PDF or HTML? I have done quite a bit >> of work on using different fonts in LaTeX templates recently and am >> able to help, but it's different (but not difficult) if you're using >> the HTML template. >> >> I use the LaTeX .tex templates because their layout will be very >> consistent - I think that using the HTML option when you print could >> cause the invoice to print differently with another browser. > > Thanks for your reply, using .tex to produce PDFs. > > W > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > sql-ledger-users mailing list > sql...@li... > https://lists.sourceforge.net/lists/listinfo/sql-ledger-users -- Dr. Eberhard W. Lisse \ / Obstetrician & Gynaecologist (Saar) el...@li... el108-ARIN / * | Telephone: +264 81 124 6733 (cell) PO Box 8421 \ / Please do NOT email to this address Bachbrecht, Namibia ;____/ if it is DNS related in ANY way |
From: Stroller <lin...@my...> - 2006-11-18 09:51:10
|
On 17 Nov 2006, at 03:24, William Hamilton wrote: > How can I choose which font appears in the heading of LaTeX > invoices? A > client would like to use their corporate standard "Century Gothic" > in the > letterhead. The best answer I can give you is to take a look at The LaTeX Font Catalogue [1] - I don't know whether there are any fonts in the CTAN repository [2] that aren't listed there. I have tried converting TrueType fonts for use with LaTeX, but the results were VERY unsatisfactory - I am sure I followed the instructions (I found several guides on the web) to the letter, but I think the problem is that the kerning / hinting / font-whatever isn't converted properly. AFAICT LaTeX is very successful at "printing beautiful documents" if you use a font that has been designed (or at least well-prepared by hand) for it. I don't know much about font names & foundries, but I suspect you might find that the exact font your customer use is not already available in a TeX format. From the sounds of it you will do well with Avantgarde, however. The Font Catalogue says that "the font that is actually provided is URW Gothic (An Avantgarde clone)" and when I look Century Gothic up on Wikipedia [4] I find that it "takes inspiration from Sol Hess's Twentieth Century typeface drawn ... as a version of the successful Futura typeface [but] is more closely related to Avant Garde Gothic". IE: I don't think you should tell your customer that you're not using "their font", because you are likely to be able to choose a font indistinguishable. If you choose AvantGarde then I think you'll find that it's part of the Adobe core fonts installed with your LaTeX system. Otherwise try the avantgar package at CTAN [5]. So you should just be able to compile & view avantgarde.tex [6] on your system & Bob's your mother's brother. The Font Catalogue always gives the package name for a font in its page's "usage" section. I think you'll nearly always be able to find that package at CTAN. I find installing packages from CTAN non- intuitive, and it's annoying that my distro's package-manager includes some CTAN packages, but not many others. Consequently I used my distro's package-manager to install the MiKTeX package manager (on Gentoo: `emerge mpm`); thereafter one can search for packages using `mpm --list | grep packagename`; `mpm --install packagename`. You then have to tell various utilities where to find the new font's .map files. I could write a deal more about this, but it would take me forever because I don't yet understand it all fully myself - my two pieces of advice are to look in your system's updmap.cfg (/var/ lib/texmf/web2c/updmap.cfg here) and run rubber on the "LATEX source of PDF sample" of your chosen font taken from the Font Catalogue. When dvipdf spits about missing fonts I run `updatedb && locate whatitsbitchingabout` and this usually allows me to find the .map file to add to updmap.cfg. You will need to run `updmap-sys` and `texhash` at some point. I am a complete n00b at LaTeX, and only started using it for the first time perhpaps 10 days ago, specifically to layout invoices for SL. The .tex samples from the font catalogue will give you the basic usage, I think, enough to get you going on any particular font, and you should always compile this sample on your own system before integrating into your invoice.tex. This is what the comp.text.tex newsgroup calls a "minimal example" and when you have problems in LaTeX creating a minimal example seems to be particularly helpful. I've been long enamoured of Verdana - I think it's a very clean font, and I like its spacing - but in LaTeX I'm finding Arev (a very closely related font) to be just as pleasing (certainly far more pleasing than was my attempt to convert Verdana to Type1!!). I also use the "hand-written" Augie on my invoices, using it to indicate to my customers the implications of <%itemnote%> & <%notes%>; it too works VERY well. I would not be ashamed to send you one of my invoices. The file you need to edit to change the design of your Postscript / PDF invoice is "/usr/local/sql-ledger/templates/Stroller/ invoice.tex". You mention that it is the font of the letterhead that you're interested in & by default invoice.tex uses an include or import statement to pull in letterhead.tex (in the same directory). I'm sorry I can't direct you better, however (it is late and) I have tried to brainstorm all the things I wish I'd known a week or 10 days ago. The comp.text.tex newsgroup is very helpful. Stroller. [1] http://www.tug.dk/FontCatalogue/ [2] http://www.ctan.org/ [3] http://www.tug.dk/FontCatalogue/avantgarde/index.html [4] http://en.wikipedia.org/wiki/Century_Gothic [5] http://www.ctan.org/tex-archive/fonts/psfonts/corelpak/avantgar/ [6] http://www.tug.dk/FontCatalogue/avantgarde/avantgarde.tex [7] http://www.tug.dk/FontCatalogue/arev/index.html [8] http://www.tug.dk/FontCatalogue/augie/index.html |