unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Evan Aad <oddeveneven@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Is there a way to force the directionality of a line of text in the GUI?
Date: Mon, 14 Nov 2022 09:17:29 +0200	[thread overview]
Message-ID: <CA+-Lr-CaUQROjZzqnSZ=-Tw=x+WbXXoSxoomddFfebMWpSGjmw@mail.gmail.com> (raw)

When composing a bilingual document that combines a right-to-left
language, such as Hebrew, with a left-to-right language, such as
English, is there a way to force the left- or right alignment of a
line of text in the Emacs GUI when the text in that line contains no
letters of either alphabet.

For example, when writing a mathematical text in Hebrew, intended to
be typeset by the TeX system, the following display-mode equation may
occur:
$$
x+y=z
$$

In this case the Emacs GUI would align the initial $$ along the
buffer's right margin, whereas the next two lines would be aligned
along the left margin. This causes a disruption of the logical
cohesiveness of the LaTeX code. Is there a way that I could indicate
to the Emacs GUI to align the initial $$ along the left margin?



             reply	other threads:[~2022-11-14  7:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-14  7:17 Evan Aad [this message]
2022-11-15  9:20 ` Is there a way to force the directionality of a line of text in the GUI? Arash Esbati
2022-11-15 11:13 ` Joost Kremers
2022-11-15 11:48   ` Evan Aad

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CA+-Lr-CaUQROjZzqnSZ=-Tw=x+WbXXoSxoomddFfebMWpSGjmw@mail.gmail.com' \
    --to=oddeveneven@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).