How to make a enumerate list with no indent and no left margin like this?Enumerate and itemize undefined +...

Where is the fallacy here?

Is every open circuit a capacitor?

How do you say “my friend is throwing a party, do you wanna come?” in german

Would the melodic leap of the opening phrase of Mozart's K545 be considered dissonant?

Where is this quote about overcoming the impossible said in "Interstellar"?

How to get the first element while continue streaming?

What can I do if someone tampers with my SSH public key?

How to kill a localhost:8080

The need of reserving one's ability in job interviews

GPL code private and stolen

Should we avoid writing fiction about historical events without extensive research?

Are all UTXOs locked by an address spent in a transaction?

Why is my Contribution Detail Report (native CiviCRM Core report) not accurate?

Why do phishing e-mails use faked e-mail addresses instead of the real one?

Deal the cards to the players

When was drinking water recognized as crucial in marathon running?

How can I handle a player who pre-plans arguments about my rulings on RAW?

Canadian citizen, on US no-fly list. What can I do in order to be allowed on flights which go through US airspace?

function only contains jump discontinuity but is not piecewise continuous

Book about a time-travel war fought by computers

Rationale to prefer local variables over instance variables?

How can I highlight parts in a screenshot

School performs periodic password audits. Is my password compromised?

Has Wakanda ever accepted refugees?



How to make a enumerate list with no indent and no left margin like this?


Enumerate and itemize undefined + captions not workingenumerate ignores right margin in items with long wordsHow to make enumerate indent like descriptionProblem with enumerate and the order of imagesNo new line for theorem in enumerateHow to surround item of list label text with customized symbols?Overleaf Compile Error but works fine on ShareLatexTwo enumerate commands, one counter (this is not just “resuming a list”)Numbering and text alignment with enumerateI want to change the distance between my label and the text in enumerate













4















I thank so much if anybody makes a enumerate list like this:



Problem 1. Text text text text .................... text text text text text text text text text text text text text text text text.



Problem 2. Text text text text .................... text text text text text text text text texttext text text text text text text .



Problem 3.



a) Text text text text .................... text text text text text text text text text text text text text text text text.



b) Text text text text .................... text text text text text text text text texttext text text text text text text .



Here are the codes:



documentclass[12pt,a4paper]{article}
usepackage{blindtext}
begin{document}
noindent I want to make a enumerate list like this:\
textbf{Problem 1.} blindtext. \
textbf{Problem 2.} blindtext. \
textbf{Problem 3.} \
a) blindtext.\
b) blindtext.\
end{document}









share|improve this question




















  • 1





    See the enumitem package and its wide option

    – daleif
    May 21 '16 at 13:43











  • To Daleif: I don't understand because I didn't see examples in that package document.

    – Exdata
    May 21 '16 at 14:31













  • Please do not edit your question to include an answer. If you want to answer your own question, you may. This only makes sense if your answer is different from those already provided by others, of course.

    – cfr
    May 22 '16 at 3:17
















4















I thank so much if anybody makes a enumerate list like this:



Problem 1. Text text text text .................... text text text text text text text text text text text text text text text text.



Problem 2. Text text text text .................... text text text text text text text text texttext text text text text text text .



Problem 3.



a) Text text text text .................... text text text text text text text text text text text text text text text text.



b) Text text text text .................... text text text text text text text text texttext text text text text text text .



Here are the codes:



documentclass[12pt,a4paper]{article}
usepackage{blindtext}
begin{document}
noindent I want to make a enumerate list like this:\
textbf{Problem 1.} blindtext. \
textbf{Problem 2.} blindtext. \
textbf{Problem 3.} \
a) blindtext.\
b) blindtext.\
end{document}









share|improve this question




















  • 1





    See the enumitem package and its wide option

    – daleif
    May 21 '16 at 13:43











  • To Daleif: I don't understand because I didn't see examples in that package document.

    – Exdata
    May 21 '16 at 14:31













  • Please do not edit your question to include an answer. If you want to answer your own question, you may. This only makes sense if your answer is different from those already provided by others, of course.

    – cfr
    May 22 '16 at 3:17














4












4








4








I thank so much if anybody makes a enumerate list like this:



Problem 1. Text text text text .................... text text text text text text text text text text text text text text text text.



