How can I manually indent a paragraph inside an enumerate environment?
I would like to manually insert an indentation on some lines inside an enumerate environment but not others. I am using the enumerate environment to number examples, but then inserting line breaks using \
. I would like to indent some of the paragraphs in examples like the following (but not all of them), so am trying to insert a space manually.
begin{enumerate}[align=left,label={(arabic*)},resume]
item Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\
Rhoncus urna neque viverra justo nec ultrices dui. Lobortis elementum nibh tellus molestie nunc non.\
Eget duis at tellus at urna condimentum mattis pellentesque id.
end{enumerate}
However, indent
and hspace{parindent}
are not working. What can I do to fix this?
EDIT:
The problem appears to go deeper than not being able to insert a parindent
. I can't seem to insert any amount of hspace
at the beginning of a line in the enumerate
environment. Not even the following code produces the expected result:
begin{enumerate}[align=left,label={(arabic*)},resume]
item Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\
hspace{2em}Rhoncus urna neque viverra justo nec ultrices dui. Lobortis elementum nibh tellus molestie nunc non.\
Eget duis at tellus at urna condimentum mattis pellentesque id.
end{enumerate}
spacing enumerate indentation
New contributor
add a comment |
I would like to manually insert an indentation on some lines inside an enumerate environment but not others. I am using the enumerate environment to number examples, but then inserting line breaks using \
. I would like to indent some of the paragraphs in examples like the following (but not all of them), so am trying to insert a space manually.
begin{enumerate}[align=left,label={(arabic*)},resume]
item Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\
Rhoncus urna neque viverra justo nec ultrices dui. Lobortis elementum nibh tellus molestie nunc non.\
Eget duis at tellus at urna condimentum mattis pellentesque id.
end{enumerate}
However, indent
and hspace{parindent}
are not working. What can I do to fix this?
EDIT:
The problem appears to go deeper than not being able to insert a parindent
. I can't seem to insert any amount of hspace
at the beginning of a line in the enumerate
environment. Not even the following code produces the expected result:
begin{enumerate}[align=left,label={(arabic*)},resume]
item Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\
hspace{2em}Rhoncus urna neque viverra justo nec ultrices dui. Lobortis elementum nibh tellus molestie nunc non.\
Eget duis at tellus at urna condimentum mattis pellentesque id.
end{enumerate}
spacing enumerate indentation
New contributor
Welcome! Let me rephrase your question. Do you want to indent some of the paragraphs insideenumerate
and not all of them?
– Majid Abdolshah
2 hours ago
Yes. So I'm trying to manually insert an indentation, but I can't find a working solution.
– Catahecassa
2 hours ago
Did you saw my answer here: tex.stackexchange.com/a/481819/16550 ? Possible duplicate?
– Kurt
2 hours ago
@Kurt I think OP asks for indentation for some of the paragraphs in the list environment and not all of them.
– Majid Abdolshah
2 hours ago
Yes, I only want some paragraphs indented, not all of them. Judging by the question Kurt linked to, it seems that the problem might be that the enumerate environment setsparindent
to zero. I've tried working around this by definingnewlength{myenumindent}
andsetlength{myenumindent}{parindent}
, and then usinghspace{myenumindent}
where I want an indentation, but that doesn't seem to solve the problem either.
– Catahecassa
2 hours ago
add a comment |
I would like to manually insert an indentation on some lines inside an enumerate environment but not others. I am using the enumerate environment to number examples, but then inserting line breaks using \
. I would like to indent some of the paragraphs in examples like the following (but not all of them), so am trying to insert a space manually.
begin{enumerate}[align=left,label={(arabic*)},resume]
item Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\
Rhoncus urna neque viverra justo nec ultrices dui. Lobortis elementum nibh tellus molestie nunc non.\
Eget duis at tellus at urna condimentum mattis pellentesque id.
end{enumerate}
However, indent
and hspace{parindent}
are not working. What can I do to fix this?
EDIT:
The problem appears to go deeper than not being able to insert a parindent
. I can't seem to insert any amount of hspace
at the beginning of a line in the enumerate
environment. Not even the following code produces the expected result:
begin{enumerate}[align=left,label={(arabic*)},resume]
item Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\
hspace{2em}Rhoncus urna neque viverra justo nec ultrices dui. Lobortis elementum nibh tellus molestie nunc non.\
Eget duis at tellus at urna condimentum mattis pellentesque id.
end{enumerate}
spacing enumerate indentation
New contributor
I would like to manually insert an indentation on some lines inside an enumerate environment but not others. I am using the enumerate environment to number examples, but then inserting line breaks using \
. I would like to indent some of the paragraphs in examples like the following (but not all of them), so am trying to insert a space manually.
begin{enumerate}[align=left,label={(arabic*)},resume]
item Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\
Rhoncus urna neque viverra justo nec ultrices dui. Lobortis elementum nibh tellus molestie nunc non.\
Eget duis at tellus at urna condimentum mattis pellentesque id.
end{enumerate}
However, indent
and hspace{parindent}
are not working. What can I do to fix this?
EDIT:
The problem appears to go deeper than not being able to insert a parindent
. I can't seem to insert any amount of hspace
at the beginning of a line in the enumerate
environment. Not even the following code produces the expected result:
begin{enumerate}[align=left,label={(arabic*)},resume]
item Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\
hspace{2em}Rhoncus urna neque viverra justo nec ultrices dui. Lobortis elementum nibh tellus molestie nunc non.\
Eget duis at tellus at urna condimentum mattis pellentesque id.
end{enumerate}
spacing enumerate indentation
spacing enumerate indentation
New contributor
New contributor
edited 1 hour ago
Catahecassa
New contributor
asked 2 hours ago
CatahecassaCatahecassa
133
133
New contributor
New contributor
Welcome! Let me rephrase your question. Do you want to indent some of the paragraphs insideenumerate
and not all of them?
– Majid Abdolshah
2 hours ago
Yes. So I'm trying to manually insert an indentation, but I can't find a working solution.
– Catahecassa
2 hours ago
Did you saw my answer here: tex.stackexchange.com/a/481819/16550 ? Possible duplicate?
– Kurt
2 hours ago
@Kurt I think OP asks for indentation for some of the paragraphs in the list environment and not all of them.
– Majid Abdolshah
2 hours ago
Yes, I only want some paragraphs indented, not all of them. Judging by the question Kurt linked to, it seems that the problem might be that the enumerate environment setsparindent
to zero. I've tried working around this by definingnewlength{myenumindent}
andsetlength{myenumindent}{parindent}
, and then usinghspace{myenumindent}
where I want an indentation, but that doesn't seem to solve the problem either.
– Catahecassa
2 hours ago
add a comment |
Welcome! Let me rephrase your question. Do you want to indent some of the paragraphs insideenumerate
and not all of them?
– Majid Abdolshah
2 hours ago
Yes. So I'm trying to manually insert an indentation, but I can't find a working solution.
– Catahecassa
2 hours ago
Did you saw my answer here: tex.stackexchange.com/a/481819/16550 ? Possible duplicate?
– Kurt
2 hours ago
@Kurt I think OP asks for indentation for some of the paragraphs in the list environment and not all of them.
– Majid Abdolshah
2 hours ago
Yes, I only want some paragraphs indented, not all of them. Judging by the question Kurt linked to, it seems that the problem might be that the enumerate environment setsparindent
to zero. I've tried working around this by definingnewlength{myenumindent}
andsetlength{myenumindent}{parindent}
, and then usinghspace{myenumindent}
where I want an indentation, but that doesn't seem to solve the problem either.
– Catahecassa
2 hours ago
Welcome! Let me rephrase your question. Do you want to indent some of the paragraphs inside
enumerate
and not all of them?– Majid Abdolshah
2 hours ago
Welcome! Let me rephrase your question. Do you want to indent some of the paragraphs inside
enumerate
and not all of them?– Majid Abdolshah
2 hours ago
Yes. So I'm trying to manually insert an indentation, but I can't find a working solution.
– Catahecassa
2 hours ago
Yes. So I'm trying to manually insert an indentation, but I can't find a working solution.
– Catahecassa
2 hours ago
Did you saw my answer here: tex.stackexchange.com/a/481819/16550 ? Possible duplicate?
– Kurt
2 hours ago
Did you saw my answer here: tex.stackexchange.com/a/481819/16550 ? Possible duplicate?
– Kurt
2 hours ago
@Kurt I think OP asks for indentation for some of the paragraphs in the list environment and not all of them.
– Majid Abdolshah
2 hours ago
@Kurt I think OP asks for indentation for some of the paragraphs in the list environment and not all of them.
– Majid Abdolshah
2 hours ago
Yes, I only want some paragraphs indented, not all of them. Judging by the question Kurt linked to, it seems that the problem might be that the enumerate environment sets
parindent
to zero. I've tried working around this by defining newlength{myenumindent}
and setlength{myenumindent}{parindent}
, and then using hspace{myenumindent}
where I want an indentation, but that doesn't seem to solve the problem either.– Catahecassa
2 hours ago
Yes, I only want some paragraphs indented, not all of them. Judging by the question Kurt linked to, it seems that the problem might be that the enumerate environment sets
parindent
to zero. I've tried working around this by defining newlength{myenumindent}
and setlength{myenumindent}{parindent}
, and then using hspace{myenumindent}
where I want an indentation, but that doesn't seem to solve the problem either.– Catahecassa
2 hours ago
add a comment |
2 Answers
2
active
oldest
votes
You can define a new length newlength{enumerateparindent}
, then you can store the value of parindent
in it with setlength{enumerateparindent}{parindent}
outside of a list, because inside a list parindent
is set to zero. Therefore indent
is not working.
Now you can reuse it with your new length:
documentclass{article}
usepackage{blindtext}
usepackage{enumitem} % <===============================================
setlist[enumerate]{parsep=0pt}
newlength{enumerateparindent} % <=====================================
begin{document}
setlength{enumerateparindent}{parindent} % <=========================
blindtext
begin{enumerate}
setlength{parindent}{enumerateparindent} % <=========================
item%
blindtext
blindtext
end{enumerate}
Version 2:
begin{enumerate}[align=left,label={(arabic*)},resume]
item Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
hspace{enumerateparindent}Rhoncus urna neque viverra justo nec ultrices dui. Lobortis elementum nibh tellus molestie nunc non.
Eget duis at tellus at urna condimentum mattis pellentesque id.
end{enumerate}
end{document}
In version 1 I showed the possibility to indent all new paragraphs. In version 2 I showed you how to indent only a special one.
Please see that you should not use \
outside a table. Also in enumerate
use a blank line instead \
!
The result is:
Because you already use enumitem
you can use a third version:
Version 3:
begin{enumerate}[listparindent=enumerateparindent] % <================
item%
blindtext
blindtext
end{enumerate}
Here listparindent
is set to enumerateparindent
. listparindent
is taht value used for the indent with enumitem
. Same result as my version 1.
The advantage with enumerateparindent
is that you always use the same length parindent
has ...
Thank you! The main problem appears to have been the use of `` to insert a line break. Your suggestion gives the result that I need.
– Catahecassa
1 hour ago
@Catahecassa You are welcome!
– Kurt
1 hour ago
add a comment |
I think you can play around with enumitem
. The first enumerate
lets no indentation for paragraphs. Whereas the next two modify the indentations for paragraphs. Remember you can link up enumerate
environments with [resume]
.
documentclass{article}
usepackage{lipsum}
usepackage{enumitem}
setlist[enumerate]{parsep=0pt}
begin{document}
begin{enumerate}
item
lipsum[66]
lipsum[66]
end{enumerate}
begin{enumerate}[resume,listparindent=1.5em]
item
lipsum[66]
lipsum[66]
end{enumerate}
begin{enumerate}[resume,listparindent=1.5em, labelsep=2em, itemindent=1.5em]
item
lipsum[66]
lipsum[66]
end{enumerate}
end{document}
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
});
}
});
Catahecassa is a new contributor. Be nice, and check out our Code of Conduct.
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%2f482022%2fhow-can-i-manually-indent-a-paragraph-inside-an-enumerate-environment%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
You can define a new length newlength{enumerateparindent}
, then you can store the value of parindent
in it with setlength{enumerateparindent}{parindent}
outside of a list, because inside a list parindent
is set to zero. Therefore indent
is not working.
Now you can reuse it with your new length:
documentclass{article}
usepackage{blindtext}
usepackage{enumitem} % <===============================================
setlist[enumerate]{parsep=0pt}
newlength{enumerateparindent} % <=====================================
begin{document}
setlength{enumerateparindent}{parindent} % <=========================
blindtext
begin{enumerate}
setlength{parindent}{enumerateparindent} % <=========================
item%
blindtext
blindtext
end{enumerate}
Version 2:
begin{enumerate}[align=left,label={(arabic*)},resume]
item Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
hspace{enumerateparindent}Rhoncus urna neque viverra justo nec ultrices dui. Lobortis elementum nibh tellus molestie nunc non.
Eget duis at tellus at urna condimentum mattis pellentesque id.
end{enumerate}
end{document}
In version 1 I showed the possibility to indent all new paragraphs. In version 2 I showed you how to indent only a special one.
Please see that you should not use \
outside a table. Also in enumerate
use a blank line instead \
!
The result is:
Because you already use enumitem
you can use a third version:
Version 3:
begin{enumerate}[listparindent=enumerateparindent] % <================
item%
blindtext
blindtext
end{enumerate}
Here listparindent
is set to enumerateparindent
. listparindent
is taht value used for the indent with enumitem
. Same result as my version 1.
The advantage with enumerateparindent
is that you always use the same length parindent
has ...
Thank you! The main problem appears to have been the use of `` to insert a line break. Your suggestion gives the result that I need.
– Catahecassa
1 hour ago
@Catahecassa You are welcome!
– Kurt
1 hour ago
add a comment |
You can define a new length newlength{enumerateparindent}
, then you can store the value of parindent
in it with setlength{enumerateparindent}{parindent}
outside of a list, because inside a list parindent
is set to zero. Therefore indent
is not working.
Now you can reuse it with your new length:
documentclass{article}
usepackage{blindtext}
usepackage{enumitem} % <===============================================
setlist[enumerate]{parsep=0pt}
newlength{enumerateparindent} % <=====================================
begin{document}
setlength{enumerateparindent}{parindent} % <=========================
blindtext
begin{enumerate}
setlength{parindent}{enumerateparindent} % <=========================
item%
blindtext
blindtext
end{enumerate}
Version 2:
begin{enumerate}[align=left,label={(arabic*)},resume]
item Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
hspace{enumerateparindent}Rhoncus urna neque viverra justo nec ultrices dui. Lobortis elementum nibh tellus molestie nunc non.
Eget duis at tellus at urna condimentum mattis pellentesque id.
end{enumerate}
end{document}
In version 1 I showed the possibility to indent all new paragraphs. In version 2 I showed you how to indent only a special one.
Please see that you should not use \
outside a table. Also in enumerate
use a blank line instead \
!
The result is:
Because you already use enumitem
you can use a third version:
Version 3:
begin{enumerate}[listparindent=enumerateparindent] % <================
item%
blindtext
blindtext
end{enumerate}
Here listparindent
is set to enumerateparindent
. listparindent
is taht value used for the indent with enumitem
. Same result as my version 1.
The advantage with enumerateparindent
is that you always use the same length parindent
has ...
Thank you! The main problem appears to have been the use of `` to insert a line break. Your suggestion gives the result that I need.
– Catahecassa
1 hour ago
@Catahecassa You are welcome!
– Kurt
1 hour ago
add a comment |
You can define a new length newlength{enumerateparindent}
, then you can store the value of parindent
in it with setlength{enumerateparindent}{parindent}
outside of a list, because inside a list parindent
is set to zero. Therefore indent
is not working.
Now you can reuse it with your new length:
documentclass{article}
usepackage{blindtext}
usepackage{enumitem} % <===============================================
setlist[enumerate]{parsep=0pt}
newlength{enumerateparindent} % <=====================================
begin{document}
setlength{enumerateparindent}{parindent} % <=========================
blindtext
begin{enumerate}
setlength{parindent}{enumerateparindent} % <=========================
item%
blindtext
blindtext
end{enumerate}
Version 2:
begin{enumerate}[align=left,label={(arabic*)},resume]
item Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
hspace{enumerateparindent}Rhoncus urna neque viverra justo nec ultrices dui. Lobortis elementum nibh tellus molestie nunc non.
Eget duis at tellus at urna condimentum mattis pellentesque id.
end{enumerate}
end{document}
In version 1 I showed the possibility to indent all new paragraphs. In version 2 I showed you how to indent only a special one.
Please see that you should not use \
outside a table. Also in enumerate
use a blank line instead \
!
The result is:
Because you already use enumitem
you can use a third version:
Version 3:
begin{enumerate}[listparindent=enumerateparindent] % <================
item%
blindtext
blindtext
end{enumerate}
Here listparindent
is set to enumerateparindent
. listparindent
is taht value used for the indent with enumitem
. Same result as my version 1.
The advantage with enumerateparindent
is that you always use the same length parindent
has ...
You can define a new length newlength{enumerateparindent}
, then you can store the value of parindent
in it with setlength{enumerateparindent}{parindent}
outside of a list, because inside a list parindent
is set to zero. Therefore indent
is not working.
Now you can reuse it with your new length:
documentclass{article}
usepackage{blindtext}
usepackage{enumitem} % <===============================================
setlist[enumerate]{parsep=0pt}
newlength{enumerateparindent} % <=====================================
begin{document}
setlength{enumerateparindent}{parindent} % <=========================
blindtext
begin{enumerate}
setlength{parindent}{enumerateparindent} % <=========================
item%
blindtext
blindtext
end{enumerate}
Version 2:
begin{enumerate}[align=left,label={(arabic*)},resume]
item Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
hspace{enumerateparindent}Rhoncus urna neque viverra justo nec ultrices dui. Lobortis elementum nibh tellus molestie nunc non.
Eget duis at tellus at urna condimentum mattis pellentesque id.
end{enumerate}
end{document}
In version 1 I showed the possibility to indent all new paragraphs. In version 2 I showed you how to indent only a special one.
Please see that you should not use \
outside a table. Also in enumerate
use a blank line instead \
!
The result is:
Because you already use enumitem
you can use a third version:
Version 3:
begin{enumerate}[listparindent=enumerateparindent] % <================
item%
blindtext
blindtext
end{enumerate}
Here listparindent
is set to enumerateparindent
. listparindent
is taht value used for the indent with enumitem
. Same result as my version 1.
The advantage with enumerateparindent
is that you always use the same length parindent
has ...
answered 1 hour ago
KurtKurt
40.1k850164
40.1k850164
Thank you! The main problem appears to have been the use of `` to insert a line break. Your suggestion gives the result that I need.
– Catahecassa
1 hour ago
@Catahecassa You are welcome!
– Kurt
1 hour ago
add a comment |
Thank you! The main problem appears to have been the use of `` to insert a line break. Your suggestion gives the result that I need.
– Catahecassa
1 hour ago
@Catahecassa You are welcome!
– Kurt
1 hour ago
Thank you! The main problem appears to have been the use of `` to insert a line break. Your suggestion gives the result that I need.
– Catahecassa
1 hour ago
Thank you! The main problem appears to have been the use of `` to insert a line break. Your suggestion gives the result that I need.
– Catahecassa
1 hour ago
@Catahecassa You are welcome!
– Kurt
1 hour ago
@Catahecassa You are welcome!
– Kurt
1 hour ago
add a comment |
I think you can play around with enumitem
. The first enumerate
lets no indentation for paragraphs. Whereas the next two modify the indentations for paragraphs. Remember you can link up enumerate
environments with [resume]
.
documentclass{article}
usepackage{lipsum}
usepackage{enumitem}
setlist[enumerate]{parsep=0pt}
begin{document}
begin{enumerate}
item
lipsum[66]
lipsum[66]
end{enumerate}
begin{enumerate}[resume,listparindent=1.5em]
item
lipsum[66]
lipsum[66]
end{enumerate}
begin{enumerate}[resume,listparindent=1.5em, labelsep=2em, itemindent=1.5em]
item
lipsum[66]
lipsum[66]
end{enumerate}
end{document}
add a comment |
I think you can play around with enumitem
. The first enumerate
lets no indentation for paragraphs. Whereas the next two modify the indentations for paragraphs. Remember you can link up enumerate
environments with [resume]
.
documentclass{article}
usepackage{lipsum}
usepackage{enumitem}
setlist[enumerate]{parsep=0pt}
begin{document}
begin{enumerate}
item
lipsum[66]
lipsum[66]
end{enumerate}
begin{enumerate}[resume,listparindent=1.5em]
item
lipsum[66]
lipsum[66]
end{enumerate}
begin{enumerate}[resume,listparindent=1.5em, labelsep=2em, itemindent=1.5em]
item
lipsum[66]
lipsum[66]
end{enumerate}
end{document}
add a comment |
I think you can play around with enumitem
. The first enumerate
lets no indentation for paragraphs. Whereas the next two modify the indentations for paragraphs. Remember you can link up enumerate
environments with [resume]
.
documentclass{article}
usepackage{lipsum}
usepackage{enumitem}
setlist[enumerate]{parsep=0pt}
begin{document}
begin{enumerate}
item
lipsum[66]
lipsum[66]
end{enumerate}
begin{enumerate}[resume,listparindent=1.5em]
item
lipsum[66]
lipsum[66]
end{enumerate}
begin{enumerate}[resume,listparindent=1.5em, labelsep=2em, itemindent=1.5em]
item
lipsum[66]
lipsum[66]
end{enumerate}
end{document}
I think you can play around with enumitem
. The first enumerate
lets no indentation for paragraphs. Whereas the next two modify the indentations for paragraphs. Remember you can link up enumerate
environments with [resume]
.
documentclass{article}
usepackage{lipsum}
usepackage{enumitem}
setlist[enumerate]{parsep=0pt}
begin{document}
begin{enumerate}
item
lipsum[66]
lipsum[66]
end{enumerate}
begin{enumerate}[resume,listparindent=1.5em]
item
lipsum[66]
lipsum[66]
end{enumerate}
begin{enumerate}[resume,listparindent=1.5em, labelsep=2em, itemindent=1.5em]
item
lipsum[66]
lipsum[66]
end{enumerate}
end{document}
edited 1 hour ago
answered 2 hours ago
Majid AbdolshahMajid Abdolshah
68328
68328
add a comment |
add a comment |
Catahecassa is a new contributor. Be nice, and check out our Code of Conduct.
Catahecassa is a new contributor. Be nice, and check out our Code of Conduct.
Catahecassa is a new contributor. Be nice, and check out our Code of Conduct.
Catahecassa is a new contributor. Be nice, and check out our Code of Conduct.
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%2f482022%2fhow-can-i-manually-indent-a-paragraph-inside-an-enumerate-environment%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
Welcome! Let me rephrase your question. Do you want to indent some of the paragraphs inside
enumerate
and not all of them?– Majid Abdolshah
2 hours ago
Yes. So I'm trying to manually insert an indentation, but I can't find a working solution.
– Catahecassa
2 hours ago
Did you saw my answer here: tex.stackexchange.com/a/481819/16550 ? Possible duplicate?
– Kurt
2 hours ago
@Kurt I think OP asks for indentation for some of the paragraphs in the list environment and not all of them.
– Majid Abdolshah
2 hours ago
Yes, I only want some paragraphs indented, not all of them. Judging by the question Kurt linked to, it seems that the problem might be that the enumerate environment sets
parindent
to zero. I've tried working around this by definingnewlength{myenumindent}
andsetlength{myenumindent}{parindent}
, and then usinghspace{myenumindent}
where I want an indentation, but that doesn't seem to solve the problem either.– Catahecassa
2 hours ago