pass options to subfigure (or other package loaded automatically)
Hey everybody, I'm quite new to LyX, so please bear with me here. I checked the documentation and Google (which apparently does not know everything), but could not find the answer to the following situation. I have a document where I use subfigures. So I used the subfigure option in LyX, put a caption and everything works perfect. But I'm a freak and I insist on my captions being centered--which is not the default in LaTeX and for subfigures, even if you use \centering or load the ccaption package (ccaption deals with the figure captions, but not the subfigure ones). In pure LaTeX, I would load the subfigure package with the center option. But if I try to do that in LyX, I get an error of conflicting options, because LyX already loads subfigure, but with no options. So now we come to my question: Is there any way to tell LyX to load a package that it loads by default with certain options? I guess the same would hold for other packages (like natbib, for instance). Thanks, Mircea _ Find a local pizza place, movie theater, and more .then map the best route! http://maps.live.com/?icid=hmtag1FORM=MGAC01
Re: pass options to subfigure (or other package loaded automatically)
From: Mircea Trandafir [EMAIL PROTECTED] To: lyx-users@lists.lyx.org Subject: pass options to subfigure (or other package loaded automatically) Date: Tue, 27 Feb 2007 12:49:46 -0500 Hey everybody, I'm quite new to LyX, so please bear with me here. I checked the documentation and Google (which apparently does not know everything), but could not find the answer to the following situation. I have a document where I use subfigures. So I used the subfigure option in LyX, put a caption and everything works perfect. But I'm a freak and I insist on my captions being centered--which is not the default in LaTeX and for subfigures, even if you use \centering or load the ccaption package (ccaption deals with the figure captions, but not the subfigure ones). In pure LaTeX, I would load the subfigure package with the center option. But if I try to do that in LyX, I get an error of conflicting options, because LyX already loads subfigure, but with no options. So now we come to my question: Is there any way to tell LyX to load a package that it loads by default with certain options? I guess the same would hold for other packages (like natbib, for instance). You can always pass an option to a package by délaring it as a class option Document-Settings-Document Class-options But it will be passed to any package understanding it... YOu may try this anyway. HTH -- Jean-Pierre
pass options to subfigure (or other package loaded automatically)
Hey everybody, I'm quite new to LyX, so please bear with me here. I checked the documentation and Google (which apparently does not know everything), but could not find the answer to the following situation. I have a document where I use subfigures. So I used the subfigure option in LyX, put a caption and everything works perfect. But I'm a freak and I insist on my captions being centered--which is not the default in LaTeX and for subfigures, even if you use \centering or load the ccaption package (ccaption deals with the figure captions, but not the subfigure ones). In pure LaTeX, I would load the subfigure package with the center option. But if I try to do that in LyX, I get an error of conflicting options, because LyX already loads subfigure, but with no options. So now we come to my question: Is there any way to tell LyX to load a package that it loads by default with certain options? I guess the same would hold for other packages (like natbib, for instance). Thanks, Mircea _ Find a local pizza place, movie theater, and more .then map the best route! http://maps.live.com/?icid=hmtag1FORM=MGAC01
Re: pass options to subfigure (or other package loaded automatically)
From: Mircea Trandafir [EMAIL PROTECTED] To: lyx-users@lists.lyx.org Subject: pass options to subfigure (or other package loaded automatically) Date: Tue, 27 Feb 2007 12:49:46 -0500 Hey everybody, I'm quite new to LyX, so please bear with me here. I checked the documentation and Google (which apparently does not know everything), but could not find the answer to the following situation. I have a document where I use subfigures. So I used the subfigure option in LyX, put a caption and everything works perfect. But I'm a freak and I insist on my captions being centered--which is not the default in LaTeX and for subfigures, even if you use \centering or load the ccaption package (ccaption deals with the figure captions, but not the subfigure ones). In pure LaTeX, I would load the subfigure package with the center option. But if I try to do that in LyX, I get an error of conflicting options, because LyX already loads subfigure, but with no options. So now we come to my question: Is there any way to tell LyX to load a package that it loads by default with certain options? I guess the same would hold for other packages (like natbib, for instance). You can always pass an option to a package by délaring it as a class option Document-Settings-Document Class-options But it will be passed to any package understanding it... YOu may try this anyway. HTH -- Jean-Pierre
pass options to subfigure (or other package loaded automatically)
Hey everybody, I'm quite new to LyX, so please bear with me here. I checked the documentation and Google (which apparently does not know everything), but could not find the answer to the following situation. I have a document where I use subfigures. So I used the subfigure option in LyX, put a caption and everything works perfect. But I'm a freak and I insist on my captions being centered--which is not the default in LaTeX and for subfigures, even if you use \centering or load the ccaption package (ccaption deals with the figure captions, but not the subfigure ones). In pure LaTeX, I would load the subfigure package with the center option. But if I try to do that in LyX, I get an error of conflicting options, because LyX already loads subfigure, but with no options. So now we come to my question: Is there any way to tell LyX to load a package that it loads by default with certain options? I guess the same would hold for other packages (like natbib, for instance). Thanks, Mircea _ Find a local pizza place, movie theater, and more .then map the best route! http://maps.live.com/?icid=hmtag1=MGAC01
Re: pass options to subfigure (or other package loaded automatically)
>>From: "Mircea Trandafir" <[EMAIL PROTECTED]> >>To: lyx-users@lists.lyx.org >>Subject: pass options to subfigure (or other package loaded automatically) >>Date: Tue, 27 Feb 2007 12:49:46 -0500 >> >>Hey everybody, >> >>I'm quite new to LyX, so please bear with me here. I checked the >>documentation and Google (which apparently does not know everything), >>but could not find the answer to the following situation. I have a >>document where I use subfigures. So I used the subfigure option in LyX, >>put a caption and everything works perfect. But I'm a freak and I insist >>on my captions being centered--which is not the default in LaTeX and for >>subfigures, even if you use \centering or load the ccaption package >>(ccaption deals with the figure captions, but not the subfigure ones). >>In pure LaTeX, I would load the subfigure package with the center >>option. But if I try to do that in LyX, I get an error of conflicting >>options, because LyX already loads subfigure, but with no options. So >>now we come to my question: Is there any way to tell LyX to load a >>package that it loads by default with certain options? I guess the same >>would hold for other packages (like natbib, for instance). You can always pass an option to a package by délaring it as a class option Document->Settings->Document Class->options But it will be passed to any package understanding it... YOu may try this anyway. HTH -- Jean-Pierre