TColorBox and Tikz, arrows are not on the diagramTikZ: Cropping the Bounding BoxTikz task diagram (alignment...
As a 16 year old, how can I keep my money safe from my mother?
Does two puncture wounds mean venomous snake?
How quickly could a country build a tall concrete wall around a city?
Which likelihood function is used in linear regression?
Are any jet engines used in combat aircraft water cooled?
What are these two charactes marked red
What are good ways to improve as a writer other than writing courses?
A stranger from Norway wants to have money delivered to me
Why doesn't the "ch" pronunciation rule occur for words such as "durch" and "manchmal"?
How can I iterate this process?
Why did the RAAF procure the F/A-18 despite being purpose-built for carriers?
Why are Gatwick's runways too close together?
Visa National - No Exit Stamp From France on Return to the UK
Why should we care about syntactic proofs if we can show semantically that statements are true?
Can I legally make a real mobile app based on a fictional app from a TV show?
Plausibility of Ice Eaters in the Arctic
Author changing name
In Pokémon Go, why does one of my Pikachu have an option to evolve, but another one doesn't?
Is it incorrect to write "I rate this book a 3 out of 4 stars?"
How would I as a DM create a smart phone-like spell/device my players could use?
Could one become a successful researcher by writing some really good papers while being outside academia?
Unique combinations of a list of tuples
Performance of a branch and bound algorithm VS branch-cut-heuristics
What is the maximum number of PC-controlled undead?
TColorBox and Tikz, arrows are not on the diagram
TikZ: Cropping the Bounding BoxTikz task diagram (alignment and arrows)Rotate a node but not its content: the case of the ellipse decorationHow to define the default vertical distance between nodes?Numerical conditional within tikz keys?TikZ/ERD: node (=Entity) label on the insideTikZ: Drawing an arc from an intersection to an intersectionWhat is the difference between points, coordinates, and anchors in TikZ/PGF and how can I deal with them?media9 package and the tcolorbox package are not compatibleCan not break Tcolorbox
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
Below I have included a mwe. As you can see, in the last diagram, the errors for the last three boxes are rendering onto the next page. How can I fix this? I compile using TexShop which uses this command pdftex --file-line-error --synctex=1
. Yes, I have compiled more than twice.
documentclass[11pt, letterpaper, oneside]{memoir}
usepackage{libertine}
usepackage{libertinust1math}
usepackage[T1]{fontenc}
usepackage{graphicx}
usepackage{xcolor}
usepackage{enumitem, amssymb}
usepackage{textcomp}
usepackage[tracking = true, letterspace = 125]{microtype}
usepackage{soul}
usepackage{mfirstuc}
usepackage{scalerel}
usepackage[skins, raster]{tcolorbox}
usepackage{tikz}
usetikzlibrary{decorations,decorations.markings}
usepackage{etoolbox}
usetikzlibrary{optics}
usepackage{draftwatermark}
usepackage[pass]{geometry}
usepackage[hyphens]{url}
usepackage{hyperxmp}
usepackage{hyperref}
usepackage{xfrac}
usepackage{multicol}
usepackage[english]{babel}
usepackage{blindtext}
% force LaTeX to write the author, title, and copyright into the PDF
makeatletter
AtEndDocument{hyxmp@find@metadatahyxmp@embed@packet}
makeatother
hypersetup{
colorlinks=true,
linktoc=all,
urlcolor=blue,
linkcolor=part,
draft=false,
pdfauthor={some authoer},
pdftitle={some org},
pdfcopyright={Copyright copyright~2019 by author. Some rights reserved.},
pdfpagelabels=true,
implicit=false
}
chapterstyle{ell}
setlength{emergencystretch}{6pt}
setlrmarginsandblock{1in}{1in}{*}
checkandfixthelayout
linespread{1.3}
%%%%%%%%%%%%%%%%%%%%%%%%%%
% The Document
%%%%%%%%%%%%%%%%%%%%%%%%%%
begin{document}
title{A Title}
author{An Author}
date{}
maketitle
frontmatter
blindtext
mainmatter
Blindtext
tcbset{enhanced, nobeforeafter, sidebyside align=top,box align=center, width=1.6in}
begin{center}
begin{tcolorbox}[remember as=one]
Something happens
end{tcolorbox}
qquad
begin{tcolorbox}[remember as=two]
a result
end{tcolorbox}
end{center}
begin{center}
begin{tcolorbox}[remember as=three]
Many more somethings happen and the world nearly dies
end{tcolorbox}
qquad
begin{tcolorbox}[remember as=four]
a result
end{tcolorbox}
end{center}
begin{center}
begin{tcolorbox}[remember as=five]
Something happens
end{tcolorbox}
qquad
begin{tcolorbox}[remember as=six]
a result
end{tcolorbox}
end{center}
begin{tikzpicture}[overlay,remember picture,line width=0.5mm]
draw[->] (one.east) to (two.west);
draw[->] (three.east) to (four.west);
draw[->] (five.east) to (six.west);
end{tikzpicture}
blindtext
begin{center}
begin{tcolorbox}[remember as=1]
Something happens
end{tcolorbox}
qquad
begin{tcolorbox}[remember as=2]
a result
end{tcolorbox}
end{center}
begin{center}
begin{tcolorbox}[remember as=3]
Something happens
end{tcolorbox}
qquad
begin{tcolorbox}[remember as=4]
a result
end{tcolorbox}
end{center}
begin{center}
begin{tcolorbox}[remember as=5]
Something happens
end{tcolorbox}
qquad
begin{tcolorbox}[remember as=6]
a result
end{tcolorbox}
end{center}
begin{tikzpicture}[overlay,remember picture,line width=0.5mm]
draw[->] (1.east) to (2.west);
draw[->] (3.east) to (4.west);
draw[->] (5.east) to (6.west);
end{tikzpicture}
backmatter
blindtext
end{document}
tikz-pgf tcolorbox
add a comment |
Below I have included a mwe. As you can see, in the last diagram, the errors for the last three boxes are rendering onto the next page. How can I fix this? I compile using TexShop which uses this command pdftex --file-line-error --synctex=1
. Yes, I have compiled more than twice.
documentclass[11pt, letterpaper, oneside]{memoir}
usepackage{libertine}
usepackage{libertinust1math}
usepackage[T1]{fontenc}
usepackage{graphicx}
usepackage{xcolor}
usepackage{enumitem, amssymb}
usepackage{textcomp}
usepackage[tracking = true, letterspace = 125]{microtype}
usepackage{soul}
usepackage{mfirstuc}
usepackage{scalerel}
usepackage[skins, raster]{tcolorbox}
usepackage{tikz}
usetikzlibrary{decorations,decorations.markings}
usepackage{etoolbox}
usetikzlibrary{optics}
usepackage{draftwatermark}
usepackage[pass]{geometry}
usepackage[hyphens]{url}
usepackage{hyperxmp}
usepackage{hyperref}
usepackage{xfrac}
usepackage{multicol}
usepackage[english]{babel}
usepackage{blindtext}
% force LaTeX to write the author, title, and copyright into the PDF
makeatletter
AtEndDocument{hyxmp@find@metadatahyxmp@embed@packet}
makeatother
hypersetup{
colorlinks=true,
linktoc=all,
urlcolor=blue,
linkcolor=part,
draft=false,
pdfauthor={some authoer},
pdftitle={some org},
pdfcopyright={Copyright copyright~2019 by author. Some rights reserved.},
pdfpagelabels=true,
implicit=false
}
chapterstyle{ell}
setlength{emergencystretch}{6pt}
setlrmarginsandblock{1in}{1in}{*}
checkandfixthelayout
linespread{1.3}
%%%%%%%%%%%%%%%%%%%%%%%%%%
% The Document
%%%%%%%%%%%%%%%%%%%%%%%%%%
begin{document}
title{A Title}
author{An Author}
date{}
maketitle
frontmatter
blindtext
mainmatter
Blindtext
tcbset{enhanced, nobeforeafter, sidebyside align=top,box align=center, width=1.6in}
begin{center}
begin{tcolorbox}[remember as=one]
Something happens
end{tcolorbox}
qquad
begin{tcolorbox}[remember as=two]
a result
end{tcolorbox}
end{center}
begin{center}
begin{tcolorbox}[remember as=three]
Many more somethings happen and the world nearly dies
end{tcolorbox}
qquad
begin{tcolorbox}[remember as=four]
a result
end{tcolorbox}
end{center}
begin{center}
begin{tcolorbox}[remember as=five]
Something happens
end{tcolorbox}
qquad
begin{tcolorbox}[remember as=six]
a result
end{tcolorbox}
end{center}
begin{tikzpicture}[overlay,remember picture,line width=0.5mm]
draw[->] (one.east) to (two.west);
draw[->] (three.east) to (four.west);
draw[->] (five.east) to (six.west);
end{tikzpicture}
blindtext
begin{center}
begin{tcolorbox}[remember as=1]
Something happens
end{tcolorbox}
qquad
begin{tcolorbox}[remember as=2]
a result
end{tcolorbox}
end{center}
begin{center}
begin{tcolorbox}[remember as=3]
Something happens
end{tcolorbox}
qquad
begin{tcolorbox}[remember as=4]
a result
end{tcolorbox}
end{center}
begin{center}
begin{tcolorbox}[remember as=5]
Something happens
end{tcolorbox}
qquad
begin{tcolorbox}[remember as=6]
a result
end{tcolorbox}
end{center}
begin{tikzpicture}[overlay,remember picture,line width=0.5mm]
draw[->] (1.east) to (2.west);
draw[->] (3.east) to (4.west);
draw[->] (5.east) to (6.west);
end{tikzpicture}
backmatter
blindtext
end{document}
tikz-pgf tcolorbox
add a comment |
Below I have included a mwe. As you can see, in the last diagram, the errors for the last three boxes are rendering onto the next page. How can I fix this? I compile using TexShop which uses this command pdftex --file-line-error --synctex=1
. Yes, I have compiled more than twice.
documentclass[11pt, letterpaper, oneside]{memoir}
usepackage{libertine}
usepackage{libertinust1math}
usepackage[T1]{fontenc}
usepackage{graphicx}
usepackage{xcolor}
usepackage{enumitem, amssymb}
usepackage{textcomp}
usepackage[tracking = true, letterspace = 125]{microtype}
usepackage{soul}
usepackage{mfirstuc}
usepackage{scalerel}
usepackage[skins, raster]{tcolorbox}
usepackage{tikz}
usetikzlibrary{decorations,decorations.markings}
usepackage{etoolbox}
usetikzlibrary{optics}
usepackage{draftwatermark}
usepackage[pass]{geometry}
usepackage[hyphens]{url}
usepackage{hyperxmp}
usepackage{hyperref}
usepackage{xfrac}
usepackage{multicol}
usepackage[english]{babel}
usepackage{blindtext}
% force LaTeX to write the author, title, and copyright into the PDF
makeatletter
AtEndDocument{hyxmp@find@metadatahyxmp@embed@packet}
makeatother
hypersetup{
colorlinks=true,
linktoc=all,
urlcolor=blue,
linkcolor=part,
draft=false,
pdfauthor={some authoer},
pdftitle={some org},
pdfcopyright={Copyright copyright~2019 by author. Some rights reserved.},
pdfpagelabels=true,
implicit=false
}
chapterstyle{ell}
setlength{emergencystretch}{6pt}
setlrmarginsandblock{1in}{1in}{*}
checkandfixthelayout
linespread{1.3}
%%%%%%%%%%%%%%%%%%%%%%%%%%
% The Document
%%%%%%%%%%%%%%%%%%%%%%%%%%
begin{document}
title{A Title}
author{An Author}
date{}
maketitle
frontmatter
blindtext
mainmatter
Blindtext
tcbset{enhanced, nobeforeafter, sidebyside align=top,box align=center, width=1.6in}
begin{center}
begin{tcolorbox}[remember as=one]
Something happens
end{tcolorbox}
qquad
begin{tcolorbox}[remember as=two]
a result
end{tcolorbox}
end{center}
begin{center}
begin{tcolorbox}[remember as=three]
Many more somethings happen and the world nearly dies
end{tcolorbox}
qquad
begin{tcolorbox}[remember as=four]
a result
end{tcolorbox}
end{center}
begin{center}
begin{tcolorbox}[remember as=five]
Something happens
end{tcolorbox}
qquad
begin{tcolorbox}[remember as=six]
a result
end{tcolorbox}
end{center}
begin{tikzpicture}[overlay,remember picture,line width=0.5mm]
draw[->] (one.east) to (two.west);
draw[->] (three.east) to (four.west);
draw[->] (five.east) to (six.west);
end{tikzpicture}
blindtext
begin{center}
begin{tcolorbox}[remember as=1]
Something happens
end{tcolorbox}
qquad
begin{tcolorbox}[remember as=2]
a result
end{tcolorbox}
end{center}
begin{center}
begin{tcolorbox}[remember as=3]
Something happens
end{tcolorbox}
qquad
begin{tcolorbox}[remember as=4]
a result
end{tcolorbox}
end{center}
begin{center}
begin{tcolorbox}[remember as=5]
Something happens
end{tcolorbox}
qquad
begin{tcolorbox}[remember as=6]
a result
end{tcolorbox}
end{center}
begin{tikzpicture}[overlay,remember picture,line width=0.5mm]
draw[->] (1.east) to (2.west);
draw[->] (3.east) to (4.west);
draw[->] (5.east) to (6.west);
end{tikzpicture}
backmatter
blindtext
end{document}
tikz-pgf tcolorbox
Below I have included a mwe. As you can see, in the last diagram, the errors for the last three boxes are rendering onto the next page. How can I fix this? I compile using TexShop which uses this command pdftex --file-line-error --synctex=1
. Yes, I have compiled more than twice.
documentclass[11pt, letterpaper, oneside]{memoir}
usepackage{libertine}
usepackage{libertinust1math}
usepackage[T1]{fontenc}
usepackage{graphicx}
usepackage{xcolor}
usepackage{enumitem, amssymb}
usepackage{textcomp}
usepackage[tracking = true, letterspace = 125]{microtype}
usepackage{soul}
usepackage{mfirstuc}
usepackage{scalerel}
usepackage[skins, raster]{tcolorbox}
usepackage{tikz}
usetikzlibrary{decorations,decorations.markings}
usepackage{etoolbox}
usetikzlibrary{optics}
usepackage{draftwatermark}
usepackage[pass]{geometry}
usepackage[hyphens]{url}
usepackage{hyperxmp}
usepackage{hyperref}
usepackage{xfrac}
usepackage{multicol}
usepackage[english]{babel}
usepackage{blindtext}
% force LaTeX to write the author, title, and copyright into the PDF
makeatletter
AtEndDocument{hyxmp@find@metadatahyxmp@embed@packet}
makeatother
hypersetup{
colorlinks=true,
linktoc=all,
urlcolor=blue,
linkcolor=part,
draft=false,
pdfauthor={some authoer},
pdftitle={some org},
pdfcopyright={Copyright copyright~2019 by author. Some rights reserved.},
pdfpagelabels=true,
implicit=false
}
chapterstyle{ell}
setlength{emergencystretch}{6pt}
setlrmarginsandblock{1in}{1in}{*}
checkandfixthelayout
linespread{1.3}
%%%%%%%%%%%%%%%%%%%%%%%%%%
% The Document
%%%%%%%%%%%%%%%%%%%%%%%%%%
begin{document}
title{A Title}
author{An Author}
date{}
maketitle
frontmatter
blindtext
mainmatter
Blindtext
tcbset{enhanced, nobeforeafter, sidebyside align=top,box align=center, width=1.6in}
begin{center}
begin{tcolorbox}[remember as=one]
Something happens
end{tcolorbox}
qquad
begin{tcolorbox}[remember as=two]
a result
end{tcolorbox}
end{center}
begin{center}
begin{tcolorbox}[remember as=three]
Many more somethings happen and the world nearly dies
end{tcolorbox}
qquad
begin{tcolorbox}[remember as=four]
a result
end{tcolorbox}
end{center}
begin{center}
begin{tcolorbox}[remember as=five]
Something happens
end{tcolorbox}
qquad
begin{tcolorbox}[remember as=six]
a result
end{tcolorbox}
end{center}
begin{tikzpicture}[overlay,remember picture,line width=0.5mm]
draw[->] (one.east) to (two.west);
draw[->] (three.east) to (four.west);
draw[->] (five.east) to (six.west);
end{tikzpicture}
blindtext
begin{center}
begin{tcolorbox}[remember as=1]
Something happens
end{tcolorbox}
qquad
begin{tcolorbox}[remember as=2]
a result
end{tcolorbox}
end{center}
begin{center}
begin{tcolorbox}[remember as=3]
Something happens
end{tcolorbox}
qquad
begin{tcolorbox}[remember as=4]
a result
end{tcolorbox}
end{center}
begin{center}
begin{tcolorbox}[remember as=5]
Something happens
end{tcolorbox}
qquad
begin{tcolorbox}[remember as=6]
a result
end{tcolorbox}
end{center}
begin{tikzpicture}[overlay,remember picture,line width=0.5mm]
draw[->] (1.east) to (2.west);
draw[->] (3.east) to (4.west);
draw[->] (5.east) to (6.west);
end{tikzpicture}
backmatter
blindtext
end{document}
tikz-pgf tcolorbox
tikz-pgf tcolorbox
asked 8 hours ago
K. ShoresK. Shores
1635 bronze badges
1635 bronze badges
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
Just place the tikzpicture in the same center
environment to force it to be in the same page ... LaTeX decided to place the colorbox in the next page but changed its mind and forced that after second thought in the previous ... tikz picture was outside the environment and didn't followed the second thought of LaTeX because it is printed after the second internal compilation (needs one more than a real tikzpicture as an overlay)... Hope that helped.
documentclass[11pt, letterpaper, oneside]{memoir}
usepackage{libertine}
usepackage{libertinust1math}
usepackage[T1]{fontenc}
usepackage{graphicx}
usepackage{xcolor}
usepackage{enumitem, amssymb}
usepackage{textcomp}
usepackage[tracking = true, letterspace = 125]{microtype}
usepackage{soul}
usepackage{mfirstuc}
usepackage{scalerel}
usepackage[skins, raster]{tcolorbox}
usepackage{tikz}
usetikzlibrary{decorations,decorations.markings}
usepackage{etoolbox}
usetikzlibrary{optics}
usepackage{draftwatermark}
usepackage[pass]{geometry}
usepackage[hyphens]{url}
usepackage{hyperxmp}
usepackage{hyperref}
usepackage{xfrac}
usepackage{multicol}
usepackage[english]{babel}
usepackage{blindtext}
% force LaTeX to write the author, title, and copyright into the PDF
makeatletter
AtEndDocument{hyxmp@find@metadatahyxmp@embed@packet}
makeatother
hypersetup{
colorlinks=true,
linktoc=all,
urlcolor=blue,
linkcolor=part,
draft=false,
pdfauthor={some authoer},
pdftitle={some org},
pdfcopyright={Copyright copyright~2019 by author. Some rights reserved.},
pdfpagelabels=true,
implicit=false
}
chapterstyle{ell}
setlength{emergencystretch}{6pt}
setlrmarginsandblock{1in}{1in}{*}
checkandfixthelayout
linespread{1.3}
%%%%%%%%%%%%%%%%%%%%%%%%%%
% The Document
%%%%%%%%%%%%%%%%%%%%%%%%%%
begin{document}
title{A Title}
author{An Author}
date{}
maketitle
frontmatter
blindtext
mainmatter
Blindtext
tcbset{enhanced, nobeforeafter, sidebyside align=top,box align=center, width=1.6in}
begin{center}
begin{tcolorbox}[remember as=one]
Something happens
end{tcolorbox}
qquad
begin{tcolorbox}[remember as=two]
a result
end{tcolorbox}
end{center}
begin{center}
begin{tcolorbox}[remember as=three]
Many more somethings happen and the world nearly dies
end{tcolorbox}
qquad
begin{tcolorbox}[remember as=four]
a result
end{tcolorbox}
end{center}
begin{center}
begin{tcolorbox}[remember as=five]
Something happens
end{tcolorbox}
qquad
begin{tcolorbox}[remember as=six]
a result
end{tcolorbox}
begin{tikzpicture}[overlay,remember picture,line width=0.5mm]
draw[->] (one.east) to (two.west);
draw[->] (three.east) to (four.west);
draw[->] (five.east) to (six.west);
end{tikzpicture}
end{center}
blindtext
begin{center}
begin{tcolorbox}[remember as=1]
Something happens
end{tcolorbox}
qquad
begin{tcolorbox}[remember as=2]
a result
end{tcolorbox}
end{center}
begin{center}
begin{tcolorbox}[remember as=3]
Something happens
end{tcolorbox}
qquad
begin{tcolorbox}[remember as=4]
a result
end{tcolorbox}
end{center}
begin{center}
begin{tcolorbox}[remember as=5]
Something happens
end{tcolorbox}
qquad
begin{tcolorbox}[remember as=6]
a result
end{tcolorbox}
begin{tikzpicture}[overlay,remember picture,line width=0.5mm]
draw[->] (1.east) to (2.west);
draw[->] (3.east) to (4.west);
draw[->] (5.east) to (6.west);
end{tikzpicture}
end{center}
clearpage
backmatter
blindtext
end{document}
Well, thank you, king stranger. I've been going insane for about two weeks trying to figure out what to do. That had never even occurred to me.
– K. Shores
8 hours ago
Welcome ... it is somehow strange ... but if you see that the overlay pictures are printed after one more compilation (compile without help tools from command line) you can imagine this ... This is a reason to use command line compilation at least some times :)
– koleygr
8 hours ago
add a comment |
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%2f503715%2ftcolorbox-and-tikz-arrows-are-not-on-the-diagram%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
Just place the tikzpicture in the same center
environment to force it to be in the same page ... LaTeX decided to place the colorbox in the next page but changed its mind and forced that after second thought in the previous ... tikz picture was outside the environment and didn't followed the second thought of LaTeX because it is printed after the second internal compilation (needs one more than a real tikzpicture as an overlay)... Hope that helped.
documentclass[11pt, letterpaper, oneside]{memoir}
usepackage{libertine}
usepackage{libertinust1math}
usepackage[T1]{fontenc}
usepackage{graphicx}
usepackage{xcolor}
usepackage{enumitem, amssymb}
usepackage{textcomp}
usepackage[tracking = true, letterspace = 125]{microtype}
usepackage{soul}
usepackage{mfirstuc}
usepackage{scalerel}
usepackage[skins, raster]{tcolorbox}
usepackage{tikz}
usetikzlibrary{decorations,decorations.markings}
usepackage{etoolbox}
usetikzlibrary{optics}
usepackage{draftwatermark}
usepackage[pass]{geometry}
usepackage[hyphens]{url}
usepackage{hyperxmp}
usepackage{hyperref}
usepackage{xfrac}
usepackage{multicol}
usepackage[english]{babel}
usepackage{blindtext}
% force LaTeX to write the author, title, and copyright into the PDF
makeatletter
AtEndDocument{hyxmp@find@metadatahyxmp@embed@packet}
makeatother
hypersetup{
colorlinks=true,
linktoc=all,
urlcolor=blue,
linkcolor=part,
draft=false,
pdfauthor={some authoer},
pdftitle={some org},
pdfcopyright={Copyright copyright~2019 by author. Some rights reserved.},
pdfpagelabels=true,
implicit=false
}
chapterstyle{ell}
setlength{emergencystretch}{6pt}
setlrmarginsandblock{1in}{1in}{*}
checkandfixthelayout
linespread{1.3}
%%%%%%%%%%%%%%%%%%%%%%%%%%
% The Document
%%%%%%%%%%%%%%%%%%%%%%%%%%
begin{document}
title{A Title}
author{An Author}
date{}
maketitle
frontmatter
blindtext
mainmatter
Blindtext
tcbset{enhanced, nobeforeafter, sidebyside align=top,box align=center, width=1.6in}
begin{center}
begin{tcolorbox}[remember as=one]
Something happens
end{tcolorbox}
qquad
begin{tcolorbox}[remember as=two]
a result
end{tcolorbox}
end{center}
begin{center}
begin{tcolorbox}[remember as=three]
Many more somethings happen and the world nearly dies
end{tcolorbox}
qquad
begin{tcolorbox}[remember as=four]
a result
end{tcolorbox}
end{center}
begin{center}
begin{tcolorbox}[remember as=five]
Something happens
end{tcolorbox}
qquad
begin{tcolorbox}[remember as=six]
a result
end{tcolorbox}
begin{tikzpicture}[overlay,remember picture,line width=0.5mm]
draw[->] (one.east) to (two.west);
draw[->] (three.east) to (four.west);
draw[->] (five.east) to (six.west);
end{tikzpicture}
end{center}
blindtext
begin{center}
begin{tcolorbox}[remember as=1]
Something happens
end{tcolorbox}
qquad
begin{tcolorbox}[remember as=2]
a result
end{tcolorbox}
end{center}
begin{center}
begin{tcolorbox}[remember as=3]
Something happens
end{tcolorbox}
qquad
begin{tcolorbox}[remember as=4]
a result
end{tcolorbox}
end{center}
begin{center}
begin{tcolorbox}[remember as=5]
Something happens
end{tcolorbox}
qquad
begin{tcolorbox}[remember as=6]
a result
end{tcolorbox}
begin{tikzpicture}[overlay,remember picture,line width=0.5mm]
draw[->] (1.east) to (2.west);
draw[->] (3.east) to (4.west);
draw[->] (5.east) to (6.west);
end{tikzpicture}
end{center}
clearpage
backmatter
blindtext
end{document}
Well, thank you, king stranger. I've been going insane for about two weeks trying to figure out what to do. That had never even occurred to me.
– K. Shores
8 hours ago
Welcome ... it is somehow strange ... but if you see that the overlay pictures are printed after one more compilation (compile without help tools from command line) you can imagine this ... This is a reason to use command line compilation at least some times :)
– koleygr
8 hours ago
add a comment |
Just place the tikzpicture in the same center
environment to force it to be in the same page ... LaTeX decided to place the colorbox in the next page but changed its mind and forced that after second thought in the previous ... tikz picture was outside the environment and didn't followed the second thought of LaTeX because it is printed after the second internal compilation (needs one more than a real tikzpicture as an overlay)... Hope that helped.
documentclass[11pt, letterpaper, oneside]{memoir}
usepackage{libertine}
usepackage{libertinust1math}
usepackage[T1]{fontenc}
usepackage{graphicx}
usepackage{xcolor}
usepackage{enumitem, amssymb}
usepackage{textcomp}
usepackage[tracking = true, letterspace = 125]{microtype}
usepackage{soul}
usepackage{mfirstuc}
usepackage{scalerel}
usepackage[skins, raster]{tcolorbox}
usepackage{tikz}
usetikzlibrary{decorations,decorations.markings}
usepackage{etoolbox}
usetikzlibrary{optics}
usepackage{draftwatermark}
usepackage[pass]{geometry}
usepackage[hyphens]{url}
usepackage{hyperxmp}
usepackage{hyperref}
usepackage{xfrac}
usepackage{multicol}
usepackage[english]{babel}
usepackage{blindtext}
% force LaTeX to write the author, title, and copyright into the PDF
makeatletter
AtEndDocument{hyxmp@find@metadatahyxmp@embed@packet}
makeatother
hypersetup{
colorlinks=true,
linktoc=all,
urlcolor=blue,
linkcolor=part,
draft=false,
pdfauthor={some authoer},
pdftitle={some org},
pdfcopyright={Copyright copyright~2019 by author. Some rights reserved.},
pdfpagelabels=true,
implicit=false
}
chapterstyle{ell}
setlength{emergencystretch}{6pt}
setlrmarginsandblock{1in}{1in}{*}
checkandfixthelayout
linespread{1.3}
%%%%%%%%%%%%%%%%%%%%%%%%%%
% The Document
%%%%%%%%%%%%%%%%%%%%%%%%%%
begin{document}
title{A Title}
author{An Author}
date{}
maketitle
frontmatter
blindtext
mainmatter
Blindtext
tcbset{enhanced, nobeforeafter, sidebyside align=top,box align=center, width=1.6in}
begin{center}
begin{tcolorbox}[remember as=one]
Something happens
end{tcolorbox}
qquad
begin{tcolorbox}[remember as=two]
a result
end{tcolorbox}
end{center}
begin{center}
begin{tcolorbox}[remember as=three]
Many more somethings happen and the world nearly dies
end{tcolorbox}
qquad
begin{tcolorbox}[remember as=four]
a result
end{tcolorbox}
end{center}
begin{center}
begin{tcolorbox}[remember as=five]
Something happens
end{tcolorbox}
qquad
begin{tcolorbox}[remember as=six]
a result
end{tcolorbox}
begin{tikzpicture}[overlay,remember picture,line width=0.5mm]
draw[->] (one.east) to (two.west);
draw[->] (three.east) to (four.west);
draw[->] (five.east) to (six.west);
end{tikzpicture}
end{center}
blindtext
begin{center}
begin{tcolorbox}[remember as=1]
Something happens
end{tcolorbox}
qquad
begin{tcolorbox}[remember as=2]
a result
end{tcolorbox}
end{center}
begin{center}
begin{tcolorbox}[remember as=3]
Something happens
end{tcolorbox}
qquad
begin{tcolorbox}[remember as=4]
a result
end{tcolorbox}
end{center}
begin{center}
begin{tcolorbox}[remember as=5]
Something happens
end{tcolorbox}
qquad
begin{tcolorbox}[remember as=6]
a result
end{tcolorbox}
begin{tikzpicture}[overlay,remember picture,line width=0.5mm]
draw[->] (1.east) to (2.west);
draw[->] (3.east) to (4.west);
draw[->] (5.east) to (6.west);
end{tikzpicture}
end{center}
clearpage
backmatter
blindtext
end{document}
Well, thank you, king stranger. I've been going insane for about two weeks trying to figure out what to do. That had never even occurred to me.
– K. Shores
8 hours ago
Welcome ... it is somehow strange ... but if you see that the overlay pictures are printed after one more compilation (compile without help tools from command line) you can imagine this ... This is a reason to use command line compilation at least some times :)
– koleygr
8 hours ago
add a comment |
Just place the tikzpicture in the same center
environment to force it to be in the same page ... LaTeX decided to place the colorbox in the next page but changed its mind and forced that after second thought in the previous ... tikz picture was outside the environment and didn't followed the second thought of LaTeX because it is printed after the second internal compilation (needs one more than a real tikzpicture as an overlay)... Hope that helped.
documentclass[11pt, letterpaper, oneside]{memoir}
usepackage{libertine}
usepackage{libertinust1math}
usepackage[T1]{fontenc}
usepackage{graphicx}
usepackage{xcolor}
usepackage{enumitem, amssymb}
usepackage{textcomp}
usepackage[tracking = true, letterspace = 125]{microtype}
usepackage{soul}
usepackage{mfirstuc}
usepackage{scalerel}
usepackage[skins, raster]{tcolorbox}
usepackage{tikz}
usetikzlibrary{decorations,decorations.markings}
usepackage{etoolbox}
usetikzlibrary{optics}
usepackage{draftwatermark}
usepackage[pass]{geometry}
usepackage[hyphens]{url}
usepackage{hyperxmp}
usepackage{hyperref}
usepackage{xfrac}
usepackage{multicol}
usepackage[english]{babel}
usepackage{blindtext}
% force LaTeX to write the author, title, and copyright into the PDF
makeatletter
AtEndDocument{hyxmp@find@metadatahyxmp@embed@packet}
makeatother
hypersetup{
colorlinks=true,
linktoc=all,
urlcolor=blue,
linkcolor=part,
draft=false,
pdfauthor={some authoer},
pdftitle={some org},
pdfcopyright={Copyright copyright~2019 by author. Some rights reserved.},
pdfpagelabels=true,
implicit=false
}
chapterstyle{ell}
setlength{emergencystretch}{6pt}
setlrmarginsandblock{1in}{1in}{*}
checkandfixthelayout
linespread{1.3}
%%%%%%%%%%%%%%%%%%%%%%%%%%
% The Document
%%%%%%%%%%%%%%%%%%%%%%%%%%
begin{document}
title{A Title}
author{An Author}
date{}
maketitle
frontmatter
blindtext
mainmatter
Blindtext
tcbset{enhanced, nobeforeafter, sidebyside align=top,box align=center, width=1.6in}
begin{center}
begin{tcolorbox}[remember as=one]
Something happens
end{tcolorbox}
qquad
begin{tcolorbox}[remember as=two]
a result
end{tcolorbox}
end{center}
begin{center}
begin{tcolorbox}[remember as=three]
Many more somethings happen and the world nearly dies
end{tcolorbox}
qquad
begin{tcolorbox}[remember as=four]
a result
end{tcolorbox}
end{center}
begin{center}
begin{tcolorbox}[remember as=five]
Something happens
end{tcolorbox}
qquad
begin{tcolorbox}[remember as=six]
a result
end{tcolorbox}
begin{tikzpicture}[overlay,remember picture,line width=0.5mm]
draw[->] (one.east) to (two.west);
draw[->] (three.east) to (four.west);
draw[->] (five.east) to (six.west);
end{tikzpicture}
end{center}
blindtext
begin{center}
begin{tcolorbox}[remember as=1]
Something happens
end{tcolorbox}
qquad
begin{tcolorbox}[remember as=2]
a result
end{tcolorbox}
end{center}
begin{center}
begin{tcolorbox}[remember as=3]
Something happens
end{tcolorbox}
qquad
begin{tcolorbox}[remember as=4]
a result
end{tcolorbox}
end{center}
begin{center}
begin{tcolorbox}[remember as=5]
Something happens
end{tcolorbox}
qquad
begin{tcolorbox}[remember as=6]
a result
end{tcolorbox}
begin{tikzpicture}[overlay,remember picture,line width=0.5mm]
draw[->] (1.east) to (2.west);
draw[->] (3.east) to (4.west);
draw[->] (5.east) to (6.west);
end{tikzpicture}
end{center}
clearpage
backmatter
blindtext
end{document}
Just place the tikzpicture in the same center
environment to force it to be in the same page ... LaTeX decided to place the colorbox in the next page but changed its mind and forced that after second thought in the previous ... tikz picture was outside the environment and didn't followed the second thought of LaTeX because it is printed after the second internal compilation (needs one more than a real tikzpicture as an overlay)... Hope that helped.
documentclass[11pt, letterpaper, oneside]{memoir}
usepackage{libertine}
usepackage{libertinust1math}
usepackage[T1]{fontenc}
usepackage{graphicx}
usepackage{xcolor}
usepackage{enumitem, amssymb}
usepackage{textcomp}
usepackage[tracking = true, letterspace = 125]{microtype}
usepackage{soul}
usepackage{mfirstuc}
usepackage{scalerel}
usepackage[skins, raster]{tcolorbox}
usepackage{tikz}
usetikzlibrary{decorations,decorations.markings}
usepackage{etoolbox}
usetikzlibrary{optics}
usepackage{draftwatermark}
usepackage[pass]{geometry}
usepackage[hyphens]{url}
usepackage{hyperxmp}
usepackage{hyperref}
usepackage{xfrac}
usepackage{multicol}
usepackage[english]{babel}
usepackage{blindtext}
% force LaTeX to write the author, title, and copyright into the PDF
makeatletter
AtEndDocument{hyxmp@find@metadatahyxmp@embed@packet}
makeatother
hypersetup{
colorlinks=true,
linktoc=all,
urlcolor=blue,
linkcolor=part,
draft=false,
pdfauthor={some authoer},
pdftitle={some org},
pdfcopyright={Copyright copyright~2019 by author. Some rights reserved.},
pdfpagelabels=true,
implicit=false
}
chapterstyle{ell}
setlength{emergencystretch}{6pt}
setlrmarginsandblock{1in}{1in}{*}
checkandfixthelayout
linespread{1.3}
%%%%%%%%%%%%%%%%%%%%%%%%%%
% The Document
%%%%%%%%%%%%%%%%%%%%%%%%%%
begin{document}
title{A Title}
author{An Author}
date{}
maketitle
frontmatter
blindtext
mainmatter
Blindtext
tcbset{enhanced, nobeforeafter, sidebyside align=top,box align=center, width=1.6in}
begin{center}
begin{tcolorbox}[remember as=one]
Something happens
end{tcolorbox}
qquad
begin{tcolorbox}[remember as=two]
a result
end{tcolorbox}
end{center}
begin{center}
begin{tcolorbox}[remember as=three]
Many more somethings happen and the world nearly dies
end{tcolorbox}
qquad
begin{tcolorbox}[remember as=four]
a result
end{tcolorbox}
end{center}
begin{center}
begin{tcolorbox}[remember as=five]
Something happens
end{tcolorbox}
qquad
begin{tcolorbox}[remember as=six]
a result
end{tcolorbox}
begin{tikzpicture}[overlay,remember picture,line width=0.5mm]
draw[->] (one.east) to (two.west);
draw[->] (three.east) to (four.west);
draw[->] (five.east) to (six.west);
end{tikzpicture}
end{center}
blindtext
begin{center}
begin{tcolorbox}[remember as=1]
Something happens
end{tcolorbox}
qquad
begin{tcolorbox}[remember as=2]
a result
end{tcolorbox}
end{center}
begin{center}
begin{tcolorbox}[remember as=3]
Something happens
end{tcolorbox}
qquad
begin{tcolorbox}[remember as=4]
a result
end{tcolorbox}
end{center}
begin{center}
begin{tcolorbox}[remember as=5]
Something happens
end{tcolorbox}
qquad
begin{tcolorbox}[remember as=6]
a result
end{tcolorbox}
begin{tikzpicture}[overlay,remember picture,line width=0.5mm]
draw[->] (1.east) to (2.west);
draw[->] (3.east) to (4.west);
draw[->] (5.east) to (6.west);
end{tikzpicture}
end{center}
clearpage
backmatter
blindtext
end{document}
answered 8 hours ago
koleygrkoleygr
14.1k1 gold badge10 silver badges40 bronze badges
14.1k1 gold badge10 silver badges40 bronze badges
Well, thank you, king stranger. I've been going insane for about two weeks trying to figure out what to do. That had never even occurred to me.
– K. Shores
8 hours ago
Welcome ... it is somehow strange ... but if you see that the overlay pictures are printed after one more compilation (compile without help tools from command line) you can imagine this ... This is a reason to use command line compilation at least some times :)
– koleygr
8 hours ago
add a comment |
Well, thank you, king stranger. I've been going insane for about two weeks trying to figure out what to do. That had never even occurred to me.
– K. Shores
8 hours ago
Welcome ... it is somehow strange ... but if you see that the overlay pictures are printed after one more compilation (compile without help tools from command line) you can imagine this ... This is a reason to use command line compilation at least some times :)
– koleygr
8 hours ago
Well, thank you, king stranger. I've been going insane for about two weeks trying to figure out what to do. That had never even occurred to me.
– K. Shores
8 hours ago
Well, thank you, king stranger. I've been going insane for about two weeks trying to figure out what to do. That had never even occurred to me.
– K. Shores
8 hours ago
Welcome ... it is somehow strange ... but if you see that the overlay pictures are printed after one more compilation (compile without help tools from command line) you can imagine this ... This is a reason to use command line compilation at least some times :)
– koleygr
8 hours ago
Welcome ... it is somehow strange ... but if you see that the overlay pictures are printed after one more compilation (compile without help tools from command line) you can imagine this ... This is a reason to use command line compilation at least some times :)
– koleygr
8 hours ago
add a comment |
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%2f503715%2ftcolorbox-and-tikz-arrows-are-not-on-the-diagram%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