Re: captions to graphics are sometimes centred and sometimes not
On 2010-04-04, Richard Brown wrote: Using 1.6.5 on ubunto 9..10, and komascript book, I have some photographs insert in floats. Each photograph has a caption. Sometimes the captions are centred on the page, and sometimes they are left justified- and I can see no difference whatsoever in the procedure I adopted (Insert float, + insert graphics) or in the source code. The only difference is that some captions are longer than others. This is exacly the reason: captions that fit on one line are centered by some layout styles. The KOMA-script documentation (scrguien.pdf) will tell you how you can configure this via document options or code in the LaTeX preamble. Günter
Re: captions to graphics are sometimes centred and sometimes not
On 2010-04-04, Richard Brown wrote: Using 1.6.5 on ubunto 9..10, and komascript book, I have some photographs insert in floats. Each photograph has a caption. Sometimes the captions are centred on the page, and sometimes they are left justified- and I can see no difference whatsoever in the procedure I adopted (Insert float, + insert graphics) or in the source code. The only difference is that some captions are longer than others. This is exacly the reason: captions that fit on one line are centered by some layout styles. The KOMA-script documentation (scrguien.pdf) will tell you how you can configure this via document options or code in the LaTeX preamble. Günter
Re: captions to graphics are sometimes centred and sometimes not
On 2010-04-04, Richard Brown wrote: > Using 1.6.5 on ubunto 9..10, and komascript book, I have some photographs > insert in floats. Each photograph has a caption. Sometimes the captions are > centred on the page, and sometimes they are left justified- and I can see no > difference whatsoever in the procedure I adopted (Insert float, + insert > graphics) or in the source code. The only difference is that some captions > are longer than others. This is exacly the reason: captions that fit on one line are centered by some layout styles. The KOMA-script documentation (scrguien.pdf) will tell you how you can configure this via document options or code in the LaTeX preamble. Günter
Re: captions to graphics are sometimes centred and sometimes not
On 4/4/2010 2:06 PM, Richard Brown wrote: Using 1.6.5 on ubunto 9..10, and komascript book, I have some photographs insert in floats. Each photograph has a caption. Sometimes the captions are centred on the page, and sometimes they are left justified- and I can see no difference whatsoever in the procedure I adopted (Insert float, + insert graphics) or in the source code. The only difference is that some captions are longer than others. For instance, this is centred: % Preview source code for paragraph 43 % \begin{figure}[H] \includegraphics[width=3.65in]{bolzano_esterno} \caption{La sala del commiato a Bolzano.} \end{figure} And this is left justified: % Preview source code for paragraph 45 % \begin{figure}[H] \includegraphics[width=3.65in,height=2.3in]{bolzano_crocefisso} \caption{Bolzano, il catafalco. ~Da notare i simboli religiosi non \protect \\ sono fissi. } \end{figure} Wherein lies the difference? Can't reproduce it here. Can you post a barebones example (minimal LyX file)? I notice that you are not centering the images within the floats, so the images will be left-justified. When I do it here, though, the captions are centered. (Also, the second caption is a single line here. Is it supposed to be two lines for you?) /Paul
Re: captions to graphics are sometimes centred and sometimes not
On 4/4/2010 2:06 PM, Richard Brown wrote: Using 1.6.5 on ubunto 9..10, and komascript book, I have some photographs insert in floats. Each photograph has a caption. Sometimes the captions are centred on the page, and sometimes they are left justified- and I can see no difference whatsoever in the procedure I adopted (Insert float, + insert graphics) or in the source code. The only difference is that some captions are longer than others. For instance, this is centred: % Preview source code for paragraph 43 % \begin{figure}[H] \includegraphics[width=3.65in]{bolzano_esterno} \caption{La sala del commiato a Bolzano.} \end{figure} And this is left justified: % Preview source code for paragraph 45 % \begin{figure}[H] \includegraphics[width=3.65in,height=2.3in]{bolzano_crocefisso} \caption{Bolzano, il catafalco. ~Da notare i simboli religiosi non \protect \\ sono fissi. } \end{figure} Wherein lies the difference? Can't reproduce it here. Can you post a barebones example (minimal LyX file)? I notice that you are not centering the images within the floats, so the images will be left-justified. When I do it here, though, the captions are centered. (Also, the second caption is a single line here. Is it supposed to be two lines for you?) /Paul
Re: captions to graphics are sometimes centred and sometimes not
On 4/4/2010 2:06 PM, Richard Brown wrote: Using 1.6.5 on ubunto 9..10, and komascript book, I have some photographs insert in floats. Each photograph has a caption. Sometimes the captions are centred on the page, and sometimes they are left justified- and I can see no difference whatsoever in the procedure I adopted (Insert float, + insert graphics) or in the source code. The only difference is that some captions are longer than others. For instance, this is centred: % Preview source code for paragraph 43 % \begin{figure}[H] \includegraphics[width=3.65in]{bolzano_esterno} \caption{La sala del commiato a Bolzano.} \end{figure} And this is left justified: % Preview source code for paragraph 45 % \begin{figure}[H] \includegraphics[width=3.65in,height=2.3in]{bolzano_crocefisso} \caption{Bolzano, il catafalco. ~Da notare i simboli religiosi non \protect \\ sono fissi. } \end{figure} Wherein lies the difference? Can't reproduce it here. Can you post a barebones example (minimal LyX file)? I notice that you are not centering the images within the floats, so the images will be left-justified. When I do it here, though, the captions are centered. (Also, the second caption is a single line here. Is it supposed to be two lines for you?) /Paul