Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I woud like to change the font size of the picture inserted by \includegraphics.. have used the scaling 1 and the picture occupies my space, but the font in the picture is very small. How can I change the font size on that picture. scaling it more bigger is not the option. Here is the code:

\begin {figure} [!htb]
\includegraphics[scale=0.95]{pics/Cascaded_control.pdf}
\caption {Cascaded servo control[Len2]}
\label{cascaded}
\end {figure}
share|improve this question
    
Welcome to TeX.sx! You can format code in your post using the {}button. –  Peter Jansson Feb 17 '13 at 0:02
11  
You can't. It's a picture and \includegraphics doesn't touch it. It just dumps it into the document unchanged (possibly scaled). –  kahen Feb 17 '13 at 0:11
    
While @kahen is most certainly right that you can’t edit a PDF from TeX, you could edit with one of many available PDF editors. I have seen at least the possibility to change the font size. Though, depending on the source this may not even work (right). –  Qrrbrbirlbel Feb 17 '13 at 1:02
3  
This is one of the main reasons that a lot of folks go out of their way to use Tikz and PSTricks; it provides consistency in the document. I appreciate it can't be done for every type of picture/image, but when it is possible, it's a good idea :) –  cmhughes Feb 17 '13 at 2:02
    
Try to import your PDF picture into inkscape and to change the font size... –  Paul Gaborit Aug 7 '13 at 15:05
add comment

1 Answer 1

The \includegraphics command is "dumb". All it does is take the datafile handed to it and dump it bit for bit into the resulting document (along with any scaling factor specified).

The upshot of this is that it is not possible to do any processing on \includegraphics'ed vector graphics (i.e. PDF and EPS files) such as changing typefaces, font sizes or colours.

share|improve this answer
add comment

Your Answer

 
discard

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.