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 want to attach a PDF output of a source code using graphic option of LTXinputExample. Shortly speaking, how to resize the attached graphic?

enter image description here

\tikz \draw (0,0) circle (1);

\immediate\write18{pdflatex source}




I don't want to change the width of the formatted source code.

share|improve this question
up vote 2 down vote accepted

You can use the width option. It will change the available space for the output and the graphic will adapt:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.