-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 14/11/12 15:39, Richard Heck wrote: > On 11/14/2012 09:10 AM, Rich Shepard wrote: >> Is it possible to automate changes in figure settings and cross-references? >> For example, >> changing the width of all figures from 80% of text width to 60% of text >> width or changing all >> cross-references from number + page to only number? >> > The only way to do this is to load the LyX file into a text editor and use > search and replace > there. Or you can do it with a perl or python script, etc.
No idea if you can use this in your case, but here it is: You could also redefine your includegraphics. I did something similar, to have all graphics in a shadowbox. I included in the preamble: %%%%%%%% % from http://tex.stackexchange.com/questions/70547/how-can-i-renew-includegraphics-to-always-use-shadowbox \usepackage{graphicx,fancybox,letltxmacro} % save the meaning of \includegraphics \LetLtxMacro\latexincludegraphics\includegraphics % pass the image to \shadowbox \renewcommand{\includegraphics}[2][]{% \shadowbox{\latexincludegraphics[#1]{#2}}} %%%%%%%% In addition, I used the following in the preamble to make the graphics always centered: \renewenvironment{figure}[1][]{ \@float{figure} \centering} {\end@float} Hope this helps, Rainer > > Back up the file first!! > > Richard > > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iEYEARECAAYFAlCjr7EACgkQoYgNqgF2egoSMgCgiFzZ0+Wr/GrDjpP5YhrTJtin 8+kAnj8PUoWmqUeKVcnlSO3v7NIc7UUA =xDFS -----END PGP SIGNATURE-----