Why doesn't pagebreak remove extra space at the bottom of the page?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite












After reading about the differences between pagebreak and newpage I have noticed that the pagebreak doesn't work as it is supposed to. Why is that? Am I missing something? Is there something I should add to the preamble?



This happens with both pagebreak and with pagebreak[4]



Code:



%% LyX 2.2.3 created this file. For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
documentclass[12pt,a4paper,english]article
usepackage[T1]fontenc
usepackage[latin9]inputenc
usepackagesetspace
onehalfspacing

makeatletter

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.
pdfpageheightpaperheight
pdfpagewidthpaperwidth


@ifundefineddatedate
makeatother

usepackagebabel
begindocument
asdgf g dfh adfgsdaf afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf
g dfh adfgsdaf afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh
adfgsdaf afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh adfgsdaf
afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh adfgsdaf afgsd
fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh adfgsdaf afgsd fdh gjhsfdgag
ag gfd gsg sdhgfsdg

asdgf g dfh adfgsdaf afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf
g dfh adfgsdaf afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh
adfgsdaf afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh adfgsdaf
afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh adfgsdaf afgsd
fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh adfgsdaf afgsd fdh gjhsfdgag
ag gfd gsg sdhgfsdg

asdgf g dfh adfgsdaf afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf
g dfh adfgsdaf afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh
adfgsdaf afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh adfgsdaf
afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh adfgsdaf afgsd
fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh adfgsdaf afgsd fdh gjhsfdgag
ag gfd gsg sdhgfsdg

asdgf g dfh adfgsdaf afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf
g dfh adfgsdaf afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh
adfgsdaf afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh adfgsdaf
afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh adfgsdaf afgsd
fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh adfgsdaf afgsd fdh gjhsfdgag
ag gfd gsg sdhgfsdg

asdgf g dfh adfgsdaf afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf
g dfh adfgsdaf afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh
adfgsdaf afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh adfgsdaf
afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh adfgsdaf afgsd
fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh adfgsdaf afgsd fdh gjhsfdgag
ag gfd gsg sdhgfsdg

pagebreak[4]

asdgf g dfh adfgsdaf afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf
g dfh adfgsdaf afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh
adfgsdaf afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh adfgsdaf
afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh adfgsdaf afgsd
fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh adfgsdaf afgsd fdh gjhsfdgag
ag gfd gsg sdhgfsdg
enddocument


Output:














share|improve this question





















  • What do you expect to get?
    – Sigur
    2 hours ago










  • @Sigur something like this, stretched text
    – Jon
    2 hours ago















up vote
1
down vote

favorite












After reading about the differences between pagebreak and newpage I have noticed that the pagebreak doesn't work as it is supposed to. Why is that? Am I missing something? Is there something I should add to the preamble?



This happens with both pagebreak and with pagebreak[4]



Code:



%% LyX 2.2.3 created this file. For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
documentclass[12pt,a4paper,english]article
usepackage[T1]fontenc
usepackage[latin9]inputenc
usepackagesetspace
onehalfspacing

makeatletter

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.
pdfpageheightpaperheight
pdfpagewidthpaperwidth


@ifundefineddatedate
makeatother

usepackagebabel
begindocument
asdgf g dfh adfgsdaf afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf
g dfh adfgsdaf afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh
adfgsdaf afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh adfgsdaf
afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh adfgsdaf afgsd
fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh adfgsdaf afgsd fdh gjhsfdgag
ag gfd gsg sdhgfsdg

asdgf g dfh adfgsdaf afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf
g dfh adfgsdaf afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh
adfgsdaf afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh adfgsdaf
afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh adfgsdaf afgsd
fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh adfgsdaf afgsd fdh gjhsfdgag
ag gfd gsg sdhgfsdg

asdgf g dfh adfgsdaf afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf
g dfh adfgsdaf afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh
adfgsdaf afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh adfgsdaf
afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh adfgsdaf afgsd
fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh adfgsdaf afgsd fdh gjhsfdgag
ag gfd gsg sdhgfsdg

asdgf g dfh adfgsdaf afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf
g dfh adfgsdaf afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh
adfgsdaf afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh adfgsdaf
afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh adfgsdaf afgsd
fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh adfgsdaf afgsd fdh gjhsfdgag
ag gfd gsg sdhgfsdg

