Margin setting not consistentMargin overflow when setting the geometry AtBeginDocumentSetting exact marginsSetting different margin sizes in different pagesLeft margin not resettable — Alternative option?Setting thesis marginsExtra 0.1cm after setting geometry top marginMargin setting for PhD Theses on MacTexIncrease left margin (without setting explicitly)Setting margin in resBottom margin on the page following newgeometry not respected
What happens with multiple copies of Humility and Glorious Anthem on the battlefield?
Is it true that real estate prices mainly go up?
"However" used in a conditional clause?
Question about partial fractions with irreducible quadratic factors
Ban on all campaign finance?
When is a batch class instantiated when you schedule it?
Silly Sally's Movie
Decoding assembly instructions in a Game Boy disassembler
Time travel short story where dinosaur doesn't taste like chicken
Word for a person who has no opinion about whether god exists
What does it mean when multiple 々 marks follow a 、?
When were linguistics departments first established
Confusion with the nameplate of an induction motor
Why would a jet engine that runs at temps excess of 2000°C burn when it crashes?
Why does Deadpool say "You're welcome, Canada," after shooting Ryan Reynolds in the end credits?
Making a sword in the stone, in a medieval world without magic
What has been your most complicated TikZ drawing?
Does Linux have system calls to access all the features of the file systems it supports?
Plywood subfloor won't screw down in a trailer home
Can you reject a postdoc offer after the PI has paid a large sum for flights/accommodation for your visit?
Deleting missing values from a dataset
Is all copper pipe pretty much the same?
"One can do his homework in the library"
Welcoming 2019 Pi day: How to draw the letter π?
Margin setting not consistent
Margin overflow when setting the geometry AtBeginDocumentSetting exact marginsSetting different margin sizes in different pagesLeft margin not resettable — Alternative option?Setting thesis marginsExtra 0.1cm after setting geometry top marginMargin setting for PhD Theses on MacTexIncrease left margin (without setting explicitly)Setting margin in resBottom margin on the page following newgeometry not respected
I'm currently typing my dissertation. The requirement for text margin is top 2cm, right 2cm, left 4cm and bottom 2cm. My setting works for all pages, except the pages at which the chapter titles are located. Is there anyway to solve it? I'm using pdfLaTeX compiler.
documentclass[12pt,a4paper]report
%%%%%%%%Package
usepackageamsmath, amsthm, amssymb
usepackagearray
usepackageanysize
usepackagefaktor
usepackageplaceins
usepackagefloat
usepackageenumerate
usepackagefancyhdr%for page number font
usepackagelmodern%also for page number font
usepackage[pdftex]graphicx
usepackagecaption
usepackagebooktabs, calc, cleveref
usepackagemathptmx%Font: Times New Roman
%usepackagefontspec
usepackagesetspace
usepackage[font=small,labelfont=bf]caption
usepackage[titles]tocloft%needed for preamble, specifically cftsetindents
usepackage[notquote]hanging%for hanging indentation, used in the List of Publications section, [notquote] required so file doesn't crash
usepackagesectsty%used to format chapter title to be centre etc.
chapternumberfontnohangcenteringlargeMakeUppercase %to format the font for the 'Chapter' number
chaptertitlefontnohangcenteringlargeMakeUppercase
sectionfontfontsize1215selectfont
usepackagetikz
usepackage[final]pdfpages%to insert the Original Literary Work Declaration from a PDF file
%setmainfontTimes New Roman %Font: Times New Roman
usepackage[footskip=1cm]geometry%Set Margin
geometry
left=40mm,
right=20mm,
top=20mm,
bottom=20mm,
%%%%%%%
renewcommandcftchapleadercftdotfillcftdotsep % for chapters dots
renewcommandcftchappresnumCHAPTER % prefix "Chapter " to chapter number in ToC
cftsetindentschapter0em6em % set amount of indenting
pagestylefancy
lhead
chead
rhead
lfoot
cfoot
rfootthepage
renewcommandheadrulewidth0pt
renewcommandfootrulewidth0pt
%%%%
fancypagestyleplain
fancyfoot
fancyfoot[R]fontsize10pt10ptselectfontthepage
renewcommandheadrulewidth0pt
renewcommandfootrulewidth0pt
pagestyleplain
%%%%
renewcommandcontentsnameTable of Contents%Change 'Contents' to 'Table of Contents'
renewcommandbibnameREFERENCES%Used to change the name "Bibliography" to "References"
%%%%%
newtheoremproProposition[section]
newtheoremthmTheorem[section]
newtheoremcorCorollary[section]
newtheoremremRemark[section]
newtheoremexmExample[section]
newtheoremlemLemma[section]
newtheoremdefinDefinition[section]
newtheoremquesQuestion[section]
newtheoremconjConjecture[section]
setstretch2
%%%%%%%%%%%
%%%%%%%%%%%%
begindocument
pagenumberingarabic
setcounterpage1
%Chapter 1
chapterMakeUppercaseINTRODUCTION
%Background of study
sectionBackground of study
Associating a group with a graph and finding relationships between them is an area of research that has generated much interest. Research on this subject aims at investigating relationships between groups and graphs and at exploring applications of one to the other.
newpage
The main contributions of this work
enddocument
margins
add a comment |
I'm currently typing my dissertation. The requirement for text margin is top 2cm, right 2cm, left 4cm and bottom 2cm. My setting works for all pages, except the pages at which the chapter titles are located. Is there anyway to solve it? I'm using pdfLaTeX compiler.
documentclass[12pt,a4paper]report
%%%%%%%%Package
usepackageamsmath, amsthm, amssymb
usepackagearray
usepackageanysize
usepackagefaktor
usepackageplaceins
usepackagefloat
usepackageenumerate
usepackagefancyhdr%for page number font
usepackagelmodern%also for page number font
usepackage[pdftex]graphicx
usepackagecaption
usepackagebooktabs, calc, cleveref
usepackagemathptmx%Font: Times New Roman
%usepackagefontspec
usepackagesetspace
usepackage[font=small,labelfont=bf]caption
usepackage[titles]tocloft%needed for preamble, specifically cftsetindents
usepackage[notquote]hanging%for hanging indentation, used in the List of Publications section, [notquote] required so file doesn't crash
usepackagesectsty%used to format chapter title to be centre etc.
chapternumberfontnohangcenteringlargeMakeUppercase %to format the font for the 'Chapter' number
chaptertitlefontnohangcenteringlargeMakeUppercase
sectionfontfontsize1215selectfont
usepackagetikz
usepackage[final]pdfpages%to insert the Original Literary Work Declaration from a PDF file
%setmainfontTimes New Roman %Font: Times New Roman
usepackage[footskip=1cm]geometry%Set Margin
geometry
left=40mm,
right=20mm,
top=20mm,
bottom=20mm,
%%%%%%%
renewcommandcftchapleadercftdotfillcftdotsep % for chapters dots
renewcommandcftchappresnumCHAPTER % prefix "Chapter " to chapter number in ToC
cftsetindentschapter0em6em % set amount of indenting
pagestylefancy
lhead
chead
rhead
lfoot
cfoot
rfootthepage
renewcommandheadrulewidth0pt
renewcommandfootrulewidth0pt
%%%%
fancypagestyleplain
fancyfoot
fancyfoot[R]fontsize10pt10ptselectfontthepage
renewcommandheadrulewidth0pt
renewcommandfootrulewidth0pt
pagestyleplain
%%%%
renewcommandcontentsnameTable of Contents%Change 'Contents' to 'Table of Contents'
renewcommandbibnameREFERENCES%Used to change the name "Bibliography" to "References"
%%%%%
newtheoremproProposition[section]
newtheoremthmTheorem[section]
newtheoremcorCorollary[section]
newtheoremremRemark[section]
newtheoremexmExample[section]
newtheoremlemLemma[section]
newtheoremdefinDefinition[section]
newtheoremquesQuestion[section]
newtheoremconjConjecture[section]
setstretch2
%%%%%%%%%%%
%%%%%%%%%%%%
begindocument
pagenumberingarabic
setcounterpage1
%Chapter 1
chapterMakeUppercaseINTRODUCTION
%Background of study
sectionBackground of study
Associating a group with a graph and finding relationships between them is an area of research that has generated much interest. Research on this subject aims at investigating relationships between groups and graphs and at exploring applications of one to the other.
newpage
The main contributions of this work
enddocument
margins
This is because the chapter title has inserts blank space above it. You have to change the format of thechapter
.
– Sigur
1 min ago
add a comment |
I'm currently typing my dissertation. The requirement for text margin is top 2cm, right 2cm, left 4cm and bottom 2cm. My setting works for all pages, except the pages at which the chapter titles are located. Is there anyway to solve it? I'm using pdfLaTeX compiler.
documentclass[12pt,a4paper]report
%%%%%%%%Package
usepackageamsmath, amsthm, amssymb
usepackagearray
usepackageanysize
usepackagefaktor
usepackageplaceins
usepackagefloat
usepackageenumerate
usepackagefancyhdr%for page number font
usepackagelmodern%also for page number font
usepackage[pdftex]graphicx
usepackagecaption
usepackagebooktabs, calc, cleveref
usepackagemathptmx%Font: Times New Roman
%usepackagefontspec
usepackagesetspace
usepackage[font=small,labelfont=bf]caption
usepackage[titles]tocloft%needed for preamble, specifically cftsetindents
usepackage[notquote]hanging%for hanging indentation, used in the List of Publications section, [notquote] required so file doesn't crash
usepackagesectsty%used to format chapter title to be centre etc.
chapternumberfontnohangcenteringlargeMakeUppercase %to format the font for the 'Chapter' number
chaptertitlefontnohangcenteringlargeMakeUppercase
sectionfontfontsize1215selectfont
usepackagetikz
usepackage[final]pdfpages%to insert the Original Literary Work Declaration from a PDF file
%setmainfontTimes New Roman %Font: Times New Roman
usepackage[footskip=1cm]geometry%Set Margin
geometry
left=40mm,
right=20mm,
top=20mm,
bottom=20mm,
%%%%%%%
renewcommandcftchapleadercftdotfillcftdotsep % for chapters dots
renewcommandcftchappresnumCHAPTER % prefix "Chapter " to chapter number in ToC
cftsetindentschapter0em6em % set amount of indenting
pagestylefancy
lhead
chead
rhead
lfoot
cfoot
rfootthepage
renewcommandheadrulewidth0pt
renewcommandfootrulewidth0pt
%%%%
fancypagestyleplain
fancyfoot
fancyfoot[R]fontsize10pt10ptselectfontthepage
renewcommandheadrulewidth0pt
renewcommandfootrulewidth0pt
pagestyleplain
%%%%
renewcommandcontentsnameTable of Contents%Change 'Contents' to 'Table of Contents'
renewcommandbibnameREFERENCES%Used to change the name "Bibliography" to "References"
%%%%%
newtheoremproProposition[section]
newtheoremthmTheorem[section]
newtheoremcorCorollary[section]
newtheoremremRemark[section]
newtheoremexmExample[section]
newtheoremlemLemma[section]
newtheoremdefinDefinition[section]
newtheoremquesQuestion[section]
newtheoremconjConjecture[section]
setstretch2
%%%%%%%%%%%
%%%%%%%%%%%%
begindocument
pagenumberingarabic
setcounterpage1
%Chapter 1
chapterMakeUppercaseINTRODUCTION
%Background of study
sectionBackground of study
Associating a group with a graph and finding relationships between them is an area of research that has generated much interest. Research on this subject aims at investigating relationships between groups and graphs and at exploring applications of one to the other.
newpage
The main contributions of this work
enddocument
margins
I'm currently typing my dissertation. The requirement for text margin is top 2cm, right 2cm, left 4cm and bottom 2cm. My setting works for all pages, except the pages at which the chapter titles are located. Is there anyway to solve it? I'm using pdfLaTeX compiler.
documentclass[12pt,a4paper]report
%%%%%%%%Package
usepackageamsmath, amsthm, amssymb
usepackagearray
usepackageanysize
usepackagefaktor
usepackageplaceins
usepackagefloat
usepackageenumerate
usepackagefancyhdr%for page number font
usepackagelmodern%also for page number font
usepackage[pdftex]graphicx
usepackagecaption
usepackagebooktabs, calc, cleveref
usepackagemathptmx%Font: Times New Roman
%usepackagefontspec
usepackagesetspace
usepackage[font=small,labelfont=bf]caption
usepackage[titles]tocloft%needed for preamble, specifically cftsetindents
usepackage[notquote]hanging%for hanging indentation, used in the List of Publications section, [notquote] required so file doesn't crash
usepackagesectsty%used to format chapter title to be centre etc.
chapternumberfontnohangcenteringlargeMakeUppercase %to format the font for the 'Chapter' number
chaptertitlefontnohangcenteringlargeMakeUppercase
sectionfontfontsize1215selectfont
usepackagetikz
usepackage[final]pdfpages%to insert the Original Literary Work Declaration from a PDF file
%setmainfontTimes New Roman %Font: Times New Roman
usepackage[footskip=1cm]geometry%Set Margin
geometry
left=40mm,
right=20mm,
top=20mm,
bottom=20mm,
%%%%%%%
renewcommandcftchapleadercftdotfillcftdotsep % for chapters dots
renewcommandcftchappresnumCHAPTER % prefix "Chapter " to chapter number in ToC
cftsetindentschapter0em6em % set amount of indenting
pagestylefancy
lhead
chead
rhead
lfoot
cfoot
rfootthepage
renewcommandheadrulewidth0pt
renewcommandfootrulewidth0pt
%%%%
fancypagestyleplain
fancyfoot
fancyfoot[R]fontsize10pt10ptselectfontthepage
renewcommandheadrulewidth0pt
renewcommandfootrulewidth0pt
pagestyleplain
%%%%
renewcommandcontentsnameTable of Contents%Change 'Contents' to 'Table of Contents'
renewcommandbibnameREFERENCES%Used to change the name "Bibliography" to "References"
%%%%%
newtheoremproProposition[section]
newtheoremthmTheorem[section]
newtheoremcorCorollary[section]
newtheoremremRemark[section]
newtheoremexmExample[section]
newtheoremlemLemma[section]
newtheoremdefinDefinition[section]
newtheoremquesQuestion[section]
newtheoremconjConjecture[section]
setstretch2
%%%%%%%%%%%
%%%%%%%%%%%%
begindocument
pagenumberingarabic
setcounterpage1
%Chapter 1
chapterMakeUppercaseINTRODUCTION
%Background of study
sectionBackground of study
Associating a group with a graph and finding relationships between them is an area of research that has generated much interest. Research on this subject aims at investigating relationships between groups and graphs and at exploring applications of one to the other.
newpage
The main contributions of this work
enddocument
margins
margins
asked 3 mins ago
user3089201user3089201
164
164
This is because the chapter title has inserts blank space above it. You have to change the format of thechapter
.
– Sigur
1 min ago
add a comment |
This is because the chapter title has inserts blank space above it. You have to change the format of thechapter
.
– Sigur
1 min ago
This is because the chapter title has inserts blank space above it. You have to change the format of the
chapter
.– Sigur
1 min ago
This is because the chapter title has inserts blank space above it. You have to change the format of the
chapter
.– Sigur
1 min ago
add a comment |
0
active
oldest
votes
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
);
);
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
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f479403%2fmargin-setting-not-consistent%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
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.
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
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f479403%2fmargin-setting-not-consistent%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
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
Required, but never shown
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
Required, but never shown
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
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
This is because the chapter title has inserts blank space above it. You have to change the format of the
chapter
.– Sigur
1 min ago