+1 vote
in General IT Tips by (39.3k points)

I am using "\documentclass[12pt,oneside]{memoir}" for one of my latex documents. I need to set the spacing in longtable to 1, but the following code gives the error: "environment spacing undefined." If I change the "documentclass" to "article," it works fine. How can I set spacing in the document class "memoir"?




1 Answer

+2 votes
by (63.4k points)
selected by
Best answer

I think "memoir" does not support the "setspace" package. That's why you get the error when you use the environment "spacing."

If you want to change the spacing in documentclass "memoir", you can use the "setSpacing" environment.

Here is an example to show how to use it. You can set the value of "v" to any number, e.g., 0.5, 1,1.25, 5,..., depending on the spacing you want. Also, you do not need to declare any special package for setSpacing.






Related questions