asdgf g dfh adfgsdaf afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf
g dfh adfgsdaf afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh
adfgsdaf afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh adfgsdaf
afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh adfgsdaf afgsd
fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh adfgsdaf afgsd fdh gjhsfdgag
ag gfd gsg sdhgfsdg

pagebreak[4]

asdgf g dfh adfgsdaf afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf
g dfh adfgsdaf afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh
adfgsdaf afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh adfgsdaf
afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh adfgsdaf afgsd
fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh adfgsdaf afgsd fdh gjhsfdgag
ag gfd gsg sdhgfsdg
enddocument


Output:














share|improve this question





















  • What do you expect to get?
    – Sigur
    2 hours ago










  • @Sigur something like this, stretched text
    – Jon
    2 hours ago













up vote
1
down vote

favorite









up vote
1
down vote

favorite











After reading about the differences between pagebreak and newpage I have noticed that the pagebreak doesn't work as it is supposed to. Why is that? Am I missing something? Is there something I should add to the preamble?



This happens with both pagebreak and with pagebreak[4]



Code:



%% LyX 2.2.3 created this file. For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
documentclass[12pt,a4paper,english]article
usepackage[T1]fontenc
usepackage[latin9]inputenc
usepackagesetspace
onehalfspacing

makeatletter

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.
pdfpageheightpaperheight
pdfpagewidthpaperwidth


@ifundefineddatedate
makeatother

usepackagebabel
begindocument
asdgf g dfh adfgsdaf afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf
g dfh adfgsdaf afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh
adfgsdaf afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh adfgsdaf
afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh adfgsdaf afgsd
fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh adfgsdaf afgsd fdh gjhsfdgag
ag gfd gsg sdhgfsdg

asdgf g dfh adfgsdaf afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf
g dfh adfgsdaf afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh
adfgsdaf afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh adfgsdaf
afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh adfgsdaf afgsd
fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh adfgsdaf afgsd fdh gjhsfdgag
ag gfd gsg sdhgfsdg

asdgf g dfh adfgsdaf afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf
g dfh adfgsdaf afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh
adfgsdaf afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh adfgsdaf
afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh adfgsdaf afgsd
fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh adfgsdaf afgsd fdh gjhsfdgag
ag gfd gsg sdhgfsdg

asdgf g dfh adfgsdaf afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf
g dfh adfgsdaf afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh
adfgsdaf afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh adfgsdaf
afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh adfgsdaf afgsd
fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh adfgsdaf afgsd fdh gjhsfdgag
ag gfd gsg sdhgfsdg

asdgf g dfh adfgsdaf afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf
g dfh adfgsdaf afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh
adfgsdaf afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh adfgsdaf
afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh adfgsdaf afgsd
fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh adfgsdaf afgsd fdh gjhsfdgag
ag gfd gsg sdhgfsdg

pagebreak[4]

asdgf g dfh adfgsdaf afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf
g dfh adfgsdaf afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh
adfgsdaf afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh adfgsdaf
afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh adfgsdaf afgsd
fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh adfgsdaf afgsd fdh gjhsfdgag
ag gfd gsg sdhgfsdg
enddocument


Output:














share|improve this question













After reading about the differences between pagebreak and newpage I have noticed that the pagebreak doesn't work as it is supposed to. Why is that? Am I missing something? Is there something I should add to the preamble?



This happens with both pagebreak and with pagebreak[4]



Code:



%% LyX 2.2.3 created this file. For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
documentclass[12pt,a4paper,english]article
usepackage[T1]fontenc
usepackage[latin9]inputenc
usepackagesetspace
onehalfspacing

makeatletter

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LyX specific LaTeX commands.
pdfpageheightpaperheight
pdfpagewidthpaperwidth


@ifundefineddatedate
makeatother

usepackagebabel
begindocument
asdgf g dfh adfgsdaf afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf
g dfh adfgsdaf afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh
adfgsdaf afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh adfgsdaf
afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh adfgsdaf afgsd
fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh adfgsdaf afgsd fdh gjhsfdgag
ag gfd gsg sdhgfsdg

asdgf g dfh adfgsdaf afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf
g dfh adfgsdaf afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh
adfgsdaf afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh adfgsdaf
afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh adfgsdaf afgsd
fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh adfgsdaf afgsd fdh gjhsfdgag
ag gfd gsg sdhgfsdg

asdgf g dfh adfgsdaf afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf
g dfh adfgsdaf afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh
adfgsdaf afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh adfgsdaf
afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh adfgsdaf afgsd
fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh adfgsdaf afgsd fdh gjhsfdgag
ag gfd gsg sdhgfsdg