Problem 2. Text text text text .................... text text text text text text text text texttext text text text text text text .



Problem 3.



a) Text text text text .................... text text text text text text text text text text text text text text text text.



b) Text text text text .................... text text text text text text text text texttext text text text text text text .



Here are the codes:



documentclass[12pt,a4paper]{article}
usepackage{blindtext}
begin{document}
noindent I want to make a enumerate list like this:\
textbf{Problem 1.} blindtext. \
textbf{Problem 2.} blindtext. \
textbf{Problem 3.} \
a) blindtext.\
b) blindtext.\
end{document}









share|improve this question
















I thank so much if anybody makes a enumerate list like this:



Problem 1. Text text text text .................... text text text text text text text text text text text text text text text text.



Problem 2. Text text text text .................... text text text text text text text text texttext text text text text text text .



Problem 3.



a) Text text text text .................... text text text text text text text text text text text text text text text text.



b) Text text text text .................... text text text text text text text text texttext text text text text text text .



Here are the codes:



documentclass[12pt,a4paper]{article}
usepackage{blindtext}
begin{document}
noindent I want to make a enumerate list like this:\
textbf{Problem 1.} blindtext. \
textbf{Problem 2.} blindtext. \
textbf{Problem 3.} \
a) blindtext.\
b) blindtext.\
end{document}






enumerate






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited May 27 '16 at 11:26









Joseph Wright

204k23560889




204k23560889










asked May 21 '16 at 13:40









ExdataExdata

404




404








  • 1





    See the enumitem package and its wide option

    – daleif
    May 21 '16 at 13:43











  • To Daleif: I don't understand because I didn't see examples in that package document.

    – Exdata
    May 21 '16 at 14:31













  • Please do not edit your question to include an answer. If you want to answer your own question, you may. This only makes sense if your answer is different from those already provided by others, of course.

    – cfr
    May 22 '16 at 3:17














  • 1





    See the enumitem package and its wide option

    – daleif
    May 21 '16 at 13:43











  • To Daleif: I don't understand because I didn't see examples in that package document.

    – Exdata
    May 21 '16 at 14:31













  • Please do not edit your question to include an answer. If you want to answer your own question, you may. This only makes sense if your answer is different from those already provided by others, of course.

    – cfr
    May 22 '16 at 3:17








1




1





See the enumitem package and its wide option

– daleif
May 21 '16 at 13:43





See the enumitem package and its wide option

– daleif
May 21 '16 at 13:43













To Daleif: I don't understand because I didn't see examples in that package document.

– Exdata
May 21 '16 at 14:31







To Daleif: I don't understand because I didn't see examples in that package document.

– Exdata
May 21 '16 at 14:31















Please do not edit your question to include an answer. If you want to answer your own question, you may. This only makes sense if your answer is different from those already provided by others, of course.

– cfr
May 22 '16 at 3:17





Please do not edit your question to include an answer. If you want to answer your own question, you may. This only makes sense if your answer is different from those already provided by others, of course.

– cfr
May 22 '16 at 3:17










2 Answers
2






active

oldest

votes


















5














Here is a way with enumitem: I define a problems (level 1+2) list environment and a questions environment, which is to be used semantically as problems, level 2(but technically, nothing prevents you to use it at the first level). Similarly, I defined two clones of item, pb and qu.



documentclass[12pt, a4paper]{article}
usepackage[utf8]{inputenc}
usepackage[T1]{fontenc}
usepackage{lmodern}

usepackage[showframe]{geometry}
usepackage{blindtext}

usepackage{enumitem}
newlist{problems}{enumerate}{2}
setlist[problems, 1]{label=Problem~arabic*. , font=bfseries, wide=0pt}%
setlist[problems, 2]{label=emph{alph*}), wide=0pt, before=leavevmode, topsep=0pt}%
newenvironment{questions}{problems}{endproblems}
letpbitem
letquitem

begin{document}

Text text text text text text text text text text text text text text text text text text text text text text text text text text text text.
begin{problems}
pb blindtext
pb blindtext
item
begin{questions}
qu blindtext
qu blindtext
end{questions}
end{problems}

end{document}


enter image description here






share|improve this answer


























  • Nice :) does cross referencing work out of the box?

    – cmhughes
    May 21 '16 at 15:26











  • It seems it works fine for the first level only. I'll try to see what happens for ‘questions’.

    – Bernard
    May 21 '16 at 15:43



















