Multicol listings and ntheorem rendering wrong The 2019 Stack Overflow Developer Survey...

How do you keep chess fun when your opponent constantly beats you?

Student Loan from years ago pops up and is taking my salary

US Healthcare consultation for visitors

My body leaves; my core can stay

University's motivation for having tenure-track positions

Identify 80s or 90s comics with ripped creatures (not dwarves)

1960s short story making fun of James Bond-style spy fiction

What information about me do stores get via my credit card?

Windows 10: How to Lock (not sleep) laptop on lid close?

Why not take a picture of a closer black hole?

Do working physicists consider Newtonian mechanics to be "falsified"?

Python - Fishing Simulator

Did the new image of black hole confirm the general theory of relativity?

Are spiders unable to hurt humans, especially very small spiders?

The following signatures were invalid: EXPKEYSIG 1397BC53640DB551

What can I do if neighbor is blocking my solar panels intentionally?

How to read αἱμύλιος or when to aspirate

Huge performance difference of the command find with and without using %M option to show permissions

Is every episode of "Where are my Pants?" identical?

Mortgage adviser recommends a longer term than necessary combined with overpayments

Deal with toxic manager when you can't quit

"is" operation returns false even though two objects have same id

Are there continuous functions who are the same in an interval but differ in at least one other point?

Does Parliament hold absolute power in the UK?



Multicol listings and ntheorem rendering wrong



The 2019 Stack Overflow Developer Survey Results Are In
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Theorem decorations that stay with theorem environmentListings, problem with rendering embedded stringsHypotheses and Subhypotheses with ntheoremntheorem placement of thmmarks wrongEnumerate and multicolIssue with ntheorem and eqrefntheorem won't display theoremsymbolxgalley breaks memoir and ntheoremntheorem: theoremclass not working?Wrong line spacing and indents in multicol environmentntheorem subhypotheses












1















Given the quite long MWE:



documentclass{memoir}
usepackage[dvipsnames,table]{xcolor}
%usepackage[showframe]{geometry}
usepackage{mathtools}
usepackage{needspace}
usepackage{multido}
usepackage{multicol}
usepackage[thmmarks, amsmath]{ntheorem}
usepackage{thmtools}
usepackage{listings}

nonzeroparskip % Create space between paragraphs
setlength{parindent}{0pt} % Remove paragraph indentation
setlengthcolumnsep{0pt} % for multicol: still too much space in between

% From here:
% https://tex.stackexchange.com/questions/24101/theorem-decorations-that-stay-with-theorem-environment
newcommand{theoremhang}{% top theorem decoration
begingroup%
setlength{unitlength}{.005linewidth}% linewidth/200
begin{picture}(0,0)(1.5,0)%
linethickness{0.45pt} color{Black}%
put(-3,2){line(1,0){206}}% Top line
multido{iA=2+-1,iB=50+-10}{5}{% Top hangs
color{black!iB}%
put(-3,iA){line(0,-1){1}}% Top left hang
put(203,iA){line(0,-1){1}}% Top right hang
}%
end{picture}%
endgroup%
}%

newcommand{theoremhung}{% bottom theorem decoration
begingroup%
setlength{unitlength}{.005linewidth}% linewidth/200
begin{picture}(0,0)(1.5,0)%
linethickness{0.45pt} color{Black}%
put(-3,0){line(1,0){206}}% Bottom line
multido{iA=0+1,iB=50+-10}{5}{% Bottom hangs
color{black!iB}%
put(-3,iA){line(0,1){1}}% Bottom left hang
put(203,iA){line(0,1){1}}% Bottom right hang
}%
end{picture}%
endgroup%
}%

newcommand{theoremspace}{needspace{2baselineskip}}
newcommand{theoremspuce}{nopagebreaknoindent}

theoremstyle{plain}
theoremsymbol{}%
theoremprework{theoremspacetheoremhangvspace*{-1.3ex}}%
theorempostwork{theoremspucetheoremhung}%
theoremheaderfont{upshapebfseries}
theoremseparator{.}
theorembodyfont{upshape}
newtheorem{theorem}{Theorem}




