Print Chapter name in TOC but not where chapter startsChange chapter name in ToCChapter Name not...
Is it possible to run Internet Explorer on OS X El Capitan?
Is it inappropriate for a student to attend their mentor's dissertation defense?
Took a trip to a parallel universe, need help deciphering
Why is Collection not simply treated as Collection<?>
Emailing HOD to enhance faculty application
Has there ever been an airliner design involving reducing generator load by installing solar panels?
Can a virus destroy the BIOS of a modern computer?
Why does Kotter return in Welcome Back Kotter?
Anagram holiday
How can I prevent hyper evolved versions of regular creatures from wiping out their cousins?
What's the point of deactivating Num Lock on login screens?
What is the word for reserving something for yourself before others do?
Can a rocket refuel on Mars from water?
I would say: "You are another teacher", but she is a woman and I am a man
How is it possible to have an ability score that is less than 3?
Should I tell management that I intend to leave due to bad software development practices?
Blender 2.8 I can't see vertices, edges or faces in edit mode
Fully-Firstable Anagram Sets
What is the intuition behind short exact sequences of groups; in particular, what is the intuition behind group extensions?
Would Slavery Reparations be considered Bills of Attainder and hence Illegal?
CEO ridiculed me with gay jokes and grabbed me and wouldn't let go - now getting pushed out of company
When a company launches a new product do they "come out" with a new product or do they "come up" with a new product?
Assassin's bullet with mercury
Theorems that impeded progress
Print Chapter name in TOC but not where chapter starts
Change chapter name in ToCChapter Name not appearingPage number on the left with book classChapter numbers not showing on page, but showing in TOCRemove both number and chapter but keep in TOCHow to show Mini table only sections in a chapter not other chapter?Roman number in chapter header but not in TOCChapter number before Chapter name in LaTeXAdding Word “CHAPTER” above each chapter name in tocDifferentiate Chapter Headings in ToC and Body
I want to use an image (in which chapter name is written) in place of where the chapter name is. But chapter name is required in TOC as text.
Following code give a blank page before the chapter title image.
Thanks for all the help :)
MWE
documentclass[12pt,a4paper,fleqn,openany,twoside]{book}
%
usepackage{subfiles}
usepackage{TB_bookstyle}
%%%%%
%
begin{document}
%
newgeometry{textwidth=paperwidth, textheight=paperheight, noheadfoot, nomarginpar}
chapter*{tiny{color{white}{Messages}}}
addcontentsline{toc}{chapter}{Messages}
%addtocounter{chapter}{1}
begin{figure}[h]
centering
includegraphics[width=1.0textwidth]{./images/Chap_Msgs}
end{figure}
end{document}
Self Made style file:
ProvidesPackage{TB_bookstyle}
%
%%% PAGE DIMENSIONS AND SETTINGS
usepackage{geometry} % to change the page dimensions
geometry{a4paper} % or letterpaper (US) or a5paper or....
%geometry{margin=1.5in} % for example, change the margins to 2 inches all round
geometry{top=0.8in, bottom=0.8in, left=1.0in, right=1.0in}
% geometry{landscape} % set up the page for landscape
% read geometry.pdf for detailed page layout information
%
%%%%GRAPHICS, FLOATS, SYMBOLS AND MATHS
% support the includegraphics command and options
usepackage{graphicx}
%usepackage{booktabs} % for much better looking tables
usepackage{floatrow}%for side captions
usepackage[utf8]{inputenc}%for proper characters
% for rotating floats
usepackage{lscape}
%for subfigures and tables
usepackage[font=small,labelfont=bf]{caption}
%usepackage{subcaption}
usepackage[font=footnotesize]{subfig}
usepackage[para,online,flushleft]{threeparttable}
usepackage{array}
usepackage{tabularx}
usepackage{booktabs}
newcolumntype{b}{X}
newcolumntype{s}{>{hsize=.5hsize}X}
usepackage{longtable}%for long tables
%%%
usepackage{amsmath,amssymb}
%%
usepackage[allcolors=black,colorlinks=true]{hyperref}%no boxes for links
usepackage[noabbrev,capitalize]{cleveref}%automatic table /figure before refs
creflabelformat{equation}{#2textup{#1}#3}%remove brackets around eq nos
%%%
usepackage[osf,sc]{mathpazo} %for upright math
usepackage{eulervm}
usepackage{gensymb}
usepackage{textcomp}
usepackage{wasysym} %for per mil sign
usepackage{array} % for better arrays (eg matrices) in maths
usepackage{paralist}
usepackage{enumitem}% very flexible & customisable lists (eg. enumerate/itemize, etc.)
usepackage{verbatim} % adds environment for commenting out blocks of text & for better verbatim
usepackage{subfig} % make it possible to include more than one captioned figure/table in a single float
usepackage[version=3]{mhchem} % for upright CO2 etc
usepackage{wrapfig}%text wrapped figures/tables
%%
usepackage{calligra}%For cursive font
usepackage[T1]{fontenc}
usepackage{blindtext, color}
definecolor{brown}{rgb}{0.5, 0.2, 0.0}
definecolor{cornellred}{rgb}{0.7, 0.11, 0.11}
definecolor{brown_w}{rgb}{0.65, 0.16, 0.16}
usepackage{titlesec}
%titleformat{chapter*}[hang]{tinybfseries}{thechapterhsptextcolor{white}{|}hsp}{0pt}{tinybfseries}
%titleformat{chapter}[hang]{normalfontLargebfseries}{chaptertitlename thechapter:}{1em}{}
titlespacing{chapter}{-20pt}{-20pt}{-20pt}
titlespacing{section}{0pt}{0pt}{5pt}
titlespacing{subsection}{0pt}{0pt}{5pt}
titlespacing{subsubsection}{0pt}{0pt}{5pt}
%to stop starting new chapter in new page
usepackage{atbegshi,etoolbox}
%%
%%% HEADERS & FOOTERS
usepackage{fancyhdr} % This should be set AFTER setting up the page geometry
%setlength{headheight}{50pt}
pagestyle{empty} % options: empty , plain , fancy
%%
%%% ToC (table of contents) APPEARANCE
usepackage[nottoc,notlof,notlot]{tocbibind} % Put the bibliography in the ToC
%%%%
%renewcommand{cftsecfont}{rmfamilymdseriesupshape}
%renewcommand{cftsecpagefont}{rmfamilymdseriesupshape} % No bold!
%usepackage{tocloft} % Alter the style of the Table of Contents
setcounter{tocdepth}{4}
renewcommand{bibname}{References}
%usepackage{bibentry}%for no ref list
%made command
%makeatletter
%newcommand*{toccontents}{@starttoc{toc}}
%makeatother
%renewcommand{contentsname}{}
%%%%%%%
%
%usepackage[colon,authoryear]{natbib}
%
%mytilde
newcommand{mytilde}{raise.17exhbox{$scriptstylemathtt{sim}$}}
%%%
table-of-contents chapters titlesec
add a comment |
I want to use an image (in which chapter name is written) in place of where the chapter name is. But chapter name is required in TOC as text.
Following code give a blank page before the chapter title image.
Thanks for all the help :)
MWE
documentclass[12pt,a4paper,fleqn,openany,twoside]{book}
%
usepackage{subfiles}
usepackage{TB_bookstyle}
%%%%%
%
begin{document}
%
newgeometry{textwidth=paperwidth, textheight=paperheight, noheadfoot, nomarginpar}
chapter*{tiny{color{white}{Messages}}}
addcontentsline{toc}{chapter}{Messages}
%addtocounter{chapter}{1}
begin{figure}[h]
centering
includegraphics[width=1.0textwidth]{./images/Chap_Msgs}
end{figure}
end{document}
Self Made style file:
ProvidesPackage{TB_bookstyle}
%
%%% PAGE DIMENSIONS AND SETTINGS
usepackage{geometry} % to change the page dimensions
geometry{a4paper} % or letterpaper (US) or a5paper or....
%geometry{margin=1.5in} % for example, change the margins to 2 inches all round
geometry{top=0.8in, bottom=0.8in, left=1.0in, right=1.0in}
% geometry{landscape} % set up the page for landscape
% read geometry.pdf for detailed page layout information
%
%%%%GRAPHICS, FLOATS, SYMBOLS AND MATHS
% support the includegraphics command and options
usepackage{graphicx}
%usepackage{booktabs} % for much better looking tables
usepackage{floatrow}%for side captions
usepackage[utf8]{inputenc}%for proper characters
% for rotating floats
usepackage{lscape}
%for subfigures and tables
usepackage[font=small,labelfont=bf]{caption}
%usepackage{subcaption}
usepackage[font=footnotesize]{subfig}
usepackage[para,online,flushleft]{threeparttable}
usepackage{array}
usepackage{tabularx}
usepackage{booktabs}
newcolumntype{b}{X}
newcolumntype{s}{>{hsize=.5hsize}X}
usepackage{longtable}%for long tables
%%%
usepackage{amsmath,amssymb}
%%
usepackage[allcolors=black,colorlinks=true]{hyperref}%no boxes for links
usepackage[noabbrev,capitalize]{cleveref}%automatic table /figure before refs
creflabelformat{equation}{#2textup{#1}#3}%remove brackets around eq nos
%%%
usepackage[osf,sc]{mathpazo} %for upright math
usepackage{eulervm}
usepackage{gensymb}
usepackage{textcomp}
usepackage{wasysym} %for per mil sign
usepackage{array} % for better arrays (eg matrices) in maths
usepackage{paralist}
usepackage{enumitem}% very flexible & customisable lists (eg. enumerate/itemize, etc.)
usepackage{verbatim} % adds environment for commenting out blocks of text & for better verbatim
usepackage{subfig} % make it possible to include more than one captioned figure/table in a single float
usepackage[version=3]{mhchem} % for upright CO2 etc
usepackage{wrapfig}%text wrapped figures/tables
%%
usepackage{calligra}%For cursive font
usepackage[T1]{fontenc}
usepackage{blindtext, color}
definecolor{brown}{rgb}{0.5, 0.2, 0.0}
definecolor{cornellred}{rgb}{0.7, 0.11, 0.11}
definecolor{brown_w}{rgb}{0.65, 0.16, 0.16}
usepackage{titlesec}
%titleformat{chapter*}[hang]{tinybfseries}{thechapterhsptextcolor{white}{|}hsp}{0pt}{tinybfseries}
%titleformat{chapter}[hang]{normalfontLargebfseries}{chaptertitlename thechapter:}{1em}{}
titlespacing{chapter}{-20pt}{-20pt}{-20pt}
titlespacing{section}{0pt}{0pt}{5pt}
titlespacing{subsection}{0pt}{0pt}{5pt}
titlespacing{subsubsection}{0pt}{0pt}{5pt}
%to stop starting new chapter in new page
usepackage{atbegshi,etoolbox}
%%
%%% HEADERS & FOOTERS
usepackage{fancyhdr} % This should be set AFTER setting up the page geometry
%setlength{headheight}{50pt}
pagestyle{empty} % options: empty , plain , fancy
%%
%%% ToC (table of contents) APPEARANCE
usepackage[nottoc,notlof,notlot]{tocbibind} % Put the bibliography in the ToC
%%%%
%renewcommand{cftsecfont}{rmfamilymdseriesupshape}
%renewcommand{cftsecpagefont}{rmfamilymdseriesupshape} % No bold!
%usepackage{tocloft} % Alter the style of the Table of Contents
setcounter{tocdepth}{4}
renewcommand{bibname}{References}
%usepackage{bibentry}%for no ref list
%made command
%makeatletter
%newcommand*{toccontents}{@starttoc{toc}}
%makeatother
%renewcommand{contentsname}{}
%%%%%%%
%
%usepackage[colon,authoryear]{natbib}
%
%mytilde
newcommand{mytilde}{raise.17exhbox{$scriptstylemathtt{sim}$}}
%%%
table-of-contents chapters titlesec
Using your code, I only get a single page with an image on it, nothing more. I think the code doesn't really reproduce your problem.
– JouleV
12 mins ago
Well, I ran this MWE again and every time I am getting two pages. One blank one not
– Trina
4 mins ago
add a comment |
I want to use an image (in which chapter name is written) in place of where the chapter name is. But chapter name is required in TOC as text.
Following code give a blank page before the chapter title image.
Thanks for all the help :)
MWE
documentclass[12pt,a4paper,fleqn,openany,twoside]{book}
%
usepackage{subfiles}
usepackage{TB_bookstyle}
%%%%%
%
begin{document}
%
newgeometry{textwidth=paperwidth, textheight=paperheight, noheadfoot, nomarginpar}
chapter*{tiny{color{white}{Messages}}}
addcontentsline{toc}{chapter}{Messages}
%addtocounter{chapter}{1}
begin{figure}[h]
centering
includegraphics[width=1.0textwidth]{./images/Chap_Msgs}
end{figure}
end{document}
Self Made style file:
ProvidesPackage{TB_bookstyle}
%
%%% PAGE DIMENSIONS AND SETTINGS
usepackage{geometry} % to change the page dimensions
geometry{a4paper} % or letterpaper (US) or a5paper or....
%geometry{margin=1.5in} % for example, change the margins to 2 inches all round
geometry{top=0.8in, bottom=0.8in, left=1.0in, right=1.0in}
% geometry{landscape} % set up the page for landscape
% read geometry.pdf for detailed page layout information
%
%%%%GRAPHICS, FLOATS, SYMBOLS AND MATHS
% support the includegraphics command and options
usepackage{graphicx}
%usepackage{booktabs} % for much better looking tables
usepackage{floatrow}%for side captions
usepackage[utf8]{inputenc}%for proper characters
% for rotating floats
usepackage{lscape}
%for subfigures and tables
usepackage[font=small,labelfont=bf]{caption}
%usepackage{subcaption}
usepackage[font=footnotesize]{subfig}
usepackage[para,online,flushleft]{threeparttable}
usepackage{array}
usepackage{tabularx}
usepackage{booktabs}
newcolumntype{b}{X}
newcolumntype{s}{>{hsize=.5hsize}X}
usepackage{longtable}%for long tables
%%%
usepackage{amsmath,amssymb}
%%
usepackage[allcolors=black,colorlinks=true]{hyperref}%no boxes for links
usepackage[noabbrev,capitalize]{cleveref}%automatic table /figure before refs
creflabelformat{equation}{#2textup{#1}#3}%remove brackets around eq nos
%%%
usepackage[osf,sc]{mathpazo} %for upright math
usepackage{eulervm}
usepackage{gensymb}
usepackage{textcomp}
usepackage{wasysym} %for per mil sign
usepackage{array} % for better arrays (eg matrices) in maths
usepackage{paralist}
usepackage{enumitem}% very flexible & customisable lists (eg. enumerate/itemize, etc.)
usepackage{verbatim} % adds environment for commenting out blocks of text & for better verbatim
usepackage{subfig} % make it possible to include more than one captioned figure/table in a single float
usepackage[version=3]{mhchem} % for upright CO2 etc
usepackage{wrapfig}%text wrapped figures/tables
%%
usepackage{calligra}%For cursive font
usepackage[T1]{fontenc}
usepackage{blindtext, color}
definecolor{brown}{rgb}{0.5, 0.2, 0.0}
definecolor{cornellred}{rgb}{0.7, 0.11, 0.11}
definecolor{brown_w}{rgb}{0.65, 0.16, 0.16}
usepackage{titlesec}
%titleformat{chapter*}[hang]{tinybfseries}{thechapterhsptextcolor{white}{|}hsp}{0pt}{tinybfseries}
%titleformat{chapter}[hang]{normalfontLargebfseries}{chaptertitlename thechapter:}{1em}{}
titlespacing{chapter}{-20pt}{-20pt}{-20pt}
titlespacing{section}{0pt}{0pt}{5pt}
titlespacing{subsection}{0pt}{0pt}{5pt}
titlespacing{subsubsection}{0pt}{0pt}{5pt}
%to stop starting new chapter in new page
usepackage{atbegshi,etoolbox}
%%
%%% HEADERS & FOOTERS
usepackage{fancyhdr} % This should be set AFTER setting up the page geometry
%setlength{headheight}{50pt}
pagestyle{empty} % options: empty , plain , fancy
%%
%%% ToC (table of contents) APPEARANCE
usepackage[nottoc,notlof,notlot]{tocbibind} % Put the bibliography in the ToC
%%%%
%renewcommand{cftsecfont}{rmfamilymdseriesupshape}
%renewcommand{cftsecpagefont}{rmfamilymdseriesupshape} % No bold!
%usepackage{tocloft} % Alter the style of the Table of Contents
setcounter{tocdepth}{4}
renewcommand{bibname}{References}
%usepackage{bibentry}%for no ref list
%made command
%makeatletter
%newcommand*{toccontents}{@starttoc{toc}}
%makeatother
%renewcommand{contentsname}{}
%%%%%%%
%
%usepackage[colon,authoryear]{natbib}
%
%mytilde
newcommand{mytilde}{raise.17exhbox{$scriptstylemathtt{sim}$}}
%%%
table-of-contents chapters titlesec
I want to use an image (in which chapter name is written) in place of where the chapter name is. But chapter name is required in TOC as text.
Following code give a blank page before the chapter title image.
Thanks for all the help :)
MWE
documentclass[12pt,a4paper,fleqn,openany,twoside]{book}
%
usepackage{subfiles}
usepackage{TB_bookstyle}
%%%%%
%
begin{document}
%
newgeometry{textwidth=paperwidth, textheight=paperheight, noheadfoot, nomarginpar}
chapter*{tiny{color{white}{Messages}}}
addcontentsline{toc}{chapter}{Messages}
%addtocounter{chapter}{1}
begin{figure}[h]
centering
includegraphics[width=1.0textwidth]{./images/Chap_Msgs}
end{figure}
end{document}
Self Made style file:
ProvidesPackage{TB_bookstyle}
%
%%% PAGE DIMENSIONS AND SETTINGS
usepackage{geometry} % to change the page dimensions
geometry{a4paper} % or letterpaper (US) or a5paper or....
%geometry{margin=1.5in} % for example, change the margins to 2 inches all round
geometry{top=0.8in, bottom=0.8in, left=1.0in, right=1.0in}
% geometry{landscape} % set up the page for landscape
% read geometry.pdf for detailed page layout information
%
%%%%GRAPHICS, FLOATS, SYMBOLS AND MATHS
% support the includegraphics command and options
usepackage{graphicx}
%usepackage{booktabs} % for much better looking tables
usepackage{floatrow}%for side captions
usepackage[utf8]{inputenc}%for proper characters
% for rotating floats
usepackage{lscape}
%for subfigures and tables
usepackage[font=small,labelfont=bf]{caption}
%usepackage{subcaption}
usepackage[font=footnotesize]{subfig}
usepackage[para,online,flushleft]{threeparttable}
usepackage{array}
usepackage{tabularx}
usepackage{booktabs}
newcolumntype{b}{X}
newcolumntype{s}{>{hsize=.5hsize}X}
usepackage{longtable}%for long tables
%%%
usepackage{amsmath,amssymb}
%%
usepackage[allcolors=black,colorlinks=true]{hyperref}%no boxes for links
usepackage[noabbrev,capitalize]{cleveref}%automatic table /figure before refs
creflabelformat{equation}{#2textup{#1}#3}%remove brackets around eq nos
%%%
usepackage[osf,sc]{mathpazo} %for upright math
usepackage{eulervm}
usepackage{gensymb}
usepackage{textcomp}
usepackage{wasysym} %for per mil sign
usepackage{array} % for better arrays (eg matrices) in maths
usepackage{paralist}
usepackage{enumitem}% very flexible & customisable lists (eg. enumerate/itemize, etc.)
usepackage{verbatim} % adds environment for commenting out blocks of text & for better verbatim
usepackage{subfig} % make it possible to include more than one captioned figure/table in a single float
usepackage[version=3]{mhchem} % for upright CO2 etc
usepackage{wrapfig}%text wrapped figures/tables
%%
usepackage{calligra}%For cursive font
usepackage[T1]{fontenc}
usepackage{blindtext, color}
definecolor{brown}{rgb}{0.5, 0.2, 0.0}
definecolor{cornellred}{rgb}{0.7, 0.11, 0.11}
definecolor{brown_w}{rgb}{0.65, 0.16, 0.16}
usepackage{titlesec}
%titleformat{chapter*}[hang]{tinybfseries}{thechapterhsptextcolor{white}{|}hsp}{0pt}{tinybfseries}
%titleformat{chapter}[hang]{normalfontLargebfseries}{chaptertitlename thechapter:}{1em}{}
titlespacing{chapter}{-20pt}{-20pt}{-20pt}
titlespacing{section}{0pt}{0pt}{5pt}
titlespacing{subsection}{0pt}{0pt}{5pt}
titlespacing{subsubsection}{0pt}{0pt}{5pt}
%to stop starting new chapter in new page
usepackage{atbegshi,etoolbox}
%%
%%% HEADERS & FOOTERS
usepackage{fancyhdr} % This should be set AFTER setting up the page geometry
%setlength{headheight}{50pt}
pagestyle{empty} % options: empty , plain , fancy
%%
%%% ToC (table of contents) APPEARANCE
usepackage[nottoc,notlof,notlot]{tocbibind} % Put the bibliography in the ToC
%%%%
%renewcommand{cftsecfont}{rmfamilymdseriesupshape}
%renewcommand{cftsecpagefont}{rmfamilymdseriesupshape} % No bold!
%usepackage{tocloft} % Alter the style of the Table of Contents
setcounter{tocdepth}{4}
renewcommand{bibname}{References}
%usepackage{bibentry}%for no ref list
%made command
%makeatletter
%newcommand*{toccontents}{@starttoc{toc}}
%makeatother
%renewcommand{contentsname}{}
%%%%%%%
%
%usepackage[colon,authoryear]{natbib}
%
%mytilde
newcommand{mytilde}{raise.17exhbox{$scriptstylemathtt{sim}$}}
%%%
table-of-contents chapters titlesec
table-of-contents chapters titlesec
asked 14 mins ago
TrinaTrina
204
204
Using your code, I only get a single page with an image on it, nothing more. I think the code doesn't really reproduce your problem.
– JouleV
12 mins ago
Well, I ran this MWE again and every time I am getting two pages. One blank one not
– Trina
4 mins ago
add a comment |
Using your code, I only get a single page with an image on it, nothing more. I think the code doesn't really reproduce your problem.
– JouleV
12 mins ago
Well, I ran this MWE again and every time I am getting two pages. One blank one not
– Trina
4 mins ago
Using your code, I only get a single page with an image on it, nothing more. I think the code doesn't really reproduce your problem.
– JouleV
12 mins ago
Using your code, I only get a single page with an image on it, nothing more. I think the code doesn't really reproduce your problem.
– JouleV
12 mins ago
Well, I ran this MWE again and every time I am getting two pages. One blank one not
– Trina
4 mins ago
Well, I ran this MWE again and every time I am getting two pages. One blank one not
– Trina
4 mins 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%2f483288%2fprint-chapter-name-in-toc-but-not-where-chapter-starts%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%2f483288%2fprint-chapter-name-in-toc-but-not-where-chapter-starts%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
Using your code, I only get a single page with an image on it, nothing more. I think the code doesn't really reproduce your problem.
– JouleV
12 mins ago
Well, I ran this MWE again and every time I am getting two pages. One blank one not
– Trina
4 mins ago