3














As mentioned before, you can use the enumitem package.



Using the enumitem package, you may specify options to the begin{enumerate} macro. In the newer versions, you may specify a wide option. In the old versions you must specify multiple options to reduce the margins. You may specify the label using the label option. The following is an example based on your question:



documentclass[12pt,a4paper]{article}
usepackage{blindtext}
usepackage{enumitem}
begin{document}

begin{enumerate}[
label={bf Problem arabic*.}
align=left, leftmargin=0pt,
labelindent=0pt,listparindent=0pt, labelwidth=8em, itemindent=!]

item blindtext.
item blindtext.

end{enumerate}

end{document}


The third item in your question may introduce other two problems: (1) How to create an empy item and (2) how to introduce an inner list without additional space.



Fisrt, if you need an item with a blank line, trying to include only \ will result an error. According to LaTeX, there is no line to end. You can use ~\ to include a blank space and then a new line.



Second, when you introduce an inner list, LaTeX may introduce additional space between the items. You can use vspace{} with a negative value to reduce the space. vspace{-topsep} reduces the space by the length of the top separation. vspace{-2topsep} reduces the double.



documentclass[12pt,a4paper]{article}
usepackage{blindtext}
usepackage{enumitem}

begin{document}

noindent I want to make a enumerate list like this:\

begin{enumerate}[
label={bf Problem arabic*.},
align=left, leftmargin=0pt, labelindent=0pt,listparindent=0pt, labelwidth=6em, itemindent=!]

item blindtext
item blindtext

% a blank item
item ~\

% an inner list
vspace{-2topsep}
begin{enumerate}[
label=alph*),
align=left, leftmargin=0pt, labelindent=0pt,listparindent=0pt, labelwidth=0pt, itemindent=!]

item blindtext
item blindtext
end{enumerate}

end{enumerate}
end{document}





share|improve this answer


























  • Manually specifying the problem number should probably be avoided :)

    – cmhughes
    May 21 '16 at 16:13











  • @cmhughes Yes. You are right. I did the change in the answer to configure the label.

    – Jaime
    May 21 '16 at 17:03











  • @Jaime. Thank you. But how about "Problem 3." ? After this label name, there is a blank until line ends. At the beginning of the next line I need a level 2 as shown in my text.

    – Exdata
    May 21 '16 at 23:23











  • @Exdata, I included an additional example for the "Problem 3".

    – Jaime
    May 22 '16 at 1:05











  • @Jaime Thank you very much for your help. Your answer is good. Can you tell me how you resolve this problem ? Examine this enumerate package ? For me this documentation is hard to understand.

    – Exdata
    May 22 '16 at 3:10











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
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f310789%2fhow-to-make-a-enumerate-list-with-no-indent-and-no-left-margin-like-this%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









5














Here is a way with enumitem: I define a problems (level 1+2) list environment and a questions environment, which is to be used semantically as problems, level 2(but technically, nothing prevents you to use it at the first level). Similarly, I defined two clones of item, pb and qu.



documentclass[12pt, a4paper]{article}
usepackage[utf8]{inputenc}
usepackage[T1]{fontenc}
usepackage{lmodern}

usepackage[showframe]{geometry}
usepackage{blindtext}

usepackage{enumitem}
newlist{problems}{enumerate}{2}
setlist[problems, 1]{label=Problem~arabic*. , font=bfseries, wide=0pt}%
setlist[problems, 2]{label=emph{alph*}), wide=0pt, before=leavevmode, topsep=0pt}%
newenvironment{questions}{problems}{endproblems}
letpbitem
letquitem

begin{document}

Text text text text text text text text text text text text text text text text text text text text text text text text text text text text.
begin{problems}
pb blindtext
pb blindtext
item
begin{questions}
qu blindtext
qu blindtext
end{questions}
end{problems}

end{document}


enter image description here






share|improve this answer


























  • Nice :) does cross referencing work out of the box?

    – cmhughes
    May 21 '16 at 15:26











  • It seems it works fine for the first level only. I'll try to see what happens for ‘questions’.

    – Bernard
    May 21 '16 at 15:43
















5














