I got this set up in Kile, but can't figure it out in texmaker. I want almost all my figures to be as wide as the text, at the moment I have to type this in manually each time. There is already a default size argument (scale=1), how can I customise this default?
|
Go to User → Customize Completion and add your preferred I think this is as far as you'll get Texmaker; I don't see any way of customizing the LaTeX → \includegraphics{file} menu entry, which you seem to be using so far. |
|||||||||
|
|
I'm afraid this is hard-coded in texmaker... (source code: texmaker.cpp, line 5521, in current version: 3.5.2) So i guess the only way to change it, is to alter the source code and compile it... |
|||
|
|
\setkeys{Gin}{wdith = \textwidth}or something similar. – Joseph Wright♦ Nov 8 '12 at 12:25setkeysthis time, although that could be useful too. What I mean is that I use a GUI to select which image to include, and when I click ok, texmaker writes the line for me:\includegraphics[scale=1]{my_image.pdf}I'd like it to saywidth=\textwidthinstead ofscale=1. Of course, I can edit it manually later, regardless of the editor. – craq Nov 8 '12 at 15:09