2

I'm writing document at Hebrew so it RTL, but my bibliography includes an English articles.

The result is this: enter image description here

I want to move מקורות to the right side. Is it possible?

Here is the code:

\begin{english}
\addto\captionshebrew{\renewcommand{\refname}{\hebrewfont{מקורות}}} 
\renewcommand{\refname}{\hebrewfont{מקורות}}

\bibliographystyle{plain} \phantomsection\addcontentsline{toc}{section}{\refname}\nocite{*} \bibliography{ref1}

\end{english}

moewe
  • 175,683
heblyx
  • 2,571

2 Answers2

1

Since you did not provide any MWE I'll propose a raw solution, more could be done knowing packages for bibliography you use.

Instad of

\renewcommand{\refname}{\hebrewfont{מקורות}}

\renewcommand{\refname}{\hebrewfont{מקורות}}
\phantomsection\addcontentsline{toc}{section}{\refname}\nocite{*}

do

%...
\renewcommand{\refname}{}
\vskip\baselineskip%
\hspace{3cm}\minipage\textwidth%
    \section*{\hebrewfont{מקורות}}%
    \phantomsection\addcontentsline{toc}{section}{\hebrewfont{מקורות}}\nocite{*}
\endminipage%
%...

Then you can adjust hspace for your own needings, also, possibly, you would want to change \vskip\baselineskip with \vskip-\baselineskip since usually, \bibliography command comes with a \section*, thus you maybe wat to remove that space.

If you don't want to find proper hspace to put a possible solution is with package calc, put in your preamble:

\usepackage{calc}
    \setlength{\myspace}{\textwidth-\widthof{\hebrewfont{מקורות}}}%

then use \hspace{\myspace} instead of \hspace{3cm} in the code above.

GiuTeX
  • 1,309
0

The answer I found: The bidi package provides the control sequence \setLTRbibitems precisely for this purpose. All you need to do is place this control word before inserting your bibliography.

Moshe Gueta
  • 435
  • 1
  • 4
  • 15