Here is a way with enumitem: I define a problems (level 1+2) list environment and a questions environment, which is to be used semantically as problems, level 2(but technically, nothing prevents you to use it at the first level). Similarly, I defined two clones of item, pb and qu.



documentclass[12pt, a4paper]{article}
usepackage[utf8]{inputenc}
usepackage[T1]{fontenc}
usepackage{lmodern}

usepackage[showframe]{geometry}
usepackage{blindtext}

usepackage{enumitem}
newlist{problems}{enumerate}{2}
setlist[problems, 1]{label=Problem~arabic*. , font=bfseries, wide=0pt}%
setlist[problems, 2]{label=emph{alph*}), wide=0pt, before=leavevmode, topsep=0pt}%
newenvironment{questions}{problems}{endproblems}
letpbitem
letquitem

begin{document}

Text text text text text text text text text text text text text text text text text text text text text text text text text text text text.
begin{problems}
pb blindtext
pb blindtext
item
begin{questions}
qu blindtext
qu blindtext
end{questions}
end{problems}

end{document}


enter image description here






share|improve this answer


























  • Nice :) does cross referencing work out of the box?

    – cmhughes
    May 21 '16 at 15:26











  • It seems it works fine for the first level only. I'll try to see what happens for ‘questions’.

    – Bernard
    May 21 '16 at 15:43














5












5








5







Here is a way with enumitem: I define a problems (level 1+2) list environment and a questions environment, which is to be used semantically as problems, level 2(but technically, nothing prevents you to use it at the first level). Similarly, I defined two clones of item, pb and qu.



documentclass[12pt, a4paper]{article}
usepackage[utf8]{inputenc}
usepackage[T1]{fontenc}
usepackage{lmodern}

usepackage[showframe]{geometry}
usepackage{blindtext}

usepackage{enumitem}
newlist{problems}{enumerate}{2}
setlist[problems, 1]{label=Problem~arabic*. , font=bfseries, wide=0pt}%
setlist[problems, 2]{label=emph{alph*}), wide=0pt, before=leavevmode, topsep=0pt}%
newenvironment{questions}{problems}{endproblems}
letpbitem
letquitem

begin{document}

Text text text text text text text text text text text text text text text text text text text text text text text text text text text text.
begin{problems}
pb blindtext
pb blindtext
item
begin{questions}
qu blindtext
qu blindtext
end{questions}
end{problems}

end{document}


enter image description here






share|improve this answer















Here is a way with enumitem: I define a problems (level 1+2) list environment and a questions environment, which is to be used semantically as problems, level 2(but technically, nothing prevents you to use it at the first level). Similarly, I defined two clones of item, pb and qu.



documentclass[12pt, a4paper]{article}
usepackage[utf8]{inputenc}
usepackage[T1]{fontenc}
usepackage{lmodern}

usepackage[showframe]{geometry}
usepackage{blindtext}

usepackage{enumitem}
newlist{problems}{enumerate}{2}
setlist[problems, 1]{label=Problem~arabic*. , font=bfseries, wide=0pt}%
setlist[problems, 2]{label=emph{alph*}), wide=0pt, before=leavevmode, topsep=0pt}%
newenvironment{questions}{problems}{endproblems}
letpbitem
letquitem

begin{document}

Text text text text text text text text text text text text text text text text text text text text text text text text text text text text.
begin{problems}
pb blindtext
pb blindtext
item
begin{questions}
qu blindtext
qu blindtext
end{questions}
end{problems}

end{document}


enter image description here







share|improve this answer














share|improve this answer



share|improve this answer








edited yesterday

























answered May 21 '16 at 14:34









BernardBernard

172k776204




172k776204













  • Nice :) does cross referencing work out of the box?

    – cmhughes
    May 21 '16 at 15:26











  • It seems it works fine for the first level only. I'll try to see what happens for ‘questions’.

    – Bernard
    May 21 '16 at 15:43



















  • Nice :) does cross referencing work out of the box?

    – cmhughes
    May 21 '16 at 15:26











  • It seems it works fine for the first level only. I'll try to see what happens for ‘questions’.

    – Bernard
    May 21 '16 at 15:43

















Nice :) does cross referencing work out of the box?

– cmhughes
May 21 '16 at 15:26





Nice :) does cross referencing work out of the box?

– cmhughes
May 21 '16 at 15:26