lstnewenvironment{code}[1][]%
{%
noindent%
minipage{linewidth}%
theoremspace%
theoremhang%
lstset{#1}}%
{theoremhungendminipage}

begin{document}

Code Env:

begin{code}
Test. Test. Test. Test. Test. Test.
end{code}

Theorem Env:

begin{theorem}
Test. Test. Test. Test. Test. Test.
end{theorem}

Multicol Code Env:

begin{multicols}{2}
begin{itemize}
item[]
begin{code}
left
end{code}
item[]
begin{code}
right
end{code}
end{itemize}
end{multicols}

end{document}


I get:



rendered output



Where I have two problems:




  1. The hang/hung bars do not have the same distance to text (In particular the space from end of theorem+listings to the hung below is too large. But there are also other problems: for example "Theorem Env:" to hung above)

  2. The multicol environment is not left aligned (may be caused by itemize which is needed to have the listings side-by-side)


I tried a lot with vspace hackery, but for at least at one of the places a problem persisted ;(



And is it possible to have the multicols/itemize in a self-defined environment to have everything more compact?



best regards,
Markus










share|improve this question
















bumped to the homepage by Community 13 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.











  • 2





    i believe that the multicol environment is left aligned, but the indentation of the code environment is a consequence of the fact that it's within an itemize environment. even though the item label is absent. space is left for it at the beginning of the line..

    – barbara beeton
    Sep 18 '17 at 0:48











  • Thank you, yes I think so too. How can I avoid the itemize to indent? Most problems are in the vertical spacing. (For example, Theorem to hung is too close). Btw. the itemize is necessary so that the code blocks are side-by-side.

    – markus23
    Sep 18 '17 at 9:57













  • the only straightforward way i can think of to avoid the item indent is to get out of itemize. one of the list-enhancement packages, i've forgotten which, has a "resule" facility that allows one to continue numbering in an enumerate environment, but you wouldn't even need that with itemize since there's nothing you need to keep track of. just exit from itemize and go back in after the code block.

    – barbara beeton
    Sep 18 '17 at 12:29











  • Do you mean that I just put begin{itemize}item[]end{itemize} within the two code envs? Or is there a way to define column breaks in multicol without any itemize?

    – markus23
    Sep 18 '17 at 12:49






  • 1





    there is a command columnbreak that you can use to break after the code on the left. maybe even par would work.

    – barbara beeton
    Sep 18 '17 at 12:55
















1















Given the quite long MWE:



documentclass{memoir}
usepackage[dvipsnames,table]{xcolor}
%usepackage[showframe]{geometry}
usepackage{mathtools}
usepackage{needspace}
usepackage{multido}
usepackage{multicol}
usepackage[thmmarks, amsmath]{ntheorem}
usepackage{thmtools}
usepackage{listings}

nonzeroparskip % Create space between paragraphs
setlength{parindent}{0pt} % Remove paragraph indentation
setlengthcolumnsep{0pt} % for multicol: still too much space in between

% From here:
% https://tex.stackexchange.com/questions/24101/theorem-decorations-that-stay-with-theorem-environment
newcommand{theoremhang}{% top theorem decoration
begingroup%
setlength{unitlength}{.005linewidth}% linewidth/200
begin{picture}(0,0)(1.5,0)%
linethickness{0.45pt} color{Black}%
put(-3,2){line(1,0){206}}% Top line
multido{iA=2+-1,iB=50+-10}{5}{% Top hangs
color{black!iB}%
put(-3,iA){line(0,-1){1}}% Top left hang
put(203,iA){line(0,-1){1}}% Top right hang
}%
end{picture}%
endgroup%
}%

newcommand{theoremhung}{% bottom theorem decoration
begingroup%
setlength{unitlength}{.005linewidth}% linewidth/200
begin{picture}(0,0)(1.5,0)%
linethickness{0.45pt} color{Black}%
put(-3,0){line(1,0){206}}% Bottom line
multido{iA=0+1,iB=50+-10}{5}{% Bottom hangs
color{black!iB}%
put(-3,iA){line(0,1){1}}% Bottom left hang
put(203,iA){line(0,1){1}}% Bottom right hang
}%
end{picture}%
endgroup%
}%

newcommand{theoremspace}{needspace{2baselineskip}}
newcommand{theoremspuce}{nopagebreaknoindent}

theoremstyle{plain}
theoremsymbol{}%
theoremprework{theoremspacetheoremhangvspace*{-1.3ex}}%
theorempostwork{theoremspucetheoremhung}%
theoremheaderfont{upshapebfseries}
theoremseparator{.}
theorembodyfont{upshape}
newtheorem{theorem}{Theorem}




lstnewenvironment{code}[1][]%
{%
noindent%
minipage{linewidth}%
theoremspace%
theoremhang%
lstset{#1}}%
{theoremhungendminipage}

begin{document}

Code Env:

begin{code}
Test. Test. Test. Test. Test. Test.
end{code}

Theorem Env:

begin{theorem}
Test. Test. Test. Test. Test. Test.
end{theorem}

Multicol Code Env:

begin{multicols}{2}
begin{itemize}
item[]
begin{code}
left
end{code}
item[]
begin{code}
right
end{code}
end{itemize}
end{multicols}

end{document}


I get:



rendered output



Where I have two problems:




  1. The hang/hung bars do not have the same distance to text (In particular the space from end of theorem+listings to the hung below is too large. But there are also other problems: for example "Theorem Env:" to hung above)

  2. The multicol environment is not left aligned (may be caused by itemize which is needed to have the listings side-by-side)


I tried a lot with vspace hackery, but for at least at one of the places a problem persisted ;(



And is it possible to have the multicols/itemize in a self-defined environment to have everything more compact?



best regards,
Markus










share|improve this question
















bumped to the homepage by Community 13 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.











  • 2





    i believe that the multicol environment is left aligned, but the indentation of the code environment is a consequence of the fact that it's within an itemize environment. even though the item label is absent. space is left for it at the beginning of the line..

    – barbara beeton
    Sep 18 '17 at 0:48











  • Thank you, yes I think so too. How can I avoid the itemize to indent? Most problems are in the vertical spacing. (For example, Theorem to hung is too close). Btw. the itemize is necessary so that the code blocks are side-by-side.

    – markus23
    Sep 18 '17 at 9:57













  • the only straightforward way i can think of to avoid the item indent is to get out of itemize. one of the list-enhancement packages, i've forgotten which, has a "resule" facility that allows one to continue numbering in an enumerate environment, but you wouldn't even need that with itemize since there's nothing you need to keep track of. just exit from itemize and go back in after the code block.

    – barbara beeton
    Sep 18 '17 at 12:29











  • Do you mean that I just put begin{itemize}item[]end{itemize} within the two code envs? Or is there a way to define column breaks in multicol without any itemize?

    – markus23
    Sep 18 '17 at 12:49






  • 1





    there is a command columnbreak that you can use to break after the code on the left. maybe even par would work.

    – barbara beeton
    Sep 18 '17 at 12:55














1












1








1








Given the quite long MWE:



documentclass{memoir}
usepackage[dvipsnames,table]{xcolor}
%usepackage[showframe]{geometry}
usepackage{mathtools}
usepackage{needspace}
usepackage{multido}
usepackage{multicol}
usepackage[thmmarks, amsmath]{ntheorem}
usepackage{thmtools}
usepackage{listings}

nonzeroparskip % Create space between paragraphs
setlength{parindent}{0pt} % Remove paragraph indentation
setlengthcolumnsep{0pt} % for multicol: still too much space in between

% From here:
% https://tex.stackexchange.com/questions/24101/theorem-decorations-that-stay-with-theorem-environment
newcommand{theoremhang}{% top theorem decoration
begingroup%
setlength{unitlength}{.005linewidth}% linewidth/200
begin{picture}(0,0)(1.5,0)%
linethickness{0.45pt} color{Black}%
put(-3,2){line(1,0){206}}% Top line
multido{iA=2+-1,iB=50+-10}{5}{% Top hangs
color{black!iB}%
put(-3,iA){line(0,-1){1}}% Top left hang
put(203,iA){line(0,-1){1}}% Top right hang
}%
end{picture}%
endgroup%
}%

newcommand{theoremhung}{% bottom theorem decoration
begingroup%
setlength{unitlength}{.005linewidth}% linewidth/200
begin{picture}(0,0)(1.5,0)%
linethickness{0.45pt} color{Black}%
put(-3,0){line(1,0){206}}% Bottom line
multido{iA=0+1,iB=50+-10}{5}{% Bottom hangs
color{black!iB}%
put(-3,iA){line(0,1){1}}% Bottom left hang
put(203,iA){line(0,1){1}}% Bottom right hang
}%
end{picture}%
endgroup%
}%

newcommand{theoremspace}{needspace{2baselineskip}}
newcommand{theoremspuce}{nopagebreaknoindent}

theoremstyle{plain}
theoremsymbol{}%
theoremprework{theoremspacetheoremhangvspace*{-1.3ex}}%
theorempostwork{theoremspucetheoremhung}%
theoremheaderfont{upshapebfseries}
theoremseparator{.}
theorembodyfont{upshape}
newtheorem{theorem}{Theorem}




lstnewenvironment{code}[1][]%
{%
noindent%
minipage{linewidth}%
theoremspace%
theoremhang%
lstset{#1}}%
{theoremhungendminipage}

begin{document}

Code Env:

begin{code}
Test. Test. Test. Test. Test. Test.
end{code}

Theorem Env:

begin{theorem}
Test. Test. Test. Test. Test. Test.
end{theorem}

Multicol Code Env:

begin{multicols}{2}
begin{itemize}
item[]
begin{code}
left
end{code}
item[]
begin{code}
right
end{code}
end{itemize}
end{multicols}

end{document}


I get:



rendered output



Where I have two problems:




  1. The hang/hung bars do not have the same distance to text (In particular the space from end of theorem+listings to the hung below is too large. But there are also other problems: for example "Theorem Env:" to hung above)

  2. The multicol environment is not left aligned (may be caused by itemize which is needed to have the listings side-by-side)


I tried a lot with vspace hackery, but for at least at one of the places a problem persisted ;(



And is it possible to have the multicols/itemize in a self-defined environment to have everything more compact?



best regards,
Markus










share|improve this question
















Given the quite long MWE:



documentclass{memoir}
usepackage[dvipsnames,table]{xcolor}
%usepackage[showframe]{geometry}
usepackage{mathtools}
usepackage{needspace}
usepackage{multido}
usepackage{multicol}
usepackage[thmmarks, amsmath]{ntheorem}
usepackage{thmtools}
usepackage{listings}

nonzeroparskip % Create space between paragraphs
setlength{parindent}{0pt} % Remove paragraph indentation
setlengthcolumnsep{0pt} % for multicol: still too much space in between

% From here:
% https://tex.stackexchange.com/questions/24101/theorem-decorations-that-stay-with-theorem-environment
newcommand{theoremhang}{% top theorem decoration
begingroup%
setlength{unitlength}{.005linewidth}% linewidth/200
begin{picture}(0,0)(1.5,0)%
linethickness{0.45pt} color{Black}%
put(-3,2){line(1,0){206}}% Top line
multido{iA=2+-1,iB=50+-10}{5}{% Top hangs
color{black!iB}%
put(-3,iA){line(0,-1){1}}% Top left hang
put(203,iA){line(0,-1){1}}% Top right hang
}%
end{picture}%
endgroup%
}%

newcommand{theoremhung}{% bottom theorem decoration
begingroup%
setlength{unitlength}{.005linewidth}% linewidth/200
begin{picture}(0,0)(1.5,0)%
linethickness{0.45pt} color{Black}%
put(-3,0){line(1,0){206}}% Bottom line
multido{iA=0+1,iB=50+-10}{5}{% Bottom hangs
color{black!iB}%
put(-3,iA){line(0,1){1}}% Bottom left hang
put(203,iA){line(0,1){1}}% Bottom right hang
}%
end{picture}%
endgroup%
}%

newcommand{theoremspace}{needspace{2baselineskip}}
newcommand{theoremspuce}{nopagebreaknoindent}

theoremstyle{plain}
theoremsymbol{}%
theoremprework{theoremspacetheoremhangvspace*{-1.3ex}}%
theorempostwork{theoremspucetheoremhung}%
theoremheaderfont{upshapebfseries}
theoremseparator{.}
theorembodyfont{upshape}
newtheorem{theorem}{Theorem}




lstnewenvironment{code}[1][]%
{%
noindent%
minipage{linewidth}%
theoremspace%
theoremhang%
lstset{#1}}%
{theoremhungendminipage}

begin{document}

Code Env:

begin{code}
Test. Test. Test. Test. Test. Test.
end{code}

Theorem Env:

begin{theorem}
Test. Test. Test. Test. Test. Test.
end{theorem}

Multicol Code Env:

begin{multicols}{2}
begin{itemize}
item[]
begin{code}
left
end{code}
item[]
begin{code}
right
end{code}
end{itemize}
end{multicols}

end{document}


I get:



rendered output



Where I have two problems:




  1. The hang/hung bars do not have the same distance to text (In particular the space from end of theorem+listings to the hung below is too large. But there are also other problems: for example "Theorem Env:" to hung above)

  2. The multicol environment is not left aligned (may be caused by itemize which is needed to have the listings side-by-side)


I tried a lot with vspace hackery, but for at least at one of the places a problem persisted ;(



And is it possible to have the multicols/itemize in a self-defined environment to have everything more compact?



best regards,
Markus







formatting listings memoir multicol ntheorem






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Sep 18 '17 at 13:05







markus23

















asked Sep 17 '17 at 23:21









markus23markus23

797




797





bumped to the homepage by Community 13 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community 13 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.










  • 2





    i believe that the multicol environment is left aligned, but the indentation of the code environment is a consequence of the fact that it's within an itemize environment. even though the item label is absent. space is left for it at the beginning of the line..

    – barbara beeton
    Sep 18 '17 at 0:48











  • Thank you, yes I think so too. How can I avoid the itemize to indent? Most problems are in the vertical spacing. (For example, Theorem to hung is too close). Btw. the itemize is necessary so that the code blocks are side-by-side.

    – markus23
    Sep 18 '17 at 9:57













  • the only straightforward way i can think of to avoid the item indent is to get out of itemize. one of the list-enhancement packages, i've forgotten which, has a "resule" facility that allows one to continue numbering in an enumerate environment, but you wouldn't even need that with itemize since there's nothing you need to keep track of. just exit from itemize and go back in after the code block.

    – barbara beeton
    Sep 18 '17 at 12:29











  • Do you mean that I just put begin{itemize}item[]end{itemize} within the two code envs? Or is there a way to define column breaks in multicol without any itemize?

    – markus23
    Sep 18 '17 at 12:49






  • 1





    there is a command columnbreak that you can use to break after the code on the left. maybe even par would work.

    – barbara beeton
    Sep 18 '17 at 12:55














  • 2





    i believe that the multicol environment is left aligned, but the indentation of the code environment is a consequence of the fact that it's within an itemize environment. even though the item label is absent. space is left for it at the beginning of the line..

    – barbara beeton
    Sep 18 '17 at 0:48











  • Thank you, yes I think so too. How can I avoid the itemize to indent? Most problems are in the vertical spacing. (For example, Theorem to hung is too close). Btw. the itemize is necessary so that the code blocks are side-by-side.

    – markus23
    Sep 18 '17 at 9:57













  • the only straightforward way i can think of to avoid the item indent is to get out of itemize. one of the list-enhancement packages, i've forgotten which, has a "resule" facility that allows one to continue numbering in an enumerate environment, but you wouldn't even need that with itemize since there's nothing you need to keep track of. just exit from itemize and go back in after the code block.

    – barbara beeton
    Sep 18 '17 at 12:29











  • Do you mean that I just put begin{itemize}item[]end{itemize} within the two code envs? Or is there a way to define column breaks in multicol without any itemize?

    – markus23
    Sep 18 '17 at 12:49






  • 1





    there is a command columnbreak that you can use to break after the code on the left. maybe even par would work.

    – barbara beeton
    Sep 18 '17 at 12:55








2




2





i believe that the multicol environment is left aligned, but the indentation of the code environment is a consequence of the fact that it's within an itemize environment. even though the item label is absent. space is left for it at the beginning of the line..

– barbara beeton
Sep 18 '17 at 0:48





i believe that the multicol environment is left aligned, but the indentation of the code environment is a consequence of the fact that it's within an itemize environment. even though the item label is absent. space is left for it at the beginning of the line..

– barbara beeton
Sep 18 '17 at 0:48













Thank you, yes I think so too. How can I avoid the itemize to indent? Most problems are in the vertical spacing. (For example, Theorem to hung is too close). Btw. the itemize is necessary so that the code blocks are side-by-side.

– markus23
Sep 18 '17 at 9:57







Thank you, yes I think so too. How can I avoid the itemize to indent? Most problems are in the vertical spacing. (For example, Theorem to hung is too close). Btw. the itemize is necessary so that the code blocks are side-by-side.

– markus23
Sep 18 '17 at 9:57















the only straightforward way i can think of to avoid the item indent is to get out of itemize. one of the list-enhancement packages, i've forgotten which, has a "resule" facility that allows one to continue numbering in an enumerate environment, but you wouldn't even need that with itemize since there's nothing you need to keep track of. just exit from itemize and go back in after the code block.

– barbara beeton
Sep 18 '17 at 12:29





the only straightforward way i can think of to avoid the item indent is to get out of itemize. one of the list-enhancement packages, i've forgotten which, has a "resule" facility that allows one to continue numbering in an enumerate environment, but you wouldn't even need that with itemize since there's nothing you need to keep track of. just exit from itemize and go back in after the code block.

– barbara beeton
Sep 18 '17 at 12:29













Do you mean that I just put begin{itemize}item[]end{itemize} within the two code envs? Or is there a way to define column breaks in multicol without any itemize?

– markus23
Sep 18 '17 at 12:49





Do you mean that I just put begin{itemize}item[]end{itemize} within the two code envs? Or is there a way to define column breaks in multicol without any itemize?

– markus23
Sep 18 '17 at 12:49




1




1





there is a command columnbreak that you can use to break after the code on the left. maybe even par would work.

– barbara beeton
Sep 18 '17 at 12:55





there is a command columnbreak that you can use to break after the code on the left. maybe even par would work.

– barbara beeton
Sep 18 '17 at 12:55










1 Answer
1






active

oldest

votes


















0














A partial solution is to have vspace within



theorempostwork{vspace{-1em}theoremspucetheoremhung}


Initially I tried to add the vspace to theoremspuce, where it did not work.






share|improve this answer


























    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%2f391886%2fmulticol-listings-and-ntheorem-rendering-wrong%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    A partial solution is to have vspace within



    theorempostwork{vspace{-1em}theoremspucetheoremhung}


    Initially I tried to add the vspace to theoremspuce, where it did not work.






    share|improve this answer






























      0














      A partial solution is to have vspace within



      theorempostwork{vspace{-1em}theoremspucetheoremhung}


      Initially I tried to add the vspace to theoremspuce, where it did not work.






      share|improve this answer




























        0












        0








        0







        A partial solution is to have vspace within



        theorempostwork{vspace{-1em}theoremspucetheoremhung}


        Initially I tried to add the vspace to theoremspuce, where it did not work.






        share|improve this answer















        A partial solution is to have vspace within



        theorempostwork{vspace{-1em}theoremspucetheoremhung}


        Initially I tried to add the vspace to theoremspuce, where it did not work.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        answered Sep 19 '17 at 20:27


























        community wiki





        markus23































            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%2f391886%2fmulticol-listings-and-ntheorem-rendering-wrong%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

            Paper upload error, “Upload failed: The top margin is 0.715 in on page 3, which is below the required...

            Emraan Hashmi Filmografia | Linki zewnętrzne | Menu nawigacyjneGulshan GroverGulshan...

            How can I write this formula?newline and italics added with leqWhy does widehat behave differently if I...