views:

89

answers:

4

I want to create something like a leaflet/magazine using Latex. Is it possible to place text on top of an image and style the text freely?

Any links to examples of something like this?

+1  A: 

A very good toolset for manipulating images is pgf/TikZ pdf doc.

See \pgfimage for examples. It allows to mix text and image freely. There are many ways to do it. One of them is to use layers (p. 220 of pgfmanual). The pgf manual contains many simple examples, and is very precise.

Another solution is to use the lpic package: the homepage contains some examples.

You can find other examples for pfg and TikZ here and here for many impressive examples.

tonio
+2  A: 

I usually do something like

\usepackage{tikz}
...
\begin{tikzpicture}
    \draw (0, 0) node[inner sep=0] {\includegraphics[width=4cm]{imagefile.png}};
    \draw (1, 1) node {Hello world};
\end{tikzpicture}
midtiby
A: 

Another way to do this, admittedly not using LaTeX, would simply be to edit the image with photoshop or gimp or something like that. I guess your option in terms of typesetting mathematics might be fairly limited doing it this way.

Otherwise I'd endorse using tikz.

Are you sure you want to do it in LaTeX? Desktop publishing software might be more suited to your needs... Something like scribus might be easier than tikz in terms of learning curve, depending on what you want to do.

Seamus
A: 

Another solution is the textpos package which allows you to specify boxes at absolute positions on the page. The boxes can overlap, so you can put the figure in one box, and text in another box on top of it.

Rob Hyndman