asdgf g dfh adfgsdaf afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf
g dfh adfgsdaf afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh
adfgsdaf afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh adfgsdaf
afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh adfgsdaf afgsd
fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh adfgsdaf afgsd fdh gjhsfdgag
ag gfd gsg sdhgfsdg

asdgf g dfh adfgsdaf afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf
g dfh adfgsdaf afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh
adfgsdaf afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh adfgsdaf
afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh adfgsdaf afgsd
fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh adfgsdaf afgsd fdh gjhsfdgag
ag gfd gsg sdhgfsdg

pagebreak[4]

asdgf g dfh adfgsdaf afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf
g dfh adfgsdaf afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh
adfgsdaf afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh adfgsdaf
afgsd fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh adfgsdaf afgsd
fdh gjhsfdgag ag gfd gsg sdhgfsdgasdgf g dfh adfgsdaf afgsd fdh gjhsfdgag
ag gfd gsg sdhgfsdg
enddocument


Output:











lyx page-breaking






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 2 hours ago









Jon

1209




1209











  • What do you expect to get?
    – Sigur
    2 hours ago










  • @Sigur something like this, stretched text
    – Jon
    2 hours ago

















  • What do you expect to get?
    – Sigur
    2 hours ago










  • @Sigur something like this, stretched text
    – Jon
    2 hours ago
















What do you expect to get?
– Sigur
2 hours ago




What do you expect to get?
– Sigur
2 hours ago












@Sigur something like this, stretched text
– Jon
2 hours ago





@Sigur something like this, stretched text
– Jon
2 hours ago











1 Answer
1






active

oldest

votes

















up vote
4
down vote



accepted










You must enable flushbottom. The default in article is raggedbottom.



enter image description here






share|improve this answer






















  • How do i do that?
    – Jon
    2 hours ago










  • Add the command to the preamble.
    – Ulrike Fischer
    2 hours ago










  • Amazing! thanks
    – Jon
    2 hours ago










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: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
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%2f455037%2fwhy-doesnt-pagebreak-remove-extra-space-at-the-bottom-of-the-page%23new-answer', 'question_page');

);

Post as a guest






























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
4
down vote



accepted










You must enable flushbottom. The default in article is raggedbottom.



enter image description here






share|improve this answer






















  • How do i do that?
    – Jon
    2 hours ago










  • Add the command to the preamble.
    – Ulrike Fischer
    2 hours ago










  • Amazing! thanks
    – Jon
    2 hours ago














up vote
4
down vote



accepted










You must enable flushbottom. The default in article is raggedbottom.



enter image description here






share|improve this answer






















  • How do i do that?
    – Jon
    2 hours ago










  • Add the command to the preamble.
    – Ulrike Fischer
    2 hours ago










  • Amazing! thanks
    – Jon
    2 hours ago












up vote
4
down vote



accepted







up vote
4
down vote



accepted






You must enable flushbottom. The default in article is raggedbottom.



enter image description here






share|improve this answer














You must enable flushbottom. The default in article is raggedbottom.



enter image description here







share|improve this answer














share|improve this answer



share|improve this answer








edited 2 hours ago

























answered 2 hours ago









Ulrike Fischer

180k7285655




180k7285655











  • How do i do that?
    – Jon
    2 hours ago










  • Add the command to the preamble.
    – Ulrike Fischer
    2 hours ago










  • Amazing! thanks
    – Jon
    2 hours ago
















  • How do i do that?
    – Jon
    2 hours ago










  • Add the command to the preamble.
    – Ulrike Fischer
    2 hours ago










  • Amazing! thanks
    – Jon
    2 hours ago















How do i do that?
– Jon
2 hours ago




How do i do that?
– Jon
2 hours ago












Add the command to the preamble.
– Ulrike Fischer
2 hours ago




Add the command to the preamble.
– Ulrike Fischer
2 hours ago












Amazing! thanks
– Jon
2 hours ago




Amazing! thanks
– Jon
2 hours ago

















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f455037%2fwhy-doesnt-pagebreak-remove-extra-space-at-the-bottom-of-the-page%23new-answer', 'question_page');

);

Post as a guest













































































Comments

Popular posts from this blog

What does second last employer means? [closed]

Installing NextGIS Connect into QGIS 3?

One-line joke