LyX ⇒ Centralising Figure Text
Centralising Figure Text
I am working with a two column document.
I have selected insert->float->figure from menu.
I have placed the image above the figure text just in the float figure box or in a 'box' of its own and in the float figure and I have alwasy been able to centralise it. However I cannot get the figure text to centralise even if it is the only thing in the float figure.
I position the cursor just left of 'Figure x:' and click paragraph settings button and change it from what ever it was before to centraise, but it is of no effect in the pdf.
Any help or advice, greatly appreciated.
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
Re: Centralising Figure Text
Re: Centralising Figure Text
Thanks for you help.
- Attachments
-
- FigureExample.zip
- (63.84 KiB) Downloaded 340 times
Centralising Figure Text
Code: Select all
\usepackage{caption}
\DeclareCaptionLabelSeparator{period}{.\quad}
\captionsetup{font=footnotesize,labelsep=period}
Centralising Figure Text
It would definitely mess up the captions since the caption package is highly incompatible with the IEEEtran document class.meho_r wrote:However, do some testing to see if nothing gets messed up, because you're using IEEEtran article class which has its own way to handle captions.
Re: Centralising Figure Text
Are we 'perhaps' saying that Ieeetran documment class already (by some means) intentionally enforces many properties of a caption and that 'it appears' that alignment is 'probably' one of them and what I am seeing is prevention from overriding it?
If this is so, then presumably if I have been asked to abide by Ieeetran, then I already am doing.
On the other hand if some one says that according to ieeetran the captions ought not to be like that then there is something wrong with my copy of the electronic file(s) (or what ever) that operate the ieetran document class, right?
Any ideas how I can check if this is the case? Is the ieeetran document class that one downloads seen as the definition itself or is there a document that defines it where I will be able to see that the caption is as per requirements?
Hope this makes sense.
Many thanks again for your responses.
Andrew.
Centralising Figure Text
In IEEEtran class file, it is specified explicitly (lines 1777–1798) "if caption is longer than a line, let it wrap around" and "if caption is shorter than a line, center if conference, left justify otherwise". You could change this by simply editing IEEEtran class file and adding one \hfil, but think if you really want to do that.
Re: Centralising Figure Text
What jumped out at me in the last post was "...center if conference...".
My paper is supposed to be for a conference. So, assuming ieeetran dose conference and journal, perhaps I simply have a single setting wrong.
If this is the case, then any ideas where I can see whether I have set to journal by mistake and how I might change it to conference? Simple doctype parameter somewhere?