What does the asterisk (*) do in arabic*?
I was wondering what the '*' (asterisk) does in the command arabic*
?
My code:
usepackage[inline]{enumitem}
begin{enumerate*}[label=textbf{arabic*})]
item Text 1
item Text 2
item Text 3
end{enumerate*}
The asterisk after enumerate*
puts the lists as part of the text flow. However, arabic*
without the asterisk would throw an error.
Can somebody explain why the asterisk must be entered?
counters enumitem
add a comment |
I was wondering what the '*' (asterisk) does in the command arabic*
?
My code:
usepackage[inline]{enumitem}
begin{enumerate*}[label=textbf{arabic*})]
item Text 1
item Text 2
item Text 3
end{enumerate*}
The asterisk after enumerate*
puts the lists as part of the text flow. However, arabic*
without the asterisk would throw an error.
Can somebody explain why the asterisk must be entered?
counters enumitem
4
it is better if you always provide a complete small example document, in this case I happened to recognise the syntax so could answer but the form you show is not defined by default, just in the contributed enumitem package, which you didn't mention you were using.
– David Carlisle
Feb 3 at 21:08
2
Actually, this is described in the manual. Reading manuals does not hurt ;-)
– user31729
Feb 3 at 21:46
1
It refers to the item counter, which is goes by different names in different packages or levels. Normal latex uses enumi, enumii, enumiii and enumiv, but enumitem stores the name of the counter in@listctr
.
– John Kormylo
Feb 4 at 1:26
add a comment |
I was wondering what the '*' (asterisk) does in the command arabic*
?
My code:
usepackage[inline]{enumitem}
begin{enumerate*}[label=textbf{arabic*})]
item Text 1
item Text 2
item Text 3
end{enumerate*}
The asterisk after enumerate*
puts the lists as part of the text flow. However, arabic*
without the asterisk would throw an error.
Can somebody explain why the asterisk must be entered?
counters enumitem
I was wondering what the '*' (asterisk) does in the command arabic*
?
My code:
usepackage[inline]{enumitem}
begin{enumerate*}[label=textbf{arabic*})]
item Text 1
item Text 2
item Text 3
end{enumerate*}
The asterisk after enumerate*
puts the lists as part of the text flow. However, arabic*
without the asterisk would throw an error.
Can somebody explain why the asterisk must be entered?
counters enumitem
counters enumitem
edited Feb 3 at 21:43
GuM
16.7k2458
16.7k2458
asked Feb 3 at 20:59
Alex_PAlex_P
1475
1475
4
it is better if you always provide a complete small example document, in this case I happened to recognise the syntax so could answer but the form you show is not defined by default, just in the contributed enumitem package, which you didn't mention you were using.
– David Carlisle
Feb 3 at 21:08
2
Actually, this is described in the manual. Reading manuals does not hurt ;-)
– user31729
Feb 3 at 21:46
1
It refers to the item counter, which is goes by different names in different packages or levels. Normal latex uses enumi, enumii, enumiii and enumiv, but enumitem stores the name of the counter in@listctr
.
– John Kormylo
Feb 4 at 1:26
add a comment |
4
it is better if you always provide a complete small example document, in this case I happened to recognise the syntax so could answer but the form you show is not defined by default, just in the contributed enumitem package, which you didn't mention you were using.
– David Carlisle
Feb 3 at 21:08
2
Actually, this is described in the manual. Reading manuals does not hurt ;-)
– user31729
Feb 3 at 21:46
1
It refers to the item counter, which is goes by different names in different packages or levels. Normal latex uses enumi, enumii, enumiii and enumiv, but enumitem stores the name of the counter in@listctr
.
– John Kormylo
Feb 4 at 1:26
4
4
it is better if you always provide a complete small example document, in this case I happened to recognise the syntax so could answer but the form you show is not defined by default, just in the contributed enumitem package, which you didn't mention you were using.
– David Carlisle
Feb 3 at 21:08
it is better if you always provide a complete small example document, in this case I happened to recognise the syntax so could answer but the form you show is not defined by default, just in the contributed enumitem package, which you didn't mention you were using.
– David Carlisle
Feb 3 at 21:08
2
2
Actually, this is described in the manual. Reading manuals does not hurt ;-)
– user31729
Feb 3 at 21:46
Actually, this is described in the manual. Reading manuals does not hurt ;-)
– user31729
Feb 3 at 21:46
1
1
It refers to the item counter, which is goes by different names in different packages or levels. Normal latex uses enumi, enumii, enumiii and enumiv, but enumitem stores the name of the counter in
@listctr
.– John Kormylo
Feb 4 at 1:26
It refers to the item counter, which is goes by different names in different packages or levels. Normal latex uses enumi, enumii, enumiii and enumiv, but enumitem stores the name of the counter in
@listctr
.– John Kormylo
Feb 4 at 1:26
add a comment |
1 Answer
1
active
oldest
votes
In the standard use of the command the use is arabic{section}
where the argument is the name of a counter to be printed in arabic. The *
is a special form defined by the enumitem
package for use in its optional argument where *
denotes the value of the current item label counter.
So the * is basically a "catch all" instruction. Thank you very much for your answer.
– Alex_P
Feb 3 at 21:07
4
@Alex_P not really catch all, it is specifically catch the counter that is being used as specified by other options to this list's setup.
– David Carlisle
Feb 3 at 21:09
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%2f473234%2fwhat-does-the-asterisk-do-in-arabic%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
In the standard use of the command the use is arabic{section}
where the argument is the name of a counter to be printed in arabic. The *
is a special form defined by the enumitem
package for use in its optional argument where *
denotes the value of the current item label counter.
So the * is basically a "catch all" instruction. Thank you very much for your answer.
– Alex_P
Feb 3 at 21:07
4
@Alex_P not really catch all, it is specifically catch the counter that is being used as specified by other options to this list's setup.
– David Carlisle
Feb 3 at 21:09
add a comment |
In the standard use of the command the use is arabic{section}
where the argument is the name of a counter to be printed in arabic. The *
is a special form defined by the enumitem
package for use in its optional argument where *
denotes the value of the current item label counter.
So the * is basically a "catch all" instruction. Thank you very much for your answer.
– Alex_P
Feb 3 at 21:07
4
@Alex_P not really catch all, it is specifically catch the counter that is being used as specified by other options to this list's setup.
– David Carlisle
Feb 3 at 21:09
add a comment |
In the standard use of the command the use is arabic{section}
where the argument is the name of a counter to be printed in arabic. The *
is a special form defined by the enumitem
package for use in its optional argument where *
denotes the value of the current item label counter.
In the standard use of the command the use is arabic{section}
where the argument is the name of a counter to be printed in arabic. The *
is a special form defined by the enumitem
package for use in its optional argument where *
denotes the value of the current item label counter.
answered Feb 3 at 21:04
David CarlisleDavid Carlisle
495k4111401889
495k4111401889
So the * is basically a "catch all" instruction. Thank you very much for your answer.
– Alex_P
Feb 3 at 21:07
4
@Alex_P not really catch all, it is specifically catch the counter that is being used as specified by other options to this list's setup.
– David Carlisle
Feb 3 at 21:09
add a comment |
So the * is basically a "catch all" instruction. Thank you very much for your answer.
– Alex_P
Feb 3 at 21:07
4
@Alex_P not really catch all, it is specifically catch the counter that is being used as specified by other options to this list's setup.
– David Carlisle
Feb 3 at 21:09
So the * is basically a "catch all" instruction. Thank you very much for your answer.
– Alex_P
Feb 3 at 21:07
So the * is basically a "catch all" instruction. Thank you very much for your answer.
– Alex_P
Feb 3 at 21:07
4
4
@Alex_P not really catch all, it is specifically catch the counter that is being used as specified by other options to this list's setup.
– David Carlisle
Feb 3 at 21:09
@Alex_P not really catch all, it is specifically catch the counter that is being used as specified by other options to this list's setup.
– David Carlisle
Feb 3 at 21:09
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%2f473234%2fwhat-does-the-asterisk-do-in-arabic%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
4
it is better if you always provide a complete small example document, in this case I happened to recognise the syntax so could answer but the form you show is not defined by default, just in the contributed enumitem package, which you didn't mention you were using.
– David Carlisle
Feb 3 at 21:08
2
Actually, this is described in the manual. Reading manuals does not hurt ;-)
– user31729
Feb 3 at 21:46
1
It refers to the item counter, which is goes by different names in different packages or levels. Normal latex uses enumi, enumii, enumiii and enumiv, but enumitem stores the name of the counter in
@listctr
.– John Kormylo
Feb 4 at 1:26