Search found 4 matches

by Mahsa
Wed Mar 28, 2012 12:47 am
Forum: Document Classes
Topic: elsarticle | Modifications to Caption Labels
Replies: 6
Views: 7241

Re: elsarticle | Modifications to Caption Labels

Great, Thanks a lot! It works on your doc indeed and now also on my document.

For some reason on my doc it was giving an error and I have no idea why...I had to make the slightest change of "\renewcommand{\figurename}{Fig.} " to "\renewcommand{\fnum@figure}{Fig.~\thefigure}" together with the rest ...
by Mahsa
Tue Mar 27, 2012 3:41 pm
Forum: Document Classes
Topic: elsarticle | Modifications to Caption Labels
Replies: 6
Views: 7241

Re: elsarticle | Modifications to Caption Labels

I exported the doc from Lyx to Latex, and pasted the code in the preamble, it does not work in Latex, it gives an error of undefined control sequence, Illegal unit of measure, etc...Any other hints??? Thanks in advance.
by Mahsa
Mon Mar 26, 2012 7:58 pm
Forum: Document Classes
Topic: elsarticle | Modifications to Caption Labels
Replies: 6
Views: 7241

Re: elsarticle | Modifications to Caption Labels

Thanks a lot.
Actually I just started with Lyx and am planning to switch later to latex, so, I am almost on board :).
I pasted the code in the preamble of the lye doc, but it gives errors: "You can't use `\spacefactor' in vertical mode" and "LaTeX Error: Missing \begin{document}." and ...
and I don ...
by Mahsa
Mon Mar 26, 2012 5:49 pm
Forum: Document Classes
Topic: elsarticle | Modifications to Caption Labels
Replies: 6
Views: 7241

elsarticle | Modifications to Caption Labels

Hi all,

I am not allowed to use the caption package as the journal asks not to do so. I am using the elsarticle class and I would like to replace the colon in the figure captions with the dot so that "Figure 3:" becomes "Fig. 3.".

Using the \renewcommand{\fnum@figure}{Fig.~\thefigure} , I change ...