[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnumed-devel] Example of letterhead with logo* that can be incorpor
From: |
Karsten Hilbert |
Subject: |
Re: [Gnumed-devel] Example of letterhead with logo* that can be incorporated into gnumed template |
Date: |
Sat, 3 Aug 2013 15:03:32 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Sat, Aug 03, 2013 at 06:13:25PM +0530, care endoscopy wrote:
> kindly compile the latex file to see.
Really nice ! And a lot of work, too...
Note that it is suggested to keep package names in
lowercase. Their real file names will be lowercase and thus
they will not be found if imports are written in caps and
then compiled on a case-sensitive (Linux) rather than
case-insensitive (Windows) system.
Maybe this placeholder can help with easier integration of images ?
u'data_snippet', # a
binary snippet, taken from the keyword expansion mechanism
# args: <snippet name>//<template>//<optional target mime
type>//<optional target extension>
# returns full path to an exported copy of the
# data rather than the data itself,
# template: string template for outputting the path
# target mime type: a mime type into which to convert the image,
no conversion if not given
# target extension: target file name extension, derived from
target mime type if not given
Might be used along those lines:
\fancyhead[c]{$<data_snippet::my_logo_as_png_imported_into_gnumed//\includegraphics[width=30mm]{%s}::250>$}
(assuming \fancyhead can deal with \includegraphics)
Karsten
--
GPG key ID E4071346 @ gpg-keyserver.de
E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346