107

I need "right to left" text direction to write in Persian.

slhck
  • 228,104
Ali
  • 2,641

5 Answers5

147

Enable Complex Text Layout (CTL) support using (sources: 1, 2, 3):

    Tools → Options → Language Settings → Languages

It may be necessary to restart LibreOffice after enabling CTL.

Then:

Ctrl+Shift+D or Ctrl+Right Shift - switch to right-to-left text entry

Ctrl+Shift+A or Ctrl+Left Shift - switch to left-to-right text entry.

If the shortcuts don't work using Left Ctrl, try Right Ctrl.

Ali
  • 2,641
  • 4
    Is there a toolbar icon for this? So I won't need to remember the shortcut. – AlikElzin-kilaka Nov 08 '14 at 15:02
  • 3
    @AlikElzin-kilaka: If you go to the menu Tools -> Customize, and then click on the tab "Toolbars", and then select the toolbar "Formatting", you'll see the buttons "Left-to-right" and "Right-to-left" there, although I can't get them to appear. – Flimm May 30 '15 at 14:46
  • What about any text box? For instance, Yahoo Mail Text Box? How can I change text direction there? – Royi Aug 30 '17 at 11:04
  • Tools → Options → Language Settings → Languages , and enable Asian Languages helped me. – sam nikzad Jun 13 '21 at 09:32
  • I changed the locale setting to persian then Complex Text Layout appeared on the left column. (ubuntu 20.04) – mohammad May 03 '22 at 11:28
15

Add Direction Buttons like MS-WORD

As you remember in MS WORD there were to buttons in standard menu which acted as shortcut.

Go to VIEW>TOOLBARS>CUSTOMIZE

Select the tab "TOOLBARS"

Select "STANDARD"

Press the button "ADD"

Select Category " Format"

From the right pane select "RIGHT TO LEFT" & "LEFT TO RIGHT"

8

Does this solution work?

  • Ctrl+Shift+D or Ctrl+Right Shift Key - switch to right-to-left text entry
  • Ctrl+Shift+A or Ctrl+Left Shift Key - switch to left-to-right text entry

from https://help.libreoffice.org/Common/Languages_Using_Complex_Text_Layout

Marcus Chan
  • 1,731
6

Tools >> Options >> Language Settings >> Languages >> Default Languages for Documents >> Complex text layout >> Select your language (Persian).
Now you could use:

  • Ctrl+Shift+D or Ctrl+Right Shift Key - switch to right-to-left text entry
  • Ctrl+Shift+A or Ctrl+Left Shift Key - switch to left-to-right text entry
Eftekhari
  • 401
  • 2
  • 5
  • 11
4

In Libreoffice 3, in the menu of tools > Options > language settings > languages

In Enhanced language support section, you should check "Enabled for Complex text layout (CTL)" to enable the key combination for text writing directions. Without this option, your Ctrl+Shift keys won't take effect. When enabled, then you can use

  • Ctrl+Shift+D or Ctrl+Right Shift Key - switch to right-to-left text entry
  • Ctrl+Shift+A or Ctrl+Left Shift Key - switch to left-to-right text entry
Saeed
  • 241