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).
Does anyone know what is going on?
The only difference between English only and English containing Hebrew is the following:
< \documentclass[12pt,english]{article} --- > \documentclass[12pt,hebrew,english]{article} 6c6 < \usepackage[latin1]{inputenc} --- > \usepackage[cp1255,latin1]{inputenc}
I don't understand how that changes anything (article caption definitions? - it is the same article document class)
I tried to look into the article document class but I see nothing that will merit any change in the definitions of figure environment. I am obviously looking at the wrong place or missing something else.
Does anyone know the answer?
I attached a small file with a figure. If you erase the Hebrew word, the caption changes according to the definition in the preample.
Thanks
Miki Dovrat
#LyX 1.3 created this file. For more info see http://www.lyx.org/ \lyxformat 221 \textclass article \begin_preamble \usepackage{caption}[2004/07/16] \captionsetup[figure]{format=hang,justification=justified,labelfont=bf} \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
mobius.eps.gz
Description: Unix tar archive