Difference between revisions of "Cluster:Latex poster creation"
(→Using textblocks) |
(→Turning images into PS/Latex) |
||
Line 41: | Line 41: | ||
== Turning images into PS/Latex == | == Turning images into PS/Latex == | ||
+ | |||
+ | The easiest way I know of turning an image into eps is through xfig: | ||
+ | |||
+ | * Open xfig with a new project. | ||
+ | * Import an image (camera looking icon on the left icon array). Make sure to choose the original size and aspect ratio options. | ||
+ | * Export the project. Choose the "combined PS/Latex; both parts" option. | ||
+ | |||
+ | Your chosen export directory should hold both a \texttt{.pstex} file and a \texttt{.pstex_t} file. | ||
+ | |||
== Including a background iamge == | == Including a background iamge == | ||
== Including sized images == | == Including sized images == | ||
== Printing the poster in A4 == | == Printing the poster in A4 == |
Revision as of 12:09, 1 February 2006
Contents
Plumbing
Two latex style files and one class file are needed:
- textpos.sty for the text positioning package
- a0size.sty for the poster format package
- a0size.cls for the poster classes
These have to be either in the latex path (usually /usr/local/share/texmf/) or in the directory in which you invoke the latex command. Note that to add a style or class file that is not in either the standard or working directory you have to put the path in TEXINPUTS enviroment variable (not including the standard tex include directory in this will result in none of the standard class or style files being found) or put the full path in the \include in the latex source (I haven't tried this).
I just copied the files to my working directory while confirming the whole poster creation process works. While refining the poster, I just made some links to the textpos and a0size style and class files in a standard place in my home directory.
Setting up the poster format
\documentclass[landscape,a0,draft]{a0poster}
- The draft option is supposed to produce an A4 version of the poster. This does now work and the draft option has no noticable effect.
- This is the latex that requires the a0poster.sty and a0poster.cls.
Using textblocks
The textpos package sets up a grid over the document with spacing of about two inches per one grid spacing (the exact dimensions are unspecified; some eyeballing is needed) over which arbitrary latex and be placed. To setup the texpos package, use the following command:
\usepackage[absolute,overlay]{textpos}
- The absolute option makes the origin of the grid on which textblocks are positioned the upper lefthand corner. Using relative instead of absolute makes the origin the upper lefthand corner of the last textblock positioned.
- Overlay gives the textblocks opaque backgrounds. Without the overlay option, the background of the textblocks are transparent (no option for translucency).
\textblockcolour{white}
- Sets the background color of the subsequent textblocks.
\begin{textblock}{36.0}(3.0, 0.25) {\scriptsize \include{problem} } \end{textblock}
- This is the basic usage of the textblocks environment. The textblock arguments to the textblock look like:
\begin{textblock}{block_width}(x_loc_of_top_left, y_loc_of_top_left)
Turning images into PS/Latex
The easiest way I know of turning an image into eps is through xfig:
- Open xfig with a new project.
- Import an image (camera looking icon on the left icon array). Make sure to choose the original size and aspect ratio options.
- Export the project. Choose the "combined PS/Latex; both parts" option.
Your chosen export directory should hold both a \texttt{.pstex} file and a \texttt{.pstex_t} file.