Hello Miki,


Miki Dovrat wrote:
Hi,

I asked a question about formatting figure captions a few days ago. Noboby answered, but since then, I have found the tex package "caption" which will do anything desired with the figure captions.

My problem is, it works ONLY when the document contains no Hebrew characters whatsoever!! (Take a document in English -> caption package works, insert a word of Hebrew, caption style returns to the default of the article class).



I attached a small file with a figure. If you erase the Hebrew word, the caption changes according to the definition in the preample.


I've tried the example file you gave, but it didn't work for me even after replacing the Hebrew word with an english one. I don't know the "caption" package and I could hardly find documentation for it. However, I saw that the package was replaced by the "caption2" package (still beta, but said to be stable). With this package I had no problem with Hebrew (see attached).


Note that in this package the options are given slightly differently. The documentation for the package is section 19 of the epslatex documentation. (You should have a file epslatex.ps on your system)

Hope this helps,

Amir.
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass article
\begin_preamble
\usepackage[hang,bf]{caption2}
\end_preamble
\language english
\inputencoding auto
\fontscheme newcent
\graphics default
\float_placement !htbp
\paperfontsize 11
\spacing onehalf 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation skip
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard


\lang hebrew
ωμεν
\layout Standard


\begin_inset Float figure
wide false
collapsed false

\layout Standard


\begin_inset Graphics
        filename mobius.eps

\end_inset 


\layout Caption

The mobius figure.
 This line is long so the caption will be at least two lines of text.
\end_inset 


\the_end

Reply via email to