so in this lesson we will see how we can make lists in latex document so Latex
automatically numbers our sections and subsections but if you want to make a
list in any of the sub section or in a section or any other part of our
document then we have to use one of the few environments available to us so what
is an environment any part of a program which begins with this back slash begin
at and ends at backslash n is an environment so this document is an
environment it starts from begin document and it ends here similarly
there are three environments which we can use to make lists
so the first environment is itemize environment so we will first practice
this and then we will use other environment stands and we will see what
options we have so in order to use these list environments which are itemize and
the second is called enumerate and the third is called description so these
three environments are defined in this package enum item so enum stands for
enumerate and items transfer itemize so we put a statement of use package so
this is very simple program every way we don't have any other text just in order
to explore these three environments so we start the environment with begin
itemize then we put a backslash item means the first item in our list then we
put anything the first item in this list then again we put the backslash item and
then we put the second piece of text which we want as a second part in our
list and then the third one so if I compile this first so that you can see
how it look like and now you can see that this is our itemized list so these
are the three piece of text which we want to make a list of and itemize
environments put a dot here a bullet in front of these text lines so we have lot
of options in later to customize this behavior of this itemize environment and
we look into some of those options so how
to put any options here so we can put an option here by putting these square
brackets in front of this itemized and then we can put many options for example
if I want my items to be at a certain distance from left side so I can put
left margin equals let's say 3 inches so this could be one of my option left
margin equals 3 inches if I compile this program so now you will see that my list
has moved 3 inches from the left side of the text so let us say that we don't
want this dot and instead of this dot we want to use let's say a static or a
diamond so how can we do that so in order to do that in we put label here
put label equals and then within the dollar sign we can put any math symbol
not all but most will work like for example for aesthetic we have backslash
ast so these are mathematical symbols if you are using vennett it you can click
on this math symbol here and you can select any of these for example if you
click here or if you want a star so I am using this one at the moment this is ast
so if you you can click on this and it would insert the same insert this
letters here so similarly you can use this star so let's compile this document
and we will see that what looks like so now you can see that we have asterick
here so instead of that thing we have no static so similarly you want this star
so you can just highlight this part here this within the dollar sign and you can
click on this start and you can recompile and it will insert star
instead of this dot sign so now we have star so in this way you can change any
of these symbols which are available within this match symbols for example
you can even put this arrow or there are a lot of other arrows available here
look at here these symbols are available so this was one way to make lists
so the second environment is in immediate so instead of itemize we said
in immediate and if we compile now you see so we are using the label option
here's but we don't want this to behave like that so we remove this label option
chain and we see the default behavior of this enumerate and wire match so now you
can see that by default this environment puts one two three as numbers these are
called Arabic numbers but you can change the way these numbers for example if
instead of these you want ABC so what you do again we will use the label
option here so label equals backslash alphanumeric so alpha and then asterick
and now if I recompile this it will put ABC here so instead of Arabic numbers we
can use ABC and if for example you want Roman numbers
so instead of this alpha you can put in size of this LP as you can put Roman and
recompile it no it will put these one two three in lowercase Roman so if you
want uppercase Roman you just replace this R with a capital R and it will
replace this a lowercase Roman with the uppercase roman numeric so these are
upper case Roman numerix so in this way if you want Arabic explicitly you can by
default it is Arabic but if you want to write it to connect Philly a write like
this Arabic and it will put the and it will put these Arabic numbers but this
is by default so you do not have to write it so this was one way to make a
list know for example that we have some text here maybe to paragraph of text
and then we want to recon tin you our list we have three numbers and then we
want to recount in you from number four so what we can do we can just I'm just
copying this but you will just duplicate this here so I remove this label I want
to show you something and instead of this we put a resume so no this is our
fourth item and this is our let's say fifth item and this is our last item
last of the list so now if I compile this so now you can see that we have one
two three there then we can write maybe ten paragraph of test and then we can
continue over list from there so we are resuming the numbering from where we
left it before so this is the way you can resume a list so you just put a
resume option here after this in the second environment so this is the first
enumerate environment this is second you put a resume environment so let's say
that we have Roman style in here so if we have a Roman style so see what
happens now now you see that we have a Roman style
here but we don't have Roman style here because this is by default we haven't
given any option in the second part so what you can do it instead of putting
all these you just put a static sign here after this resume it is you resume
and you will compile it and now you will see that it will follow the same
numbering pattern which was before so in this way with this star option after the
after the resume dist asterick you can actually a continue with the same option
which you have given in this label option in the beginning so let's say
that we want something a little bit further on the right side of after this
item some text so what we can do we can put sub-item and
this is our text which is not the item so this is not our item this is just
another text which we want to put so how it looks like just compiled and you can
see that this is the text which we can put within any item so this is not an
item which is our item so it will be indented from here from this edge it
will be a little bit right side so in this way you can put any text here and
you can put any text in the meter and you can still continue making this list
so there are a lot of options which you can have when making these lists now
let's say that you want to put a box around these numberings so first I
convert this to let's say Arabic just the default option and then I want to
put a box around these numbers what I do I just put parentheses around this and
then before these parentheses I can put F box and by doing this it will put a
box it will put a box around these numbers so sometimes you want to put any
numbers like this so in this way you have lot of customization option with
this list in detect so this is the second environment which we use for
lists so these are the two main environments itemized and enumerate so
if for example you want to have a list a horizontal list you don't want this
vertical if you want a horizontal list like 1 then 2 then 3 in a single line
for this so first you can do is well you have put this command of use package you
just put some option of this package so this package has one option of inline so
this is one of the option of this package and if you put this option here
then what this package allows you I just put
is copy this so but this allows you to have an inland environment and the
Indian environment is defined by an asterick and I want I don't want this
resume here so this is defined by aesthetic here and aesthetic at the end
so when you put an aesthetic so it means this is an in-line environment and if
you compile this now you will see that now the list is a horizontal list so the
first item here the fourth item basically is the first item then the
second item and the third item so this is a horizontal list here you can
individually assign these formatting to these items so let me make another list
and this will not be horizontal list I will remove this star just copy and
paste and I remove this star and now I want all my items to be with different
type of formatting so for example for the first item I want a dash so I can
put this dash here for the second item I want an asterick
so I can put within dollar sign est for the third item I want a star so within
the dollar sign I can put star you can insert from here so now if I compile
this now as you can see all my items know are marked with a different symbol
this is - this is hysteric this is a star so if you for some reason if you
want to change this so you can individually mark these labels so these
are some of the options available and if these are the commonly we have only only
need these type of options there is no need for further fancy type of options
but if you want to learn more options you can anytime see the documentation of
this package but I think that I have covered most of
the commonly used things one thing we can also use another thing another
option in this package is short labels and if we use this option so what we can
do here is that instead of for example let let me delete these things and I
want our uniform numbers here so what this short label does is that instead of
putting these Labor's like F box and Arabic and all these so you can quickly
tell the compiler that what type of formatting you want so you can quickly
say that okay just make it like this you put a Roman letter for example and you
just say okay just number like this so if we compile this so now you see that
we we just highlighted the first number and the compiler has made the document
like that for example if you want an arrow so you select an arrow good arrow
from somewhere here so let's say you want this arrow so you just select this
port part within this and you select this arrow so it will insert the symbol
and these symbols are available in any editor it is not that only the vanetti
but any other editor these are available but now if I compile so it will put an
arrow instead of the numbers or anything so you know there are arrows here so you
can put what's in whatever symbol you want whatever number you want whatever
number style you want I know we discussed the third environment which is
the description environment so this environment also starts with begin
description and description and the format is a little different whatever
you want to describe in detail so for example this is your short title of
something you want to describe so you describe that thing here any definition
or any subtitle or any this is your second subtitle or second
definition of anything this is your third one
so this anything inside this square bracket will be printed as a bolt and
then you can explain it like here so let me compile this here so you can see how
it looks like so here you can see that this is our description environment so
for example if you have three options for anything so you can put the title of
the first option then you describe with the second you describe it and third you
can describe it so these were the three main environments which which are used
for making lists in latex so I hope that this will help you and you can practice
this with your own preferences and your own style whatever you want to do with
this and I think that I have covered a lot of options and this is enough for
normal use of latex and you have the option to look into the documentation of
the package if you want to see further options in depth