setlengthitemsep throwing a weird bug
Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
I have to edit a LaTeX template for an assignment, which involves solving multiple choice questions. The code for one of these questions is as follows :
beginlist$square$
setlengthitemsep-1.5em
item The current observation $x_t$ is conditionally independent of all
other observations given the current state $y_t$\
item The current observation $x_t$ is conditionally independent of all
other states given the current state $y_t$\
item The current state $y_t$ is conditionally independent of all states given the previous state $y_t-1$\
item The current observation $x_t$ is conditionally independent of $x_t-2$ given the previous observation $x_t-1$.\
item None of the above
endlist
The problem with this is that I don't know how to mark my answers (only two of these choices are right, and should be marked with a black square). I've tried to remove the $square$
from the first line, and add $square$
next to each item, with $blacksquare$
next to the options I want marked.
beginlist
setlengthitemsep-1.5em
item $square$ The current observation $x_t$ is conditionally independent
of all other observations given the current state $y_t$\
item $square$ The current observation $x_t$ is conditionally independent
of all other states given the current state $y_t$\
item $square$ The current state $y_t$ is conditionally independent of all
states given the previous state $y_t-1$\
item $square$ The current observation $x_t$ is conditionally independent
of $x_t-2$ given the previous observation $x_t-1$.\
item $square$ None of the above
endlist
And that worked for the previous question. But with this one, when I do it and compile, this happens.
It's that pesky !-1.5em. And I don't know how to get rid of it. I tried removing the setlengthitemsep-1.5em
but that results in the spacing between items increasing to whatever the default value was and the contents of this page spill over onto the next one, which is unacceptable to the autograder. What do I do? It's incredibly annoying.
This is the error I get at the setlengthitemsep-1.5em
line. (I've tried putting the itemsep
in curly brackets too, as an answer said, to no avail.)
formatting lists
New contributor
add a comment |
up vote
1
down vote
favorite
I have to edit a LaTeX template for an assignment, which involves solving multiple choice questions. The code for one of these questions is as follows :
beginlist$square$
setlengthitemsep-1.5em
item The current observation $x_t$ is conditionally independent of all
other observations given the current state $y_t$\
item The current observation $x_t$ is conditionally independent of all
other states given the current state $y_t$\
item The current state $y_t$ is conditionally independent of all states given the previous state $y_t-1$\
item The current observation $x_t$ is conditionally independent of $x_t-2$ given the previous observation $x_t-1$.\
item None of the above
endlist
The problem with this is that I don't know how to mark my answers (only two of these choices are right, and should be marked with a black square). I've tried to remove the $square$
from the first line, and add $square$
next to each item, with $blacksquare$
next to the options I want marked.
beginlist
setlengthitemsep-1.5em
item $square$ The current observation $x_t$ is conditionally independent
of all other observations given the current state $y_t$\
item $square$ The current observation $x_t$ is conditionally independent
of all other states given the current state $y_t$\
item $square$ The current state $y_t$ is conditionally independent of all
states given the previous state $y_t-1$\
item $square$ The current observation $x_t$ is conditionally independent
of $x_t-2$ given the previous observation $x_t-1$.\
item $square$ None of the above
endlist
And that worked for the previous question. But with this one, when I do it and compile, this happens.
It's that pesky !-1.5em. And I don't know how to get rid of it. I tried removing the setlengthitemsep-1.5em
but that results in the spacing between items increasing to whatever the default value was and the contents of this page spill over onto the next one, which is unacceptable to the autograder. What do I do? It's incredibly annoying.
This is the error I get at the setlengthitemsep-1.5em
line. (I've tried putting the itemsep
in curly brackets too, as an answer said, to no avail.)
formatting lists
New contributor
The error message at thesetlengthitemsep-1.5em
line is this : Package calc error: `topsep' invalid at this point. What is going on?
– Chinmay Hejmadi
2 hours ago
3
provide a complete example which shows the error message. Using your code snippet with packagecalc
gives no error!
– Herbert
2 hours ago
Leave out the\
at the end of the items and setsetlengthitemsep-.4em
– CarLaTeX
2 hours ago
To mark only the correct ones useitem[$blacksquare$]
only for the correct items and leave$square$
as the option of thelist
environment.
– CarLaTeX
2 hours ago
Thank you so much!!!! That worked. Something to remember now for the future.
– Chinmay Hejmadi
2 hours ago
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I have to edit a LaTeX template for an assignment, which involves solving multiple choice questions. The code for one of these questions is as follows :
beginlist$square$
setlengthitemsep-1.5em
item The current observation $x_t$ is conditionally independent of all
other observations given the current state $y_t$\
item The current observation $x_t$ is conditionally independent of all
other states given the current state $y_t$\
item The current state $y_t$ is conditionally independent of all states given the previous state $y_t-1$\
item The current observation $x_t$ is conditionally independent of $x_t-2$ given the previous observation $x_t-1$.\
item None of the above
endlist
The problem with this is that I don't know how to mark my answers (only two of these choices are right, and should be marked with a black square). I've tried to remove the $square$
from the first line, and add $square$
next to each item, with $blacksquare$
next to the options I want marked.
beginlist
setlengthitemsep-1.5em
item $square$ The current observation $x_t$ is conditionally independent
of all other observations given the current state $y_t$\
item $square$ The current observation $x_t$ is conditionally independent
of all other states given the current state $y_t$\
item $square$ The current state $y_t$ is conditionally independent of all
states given the previous state $y_t-1$\
item $square$ The current observation $x_t$ is conditionally independent
of $x_t-2$ given the previous observation $x_t-1$.\
item $square$ None of the above
endlist
And that worked for the previous question. But with this one, when I do it and compile, this happens.
It's that pesky !-1.5em. And I don't know how to get rid of it. I tried removing the setlengthitemsep-1.5em
but that results in the spacing between items increasing to whatever the default value was and the contents of this page spill over onto the next one, which is unacceptable to the autograder. What do I do? It's incredibly annoying.
This is the error I get at the setlengthitemsep-1.5em
line. (I've tried putting the itemsep
in curly brackets too, as an answer said, to no avail.)
formatting lists
New contributor
I have to edit a LaTeX template for an assignment, which involves solving multiple choice questions. The code for one of these questions is as follows :
beginlist$square$
setlengthitemsep-1.5em
item The current observation $x_t$ is conditionally independent of all
other observations given the current state $y_t$\
item The current observation $x_t$ is conditionally independent of all
other states given the current state $y_t$\
item The current state $y_t$ is conditionally independent of all states given the previous state $y_t-1$\
item The current observation $x_t$ is conditionally independent of $x_t-2$ given the previous observation $x_t-1$.\
item None of the above
endlist
The problem with this is that I don't know how to mark my answers (only two of these choices are right, and should be marked with a black square). I've tried to remove the $square$
from the first line, and add $square$
next to each item, with $blacksquare$
next to the options I want marked.
beginlist
setlengthitemsep-1.5em
item $square$ The current observation $x_t$ is conditionally independent
of all other observations given the current state $y_t$\
item $square$ The current observation $x_t$ is conditionally independent
of all other states given the current state $y_t$\
item $square$ The current state $y_t$ is conditionally independent of all
states given the previous state $y_t-1$\
item $square$ The current observation $x_t$ is conditionally independent
of $x_t-2$ given the previous observation $x_t-1$.\
item $square$ None of the above
endlist
And that worked for the previous question. But with this one, when I do it and compile, this happens.
It's that pesky !-1.5em. And I don't know how to get rid of it. I tried removing the setlengthitemsep-1.5em
but that results in the spacing between items increasing to whatever the default value was and the contents of this page spill over onto the next one, which is unacceptable to the autograder. What do I do? It's incredibly annoying.
This is the error I get at the setlengthitemsep-1.5em
line. (I've tried putting the itemsep
in curly brackets too, as an answer said, to no avail.)
formatting lists
formatting lists
New contributor
New contributor
edited 1 hour ago
CarLaTeX
27k445118
27k445118
New contributor
asked 3 hours ago
Chinmay Hejmadi
83
83
New contributor
New contributor
The error message at thesetlengthitemsep-1.5em
line is this : Package calc error: `topsep' invalid at this point. What is going on?
– Chinmay Hejmadi
2 hours ago
3
provide a complete example which shows the error message. Using your code snippet with packagecalc
gives no error!
– Herbert
2 hours ago
Leave out the\
at the end of the items and setsetlengthitemsep-.4em
– CarLaTeX
2 hours ago
To mark only the correct ones useitem[$blacksquare$]
only for the correct items and leave$square$
as the option of thelist
environment.
– CarLaTeX
2 hours ago
Thank you so much!!!! That worked. Something to remember now for the future.
– Chinmay Hejmadi
2 hours ago
add a comment |
The error message at thesetlengthitemsep-1.5em
line is this : Package calc error: `topsep' invalid at this point. What is going on?
– Chinmay Hejmadi
2 hours ago
3
provide a complete example which shows the error message. Using your code snippet with packagecalc
gives no error!
– Herbert
2 hours ago
Leave out the\
at the end of the items and setsetlengthitemsep-.4em
– CarLaTeX
2 hours ago
To mark only the correct ones useitem[$blacksquare$]
only for the correct items and leave$square$
as the option of thelist
environment.
– CarLaTeX
2 hours ago
Thank you so much!!!! That worked. Something to remember now for the future.
– Chinmay Hejmadi
2 hours ago
The error message at the
setlengthitemsep-1.5em
line is this : Package calc error: `topsep' invalid at this point. What is going on?– Chinmay Hejmadi
2 hours ago
The error message at the
setlengthitemsep-1.5em
line is this : Package calc error: `topsep' invalid at this point. What is going on?– Chinmay Hejmadi
2 hours ago
3
3
provide a complete example which shows the error message. Using your code snippet with package
calc
gives no error!– Herbert
2 hours ago
provide a complete example which shows the error message. Using your code snippet with package
calc
gives no error!– Herbert
2 hours ago
Leave out the
\
at the end of the items and set setlengthitemsep-.4em
– CarLaTeX
2 hours ago
Leave out the
\
at the end of the items and set setlengthitemsep-.4em
– CarLaTeX
2 hours ago
To mark only the correct ones use
item[$blacksquare$]
only for the correct items and leave $square$
as the option of the list
environment.– CarLaTeX
2 hours ago
To mark only the correct ones use
item[$blacksquare$]
only for the correct items and leave $square$
as the option of the list
environment.– CarLaTeX
2 hours ago
Thank you so much!!!! That worked. Something to remember now for the future.
– Chinmay Hejmadi
2 hours ago
Thank you so much!!!! That worked. Something to remember now for the future.
– Chinmay Hejmadi
2 hours ago
add a comment |
3 Answers
3
active
oldest
votes
up vote
1
down vote
accepted
The list
environment takes two arguments and in your second example you are only feeding it one. It therefore uses the next token, which is setlength
, as its second argument. Using beginlist
instead of beginlist
therefore removes the error.
As for the problem you were originally trying to solve: the item
macro has an optional argument which you can use to specify its label. The following should thus do what you want.
documentclassarticle
usepackageamssymb %% <- for square and blacksquare
begindocument
beginlist$square$
setlengthitemsep-.4em
item The current observation $x_t$ is conditionally independent of all
other observations given the current state $y_t$
item[$blacksquare$] The current observation $x_t$ is conditionally independent of all
other states given the current state $y_t$
item[$blacksquare$] The current state $y_t$ is conditionally independent of all states given the previous state $y_t-1$
item The current observation $x_t$ is conditionally independent of $x_t-2$ given the previous observation $x_t-1$.
item None of the above
endlist
enddocument
You could save yourself some typing by e.g. defining
newcommand*correctitemitem[$blacksquare$]
and using that instead of typing it out every time.
Incidentally, the contents of the second argument of list
is executed right before the start of the actual list.
It would be more appropriate to put setlengthitemsep-.4em
inside this argument, like this:
beginlist$square$setlengthitemsep-.4em
For itemsep
it makes little difference, but if you want to set e.g. topsep
, doing this inside the environment is actually too late.
Thanks a lot! That did work. I shall keep this in mind now, especially that last trick.
– Chinmay Hejmadi
2 hours ago
@ChinmayHejmadi If you like this answer and it was helpful, please consider marking it as the accepted answer (by clicking on the checkmark ✓).
– CarLaTeX
1 hour ago
add a comment |
up vote
2
down vote
Instead of going crazy setting the itemsep
you could use enumitem
package with nosep
option.
documentclassarticle
usepackageamssymb
usepackageenumitem
renewcommandlabelitemi$square$
begindocument
beginitemize[nosep]
item The current observation $x_t$ is conditionally independent of all
other observations given the current state $y_t$
item[$blacksquare$] The current observation $x_t$ is conditionally independent of all
other states given the current state $y_t$
item[$blacksquare$] The current state $y_t$ is conditionally independent of all states given the previous state $y_t-1$
item The current observation $x_t$ is conditionally independent of $x_t-2$ given the previous observation $x_t-1$.
item None of the above
enditemize
enddocument
add a comment |
up vote
0
down vote
Use the syntax
setlengthitemsep-1.5em
Tried. To no avail. I'll edit the post to show the error message.
– Chinmay Hejmadi
2 hours ago
3
Thearound
itemsep
are actually optIonal becauseitemsep
is a single token.
– Circumscribe
2 hours ago
add a comment |
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
accepted
The list
environment takes two arguments and in your second example you are only feeding it one. It therefore uses the next token, which is setlength
, as its second argument. Using beginlist
instead of beginlist
therefore removes the error.
As for the problem you were originally trying to solve: the item
macro has an optional argument which you can use to specify its label. The following should thus do what you want.
documentclassarticle
usepackageamssymb %% <- for square and blacksquare
begindocument
beginlist$square$
setlengthitemsep-.4em
item The current observation $x_t$ is conditionally independent of all
other observations given the current state $y_t$
item[$blacksquare$] The current observation $x_t$ is conditionally independent of all
other states given the current state $y_t$
item[$blacksquare$] The current state $y_t$ is conditionally independent of all states given the previous state $y_t-1$
item The current observation $x_t$ is conditionally independent of $x_t-2$ given the previous observation $x_t-1$.
item None of the above
endlist
enddocument
You could save yourself some typing by e.g. defining
newcommand*correctitemitem[$blacksquare$]
and using that instead of typing it out every time.
Incidentally, the contents of the second argument of list
is executed right before the start of the actual list.
It would be more appropriate to put setlengthitemsep-.4em
inside this argument, like this:
beginlist$square$setlengthitemsep-.4em
For itemsep
it makes little difference, but if you want to set e.g. topsep
, doing this inside the environment is actually too late.
Thanks a lot! That did work. I shall keep this in mind now, especially that last trick.
– Chinmay Hejmadi
2 hours ago
@ChinmayHejmadi If you like this answer and it was helpful, please consider marking it as the accepted answer (by clicking on the checkmark ✓).
– CarLaTeX
1 hour ago
add a comment |
up vote
1
down vote
accepted
The list
environment takes two arguments and in your second example you are only feeding it one. It therefore uses the next token, which is setlength
, as its second argument. Using beginlist
instead of beginlist
therefore removes the error.
As for the problem you were originally trying to solve: the item
macro has an optional argument which you can use to specify its label. The following should thus do what you want.
documentclassarticle
usepackageamssymb %% <- for square and blacksquare
begindocument
beginlist$square$
setlengthitemsep-.4em
item The current observation $x_t$ is conditionally independent of all
other observations given the current state $y_t$
item[$blacksquare$] The current observation $x_t$ is conditionally independent of all
other states given the current state $y_t$
item[$blacksquare$] The current state $y_t$ is conditionally independent of all states given the previous state $y_t-1$
item The current observation $x_t$ is conditionally independent of $x_t-2$ given the previous observation $x_t-1$.
item None of the above
endlist
enddocument
You could save yourself some typing by e.g. defining
newcommand*correctitemitem[$blacksquare$]
and using that instead of typing it out every time.
Incidentally, the contents of the second argument of list
is executed right before the start of the actual list.
It would be more appropriate to put setlengthitemsep-.4em
inside this argument, like this:
beginlist$square$setlengthitemsep-.4em
For itemsep
it makes little difference, but if you want to set e.g. topsep
, doing this inside the environment is actually too late.
Thanks a lot! That did work. I shall keep this in mind now, especially that last trick.
– Chinmay Hejmadi
2 hours ago
@ChinmayHejmadi If you like this answer and it was helpful, please consider marking it as the accepted answer (by clicking on the checkmark ✓).
– CarLaTeX
1 hour ago
add a comment |
up vote
1
down vote
accepted
up vote
1
down vote
accepted
The list
environment takes two arguments and in your second example you are only feeding it one. It therefore uses the next token, which is setlength
, as its second argument. Using beginlist
instead of beginlist
therefore removes the error.
As for the problem you were originally trying to solve: the item
macro has an optional argument which you can use to specify its label. The following should thus do what you want.
documentclassarticle
usepackageamssymb %% <- for square and blacksquare
begindocument
beginlist$square$
setlengthitemsep-.4em
item The current observation $x_t$ is conditionally independent of all
other observations given the current state $y_t$
item[$blacksquare$] The current observation $x_t$ is conditionally independent of all
other states given the current state $y_t$
item[$blacksquare$] The current state $y_t$ is conditionally independent of all states given the previous state $y_t-1$
item The current observation $x_t$ is conditionally independent of $x_t-2$ given the previous observation $x_t-1$.
item None of the above
endlist
enddocument
You could save yourself some typing by e.g. defining
newcommand*correctitemitem[$blacksquare$]
and using that instead of typing it out every time.
Incidentally, the contents of the second argument of list
is executed right before the start of the actual list.
It would be more appropriate to put setlengthitemsep-.4em
inside this argument, like this:
beginlist$square$setlengthitemsep-.4em
For itemsep
it makes little difference, but if you want to set e.g. topsep
, doing this inside the environment is actually too late.
The list
environment takes two arguments and in your second example you are only feeding it one. It therefore uses the next token, which is setlength
, as its second argument. Using beginlist
instead of beginlist
therefore removes the error.
As for the problem you were originally trying to solve: the item
macro has an optional argument which you can use to specify its label. The following should thus do what you want.
documentclassarticle
usepackageamssymb %% <- for square and blacksquare
begindocument
beginlist$square$
setlengthitemsep-.4em
item The current observation $x_t$ is conditionally independent of all
other observations given the current state $y_t$
item[$blacksquare$] The current observation $x_t$ is conditionally independent of all
other states given the current state $y_t$
item[$blacksquare$] The current state $y_t$ is conditionally independent of all states given the previous state $y_t-1$
item The current observation $x_t$ is conditionally independent of $x_t-2$ given the previous observation $x_t-1$.
item None of the above
endlist
enddocument
You could save yourself some typing by e.g. defining
newcommand*correctitemitem[$blacksquare$]
and using that instead of typing it out every time.
Incidentally, the contents of the second argument of list
is executed right before the start of the actual list.
It would be more appropriate to put setlengthitemsep-.4em
inside this argument, like this:
beginlist$square$setlengthitemsep-.4em
For itemsep
it makes little difference, but if you want to set e.g. topsep
, doing this inside the environment is actually too late.
edited 1 hour ago
answered 2 hours ago
Circumscribe
2,428323
2,428323
Thanks a lot! That did work. I shall keep this in mind now, especially that last trick.
– Chinmay Hejmadi
2 hours ago
@ChinmayHejmadi If you like this answer and it was helpful, please consider marking it as the accepted answer (by clicking on the checkmark ✓).
– CarLaTeX
1 hour ago
add a comment |
Thanks a lot! That did work. I shall keep this in mind now, especially that last trick.
– Chinmay Hejmadi
2 hours ago
@ChinmayHejmadi If you like this answer and it was helpful, please consider marking it as the accepted answer (by clicking on the checkmark ✓).
– CarLaTeX
1 hour ago
Thanks a lot! That did work. I shall keep this in mind now, especially that last trick.
– Chinmay Hejmadi
2 hours ago
Thanks a lot! That did work. I shall keep this in mind now, especially that last trick.
– Chinmay Hejmadi
2 hours ago
@ChinmayHejmadi If you like this answer and it was helpful, please consider marking it as the accepted answer (by clicking on the checkmark ✓).
– CarLaTeX
1 hour ago
@ChinmayHejmadi If you like this answer and it was helpful, please consider marking it as the accepted answer (by clicking on the checkmark ✓).
– CarLaTeX
1 hour ago
add a comment |
up vote
2
down vote
Instead of going crazy setting the itemsep
you could use enumitem
package with nosep
option.
documentclassarticle
usepackageamssymb
usepackageenumitem
renewcommandlabelitemi$square$
begindocument
beginitemize[nosep]
item The current observation $x_t$ is conditionally independent of all
other observations given the current state $y_t$
item[$blacksquare$] The current observation $x_t$ is conditionally independent of all
other states given the current state $y_t$
item[$blacksquare$] The current state $y_t$ is conditionally independent of all states given the previous state $y_t-1$
item The current observation $x_t$ is conditionally independent of $x_t-2$ given the previous observation $x_t-1$.
item None of the above
enditemize
enddocument
add a comment |
up vote
2
down vote
Instead of going crazy setting the itemsep
you could use enumitem
package with nosep
option.
documentclassarticle
usepackageamssymb
usepackageenumitem
renewcommandlabelitemi$square$
begindocument
beginitemize[nosep]
item The current observation $x_t$ is conditionally independent of all
other observations given the current state $y_t$
item[$blacksquare$] The current observation $x_t$ is conditionally independent of all
other states given the current state $y_t$
item[$blacksquare$] The current state $y_t$ is conditionally independent of all states given the previous state $y_t-1$
item The current observation $x_t$ is conditionally independent of $x_t-2$ given the previous observation $x_t-1$.
item None of the above
enditemize
enddocument
add a comment |
up vote
2
down vote
up vote
2
down vote
Instead of going crazy setting the itemsep
you could use enumitem
package with nosep
option.
documentclassarticle
usepackageamssymb
usepackageenumitem
renewcommandlabelitemi$square$
begindocument
beginitemize[nosep]
item The current observation $x_t$ is conditionally independent of all
other observations given the current state $y_t$
item[$blacksquare$] The current observation $x_t$ is conditionally independent of all
other states given the current state $y_t$
item[$blacksquare$] The current state $y_t$ is conditionally independent of all states given the previous state $y_t-1$
item The current observation $x_t$ is conditionally independent of $x_t-2$ given the previous observation $x_t-1$.
item None of the above
enditemize
enddocument
Instead of going crazy setting the itemsep
you could use enumitem
package with nosep
option.
documentclassarticle
usepackageamssymb
usepackageenumitem
renewcommandlabelitemi$square$
begindocument
beginitemize[nosep]
item The current observation $x_t$ is conditionally independent of all
other observations given the current state $y_t$
item[$blacksquare$] The current observation $x_t$ is conditionally independent of all
other states given the current state $y_t$
item[$blacksquare$] The current state $y_t$ is conditionally independent of all states given the previous state $y_t-1$
item The current observation $x_t$ is conditionally independent of $x_t-2$ given the previous observation $x_t-1$.
item None of the above
enditemize
enddocument
answered 1 hour ago
CarLaTeX
27k445118
27k445118
add a comment |
add a comment |
up vote
0
down vote
Use the syntax
setlengthitemsep-1.5em
Tried. To no avail. I'll edit the post to show the error message.
– Chinmay Hejmadi
2 hours ago
3
Thearound
itemsep
are actually optIonal becauseitemsep
is a single token.
– Circumscribe
2 hours ago
add a comment |
up vote
0
down vote
Use the syntax
setlengthitemsep-1.5em
Tried. To no avail. I'll edit the post to show the error message.
– Chinmay Hejmadi
2 hours ago
3
Thearound
itemsep
are actually optIonal becauseitemsep
is a single token.
– Circumscribe
2 hours ago
add a comment |
up vote
0
down vote
up vote
0
down vote
Use the syntax
setlengthitemsep-1.5em
Use the syntax
setlengthitemsep-1.5em
edited 1 hour ago
Stefan Pinnow
19.2k83172
19.2k83172
answered 2 hours ago
Athanasios Margaris
18819
18819
Tried. To no avail. I'll edit the post to show the error message.
– Chinmay Hejmadi
2 hours ago
3
Thearound
itemsep
are actually optIonal becauseitemsep
is a single token.
– Circumscribe
2 hours ago
add a comment |
Tried. To no avail. I'll edit the post to show the error message.
– Chinmay Hejmadi
2 hours ago
3
Thearound
itemsep
are actually optIonal becauseitemsep
is a single token.
– Circumscribe
2 hours ago
Tried. To no avail. I'll edit the post to show the error message.
– Chinmay Hejmadi
2 hours ago
Tried. To no avail. I'll edit the post to show the error message.
– Chinmay Hejmadi
2 hours ago
3
3
The
around itemsep
are actually optIonal because itemsep
is a single token.– Circumscribe
2 hours ago
The
around itemsep
are actually optIonal because itemsep
is a single token.– Circumscribe
2 hours ago
add a comment |
Chinmay Hejmadi is a new contributor. Be nice, and check out our Code of Conduct.
Chinmay Hejmadi is a new contributor. Be nice, and check out our Code of Conduct.
Chinmay Hejmadi is a new contributor. Be nice, and check out our Code of Conduct.
Chinmay Hejmadi 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
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f459269%2fsetlength-itemsep-throwing-a-weird-bug%23new-answer', 'question_page');
);
Post as a guest
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
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
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
The error message at the
setlengthitemsep-1.5em
line is this : Package calc error: `topsep' invalid at this point. What is going on?– Chinmay Hejmadi
2 hours ago
3
provide a complete example which shows the error message. Using your code snippet with package
calc
gives no error!– Herbert
2 hours ago
Leave out the
\
at the end of the items and setsetlengthitemsep-.4em
– CarLaTeX
2 hours ago
To mark only the correct ones use
item[$blacksquare$]
only for the correct items and leave$square$
as the option of thelist
environment.– CarLaTeX
2 hours ago
Thank you so much!!!! That worked. Something to remember now for the future.
– Chinmay Hejmadi
2 hours ago