It seems it works fine for the first level only. I'll try to see what happens for ‘questions’.

– Bernard
May 21 '16 at 15:43





It seems it works fine for the first level only. I'll try to see what happens for ‘questions’.

– Bernard
May 21 '16 at 15:43











3














As mentioned before, you can use the enumitem package.



Using the enumitem package, you may specify options to the begin{enumerate} macro. In the newer versions, you may specify a wide option. In the old versions you must specify multiple options to reduce the margins. You may specify the label using the label option. The following is an example based on your question:



documentclass[12pt,a4paper]{article}
usepackage{blindtext}
usepackage{enumitem}
begin{document}

begin{enumerate}[
label={bf Problem arabic*.}
align=left, leftmargin=0pt,
labelindent=0pt,listparindent=0pt, labelwidth=8em, itemindent=!]

item blindtext.
item blindtext.

end{enumerate}

end{document}


The third item in your question may introduce other two problems: (1) How to create an empy item and (2) how to introduce an inner list without additional space.



Fisrt, if you need an item with a blank line, trying to include only \ will result an error. According to LaTeX, there is no line to end. You can use ~\ to include a blank space and then a new line.



Second, when you introduce an inner list, LaTeX may introduce additional space between the items. You can use vspace{} with a negative value to reduce the space. vspace{-topsep} reduces the space by the length of the top separation. vspace{-2topsep} reduces the double.



documentclass[12pt,a4paper]{article}
usepackage{blindtext}
usepackage{enumitem}

begin{document}

noindent I want to make a enumerate list like this:\

begin{enumerate}[
label={bf Problem arabic*.},
align=left, leftmargin=0pt, labelindent=0pt,listparindent=0pt, labelwidth=6em, itemindent=!]

item blindtext
item blindtext

% a blank item
item ~\

% an inner list
vspace{-2topsep}
begin{enumerate}[
label=alph*),
align=left, leftmargin=0pt, labelindent=0pt,listparindent=0pt, labelwidth=0pt, itemindent=!]

item blindtext
item blindtext
end{enumerate}

end{enumerate}
end{document}





share|improve this answer


























  • Manually specifying the problem number should probably be avoided :)

    – cmhughes
    May 21 '16 at 16:13











  • @cmhughes Yes. You are right. I did the change in the answer to configure the label.

    – Jaime
    May 21 '16 at 17:03











  • @Jaime. Thank you. But how about "Problem 3." ? After this label name, there is a blank until line ends. At the beginning of the next line I need a level 2 as shown in my text.

    – Exdata
    May 21 '16 at 23:23











  • @Exdata, I included an additional example for the "Problem 3".

    – Jaime
    May 22 '16 at 1:05











  • @Jaime Thank you very much for your help. Your answer is good. Can you tell me how you resolve this problem ? Examine this enumerate package ? For me this documentation is hard to understand.

    – Exdata
    May 22 '16 at 3:10
















3














As mentioned before, you can use the enumitem package.



Using the enumitem package, you may specify options to the begin{enumerate} macro. In the newer versions, you may specify a wide option. In the old versions you must specify multiple options to reduce the margins. You may specify the label using the label option. The following is an example based on your question:



documentclass[12pt,a4paper]{article}
usepackage{blindtext}
usepackage{enumitem}
begin{document}

begin{enumerate}[
label={bf Problem arabic*.}
align=left, leftmargin=0pt,
labelindent=0pt,listparindent=0pt, labelwidth=8em, itemindent=!]

item blindtext.
item blindtext.

end{enumerate}

end{document}


The third item in your question may introduce other two problems: (1) How to create an empy item and (2) how to introduce an inner list without additional space.



Fisrt, if you need an item with a blank line, trying to include only \ will result an error. According to LaTeX, there is no line to end. You can use ~\ to include a blank space and then a new line.



Second, when you introduce an inner list, LaTeX may introduce additional space between the items. You can use vspace{} with a negative value to reduce the space. vspace{-topsep} reduces the space by the length of the top separation. vspace{-2topsep} reduces the double.



documentclass[12pt,a4paper]{article}
usepackage{blindtext}
usepackage{enumitem}

begin{document}

noindent I want to make a enumerate list like this:\

begin{enumerate}[
label={bf Problem arabic*.},
align=left, leftmargin=0pt, labelindent=0pt,listparindent=0pt, labelwidth=6em, itemindent=!]

item blindtext
item blindtext

% a blank item
item ~\

% an inner list
vspace{-2topsep}
begin{enumerate}[
label=alph*),
align=left, leftmargin=0pt, labelindent=0pt,listparindent=0pt, labelwidth=0pt, itemindent=!]

item blindtext
item blindtext
end{enumerate}

end{enumerate}
end{document}





share|improve this answer


























  • Manually specifying the problem number should probably be avoided :)

    – cmhughes
    May 21 '16 at 16:13











  • @cmhughes Yes. You are right. I did the change in the answer to configure the label.

    – Jaime
    May 21 '16 at 17:03











  • @Jaime. Thank you. But how about "Problem 3." ? After this label name, there is a blank until line ends. At the beginning of the next line I need a level 2 as shown in my text.

    – Exdata
    May 21 '16 at 23:23











  • @Exdata, I included an additional example for the "Problem 3".

    – Jaime
    May 22 '16 at 1:05











  • @Jaime Thank you very much for your help. Your answer is good. Can you tell me how you resolve this problem ? Examine this enumerate package ? For me this documentation is hard to understand.

    – Exdata
    May 22 '16 at 3:10














3












3








3







As mentioned before, you can use the enumitem package.



Using the enumitem package, you may specify options to the begin{enumerate} macro. In the newer versions, you may specify a wide option. In the old versions you must specify multiple options to reduce the margins. You may specify the label using the label option. The following is an example based on your question:



documentclass[12pt,a4paper]{article}
usepackage{blindtext}
usepackage{enumitem}
begin{document}

begin{enumerate}[
label={bf Problem arabic*.}
align=left, leftmargin=0pt,
labelindent=0pt,listparindent=0pt, labelwidth=8em, itemindent=!]

item blindtext.
item blindtext.

end{enumerate}

end{document}


The third item in your question may introduce other two problems: (1) How to create an empy item and (2) how to introduce an inner list without additional space.



Fisrt, if you need an item with a blank line, trying to include only \ will result an error. According to LaTeX, there is no line to end. You can use ~\ to include a blank space and then a new line.



Second, when you introduce an inner list, LaTeX may introduce additional space between the items. You can use vspace{} with a negative value to reduce the space. vspace{-topsep} reduces the space by the length of the top separation. vspace{-2topsep} reduces the double.



documentclass[12pt,a4paper]{article}
usepackage{blindtext}
usepackage{enumitem}

begin{document}

noindent I want to make a enumerate list like this:\

begin{enumerate}[
label={bf Problem arabic*.},
align=left, leftmargin=0pt, labelindent=0pt,listparindent=0pt, labelwidth=6em, itemindent=!]

item blindtext
item blindtext

% a blank item
item ~\

% an inner list
vspace{-2topsep}
begin{enumerate}[
label=alph*),
align=left, leftmargin=0pt, labelindent=0pt,listparindent=0pt, labelwidth=0pt, itemindent=!]

item blindtext
item blindtext
end{enumerate}

end{enumerate}
end{document}





share|improve this answer















As mentioned before, you can use the enumitem package.



Using the enumitem package, you may specify options to the begin{enumerate} macro. In the newer versions, you may specify a wide option. In the old versions you must specify multiple options to reduce the margins. You may specify the label using the label option. The following is an example based on your question:



documentclass[12pt,a4paper]{article}
usepackage{blindtext}
usepackage{enumitem}
begin{document}

begin{enumerate}[
label={bf Problem arabic*.}
align=left, leftmargin=0pt,
labelindent=0pt,listparindent=0pt, labelwidth=8em, itemindent=!]

item blindtext.
item blindtext.

end{enumerate}

end{document}


The third item in your question may introduce other two problems: (1) How to create an empy item and (2) how to introduce an inner list without additional space.



Fisrt, if you need an item with a blank line, trying to include only \ will result an error. According to LaTeX, there is no line to end. You can use ~\ to include a blank space and then a new line.



Second, when you introduce an inner list, LaTeX may introduce additional space between the items. You can use vspace{} with a negative value to reduce the space. vspace{-topsep} reduces the space by the length of the top separation. vspace{-2topsep} reduces the double.



documentclass[12pt,a4paper]{article}
usepackage{blindtext}
usepackage{enumitem}

begin{document}

noindent I want to make a enumerate list like this:\

begin{enumerate}[
label={bf Problem arabic*.},
align=left, leftmargin=0pt, labelindent=0pt,listparindent=0pt, labelwidth=6em, itemindent=!]

item blindtext
item blindtext

% a blank item
item ~\

% an inner list
vspace{-2topsep}
begin{enumerate}[
label=alph*),
align=left, leftmargin=0pt, labelindent=0pt,listparindent=0pt, labelwidth=0pt, itemindent=!]

item blindtext
item blindtext
end{enumerate}

end{enumerate}
end{document}






share|improve this answer














share|improve this answer



share|improve this answer








edited May 22 '16 at 1:02

























answered May 21 '16 at 16:03









JaimeJaime

39636




39636













  • Manually specifying the problem number should probably be avoided :)

    – cmhughes
    May 21 '16 at 16:13











  • @cmhughes Yes. You are right. I did the change in the answer to configure the label.

    – Jaime
    May 21 '16 at 17:03











  • @Jaime. Thank you. But how about "Problem 3." ? After this label name, there is a blank until line ends. At the beginning of the next line I need a level 2 as shown in my text.

    – Exdata
    May 21 '16 at 23:23











  • @Exdata, I included an additional example for the "Problem 3".

    – Jaime
    May 22 '16 at 1:05











  • @Jaime Thank you very much for your help. Your answer is good. Can you tell me how you resolve this problem ? Examine this enumerate package ? For me this documentation is hard to understand.

    – Exdata
    May 22 '16 at 3:10



















  • Manually specifying the problem number should probably be avoided :)

    – cmhughes
    May 21 '16 at 16:13











  • @cmhughes Yes. You are right. I did the change in the answer to configure the label.

    – Jaime
    May 21 '16 at 17:03











  • @Jaime. Thank you. But how about "Problem 3." ? After this label name, there is a blank until line ends. At the beginning of the next line I need a level 2 as shown in my text.

    – Exdata
    May 21 '16 at 23:23











  • @Exdata, I included an additional example for the "Problem 3".

    – Jaime
    May 22 '16 at 1:05











  • @Jaime Thank you very much for your help. Your answer is good. Can you tell me how you resolve this problem ? Examine this enumerate package ? For me this documentation is hard to understand.

    – Exdata
    May 22 '16 at 3:10

















Manually specifying the problem number should probably be avoided :)

– cmhughes
May 21 '16 at 16:13





Manually specifying the problem number should probably be avoided :)

– cmhughes
May 21 '16 at 16:13













@cmhughes Yes. You are right. I did the change in the answer to configure the label.

– Jaime
May 21 '16 at 17:03





@cmhughes Yes. You are right. I did the change in the answer to configure the label.

– Jaime
May 21 '16 at 17:03













@Jaime. Thank you. But how about "Problem 3." ? After this label name, there is a blank until line ends. At the beginning of the next line I need a level 2 as shown in my text.

– Exdata
May 21 '16 at 23:23





@Jaime. Thank you. But how about "Problem 3." ? After this label name, there is a blank until line ends. At the beginning of the next line I need a level 2 as shown in my text.

– Exdata
May 21 '16 at 23:23













@Exdata, I included an additional example for the "Problem 3".

– Jaime
May 22 '16 at 1:05





@Exdata, I included an additional example for the "Problem 3".

– Jaime
May 22 '16 at 1:05













@Jaime Thank you very much for your help. Your answer is good. Can you tell me how you resolve this problem ? Examine this enumerate package ? For me this documentation is hard to understand.

– Exdata
May 22 '16 at 3:10





@Jaime Thank you very much for your help. Your answer is good. Can you tell me how you resolve this problem ? Examine this enumerate package ? For me this documentation is hard to understand.

– Exdata
May 22 '16 at 3:10


















draft saved

draft discarded




















































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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f310789%2fhow-to-make-a-enumerate-list-with-no-indent-and-no-left-margin-like-this%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

El tren de la libertad Índice Antecedentes "Porque yo decido" Desarrollo de la...

Castillo d'Acher Características Menú de navegación

Puerta de Hutt Referencias Enlaces externos Menú de navegación15°58′00″S 5°42′00″O /...