Am Donnerstag, 26. Juni 2008 07:28 schrieb Vaclav Smidl: > Hi Wolfgang, > I also prefer having the fontsize in figures equal to that of the > surrounding text. > > > > If the special flag was set you encountered a bug, either in xfig, > > > fig2dev or in LyX. Otherwise just set the flag, and the text should be > > > typeset by LaTeX. > > > > How does xfig find out the size and font I used in the document, or does > > it make latex take it over? > > To do that, you really need the "special" flag switched on for strings in > xfig. If you did not do it in your xfig files, you can change it quite > efficiently using "update" functionality in xfig gui, or by a script on raw > xfig file format. All strings are terminated by \001 so it is easy to > detect them and the special flag is just one of the numbers in front of the > text. Do not remember which one, you can easily find it out by diffing two > files, one with and one without the special flag. > > As a second step, redefine latex macro SetFigFont in the preamble: > either > \gdef\SetFigFont#1#2#3#4#5{\relax} > or > \gdef\SetFigFontNFSS#1#2#3#4#5{\relax} > depending on the xfig version. Check one of your .pdftex_t file which > version is used in it. > > Then, all texts will be typeset by the active font in latex. > > Hope this helps, > Vasek
Vasek, this is a very valuable information and I am thankful. Wolfgang