Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add automatic direction recognition #3

Open
3 tasks done
Davoodeh opened this issue May 26, 2022 · 0 comments
Open
3 tasks done

Add automatic direction recognition #3

Davoodeh opened this issue May 26, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@Davoodeh
Copy link

Brief outline of the feature request

Add one or more environment that each use a their own respective method of
automatically detecting text direction.

This will greatly improve the UX and noob-friendlyness of LaTeX as a whole
alongside the code readability.

  • This was already discussed in the Telegram and @kvafa thought it's possible
    in an unknown future time.

Check/indicate

Minimal example

\usepackage{bidi}
\begin{document}

\begin{autodir}{unicode,base=ltr}
This is a bidi text that has a phrase in it like سلام دنیا.
Which would likely be rendered as دنیا سلام if not for this environment.

With this `autodir` environment, the bidi direction will
automatically add the `rl` macro to it before processing.
\end{autodir}
  
\end{document}
@Davoodeh Davoodeh added the enhancement New feature or request label May 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants