Tikzpicture in figure problemTikZ: Cropping the Bounding BoxRotate a node but not its content: the case of...
Is there anything special about -1 (0xFFFFFFFF) regarding ADC?
Does SQL Server allow (make visible) DDL inside a transaction to the transaction prior to commit?
Why does my circuit work on a breadboard, but not on a perfboard? I am new to soldering
What is the best way for a skeleton to impersonate human without using magic?
Solubility in different pressure conditions
Can't find the release for this wiring harness connector
Anatomically Correct Carnivorous Tree
What should a student do when they are the victim of a FERPA violation?
Are there any established rules for splitting books into parts, chapters, sections etc?
Wireless headphones interfere with Wi-Fi signal on laptop
Is Germany still exporting arms to countries involved in Yemen?
Labeling matrices/rectangles and drawing Sigma inside rectangle
declared variable inside void setup is forgotten in void loop
Effects of ~10atm pressure on engine design
Ex-manager wants to stay in touch, I don't want to
Do I need to say 'o`clock'?
Why is tomato paste so cheap?
What episode was being referenced by this part of Discovery's season 2 episode 13 recap?
return tuple of uncopyable objects
Does Lawful Interception of 4G / the proposed 5G provide a back door for hackers as well?
Rounding a number extracted by jq to limit the decimal points
Missouri raptors have wild hairdos
Loading Latex packages into Mathematica
Developers demotivated due to working on same project for more than 2 years
Tikzpicture in figure problem
TikZ: Cropping the Bounding BoxRotate a node but not its content: the case of the ellipse decorationHow to define the default vertical distance between nodes?TikZ scaling graphic and adjust node position and keep font sizeNumerical conditional within tikz keys?TikZ/ERD: node (=Entity) label on the insideInput/Output Nodes - Specification and Description LanguageTikZ: Drawing an arc from an intersection to an intersectionDrawing rectilinear curves in Tikz, aka an Etch-a-Sketch drawingLine up nested tikz enviroments or how to get rid of them
Below is my MWE. My only problem is, I need the tikzpicture to be pagewidth (textwidth) and not overflow to the right. I tried adjustbox, fbox and resizebox.
documentclass[
a4paper, % Papierformat A4
12pt, % Schrift 12-Punkt
headsepline, % mit Linie unter der Kopfzeile
numbers=noenddot, % Nummern ohne Punkt am Ende
bibliography=totoc, % Literaturverzeichnis mit Nummer im
Inhaltsverzeichnis (``TO Table Of Contents'')
index=totoc, % Index mit Nummer im Inhaltsverzeichnis
fleqn, % Formeln werden linksbündig statt zentriert
angeordnet
headings=normal % Etwas kleinere Überschriften
]{scrbook}
usepackage{tikz}
usetikzlibrary{matrix, positioning,chains}
usetikzlibrary{calc,trees,positioning,arrows,chains,shapes.geometric,%
decorations.pathreplacing,decorations.pathmorphing,shapes,%
matrix,shapes.symbols}
usepackage{capt-of}
tikzstyle{rounddiagram} = [
%tikzset{
>=stealth',
punktchain/.style={
rectangle,
rounded corners,
% fill=black!10,
draw=black, very thick,
text width=10em,
minimum height=3em,
text centered,
on chain},
line/.style={draw, thick, <-},
element/.style={
tape,
top color=white,
bottom color=blue!50!black!60!,
minimum width=8em,
draw=blue!40!black!90, very thick,
text width=10em,
minimum height=3.5em,
text centered,
on chain},
every join/.style={->, thick,shorten >=1pt},
decoration={brace},
tuborg/.style={decorate},
tubnode/.style={midway, right=2pt},
]%}
begin{document}
begin{figure}
begin{tikzpicture}
[style=rounddiagram, node distance=.8cm, start chain=going right]
node[punktchain, join]{FairRun};
node[punktchain, join]{Set I/O};
node[punktchain, join]{CbmStsFindClusters};
node[punktchain, join]{CbmStsFindHits};
end{tikzpicture}
end{figure}
end{document}
Any help is appreciated.
tikz-pgf floats tikz-styles adjustbox
New contributor
Rhynden is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
Below is my MWE. My only problem is, I need the tikzpicture to be pagewidth (textwidth) and not overflow to the right. I tried adjustbox, fbox and resizebox.
documentclass[
a4paper, % Papierformat A4
12pt, % Schrift 12-Punkt
headsepline, % mit Linie unter der Kopfzeile
numbers=noenddot, % Nummern ohne Punkt am Ende
bibliography=totoc, % Literaturverzeichnis mit Nummer im
Inhaltsverzeichnis (``TO Table Of Contents'')
index=totoc, % Index mit Nummer im Inhaltsverzeichnis
fleqn, % Formeln werden linksbündig statt zentriert
angeordnet
headings=normal % Etwas kleinere Überschriften
]{scrbook}
usepackage{tikz}
usetikzlibrary{matrix, positioning,chains}
usetikzlibrary{calc,trees,positioning,arrows,chains,shapes.geometric,%
decorations.pathreplacing,decorations.pathmorphing,shapes,%
matrix,shapes.symbols}
usepackage{capt-of}
tikzstyle{rounddiagram} = [
%tikzset{
>=stealth',
punktchain/.style={
rectangle,
rounded corners,
% fill=black!10,
draw=black, very thick,
text width=10em,
minimum height=3em,
text centered,
on chain},
line/.style={draw, thick, <-},
element/.style={
tape,
top color=white,
bottom color=blue!50!black!60!,
minimum width=8em,
draw=blue!40!black!90, very thick,
text width=10em,
minimum height=3.5em,
text centered,
on chain},
every join/.style={->, thick,shorten >=1pt},
decoration={brace},
tuborg/.style={decorate},
tubnode/.style={midway, right=2pt},
]%}
begin{document}
begin{figure}
begin{tikzpicture}
[style=rounddiagram, node distance=.8cm, start chain=going right]
node[punktchain, join]{FairRun};
node[punktchain, join]{Set I/O};
node[punktchain, join]{CbmStsFindClusters};
node[punktchain, join]{CbmStsFindHits};
end{tikzpicture}
end{figure}
end{document}
Any help is appreciated.
tikz-pgf floats tikz-styles adjustbox
New contributor
Rhynden is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
welcome to text.se. quick, dirthy hack: addscale=0.8, transform shape,. i would reduce size of nodes and fonts inside it.
– Zarko
3 hours ago
add a comment |
Below is my MWE. My only problem is, I need the tikzpicture to be pagewidth (textwidth) and not overflow to the right. I tried adjustbox, fbox and resizebox.
documentclass[
a4paper, % Papierformat A4
12pt, % Schrift 12-Punkt
headsepline, % mit Linie unter der Kopfzeile
numbers=noenddot, % Nummern ohne Punkt am Ende
bibliography=totoc, % Literaturverzeichnis mit Nummer im
Inhaltsverzeichnis (``TO Table Of Contents'')
index=totoc, % Index mit Nummer im Inhaltsverzeichnis
fleqn, % Formeln werden linksbündig statt zentriert
angeordnet
headings=normal % Etwas kleinere Überschriften
]{scrbook}
usepackage{tikz}
usetikzlibrary{matrix, positioning,chains}
usetikzlibrary{calc,trees,positioning,arrows,chains,shapes.geometric,%
decorations.pathreplacing,decorations.pathmorphing,shapes,%
matrix,shapes.symbols}
usepackage{capt-of}
tikzstyle{rounddiagram} = [
%tikzset{
>=stealth',
punktchain/.style={
rectangle,
rounded corners,
% fill=black!10,
draw=black, very thick,
text width=10em,
minimum height=3em,
text centered,
on chain},
line/.style={draw, thick, <-},
element/.style={
tape,
top color=white,
bottom color=blue!50!black!60!,
minimum width=8em,
draw=blue!40!black!90, very thick,
text width=10em,
minimum height=3.5em,
text centered,
on chain},
every join/.style={->, thick,shorten >=1pt},
decoration={brace},
tuborg/.style={decorate},
tubnode/.style={midway, right=2pt},
]%}
begin{document}
begin{figure}
begin{tikzpicture}
[style=rounddiagram, node distance=.8cm, start chain=going right]
node[punktchain, join]{FairRun};
node[punktchain, join]{Set I/O};
node[punktchain, join]{CbmStsFindClusters};
node[punktchain, join]{CbmStsFindHits};
end{tikzpicture}
end{figure}
end{document}
Any help is appreciated.
tikz-pgf floats tikz-styles adjustbox
New contributor
Rhynden is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Below is my MWE. My only problem is, I need the tikzpicture to be pagewidth (textwidth) and not overflow to the right. I tried adjustbox, fbox and resizebox.
documentclass[
a4paper, % Papierformat A4
12pt, % Schrift 12-Punkt
headsepline, % mit Linie unter der Kopfzeile
numbers=noenddot, % Nummern ohne Punkt am Ende
bibliography=totoc, % Literaturverzeichnis mit Nummer im
Inhaltsverzeichnis (``TO Table Of Contents'')
index=totoc, % Index mit Nummer im Inhaltsverzeichnis
fleqn, % Formeln werden linksbündig statt zentriert
angeordnet
headings=normal % Etwas kleinere Überschriften
]{scrbook}
usepackage{tikz}
usetikzlibrary{matrix, positioning,chains}
usetikzlibrary{calc,trees,positioning,arrows,chains,shapes.geometric,%
decorations.pathreplacing,decorations.pathmorphing,shapes,%
matrix,shapes.symbols}
usepackage{capt-of}
tikzstyle{rounddiagram} = [
%tikzset{
>=stealth',
punktchain/.style={
rectangle,
rounded corners,
% fill=black!10,
draw=black, very thick,
text width=10em,
minimum height=3em,
text centered,
on chain},
line/.style={draw, thick, <-},
element/.style={
tape,
top color=white,
bottom color=blue!50!black!60!,
minimum width=8em,
draw=blue!40!black!90, very thick,
text width=10em,
minimum height=3.5em,
text centered,
on chain},
every join/.style={->, thick,shorten >=1pt},
decoration={brace},
tuborg/.style={decorate},
tubnode/.style={midway, right=2pt},
]%}
begin{document}
begin{figure}
begin{tikzpicture}
[style=rounddiagram, node distance=.8cm, start chain=going right]
node[punktchain, join]{FairRun};
node[punktchain, join]{Set I/O};
node[punktchain, join]{CbmStsFindClusters};
node[punktchain, join]{CbmStsFindHits};
end{tikzpicture}
end{figure}
end{document}
Any help is appreciated.
tikz-pgf floats tikz-styles adjustbox
tikz-pgf floats tikz-styles adjustbox
New contributor
Rhynden is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Rhynden is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
edited 1 hour ago
jGaboardi
9912
9912
New contributor
Rhynden is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked 3 hours ago
RhyndenRhynden
83
83
New contributor
Rhynden is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Rhynden is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
welcome to text.se. quick, dirthy hack: addscale=0.8, transform shape,. i would reduce size of nodes and fonts inside it.
– Zarko
3 hours ago
add a comment |
welcome to text.se. quick, dirthy hack: addscale=0.8, transform shape,. i would reduce size of nodes and fonts inside it.
– Zarko
3 hours ago
welcome to text.se. quick, dirthy hack: add
scale=0.8, transform shape,. i would reduce size of nodes and fonts inside it.– Zarko
3 hours ago
welcome to text.se. quick, dirthy hack: add
scale=0.8, transform shape,. i would reduce size of nodes and fonts inside it.– Zarko
3 hours ago
add a comment |
3 Answers
3
active
oldest
votes
You can always compute the maximal width the nodes should have to fill the full page precisely. We need 4*(space taken by a node)+3*(node distance)=textwidth, where space taken by a node=(text width) + 2*(inner sep)+2*(outer sep). Note that tikzstyle is deprecated.
documentclass[
a4paper, % Papierformat A4
12pt, % Schrift 12-Punkt
headsepline, % mit Linie unter der Kopfzeile
numbers=noenddot, % Nummern ohne Punkt am Ende
bibliography=totoc, % Literaturverzeichnis mit Nummer im
Inhaltsverzeichnis (``TO Table Of Contents'')
index=totoc, % Index mit Nummer im Inhaltsverzeichnis
fleqn, % Formeln werden linksbündig statt zentriert
angeordnet
headings=normal % Etwas kleinere Überschriften
]{scrbook}
usepackage{tikz}
usetikzlibrary{matrix, positioning,chains}
usetikzlibrary{calc,trees,positioning,arrows,chains,shapes.geometric,%
decorations.pathreplacing,decorations.pathmorphing,shapes,%
matrix,shapes.symbols}
usepackage{capt-of}
tikzset{rounddiagram/.style={>=stealth'},
punktchain/.style={
rectangle,
rounded corners,
% fill=black!10,
draw=black, very thick,
text width=10em,
minimum height=3em,
text centered,
on chain},
% line/.style={draw, thick, <-},
% element/.style={
% tape,
% top color=white,
% bottom color=blue!50!black!60!,
% minimum width=8em,
% draw=blue!40!black!90, very thick,
% text width=10em,
% minimum height=3.5em,
% text centered,
% on chain},
every join/.style={->, thick,shorten >=1pt},
% decoration={brace},
% tuborg/.style={decorate},
% tubnode/.style={midway, right=2pt},
}
begin{document}
begin{figure}
begin{tikzpicture}[rounddiagram, node distance=.8cm, start chain=going right]
pgfmathsetmacro{mynodewidth}{(textwidth-3*0.8cm)/4-4pt}
begin{scope}[punktchain/.append style={text width=mynodewidth pt,inner sep=1pt,outer
sep=1pt}]
node[punktchain, join]{FairRun};
node[punktchain, join]{Set I/O};
node[punktchain, join]{CbmStsFindClusters};
node[punktchain, join]{CbmStsFindHits};
end{scope}
end{tikzpicture}
end{figure}
end{document}

The output suggests that you may either want to write the text of the third node in two lines, have different widths for different nodes or to make them smaller by using scale=(something <1) in the nodes.
add a comment |
There are two approaches:
As @Zarko mentioned, you can change the font and reduce the size of the text width. The second approach is to leave everything the same and add transform canvas={xshift = 0.8cm} to tikzpicture options.

documentclass[
a4paper, % Papierformat A4
12pt, % Schrift 12-Punkt
headsepline, % mit Linie unter der Kopfzeile
numbers=noenddot, % Nummern ohne Punkt am Ende
bibliography=totoc, % Literaturverzeichnis mit Nummer im
Inhaltsverzeichnis (``TO Table Of Contents'')
index=totoc, % Index mit Nummer im Inhaltsverzeichnis
fleqn, % Formeln werden linksbündig statt zentriert
angeordnet
headings=normal % Etwas kleinere Überschriften
]{scrbook}
usepackage{tikz}
usetikzlibrary{matrix, positioning,chains}
usetikzlibrary{calc,trees,positioning,arrows,chains,shapes.geometric,%
decorations.pathreplacing,decorations.pathmorphing,shapes,%
matrix,shapes.symbols}
usepackage{capt-of}
tikzstyle{rounddiagram} = [
%tikzset{
>=stealth',
punktchain/.style={
rectangle,
rounded corners,
% fill=black!10,
draw=black, very thick,
text width=7.5em,
minimum height=3em,
text centered,
font = footnotesize,
on chain},
line/.style={draw, thick, <-},
element/.style={
tape,
top color=white,
bottom color=blue!50!black!60!,
minimum width=8em,
draw=blue!40!black!90, very thick,
text width=10em,
minimum height=3.5em,
text centered,
on chain},
every join/.style={->, thick,shorten >=1pt},
decoration={brace},
tuborg/.style={decorate},
tubnode/.style={midway, right=2pt},
]%}
begin{document}
begin{figure}
begin{tikzpicture}
[style=rounddiagram, node distance=.8cm, start chain=going right]
node[punktchain, join]{FairRun};
node[punktchain, join]{Set I/O};
node[punktchain, join]{CbmStsFindClusters};
node[punktchain, join]{CbmStsFindHits};
end{tikzpicture}
end{figure}
begin{figure}
begin{tikzpicture}
[style=rounddiagram, node distance=.8cm, start chain=going right, transform canvas={xshift = 0.8cm}]
node[punktchain, join, text width=10em, font =normalsize]{FairRun};
node[punktchain, join, text width=10em, font =normalsize]{Set I/O};
node[punktchain, join, text width=10em, font =normalsize]{CbmStsFindClusters};
node[punktchain, join, text width=10em, font =normalsize]{CbmStsFindHits};
end{tikzpicture}
end{figure}
end{document}
add a comment |
i would change text width with minimum width which i would reduce to smaller size, for example to 7em. also I would all doubled TikZ libraries and use tikzset instead of tikzstyle:

(red lines indicate text borders)
documentclass[
a4paper, % Papierformat A4
12pt, % Schrift 12-Punkt
headsepline, % mit Linie unter der Kopfzeile
numbers=noenddot, % Nummern ohne Punkt am Ende
bibliography=totoc, % Literaturverzeichnis mit Nummer im
Inhaltsverzeichnis (``TO Table Of Contents'')
index=totoc, % Index mit Nummer im Inhaltsverzeichnis
fleqn, % Formeln werden linksbündig statt zentriert
angeordnet
headings=normal % Etwas kleinere Überschriften
]{scrbook}
usepackage{tikz}
usetikzlibrary{arrows,
calc, chains,
decorations.pathreplacing, decorations.pathmorphing,
matrix,
positioning,
shapes.geometric, shapes.symbols,
trees
}
usepackage{capt-of}
tikzset{rounddiagram/.style = {
>=stealth',
punktchain/.style = {rectangle, rounded corners, draw, very thick,
minimum width=7em, % <--- changed from "text width"
minimum height=5ex,
align=center, on chain},
line/.style = {draw, thick, <-},
element/.style = {tape, draw=blue!40!black!90, very thick,
top color=white, bottom color=blue!50!black!60!,
text width=10em, minimum height=7ex,
align=center, on chain},
every join/.style = {->, thick,shorten >=1pt},
decoration = {brace},
tuborg/.style = {decorate},
tubnode/.style = {midway, right=2pt},
}}
%---------------- show page layout. don't use in a real document!
usepackage{showframe}
renewcommandShowFrameLinethickness{0.15pt}
renewcommand*ShowFrameColor{color{red}}
%---------------------------------------------------------------%
begin{document}
begin{figure}
centering
begin{tikzpicture}[style=rounddiagram,
node distance=5mm,
start chain=going right,
punktchain/.append style = {join}
]
node[punktchain] {FairRun};
node[punktchain] {Set I/O};
node[punktchain] {CbmStsFindClusters};
node[punktchain] {CbmStsFindHits};
end{tikzpicture}
end{figure}
end{document}
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
});
}
});
Rhynden is a new contributor. Be nice, and check out our Code of Conduct.
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%2f490541%2ftikzpicture-in-figure-problem%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
You can always compute the maximal width the nodes should have to fill the full page precisely. We need 4*(space taken by a node)+3*(node distance)=textwidth, where space taken by a node=(text width) + 2*(inner sep)+2*(outer sep). Note that tikzstyle is deprecated.
documentclass[
a4paper, % Papierformat A4
12pt, % Schrift 12-Punkt
headsepline, % mit Linie unter der Kopfzeile
numbers=noenddot, % Nummern ohne Punkt am Ende
bibliography=totoc, % Literaturverzeichnis mit Nummer im
Inhaltsverzeichnis (``TO Table Of Contents'')
index=totoc, % Index mit Nummer im Inhaltsverzeichnis
fleqn, % Formeln werden linksbündig statt zentriert
angeordnet
headings=normal % Etwas kleinere Überschriften
]{scrbook}
usepackage{tikz}
usetikzlibrary{matrix, positioning,chains}
usetikzlibrary{calc,trees,positioning,arrows,chains,shapes.geometric,%
decorations.pathreplacing,decorations.pathmorphing,shapes,%
matrix,shapes.symbols}
usepackage{capt-of}
tikzset{rounddiagram/.style={>=stealth'},
punktchain/.style={
rectangle,
rounded corners,
% fill=black!10,
draw=black, very thick,
text width=10em,
minimum height=3em,
text centered,
on chain},
% line/.style={draw, thick, <-},
% element/.style={
% tape,
% top color=white,
% bottom color=blue!50!black!60!,
% minimum width=8em,
% draw=blue!40!black!90, very thick,
% text width=10em,
% minimum height=3.5em,
% text centered,
% on chain},
every join/.style={->, thick,shorten >=1pt},
% decoration={brace},
% tuborg/.style={decorate},
% tubnode/.style={midway, right=2pt},
}
begin{document}
begin{figure}
begin{tikzpicture}[rounddiagram, node distance=.8cm, start chain=going right]
pgfmathsetmacro{mynodewidth}{(textwidth-3*0.8cm)/4-4pt}
begin{scope}[punktchain/.append style={text width=mynodewidth pt,inner sep=1pt,outer
sep=1pt}]
node[punktchain, join]{FairRun};
node[punktchain, join]{Set I/O};
node[punktchain, join]{CbmStsFindClusters};
node[punktchain, join]{CbmStsFindHits};
end{scope}
end{tikzpicture}
end{figure}
end{document}

The output suggests that you may either want to write the text of the third node in two lines, have different widths for different nodes or to make them smaller by using scale=(something <1) in the nodes.
add a comment |
You can always compute the maximal width the nodes should have to fill the full page precisely. We need 4*(space taken by a node)+3*(node distance)=textwidth, where space taken by a node=(text width) + 2*(inner sep)+2*(outer sep). Note that tikzstyle is deprecated.
documentclass[
a4paper, % Papierformat A4
12pt, % Schrift 12-Punkt
headsepline, % mit Linie unter der Kopfzeile
numbers=noenddot, % Nummern ohne Punkt am Ende
bibliography=totoc, % Literaturverzeichnis mit Nummer im
Inhaltsverzeichnis (``TO Table Of Contents'')
index=totoc, % Index mit Nummer im Inhaltsverzeichnis
fleqn, % Formeln werden linksbündig statt zentriert
angeordnet
headings=normal % Etwas kleinere Überschriften
]{scrbook}
usepackage{tikz}
usetikzlibrary{matrix, positioning,chains}
usetikzlibrary{calc,trees,positioning,arrows,chains,shapes.geometric,%
decorations.pathreplacing,decorations.pathmorphing,shapes,%
matrix,shapes.symbols}
usepackage{capt-of}
tikzset{rounddiagram/.style={>=stealth'},
punktchain/.style={
rectangle,
rounded corners,
% fill=black!10,
draw=black, very thick,
text width=10em,
minimum height=3em,
text centered,
on chain},
% line/.style={draw, thick, <-},
% element/.style={
% tape,
% top color=white,
% bottom color=blue!50!black!60!,
% minimum width=8em,
% draw=blue!40!black!90, very thick,
% text width=10em,
% minimum height=3.5em,
% text centered,
% on chain},
every join/.style={->, thick,shorten >=1pt},
% decoration={brace},
% tuborg/.style={decorate},
% tubnode/.style={midway, right=2pt},
}
begin{document}
begin{figure}
begin{tikzpicture}[rounddiagram, node distance=.8cm, start chain=going right]
pgfmathsetmacro{mynodewidth}{(textwidth-3*0.8cm)/4-4pt}
begin{scope}[punktchain/.append style={text width=mynodewidth pt,inner sep=1pt,outer
sep=1pt}]
node[punktchain, join]{FairRun};
node[punktchain, join]{Set I/O};
node[punktchain, join]{CbmStsFindClusters};
node[punktchain, join]{CbmStsFindHits};
end{scope}
end{tikzpicture}
end{figure}
end{document}

The output suggests that you may either want to write the text of the third node in two lines, have different widths for different nodes or to make them smaller by using scale=(something <1) in the nodes.
add a comment |
You can always compute the maximal width the nodes should have to fill the full page precisely. We need 4*(space taken by a node)+3*(node distance)=textwidth, where space taken by a node=(text width) + 2*(inner sep)+2*(outer sep). Note that tikzstyle is deprecated.
documentclass[
a4paper, % Papierformat A4
12pt, % Schrift 12-Punkt
headsepline, % mit Linie unter der Kopfzeile
numbers=noenddot, % Nummern ohne Punkt am Ende
bibliography=totoc, % Literaturverzeichnis mit Nummer im
Inhaltsverzeichnis (``TO Table Of Contents'')
index=totoc, % Index mit Nummer im Inhaltsverzeichnis
fleqn, % Formeln werden linksbündig statt zentriert
angeordnet
headings=normal % Etwas kleinere Überschriften
]{scrbook}
usepackage{tikz}
usetikzlibrary{matrix, positioning,chains}
usetikzlibrary{calc,trees,positioning,arrows,chains,shapes.geometric,%
decorations.pathreplacing,decorations.pathmorphing,shapes,%
matrix,shapes.symbols}
usepackage{capt-of}
tikzset{rounddiagram/.style={>=stealth'},
punktchain/.style={
rectangle,
rounded corners,
% fill=black!10,
draw=black, very thick,
text width=10em,
minimum height=3em,
text centered,
on chain},
% line/.style={draw, thick, <-},
% element/.style={
% tape,
% top color=white,
% bottom color=blue!50!black!60!,
% minimum width=8em,
% draw=blue!40!black!90, very thick,
% text width=10em,
% minimum height=3.5em,
% text centered,
% on chain},
every join/.style={->, thick,shorten >=1pt},
% decoration={brace},
% tuborg/.style={decorate},
% tubnode/.style={midway, right=2pt},
}
begin{document}
begin{figure}
begin{tikzpicture}[rounddiagram, node distance=.8cm, start chain=going right]
pgfmathsetmacro{mynodewidth}{(textwidth-3*0.8cm)/4-4pt}
begin{scope}[punktchain/.append style={text width=mynodewidth pt,inner sep=1pt,outer
sep=1pt}]
node[punktchain, join]{FairRun};
node[punktchain, join]{Set I/O};
node[punktchain, join]{CbmStsFindClusters};
node[punktchain, join]{CbmStsFindHits};
end{scope}
end{tikzpicture}
end{figure}
end{document}

The output suggests that you may either want to write the text of the third node in two lines, have different widths for different nodes or to make them smaller by using scale=(something <1) in the nodes.
You can always compute the maximal width the nodes should have to fill the full page precisely. We need 4*(space taken by a node)+3*(node distance)=textwidth, where space taken by a node=(text width) + 2*(inner sep)+2*(outer sep). Note that tikzstyle is deprecated.
documentclass[
a4paper, % Papierformat A4
12pt, % Schrift 12-Punkt
headsepline, % mit Linie unter der Kopfzeile
numbers=noenddot, % Nummern ohne Punkt am Ende
bibliography=totoc, % Literaturverzeichnis mit Nummer im
Inhaltsverzeichnis (``TO Table Of Contents'')
index=totoc, % Index mit Nummer im Inhaltsverzeichnis
fleqn, % Formeln werden linksbündig statt zentriert
angeordnet
headings=normal % Etwas kleinere Überschriften
]{scrbook}
usepackage{tikz}
usetikzlibrary{matrix, positioning,chains}
usetikzlibrary{calc,trees,positioning,arrows,chains,shapes.geometric,%
decorations.pathreplacing,decorations.pathmorphing,shapes,%
matrix,shapes.symbols}
usepackage{capt-of}
tikzset{rounddiagram/.style={>=stealth'},
punktchain/.style={
rectangle,
rounded corners,
% fill=black!10,
draw=black, very thick,
text width=10em,
minimum height=3em,
text centered,
on chain},
% line/.style={draw, thick, <-},
% element/.style={
% tape,
% top color=white,
% bottom color=blue!50!black!60!,
% minimum width=8em,
% draw=blue!40!black!90, very thick,
% text width=10em,
% minimum height=3.5em,
% text centered,
% on chain},
every join/.style={->, thick,shorten >=1pt},
% decoration={brace},
% tuborg/.style={decorate},
% tubnode/.style={midway, right=2pt},
}
begin{document}
begin{figure}
begin{tikzpicture}[rounddiagram, node distance=.8cm, start chain=going right]
pgfmathsetmacro{mynodewidth}{(textwidth-3*0.8cm)/4-4pt}
begin{scope}[punktchain/.append style={text width=mynodewidth pt,inner sep=1pt,outer
sep=1pt}]
node[punktchain, join]{FairRun};
node[punktchain, join]{Set I/O};
node[punktchain, join]{CbmStsFindClusters};
node[punktchain, join]{CbmStsFindHits};
end{scope}
end{tikzpicture}
end{figure}
end{document}

The output suggests that you may either want to write the text of the third node in two lines, have different widths for different nodes or to make them smaller by using scale=(something <1) in the nodes.
answered 3 hours ago
marmotmarmot
126k6162308
126k6162308
add a comment |
add a comment |
There are two approaches:
As @Zarko mentioned, you can change the font and reduce the size of the text width. The second approach is to leave everything the same and add transform canvas={xshift = 0.8cm} to tikzpicture options.

documentclass[
a4paper, % Papierformat A4
12pt, % Schrift 12-Punkt
headsepline, % mit Linie unter der Kopfzeile
numbers=noenddot, % Nummern ohne Punkt am Ende
bibliography=totoc, % Literaturverzeichnis mit Nummer im
Inhaltsverzeichnis (``TO Table Of Contents'')
index=totoc, % Index mit Nummer im Inhaltsverzeichnis
fleqn, % Formeln werden linksbündig statt zentriert
angeordnet
headings=normal % Etwas kleinere Überschriften
]{scrbook}
usepackage{tikz}
usetikzlibrary{matrix, positioning,chains}
usetikzlibrary{calc,trees,positioning,arrows,chains,shapes.geometric,%
decorations.pathreplacing,decorations.pathmorphing,shapes,%
matrix,shapes.symbols}
usepackage{capt-of}
tikzstyle{rounddiagram} = [
%tikzset{
>=stealth',
punktchain/.style={
rectangle,
rounded corners,
% fill=black!10,
draw=black, very thick,
text width=7.5em,
minimum height=3em,
text centered,
font = footnotesize,
on chain},
line/.style={draw, thick, <-},
element/.style={
tape,
top color=white,
bottom color=blue!50!black!60!,
minimum width=8em,
draw=blue!40!black!90, very thick,
text width=10em,
minimum height=3.5em,
text centered,
on chain},
every join/.style={->, thick,shorten >=1pt},
decoration={brace},
tuborg/.style={decorate},
tubnode/.style={midway, right=2pt},
]%}
begin{document}
begin{figure}
begin{tikzpicture}
[style=rounddiagram, node distance=.8cm, start chain=going right]
node[punktchain, join]{FairRun};
node[punktchain, join]{Set I/O};
node[punktchain, join]{CbmStsFindClusters};
node[punktchain, join]{CbmStsFindHits};
end{tikzpicture}
end{figure}
begin{figure}
begin{tikzpicture}
[style=rounddiagram, node distance=.8cm, start chain=going right, transform canvas={xshift = 0.8cm}]
node[punktchain, join, text width=10em, font =normalsize]{FairRun};
node[punktchain, join, text width=10em, font =normalsize]{Set I/O};
node[punktchain, join, text width=10em, font =normalsize]{CbmStsFindClusters};
node[punktchain, join, text width=10em, font =normalsize]{CbmStsFindHits};
end{tikzpicture}
end{figure}
end{document}
add a comment |
There are two approaches:
As @Zarko mentioned, you can change the font and reduce the size of the text width. The second approach is to leave everything the same and add transform canvas={xshift = 0.8cm} to tikzpicture options.

documentclass[
a4paper, % Papierformat A4
12pt, % Schrift 12-Punkt
headsepline, % mit Linie unter der Kopfzeile
numbers=noenddot, % Nummern ohne Punkt am Ende
bibliography=totoc, % Literaturverzeichnis mit Nummer im
Inhaltsverzeichnis (``TO Table Of Contents'')
index=totoc, % Index mit Nummer im Inhaltsverzeichnis
fleqn, % Formeln werden linksbündig statt zentriert
angeordnet
headings=normal % Etwas kleinere Überschriften
]{scrbook}
usepackage{tikz}
usetikzlibrary{matrix, positioning,chains}
usetikzlibrary{calc,trees,positioning,arrows,chains,shapes.geometric,%
decorations.pathreplacing,decorations.pathmorphing,shapes,%
matrix,shapes.symbols}
usepackage{capt-of}
tikzstyle{rounddiagram} = [
%tikzset{
>=stealth',
punktchain/.style={
rectangle,
rounded corners,
% fill=black!10,
draw=black, very thick,
text width=7.5em,
minimum height=3em,
text centered,
font = footnotesize,
on chain},
line/.style={draw, thick, <-},
element/.style={
tape,
top color=white,
bottom color=blue!50!black!60!,
minimum width=8em,
draw=blue!40!black!90, very thick,
text width=10em,
minimum height=3.5em,
text centered,
on chain},
every join/.style={->, thick,shorten >=1pt},
decoration={brace},
tuborg/.style={decorate},
tubnode/.style={midway, right=2pt},
]%}
begin{document}
begin{figure}
begin{tikzpicture}
[style=rounddiagram, node distance=.8cm, start chain=going right]
node[punktchain, join]{FairRun};
node[punktchain, join]{Set I/O};
node[punktchain, join]{CbmStsFindClusters};
node[punktchain, join]{CbmStsFindHits};
end{tikzpicture}
end{figure}
begin{figure}
begin{tikzpicture}
[style=rounddiagram, node distance=.8cm, start chain=going right, transform canvas={xshift = 0.8cm}]
node[punktchain, join, text width=10em, font =normalsize]{FairRun};
node[punktchain, join, text width=10em, font =normalsize]{Set I/O};
node[punktchain, join, text width=10em, font =normalsize]{CbmStsFindClusters};
node[punktchain, join, text width=10em, font =normalsize]{CbmStsFindHits};
end{tikzpicture}
end{figure}
end{document}
add a comment |
There are two approaches:
As @Zarko mentioned, you can change the font and reduce the size of the text width. The second approach is to leave everything the same and add transform canvas={xshift = 0.8cm} to tikzpicture options.

documentclass[
a4paper, % Papierformat A4
12pt, % Schrift 12-Punkt
headsepline, % mit Linie unter der Kopfzeile
numbers=noenddot, % Nummern ohne Punkt am Ende
bibliography=totoc, % Literaturverzeichnis mit Nummer im
Inhaltsverzeichnis (``TO Table Of Contents'')
index=totoc, % Index mit Nummer im Inhaltsverzeichnis
fleqn, % Formeln werden linksbündig statt zentriert
angeordnet
headings=normal % Etwas kleinere Überschriften
]{scrbook}
usepackage{tikz}
usetikzlibrary{matrix, positioning,chains}
usetikzlibrary{calc,trees,positioning,arrows,chains,shapes.geometric,%
decorations.pathreplacing,decorations.pathmorphing,shapes,%
matrix,shapes.symbols}
usepackage{capt-of}
tikzstyle{rounddiagram} = [
%tikzset{
>=stealth',
punktchain/.style={
rectangle,
rounded corners,
% fill=black!10,
draw=black, very thick,
text width=7.5em,
minimum height=3em,
text centered,
font = footnotesize,
on chain},
line/.style={draw, thick, <-},
element/.style={
tape,
top color=white,
bottom color=blue!50!black!60!,
minimum width=8em,
draw=blue!40!black!90, very thick,
text width=10em,
minimum height=3.5em,
text centered,
on chain},
every join/.style={->, thick,shorten >=1pt},
decoration={brace},
tuborg/.style={decorate},
tubnode/.style={midway, right=2pt},
]%}
begin{document}
begin{figure}
begin{tikzpicture}
[style=rounddiagram, node distance=.8cm, start chain=going right]
node[punktchain, join]{FairRun};
node[punktchain, join]{Set I/O};
node[punktchain, join]{CbmStsFindClusters};
node[punktchain, join]{CbmStsFindHits};
end{tikzpicture}
end{figure}
begin{figure}
begin{tikzpicture}
[style=rounddiagram, node distance=.8cm, start chain=going right, transform canvas={xshift = 0.8cm}]
node[punktchain, join, text width=10em, font =normalsize]{FairRun};
node[punktchain, join, text width=10em, font =normalsize]{Set I/O};
node[punktchain, join, text width=10em, font =normalsize]{CbmStsFindClusters};
node[punktchain, join, text width=10em, font =normalsize]{CbmStsFindHits};
end{tikzpicture}
end{figure}
end{document}
There are two approaches:
As @Zarko mentioned, you can change the font and reduce the size of the text width. The second approach is to leave everything the same and add transform canvas={xshift = 0.8cm} to tikzpicture options.

documentclass[
a4paper, % Papierformat A4
12pt, % Schrift 12-Punkt
headsepline, % mit Linie unter der Kopfzeile
numbers=noenddot, % Nummern ohne Punkt am Ende
bibliography=totoc, % Literaturverzeichnis mit Nummer im
Inhaltsverzeichnis (``TO Table Of Contents'')
index=totoc, % Index mit Nummer im Inhaltsverzeichnis
fleqn, % Formeln werden linksbündig statt zentriert
angeordnet
headings=normal % Etwas kleinere Überschriften
]{scrbook}
usepackage{tikz}
usetikzlibrary{matrix, positioning,chains}
usetikzlibrary{calc,trees,positioning,arrows,chains,shapes.geometric,%
decorations.pathreplacing,decorations.pathmorphing,shapes,%
matrix,shapes.symbols}
usepackage{capt-of}
tikzstyle{rounddiagram} = [
%tikzset{
>=stealth',
punktchain/.style={
rectangle,
rounded corners,
% fill=black!10,
draw=black, very thick,
text width=7.5em,
minimum height=3em,
text centered,
font = footnotesize,
on chain},
line/.style={draw, thick, <-},
element/.style={
tape,
top color=white,
bottom color=blue!50!black!60!,
minimum width=8em,
draw=blue!40!black!90, very thick,
text width=10em,
minimum height=3.5em,
text centered,
on chain},
every join/.style={->, thick,shorten >=1pt},
decoration={brace},
tuborg/.style={decorate},
tubnode/.style={midway, right=2pt},
]%}
begin{document}
begin{figure}
begin{tikzpicture}
[style=rounddiagram, node distance=.8cm, start chain=going right]
node[punktchain, join]{FairRun};
node[punktchain, join]{Set I/O};
node[punktchain, join]{CbmStsFindClusters};
node[punktchain, join]{CbmStsFindHits};
end{tikzpicture}
end{figure}
begin{figure}
begin{tikzpicture}
[style=rounddiagram, node distance=.8cm, start chain=going right, transform canvas={xshift = 0.8cm}]
node[punktchain, join, text width=10em, font =normalsize]{FairRun};
node[punktchain, join, text width=10em, font =normalsize]{Set I/O};
node[punktchain, join, text width=10em, font =normalsize]{CbmStsFindClusters};
node[punktchain, join, text width=10em, font =normalsize]{CbmStsFindHits};
end{tikzpicture}
end{figure}
end{document}
answered 3 hours ago
M. Al JumailyM. Al Jumaily
1,0021210
1,0021210
add a comment |
add a comment |
i would change text width with minimum width which i would reduce to smaller size, for example to 7em. also I would all doubled TikZ libraries and use tikzset instead of tikzstyle:

(red lines indicate text borders)
documentclass[
a4paper, % Papierformat A4
12pt, % Schrift 12-Punkt
headsepline, % mit Linie unter der Kopfzeile
numbers=noenddot, % Nummern ohne Punkt am Ende
bibliography=totoc, % Literaturverzeichnis mit Nummer im
Inhaltsverzeichnis (``TO Table Of Contents'')
index=totoc, % Index mit Nummer im Inhaltsverzeichnis
fleqn, % Formeln werden linksbündig statt zentriert
angeordnet
headings=normal % Etwas kleinere Überschriften
]{scrbook}
usepackage{tikz}
usetikzlibrary{arrows,
calc, chains,
decorations.pathreplacing, decorations.pathmorphing,
matrix,
positioning,
shapes.geometric, shapes.symbols,
trees
}
usepackage{capt-of}
tikzset{rounddiagram/.style = {
>=stealth',
punktchain/.style = {rectangle, rounded corners, draw, very thick,
minimum width=7em, % <--- changed from "text width"
minimum height=5ex,
align=center, on chain},
line/.style = {draw, thick, <-},
element/.style = {tape, draw=blue!40!black!90, very thick,
top color=white, bottom color=blue!50!black!60!,
text width=10em, minimum height=7ex,
align=center, on chain},
every join/.style = {->, thick,shorten >=1pt},
decoration = {brace},
tuborg/.style = {decorate},
tubnode/.style = {midway, right=2pt},
}}
%---------------- show page layout. don't use in a real document!
usepackage{showframe}
renewcommandShowFrameLinethickness{0.15pt}
renewcommand*ShowFrameColor{color{red}}
%---------------------------------------------------------------%
begin{document}
begin{figure}
centering
begin{tikzpicture}[style=rounddiagram,
node distance=5mm,
start chain=going right,
punktchain/.append style = {join}
]
node[punktchain] {FairRun};
node[punktchain] {Set I/O};
node[punktchain] {CbmStsFindClusters};
node[punktchain] {CbmStsFindHits};
end{tikzpicture}
end{figure}
end{document}
add a comment |
i would change text width with minimum width which i would reduce to smaller size, for example to 7em. also I would all doubled TikZ libraries and use tikzset instead of tikzstyle:

(red lines indicate text borders)
documentclass[
a4paper, % Papierformat A4
12pt, % Schrift 12-Punkt
headsepline, % mit Linie unter der Kopfzeile
numbers=noenddot, % Nummern ohne Punkt am Ende
bibliography=totoc, % Literaturverzeichnis mit Nummer im
Inhaltsverzeichnis (``TO Table Of Contents'')
index=totoc, % Index mit Nummer im Inhaltsverzeichnis
fleqn, % Formeln werden linksbündig statt zentriert
angeordnet
headings=normal % Etwas kleinere Überschriften
]{scrbook}
usepackage{tikz}
usetikzlibrary{arrows,
calc, chains,
decorations.pathreplacing, decorations.pathmorphing,
matrix,
positioning,
shapes.geometric, shapes.symbols,
trees
}
usepackage{capt-of}
tikzset{rounddiagram/.style = {
>=stealth',
punktchain/.style = {rectangle, rounded corners, draw, very thick,
minimum width=7em, % <--- changed from "text width"
minimum height=5ex,
align=center, on chain},
line/.style = {draw, thick, <-},
element/.style = {tape, draw=blue!40!black!90, very thick,
top color=white, bottom color=blue!50!black!60!,
text width=10em, minimum height=7ex,
align=center, on chain},
every join/.style = {->, thick,shorten >=1pt},
decoration = {brace},
tuborg/.style = {decorate},
tubnode/.style = {midway, right=2pt},
}}
%---------------- show page layout. don't use in a real document!
usepackage{showframe}
renewcommandShowFrameLinethickness{0.15pt}
renewcommand*ShowFrameColor{color{red}}
%---------------------------------------------------------------%
begin{document}
begin{figure}
centering
begin{tikzpicture}[style=rounddiagram,
node distance=5mm,
start chain=going right,
punktchain/.append style = {join}
]
node[punktchain] {FairRun};
node[punktchain] {Set I/O};
node[punktchain] {CbmStsFindClusters};
node[punktchain] {CbmStsFindHits};
end{tikzpicture}
end{figure}
end{document}
add a comment |
i would change text width with minimum width which i would reduce to smaller size, for example to 7em. also I would all doubled TikZ libraries and use tikzset instead of tikzstyle:

(red lines indicate text borders)
documentclass[
a4paper, % Papierformat A4
12pt, % Schrift 12-Punkt
headsepline, % mit Linie unter der Kopfzeile
numbers=noenddot, % Nummern ohne Punkt am Ende
bibliography=totoc, % Literaturverzeichnis mit Nummer im
Inhaltsverzeichnis (``TO Table Of Contents'')
index=totoc, % Index mit Nummer im Inhaltsverzeichnis
fleqn, % Formeln werden linksbündig statt zentriert
angeordnet
headings=normal % Etwas kleinere Überschriften
]{scrbook}
usepackage{tikz}
usetikzlibrary{arrows,
calc, chains,
decorations.pathreplacing, decorations.pathmorphing,
matrix,
positioning,
shapes.geometric, shapes.symbols,
trees
}
usepackage{capt-of}
tikzset{rounddiagram/.style = {
>=stealth',
punktchain/.style = {rectangle, rounded corners, draw, very thick,
minimum width=7em, % <--- changed from "text width"
minimum height=5ex,
align=center, on chain},
line/.style = {draw, thick, <-},
element/.style = {tape, draw=blue!40!black!90, very thick,
top color=white, bottom color=blue!50!black!60!,
text width=10em, minimum height=7ex,
align=center, on chain},
every join/.style = {->, thick,shorten >=1pt},
decoration = {brace},
tuborg/.style = {decorate},
tubnode/.style = {midway, right=2pt},
}}
%---------------- show page layout. don't use in a real document!
usepackage{showframe}
renewcommandShowFrameLinethickness{0.15pt}
renewcommand*ShowFrameColor{color{red}}
%---------------------------------------------------------------%
begin{document}
begin{figure}
centering
begin{tikzpicture}[style=rounddiagram,
node distance=5mm,
start chain=going right,
punktchain/.append style = {join}
]
node[punktchain] {FairRun};
node[punktchain] {Set I/O};
node[punktchain] {CbmStsFindClusters};
node[punktchain] {CbmStsFindHits};
end{tikzpicture}
end{figure}
end{document}
i would change text width with minimum width which i would reduce to smaller size, for example to 7em. also I would all doubled TikZ libraries and use tikzset instead of tikzstyle:

(red lines indicate text borders)
documentclass[
a4paper, % Papierformat A4
12pt, % Schrift 12-Punkt
headsepline, % mit Linie unter der Kopfzeile
numbers=noenddot, % Nummern ohne Punkt am Ende
bibliography=totoc, % Literaturverzeichnis mit Nummer im
Inhaltsverzeichnis (``TO Table Of Contents'')
index=totoc, % Index mit Nummer im Inhaltsverzeichnis
fleqn, % Formeln werden linksbündig statt zentriert
angeordnet
headings=normal % Etwas kleinere Überschriften
]{scrbook}
usepackage{tikz}
usetikzlibrary{arrows,
calc, chains,
decorations.pathreplacing, decorations.pathmorphing,
matrix,
positioning,
shapes.geometric, shapes.symbols,
trees
}
usepackage{capt-of}
tikzset{rounddiagram/.style = {
>=stealth',
punktchain/.style = {rectangle, rounded corners, draw, very thick,
minimum width=7em, % <--- changed from "text width"
minimum height=5ex,
align=center, on chain},
line/.style = {draw, thick, <-},
element/.style = {tape, draw=blue!40!black!90, very thick,
top color=white, bottom color=blue!50!black!60!,
text width=10em, minimum height=7ex,
align=center, on chain},
every join/.style = {->, thick,shorten >=1pt},
decoration = {brace},
tuborg/.style = {decorate},
tubnode/.style = {midway, right=2pt},
}}
%---------------- show page layout. don't use in a real document!
usepackage{showframe}
renewcommandShowFrameLinethickness{0.15pt}
renewcommand*ShowFrameColor{color{red}}
%---------------------------------------------------------------%
begin{document}
begin{figure}
centering
begin{tikzpicture}[style=rounddiagram,
node distance=5mm,
start chain=going right,
punktchain/.append style = {join}
]
node[punktchain] {FairRun};
node[punktchain] {Set I/O};
node[punktchain] {CbmStsFindClusters};
node[punktchain] {CbmStsFindHits};
end{tikzpicture}
end{figure}
end{document}
edited 1 hour ago
answered 3 hours ago
ZarkoZarko
133k872176
133k872176
add a comment |
add a comment |
Rhynden is a new contributor. Be nice, and check out our Code of Conduct.
Rhynden is a new contributor. Be nice, and check out our Code of Conduct.
Rhynden is a new contributor. Be nice, and check out our Code of Conduct.
Rhynden is a new contributor. Be nice, and check out our Code of Conduct.
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%2f490541%2ftikzpicture-in-figure-problem%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
welcome to text.se. quick, dirthy hack: add
scale=0.8, transform shape,. i would reduce size of nodes and fonts inside it.– Zarko
3 hours ago