Fix horizontal space before lists in LTR context when text direction change within frameEnumerate and itemize...
Is a tag line useful on a cover?
How is the claim "I am in New York only if I am in America" the same as "If I am in New York, then I am in America?
How could an uplifted falcon's brain work?
Arthur Somervell: 1000 Exercises - Meaning of this notation
Theorems that impeded progress
Prove that NP is closed under karp reduction?
Accidentally leaked the solution to an assignment, what to do now? (I'm the prof)
What would happen to a modern skyscraper if it rains micro blackholes?
How old can references or sources in a thesis be?
How did the USSR manage to innovate in an environment characterized by government censorship and high bureaucracy?
Are the number of citations and number of published articles the most important criteria for a tenure promotion?
Which models of the Boeing 737 are still in production?
Why not use SQL instead of GraphQL?
Can an x86 CPU running in real mode be considered to be basically an 8086 CPU?
What is the word for reserving something for yourself before others do?
Why was the small council so happy for Tyrion to become the Master of Coin?
"You are your self first supporter", a more proper way to say it
Why did the Germans forbid the possession of pet pigeons in Rostov-on-Don in 1941?
Dragon forelimb placement
Why do falling prices hurt debtors?
How is it possible to have an ability score that is less than 3?
Can I ask the recruiters in my resume to put the reason why I am rejected?
The use of multiple foreign keys on same column in SQL Server
Can a Warlock become Neutral Good?
Fix horizontal space before lists in LTR context when text direction change within frame
Enumerate and itemize undefined + captions not workingHow do I add custom beamer actions that change an argument?Horizontal space in listsLTR sequences within RTL text - alternative to cumbersome markup?Beamer: handout/article mode - produce multiple copies of a frame with distinct overlay numbersLaTeX beamer: pagenumbering appendixDo I only have english-Babel-package?Decrease horizontal space in enumitem listscross-referencing two long lists; general recommendations?beamer - tiny - itemize - itemize leads to incorrect line spacing (and font size)
Consider this example, why space before list is not the same in the two cases and how to fix it when I change text direction within frame.
documentclass{beamer}
usepackage[nil,bidi=basic-r,layout=counters]{babel}
babelprovide[import=ar-DZ, main]{arabic}
babelfont{sf}{Amiri}
mode<presentation>{usetheme{Madrid}}
begin{document}
begin{frame}{}
selectlanguage{nil} % change to LTR occure after frame begening
begin{enumerate}
item first item
item second item
item third item
end{enumerate}
end{frame}
selectlanguage{nil} % change to LTR occure before frame begening
begin{frame}{}
begin{enumerate}
item first item
item second item
item third item
end{enumerate}
end{frame}
end{document}
beamer lists babel right-to-left
add a comment |
Consider this example, why space before list is not the same in the two cases and how to fix it when I change text direction within frame.
documentclass{beamer}
usepackage[nil,bidi=basic-r,layout=counters]{babel}
babelprovide[import=ar-DZ, main]{arabic}
babelfont{sf}{Amiri}
mode<presentation>{usetheme{Madrid}}
begin{document}
begin{frame}{}
selectlanguage{nil} % change to LTR occure after frame begening
begin{enumerate}
item first item
item second item
item third item
end{enumerate}
end{frame}
selectlanguage{nil} % change to LTR occure before frame begening
begin{frame}{}
begin{enumerate}
item first item
item second item
item third item
end{enumerate}
end{frame}
end{document}
beamer lists babel right-to-left
add a comment |
Consider this example, why space before list is not the same in the two cases and how to fix it when I change text direction within frame.
documentclass{beamer}
usepackage[nil,bidi=basic-r,layout=counters]{babel}
babelprovide[import=ar-DZ, main]{arabic}
babelfont{sf}{Amiri}
mode<presentation>{usetheme{Madrid}}
begin{document}
begin{frame}{}
selectlanguage{nil} % change to LTR occure after frame begening
begin{enumerate}
item first item
item second item
item third item
end{enumerate}
end{frame}
selectlanguage{nil} % change to LTR occure before frame begening
begin{frame}{}
begin{enumerate}
item first item
item second item
item third item
end{enumerate}
end{frame}
end{document}
beamer lists babel right-to-left
Consider this example, why space before list is not the same in the two cases and how to fix it when I change text direction within frame.
documentclass{beamer}
usepackage[nil,bidi=basic-r,layout=counters]{babel}
babelprovide[import=ar-DZ, main]{arabic}
babelfont{sf}{Amiri}
mode<presentation>{usetheme{Madrid}}
begin{document}
begin{frame}{}
selectlanguage{nil} % change to LTR occure after frame begening
begin{enumerate}
item first item
item second item
item third item
end{enumerate}
end{frame}
selectlanguage{nil} % change to LTR occure before frame begening
begin{frame}{}
begin{enumerate}
item first item
item second item
item third item
end{enumerate}
end{frame}
end{document}
beamer lists babel right-to-left
beamer lists babel right-to-left
asked 11 hours ago
Salim BouSalim Bou
11.6k11442
11.6k11442
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
I can't say exactly why this happens, but you need to include layout=lists
.
From the babel
manual, §1.21:
lists required in
xetex
andpdftex
, but only in multilingual documents in luatex.
And since you are switching from RTL to LTR, I take it you need this option. Seems to work anyway.
So try:
usepackage[nil,bidi=basic-r,layout=counters.lists]{babel}
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f483521%2ffix-horizontal-space-before-lists-in-ltr-context-when-text-direction-change-with%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
I can't say exactly why this happens, but you need to include layout=lists
.
From the babel
manual, §1.21:
lists required in
xetex
andpdftex
, but only in multilingual documents in luatex.
And since you are switching from RTL to LTR, I take it you need this option. Seems to work anyway.
So try:
usepackage[nil,bidi=basic-r,layout=counters.lists]{babel}
add a comment |
I can't say exactly why this happens, but you need to include layout=lists
.
From the babel
manual, §1.21:
lists required in
xetex
andpdftex
, but only in multilingual documents in luatex.
And since you are switching from RTL to LTR, I take it you need this option. Seems to work anyway.
So try:
usepackage[nil,bidi=basic-r,layout=counters.lists]{babel}
add a comment |
I can't say exactly why this happens, but you need to include layout=lists
.
From the babel
manual, §1.21:
lists required in
xetex
andpdftex
, but only in multilingual documents in luatex.
And since you are switching from RTL to LTR, I take it you need this option. Seems to work anyway.
So try:
usepackage[nil,bidi=basic-r,layout=counters.lists]{babel}
I can't say exactly why this happens, but you need to include layout=lists
.
From the babel
manual, §1.21:
lists required in
xetex
andpdftex
, but only in multilingual documents in luatex.
And since you are switching from RTL to LTR, I take it you need this option. Seems to work anyway.
So try:
usepackage[nil,bidi=basic-r,layout=counters.lists]{babel}
answered 10 hours ago
David PurtonDavid Purton
11.2k2943
11.2k2943
add a comment |
add a comment |
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f483521%2ffix-horizontal-space-before-lists-in-ltr-context-when-text-direction-change-with%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown