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

Referring to cannot use \caption under minipage, When I use the solution provided to the question in link above, in order to include images with latex math fonts embedded into them and place them side by side, the images overlap. For this to happen I use \input{} instead of \includegraphics{} into my code. The code now looks like this:

  \captionof{figure}{fig 1}
  \captionof{figure}{fig 2}

I want to scale them to fit these correctly. Is this possible? if yes, how can I do this?

I have tried editing the .pstex_t files to scale the images. This does scale the images but the latex fonts get placed incorrectly outside the figure. Using the following does not compile:

    \input[width = .5\textwidth]{}
share|improve this question
up vote 3 down vote accepted

No you certainly will not be able to scale your images by using an optional argument to \input. If and how you can scale the images depends on the content of the files. Looking at the extension you can perhaps use \resizebox or \scalebox as described here:


share|improve this answer
Thank you for directing me to this link. I will look into it. – maths-help-seeker May 29 '12 at 11:34

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.