I am typesetting in a bidirectional environment, the language is right to left but the commands are left to right. Due to this i rather distinguish the commands and the actual text by typing every command in a new line. Unfortunately this caused me some trouble, please consider the following sample:
\documentclass{article}
\begin{document}
thus \footnote{this is a footnote} the main issue remains. The quick brown fox jumps over the lazy dog \footnote{Why did it jump} The quick brown fox jumps over the lazy dog The quick brown fox jumps over the lazy dog
\end{document}
which results in the following output:
As you can see, the output has two problems:
- The space between the main text and number representing a footnote is wide (look at the space between "thus" and "footnote number 1".
- The second footnote has moved to the new line.
I know that they are all my fault! I must not put space between the footnote command and the text before. But I provided this example to let you know what are the problems. Now considering the case in a bidi environment where I have used many \footnote
commands in a new line but without any space, as shown below:
this is the text
\footnote{this is a footnote}
How can I overcome this problem and remove that whitespace which tex assumes when going to new line and still maintain the readability of the text? Should I renew the footnote command and add the \hspace
with negative value to it?