TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using Emacs 23 with AUCTeX/preview-LaTeX for all my LaTeX editing. Mostly I am very happy with this, but I do not like the included graphics previewed in full size. For now my solution is to disable preview for floats and graphics, but what would be really nice would be to get a thumbnail preview of any included graphics.

My problem is that I cannot make sense of the description of \PreviewMacro included in the preview-latex documentation, and in particular it is not clear to me if I can use a clever \PreviewMacro to generate a preview thumbnail for \includegraphics... by evaluating something like \parbox{2cm}{\includegraphics...} (all my graphics is scaled relative to \linewidth) or maybe \includegraphics[width=2cm,...].
My only desperate attempt was


but this went nowhere.
Could this ever work -- and if so, how?

share|improve this question

closed as not a real question by Marco Daniel, egreg, Stefan Kottwitz Feb 4 '12 at 21:13

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.