How do I prevent section from breaking vwcol?











up vote
2
down vote

favorite












Here is a minimal example that works:



documentclass{article}
usepackage[english]{babel}
usepackage{vwcol}
usepackage{lipsum}

begin{document}
begin{vwcol}[widths={0.6,0.4},sep=1.0cm,justify=flush,rule=0pt,indent=1em]
lipsum[1-3]
end{vwcol}
end{document}


enter image description here



But when I add section, things get messed up:



documentclass{article}
usepackage[english]{babel}
usepackage{vwcol}
usepackage{lipsum}

begin{document}
begin{vwcol}[widths={0.6,0.4},sep=1.0cm,justify=flush,rule=0pt,indent=1em]
section{A Section Header}
lipsum[1-3]
end{vwcol}
end{document}


enter image description here



My guess is that section is somehow asserting its width (and thus the first column's width) across the whole page, while the second column continues to compute its width based on the erroneous first's.



How can I fix this?










share|improve this question






















  • In fact, the itemize environment appears broken too, each item not respecting the column's width, but simply overflowing (presumably to the article width).
    – Andrew Cheong
    Jul 27 '17 at 5:54










  • I suspect vwcol is a bit fragile. I give it kudos for handling the paragraph breaking between two widths.
    – John Kormylo
    Jul 27 '17 at 12:30






  • 1




    The package documentation actually says that you can't stick stuff in besides text.
    – JPi
    Jul 27 '17 at 16:56















up vote
2
down vote

favorite












Here is a minimal example that works:



documentclass{article}
usepackage[english]{babel}
usepackage{vwcol}
usepackage{lipsum}

begin{document}
begin{vwcol}[widths={0.6,0.4},sep=1.0cm,justify=flush,rule=0pt,indent=1em]
lipsum[1-3]
end{vwcol}
end{document}


enter image description here



But when I add section, things get messed up:



documentclass{article}
usepackage[english]{babel}
usepackage{vwcol}
usepackage{lipsum}

begin{document}
begin{vwcol}[widths={0.6,0.4},sep=1.0cm,justify=flush,rule=0pt,indent=1em]
section{A Section Header}
lipsum[1-3]
end{vwcol}
end{document}


enter image description here



My guess is that section is somehow asserting its width (and thus the first column's width) across the whole page, while the second column continues to compute its width based on the erroneous first's.



How can I fix this?










share|improve this question






















  • In fact, the itemize environment appears broken too, each item not respecting the column's width, but simply overflowing (presumably to the article width).
    – Andrew Cheong
    Jul 27 '17 at 5:54










  • I suspect vwcol is a bit fragile. I give it kudos for handling the paragraph breaking between two widths.
    – John Kormylo
    Jul 27 '17 at 12:30






  • 1




    The package documentation actually says that you can't stick stuff in besides text.
    – JPi
    Jul 27 '17 at 16:56













up vote
2
down vote

favorite









up vote
2
down vote

favorite











Here is a minimal example that works:



documentclass{article}
usepackage[english]{babel}
usepackage{vwcol}
usepackage{lipsum}

begin{document}
begin{vwcol}[widths={0.6,0.4},sep=1.0cm,justify=flush,rule=0pt,indent=1em]
lipsum[1-3]
end{vwcol}
end{document}


enter image description here



But when I add section, things get messed up:



documentclass{article}
usepackage[english]{babel}
usepackage{vwcol}
usepackage{lipsum}

begin{document}
begin{vwcol}[widths={0.6,0.4},sep=1.0cm,justify=flush,rule=0pt,indent=1em]
section{A Section Header}
lipsum[1-3]
end{vwcol}
end{document}


enter image description here



My guess is that section is somehow asserting its width (and thus the first column's width) across the whole page, while the second column continues to compute its width based on the erroneous first's.



How can I fix this?










share|improve this question













Here is a minimal example that works:



documentclass{article}
usepackage[english]{babel}
usepackage{vwcol}
usepackage{lipsum}

begin{document}
begin{vwcol}[widths={0.6,0.4},sep=1.0cm,justify=flush,rule=0pt,indent=1em]
lipsum[1-3]
end{vwcol}
end{document}


enter image description here



But when I add section, things get messed up:



documentclass{article}
usepackage[english]{babel}
usepackage{vwcol}
usepackage{lipsum}

begin{document}
begin{vwcol}[widths={0.6,0.4},sep=1.0cm,justify=flush,rule=0pt,indent=1em]
section{A Section Header}
lipsum[1-3]
end{vwcol}
end{document}


enter image description here



My guess is that section is somehow asserting its width (and thus the first column's width) across the whole page, while the second column continues to compute its width based on the erroneous first's.



How can I fix this?







sectioning






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jul 27 '17 at 5:47









Andrew Cheong

1234




1234












  • In fact, the itemize environment appears broken too, each item not respecting the column's width, but simply overflowing (presumably to the article width).
    – Andrew Cheong
    Jul 27 '17 at 5:54










  • I suspect vwcol is a bit fragile. I give it kudos for handling the paragraph breaking between two widths.
    – John Kormylo
    Jul 27 '17 at 12:30






  • 1




    The package documentation actually says that you can't stick stuff in besides text.
    – JPi
    Jul 27 '17 at 16:56


















  • In fact, the itemize environment appears broken too, each item not respecting the column's width, but simply overflowing (presumably to the article width).
    – Andrew Cheong
    Jul 27 '17 at 5:54










  • I suspect vwcol is a bit fragile. I give it kudos for handling the paragraph breaking between two widths.
    – John Kormylo
    Jul 27 '17 at 12:30






  • 1




    The package documentation actually says that you can't stick stuff in besides text.
    – JPi
    Jul 27 '17 at 16:56
















In fact, the itemize environment appears broken too, each item not respecting the column's width, but simply overflowing (presumably to the article width).
– Andrew Cheong
Jul 27 '17 at 5:54




In fact, the itemize environment appears broken too, each item not respecting the column's width, but simply overflowing (presumably to the article width).
– Andrew Cheong
Jul 27 '17 at 5:54












I suspect vwcol is a bit fragile. I give it kudos for handling the paragraph breaking between two widths.
– John Kormylo
Jul 27 '17 at 12:30




I suspect vwcol is a bit fragile. I give it kudos for handling the paragraph breaking between two widths.
– John Kormylo
Jul 27 '17 at 12:30




1




1




The package documentation actually says that you can't stick stuff in besides text.
– JPi
Jul 27 '17 at 16:56




The package documentation actually says that you can't stick stuff in besides text.
– JPi
Jul 27 '17 at 16:56










1 Answer
1






active

oldest

votes

















up vote
0
down vote













I ended up going with minipage. Unfortunately it meant manually splitting up the content between two columns, rather than flowing, but it works.



More information at Two-column list: different column widths.






share|improve this answer





















  • Have you tried this solution: tex.stackexchange.com/questions/89721/…
    – Martin
    Sep 25 '17 at 17:49













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',
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%2f383456%2fhow-do-i-prevent-section-from-breaking-vwcol%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








up vote
0
down vote













I ended up going with minipage. Unfortunately it meant manually splitting up the content between two columns, rather than flowing, but it works.



More information at Two-column list: different column widths.






share|improve this answer





















  • Have you tried this solution: tex.stackexchange.com/questions/89721/…
    – Martin
    Sep 25 '17 at 17:49

















up vote
0
down vote













I ended up going with minipage. Unfortunately it meant manually splitting up the content between two columns, rather than flowing, but it works.



More information at Two-column list: different column widths.






share|improve this answer





















  • Have you tried this solution: tex.stackexchange.com/questions/89721/…
    – Martin
    Sep 25 '17 at 17:49















up vote
0
down vote










up vote
0
down vote









I ended up going with minipage. Unfortunately it meant manually splitting up the content between two columns, rather than flowing, but it works.



More information at Two-column list: different column widths.






share|improve this answer












I ended up going with minipage. Unfortunately it meant manually splitting up the content between two columns, rather than flowing, but it works.



More information at Two-column list: different column widths.







share|improve this answer












share|improve this answer



share|improve this answer










answered Jul 27 '17 at 15:01









Andrew Cheong

1234




1234












  • Have you tried this solution: tex.stackexchange.com/questions/89721/…
    – Martin
    Sep 25 '17 at 17:49




















  • Have you tried this solution: tex.stackexchange.com/questions/89721/…
    – Martin
    Sep 25 '17 at 17:49


















Have you tried this solution: tex.stackexchange.com/questions/89721/…
– Martin
Sep 25 '17 at 17:49






Have you tried this solution: tex.stackexchange.com/questions/89721/…
– Martin
Sep 25 '17 at 17:49




















 

draft saved


draft discarded



















































 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f383456%2fhow-do-i-prevent-section-from-breaking-vwcol%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

mysqli_query(): Empty query in /home/lucindabrummitt/public_html/blog/wp-includes/wp-db.php on line 1924

How to change which sound is reproduced for terminal bell?

Can I use Tabulator js library in my java Spring + Thymeleaf project?