uml condition too wide
Now (means 4 hours ago) I started using tikz-uml
, but I got a problem. I was doing the following seguence diagram,
Using this code,
documentclass[a4paper,14pt,twoside, openright]{article}
usepackage[T1]{fontenc}
usepackage[utf8]{inputenc}
usepackage[italian]{babel}
usepackage[a4paper, total={17cm, 25cm}]{geometry}
usepackage{tikz}
usepackage{tikz-uml}
usetikzlibrary{intersections}
usetikzlibrary{calc}
usetikzlibrary{shapes,arrows}
usetikzlibrary{positioning}
usepackage{xstring}
usepackage{graphicx}
usepackage{float}
begin{document}
begin{figure}[h!]
centering
begin{tikzpicture}
begin{umlseqdiag}
umlactor [x=2] {User}
umlobject [x=7] {Sys}
umlsdnode [dt=6]{Sys}
umlsdnode [dt=2]{User}
begin{umlfragment}[type=loop, label={pagato<importo}, inner xsep=5]
begin{umlcall}[dt=6, op={Importo (prezzo)}]{Sys}{User}
begin{umlcall}[dt=5, op={Pago (Moneta, Banconota)}, type=return]{User}{Sys}
end{umlcall}
end{umlcall}
end{umlfragment}
begin{umlcall}[dt=6, op={Resto}]{Sys}{User}
end{umlcall}
end{umlseqdiag}
end{tikzpicture}
caption{Sequenza emph{Pagamento}}
label{fig:req1_5}
end{figure}
end{document}
But, as you can see I got the condition
to cover some part of my diagram.
What option(s) should I write to make enough space for it??
I mean also putting in above the diagram, near the word loop
would be fine.
tikz-uml
add a comment |
Now (means 4 hours ago) I started using tikz-uml
, but I got a problem. I was doing the following seguence diagram,
Using this code,
documentclass[a4paper,14pt,twoside, openright]{article}
usepackage[T1]{fontenc}
usepackage[utf8]{inputenc}
usepackage[italian]{babel}
usepackage[a4paper, total={17cm, 25cm}]{geometry}
usepackage{tikz}
usepackage{tikz-uml}
usetikzlibrary{intersections}
usetikzlibrary{calc}
usetikzlibrary{shapes,arrows}
usetikzlibrary{positioning}
usepackage{xstring}
usepackage{graphicx}
usepackage{float}
begin{document}
begin{figure}[h!]
centering
begin{tikzpicture}
begin{umlseqdiag}
umlactor [x=2] {User}
umlobject [x=7] {Sys}
umlsdnode [dt=6]{Sys}
umlsdnode [dt=2]{User}
begin{umlfragment}[type=loop, label={pagato<importo}, inner xsep=5]
begin{umlcall}[dt=6, op={Importo (prezzo)}]{Sys}{User}
begin{umlcall}[dt=5, op={Pago (Moneta, Banconota)}, type=return]{User}{Sys}
end{umlcall}
end{umlcall}
end{umlfragment}
begin{umlcall}[dt=6, op={Resto}]{Sys}{User}
end{umlcall}
end{umlseqdiag}
end{tikzpicture}
caption{Sequenza emph{Pagamento}}
label{fig:req1_5}
end{figure}
end{document}
But, as you can see I got the condition
to cover some part of my diagram.
What option(s) should I write to make enough space for it??
I mean also putting in above the diagram, near the word loop
would be fine.
tikz-uml
Thanks to the 2 people who corrected my code, as I forgot, when copy pasting,begin {document}
andend{document}
; and some typo as well :).
– Fr3d
Dec 9 at 17:26
add a comment |
Now (means 4 hours ago) I started using tikz-uml
, but I got a problem. I was doing the following seguence diagram,
Using this code,
documentclass[a4paper,14pt,twoside, openright]{article}
usepackage[T1]{fontenc}
usepackage[utf8]{inputenc}
usepackage[italian]{babel}
usepackage[a4paper, total={17cm, 25cm}]{geometry}
usepackage{tikz}
usepackage{tikz-uml}
usetikzlibrary{intersections}
usetikzlibrary{calc}
usetikzlibrary{shapes,arrows}
usetikzlibrary{positioning}
usepackage{xstring}
usepackage{graphicx}
usepackage{float}
begin{document}
begin{figure}[h!]
centering
begin{tikzpicture}
begin{umlseqdiag}
umlactor [x=2] {User}
umlobject [x=7] {Sys}
umlsdnode [dt=6]{Sys}
umlsdnode [dt=2]{User}
begin{umlfragment}[type=loop, label={pagato<importo}, inner xsep=5]
begin{umlcall}[dt=6, op={Importo (prezzo)}]{Sys}{User}
begin{umlcall}[dt=5, op={Pago (Moneta, Banconota)}, type=return]{User}{Sys}
end{umlcall}
end{umlcall}
end{umlfragment}
begin{umlcall}[dt=6, op={Resto}]{Sys}{User}
end{umlcall}
end{umlseqdiag}
end{tikzpicture}
caption{Sequenza emph{Pagamento}}
label{fig:req1_5}
end{figure}
end{document}
But, as you can see I got the condition
to cover some part of my diagram.
What option(s) should I write to make enough space for it??
I mean also putting in above the diagram, near the word loop
would be fine.
tikz-uml
Now (means 4 hours ago) I started using tikz-uml
, but I got a problem. I was doing the following seguence diagram,
Using this code,
documentclass[a4paper,14pt,twoside, openright]{article}
usepackage[T1]{fontenc}
usepackage[utf8]{inputenc}
usepackage[italian]{babel}
usepackage[a4paper, total={17cm, 25cm}]{geometry}
usepackage{tikz}
usepackage{tikz-uml}
usetikzlibrary{intersections}
usetikzlibrary{calc}
usetikzlibrary{shapes,arrows}
usetikzlibrary{positioning}
usepackage{xstring}
usepackage{graphicx}
usepackage{float}
begin{document}
begin{figure}[h!]
centering
begin{tikzpicture}
begin{umlseqdiag}
umlactor [x=2] {User}
umlobject [x=7] {Sys}
umlsdnode [dt=6]{Sys}
umlsdnode [dt=2]{User}
begin{umlfragment}[type=loop, label={pagato<importo}, inner xsep=5]
begin{umlcall}[dt=6, op={Importo (prezzo)}]{Sys}{User}
begin{umlcall}[dt=5, op={Pago (Moneta, Banconota)}, type=return]{User}{Sys}
end{umlcall}
end{umlcall}
end{umlfragment}
begin{umlcall}[dt=6, op={Resto}]{Sys}{User}
end{umlcall}
end{umlseqdiag}
end{tikzpicture}
caption{Sequenza emph{Pagamento}}
label{fig:req1_5}
end{figure}
end{document}
But, as you can see I got the condition
to cover some part of my diagram.
What option(s) should I write to make enough space for it??
I mean also putting in above the diagram, near the word loop
would be fine.
tikz-uml
tikz-uml
edited Dec 9 at 17:18
Torbjørn T.
154k13245435
154k13245435
asked Dec 9 at 17:04
Fr3d
156
156
Thanks to the 2 people who corrected my code, as I forgot, when copy pasting,begin {document}
andend{document}
; and some typo as well :).
– Fr3d
Dec 9 at 17:26
add a comment |
Thanks to the 2 people who corrected my code, as I forgot, when copy pasting,begin {document}
andend{document}
; and some typo as well :).
– Fr3d
Dec 9 at 17:26
Thanks to the 2 people who corrected my code, as I forgot, when copy pasting,
begin {document}
and end{document}
; and some typo as well :).– Fr3d
Dec 9 at 17:26
Thanks to the 2 people who corrected my code, as I forgot, when copy pasting,
begin {document}
and end{document}
; and some typo as well :).– Fr3d
Dec 9 at 17:26
add a comment |
1 Answer
1
active
oldest
votes
Simplest fix: increase the inner xsep
if the umlfragment
to 15
, say. This does increase the space on the right hand side as well, though.
documentclass[border=5mm]{standalone}
usepackage{tikz-uml}
usepackage[T1]{fontenc}
begin{document}
begin{tikzpicture}
begin{umlseqdiag}
umlactor [x=2] {User}
umlobject [x=7] {Sys}
umlsdnode [dt=6]{Sys}
umlsdnode [dt=2]{User}
begin{umlfragment}[type=loop, label={pagato<importo}, inner xsep=15] % <-- increased inner xsep to 15
begin{umlcall}[dt=6, op={Importo (prezzo)}]{Sys}{User}
% begin{umlcall}[dt=5, op={Pago (Moneta, Banconota)}, type=return]{User}{Sys}
% end{umlcall}
end{umlcall}
end{umlfragment}
begin{umlcall}[dt=6, op={Resto}]{Sys}{User}
end{umlcall}
end{umlseqdiag}
end{tikzpicture}
end{document}
In order to move the label, you might have to edit tikz-uml.sty
. I wouldn't normally recommend editing packages directly though. Another option is to copy the entire definition of the umlfragment
environment to your preamble between makeatletter
and makeatother
, change newenvironment
to renewenvironment
, and make the edit there instead.
Anyways, the line in question is line 4509 of tikz-uml.sty
which just has the code
at (tikzumlFragment@name-type.south west)
Change this to
at (tikzumlFragment@name-type.north east)
Having done that, you might also want to add inner ysep=2
to the umlfragment
environment options, otherwise there isn't room for the label there.
Note that the nested umlcall
environment for some reason caused an error when I tested on Overleaf, which is why it is commented out in the (somewhat reduced) code below. I have no idea why, if that didn't happen on your system, then I suppose there's no problem.
documentclass[border=5mm]{standalone}
usepackage{tikz-uml}
usepackage[T1]{fontenc}
begin{document}
begin{tikzpicture}
begin{umlseqdiag}
umlactor [x=2] {User}
umlobject [x=7] {Sys}
umlsdnode [dt=6]{Sys}
umlsdnode [dt=2]{User}
begin{umlfragment}[type=loop, label={pagato<importo}, inner xsep=5,inner ysep=2]
begin{umlcall}[dt=6, op={Importo (prezzo)}]{Sys}{User}
% begin{umlcall}[dt=5, op={Pago (Moneta, Banconota)}, type=return]{User}{Sys}
% end{umlcall}
end{umlcall}
end{umlfragment}
begin{umlcall}[dt=6, op={Resto}]{Sys}{User}
end{umlcall}
end{umlseqdiag}
end{tikzpicture}
end{document}
I should probably have asked for clarification first, as I'm really not sure this is what you meant, but ..
– Torbjørn T.
Dec 9 at 18:14
thank you, that's one way (the second one) to solve the problem. The first one was to make enough space for letting thecondition
, in my case[pagato<importo]
so it doesn't cover up the arrow and the "entity"user
.
– Fr3d
Dec 9 at 18:26
1
@Fr3d Right,inner xsep=15
might be enough for that, though you of course get extra space on the right side as well.
– Torbjørn T.
Dec 9 at 18:31
Luckily, this was the easy solution, next time I will try changing the line 4509 oftikz-uml.sty
. Thanks
– Fr3d
Dec 9 at 18:52
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%2f463985%2fuml-condition-too-wide%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
Simplest fix: increase the inner xsep
if the umlfragment
to 15
, say. This does increase the space on the right hand side as well, though.
documentclass[border=5mm]{standalone}
usepackage{tikz-uml}
usepackage[T1]{fontenc}
begin{document}
begin{tikzpicture}
begin{umlseqdiag}
umlactor [x=2] {User}
umlobject [x=7] {Sys}
umlsdnode [dt=6]{Sys}
umlsdnode [dt=2]{User}
begin{umlfragment}[type=loop, label={pagato<importo}, inner xsep=15] % <-- increased inner xsep to 15
begin{umlcall}[dt=6, op={Importo (prezzo)}]{Sys}{User}
% begin{umlcall}[dt=5, op={Pago (Moneta, Banconota)}, type=return]{User}{Sys}
% end{umlcall}
end{umlcall}
end{umlfragment}
begin{umlcall}[dt=6, op={Resto}]{Sys}{User}
end{umlcall}
end{umlseqdiag}
end{tikzpicture}
end{document}
In order to move the label, you might have to edit tikz-uml.sty
. I wouldn't normally recommend editing packages directly though. Another option is to copy the entire definition of the umlfragment
environment to your preamble between makeatletter
and makeatother
, change newenvironment
to renewenvironment
, and make the edit there instead.
Anyways, the line in question is line 4509 of tikz-uml.sty
which just has the code
at (tikzumlFragment@name-type.south west)
Change this to
at (tikzumlFragment@name-type.north east)
Having done that, you might also want to add inner ysep=2
to the umlfragment
environment options, otherwise there isn't room for the label there.
Note that the nested umlcall
environment for some reason caused an error when I tested on Overleaf, which is why it is commented out in the (somewhat reduced) code below. I have no idea why, if that didn't happen on your system, then I suppose there's no problem.
documentclass[border=5mm]{standalone}
usepackage{tikz-uml}
usepackage[T1]{fontenc}
begin{document}
begin{tikzpicture}
begin{umlseqdiag}
umlactor [x=2] {User}
umlobject [x=7] {Sys}
umlsdnode [dt=6]{Sys}
umlsdnode [dt=2]{User}
begin{umlfragment}[type=loop, label={pagato<importo}, inner xsep=5,inner ysep=2]
begin{umlcall}[dt=6, op={Importo (prezzo)}]{Sys}{User}
% begin{umlcall}[dt=5, op={Pago (Moneta, Banconota)}, type=return]{User}{Sys}
% end{umlcall}
end{umlcall}
end{umlfragment}
begin{umlcall}[dt=6, op={Resto}]{Sys}{User}
end{umlcall}
end{umlseqdiag}
end{tikzpicture}
end{document}
I should probably have asked for clarification first, as I'm really not sure this is what you meant, but ..
– Torbjørn T.
Dec 9 at 18:14
thank you, that's one way (the second one) to solve the problem. The first one was to make enough space for letting thecondition
, in my case[pagato<importo]
so it doesn't cover up the arrow and the "entity"user
.
– Fr3d
Dec 9 at 18:26
1
@Fr3d Right,inner xsep=15
might be enough for that, though you of course get extra space on the right side as well.
– Torbjørn T.
Dec 9 at 18:31
Luckily, this was the easy solution, next time I will try changing the line 4509 oftikz-uml.sty
. Thanks
– Fr3d
Dec 9 at 18:52
add a comment |
Simplest fix: increase the inner xsep
if the umlfragment
to 15
, say. This does increase the space on the right hand side as well, though.
documentclass[border=5mm]{standalone}
usepackage{tikz-uml}
usepackage[T1]{fontenc}
begin{document}
begin{tikzpicture}
begin{umlseqdiag}
umlactor [x=2] {User}
umlobject [x=7] {Sys}
umlsdnode [dt=6]{Sys}
umlsdnode [dt=2]{User}
begin{umlfragment}[type=loop, label={pagato<importo}, inner xsep=15] % <-- increased inner xsep to 15
begin{umlcall}[dt=6, op={Importo (prezzo)}]{Sys}{User}
% begin{umlcall}[dt=5, op={Pago (Moneta, Banconota)}, type=return]{User}{Sys}
% end{umlcall}
end{umlcall}
end{umlfragment}
begin{umlcall}[dt=6, op={Resto}]{Sys}{User}
end{umlcall}
end{umlseqdiag}
end{tikzpicture}
end{document}
In order to move the label, you might have to edit tikz-uml.sty
. I wouldn't normally recommend editing packages directly though. Another option is to copy the entire definition of the umlfragment
environment to your preamble between makeatletter
and makeatother
, change newenvironment
to renewenvironment
, and make the edit there instead.
Anyways, the line in question is line 4509 of tikz-uml.sty
which just has the code
at (tikzumlFragment@name-type.south west)
Change this to
at (tikzumlFragment@name-type.north east)
Having done that, you might also want to add inner ysep=2
to the umlfragment
environment options, otherwise there isn't room for the label there.
Note that the nested umlcall
environment for some reason caused an error when I tested on Overleaf, which is why it is commented out in the (somewhat reduced) code below. I have no idea why, if that didn't happen on your system, then I suppose there's no problem.
documentclass[border=5mm]{standalone}
usepackage{tikz-uml}
usepackage[T1]{fontenc}
begin{document}
begin{tikzpicture}
begin{umlseqdiag}
umlactor [x=2] {User}
umlobject [x=7] {Sys}
umlsdnode [dt=6]{Sys}
umlsdnode [dt=2]{User}
begin{umlfragment}[type=loop, label={pagato<importo}, inner xsep=5,inner ysep=2]
begin{umlcall}[dt=6, op={Importo (prezzo)}]{Sys}{User}
% begin{umlcall}[dt=5, op={Pago (Moneta, Banconota)}, type=return]{User}{Sys}
% end{umlcall}
end{umlcall}
end{umlfragment}
begin{umlcall}[dt=6, op={Resto}]{Sys}{User}
end{umlcall}
end{umlseqdiag}
end{tikzpicture}
end{document}
I should probably have asked for clarification first, as I'm really not sure this is what you meant, but ..
– Torbjørn T.
Dec 9 at 18:14
thank you, that's one way (the second one) to solve the problem. The first one was to make enough space for letting thecondition
, in my case[pagato<importo]
so it doesn't cover up the arrow and the "entity"user
.
– Fr3d
Dec 9 at 18:26
1
@Fr3d Right,inner xsep=15
might be enough for that, though you of course get extra space on the right side as well.
– Torbjørn T.
Dec 9 at 18:31
Luckily, this was the easy solution, next time I will try changing the line 4509 oftikz-uml.sty
. Thanks
– Fr3d
Dec 9 at 18:52
add a comment |
Simplest fix: increase the inner xsep
if the umlfragment
to 15
, say. This does increase the space on the right hand side as well, though.
documentclass[border=5mm]{standalone}
usepackage{tikz-uml}
usepackage[T1]{fontenc}
begin{document}
begin{tikzpicture}
begin{umlseqdiag}
umlactor [x=2] {User}
umlobject [x=7] {Sys}
umlsdnode [dt=6]{Sys}
umlsdnode [dt=2]{User}
begin{umlfragment}[type=loop, label={pagato<importo}, inner xsep=15] % <-- increased inner xsep to 15
begin{umlcall}[dt=6, op={Importo (prezzo)}]{Sys}{User}
% begin{umlcall}[dt=5, op={Pago (Moneta, Banconota)}, type=return]{User}{Sys}
% end{umlcall}
end{umlcall}
end{umlfragment}
begin{umlcall}[dt=6, op={Resto}]{Sys}{User}
end{umlcall}
end{umlseqdiag}
end{tikzpicture}
end{document}
In order to move the label, you might have to edit tikz-uml.sty
. I wouldn't normally recommend editing packages directly though. Another option is to copy the entire definition of the umlfragment
environment to your preamble between makeatletter
and makeatother
, change newenvironment
to renewenvironment
, and make the edit there instead.
Anyways, the line in question is line 4509 of tikz-uml.sty
which just has the code
at (tikzumlFragment@name-type.south west)
Change this to
at (tikzumlFragment@name-type.north east)
Having done that, you might also want to add inner ysep=2
to the umlfragment
environment options, otherwise there isn't room for the label there.
Note that the nested umlcall
environment for some reason caused an error when I tested on Overleaf, which is why it is commented out in the (somewhat reduced) code below. I have no idea why, if that didn't happen on your system, then I suppose there's no problem.
documentclass[border=5mm]{standalone}
usepackage{tikz-uml}
usepackage[T1]{fontenc}
begin{document}
begin{tikzpicture}
begin{umlseqdiag}
umlactor [x=2] {User}
umlobject [x=7] {Sys}
umlsdnode [dt=6]{Sys}
umlsdnode [dt=2]{User}
begin{umlfragment}[type=loop, label={pagato<importo}, inner xsep=5,inner ysep=2]
begin{umlcall}[dt=6, op={Importo (prezzo)}]{Sys}{User}
% begin{umlcall}[dt=5, op={Pago (Moneta, Banconota)}, type=return]{User}{Sys}
% end{umlcall}
end{umlcall}
end{umlfragment}
begin{umlcall}[dt=6, op={Resto}]{Sys}{User}
end{umlcall}
end{umlseqdiag}
end{tikzpicture}
end{document}
Simplest fix: increase the inner xsep
if the umlfragment
to 15
, say. This does increase the space on the right hand side as well, though.
documentclass[border=5mm]{standalone}
usepackage{tikz-uml}
usepackage[T1]{fontenc}
begin{document}
begin{tikzpicture}
begin{umlseqdiag}
umlactor [x=2] {User}
umlobject [x=7] {Sys}
umlsdnode [dt=6]{Sys}
umlsdnode [dt=2]{User}
begin{umlfragment}[type=loop, label={pagato<importo}, inner xsep=15] % <-- increased inner xsep to 15
begin{umlcall}[dt=6, op={Importo (prezzo)}]{Sys}{User}
% begin{umlcall}[dt=5, op={Pago (Moneta, Banconota)}, type=return]{User}{Sys}
% end{umlcall}
end{umlcall}
end{umlfragment}
begin{umlcall}[dt=6, op={Resto}]{Sys}{User}
end{umlcall}
end{umlseqdiag}
end{tikzpicture}
end{document}
In order to move the label, you might have to edit tikz-uml.sty
. I wouldn't normally recommend editing packages directly though. Another option is to copy the entire definition of the umlfragment
environment to your preamble between makeatletter
and makeatother
, change newenvironment
to renewenvironment
, and make the edit there instead.
Anyways, the line in question is line 4509 of tikz-uml.sty
which just has the code
at (tikzumlFragment@name-type.south west)
Change this to
at (tikzumlFragment@name-type.north east)
Having done that, you might also want to add inner ysep=2
to the umlfragment
environment options, otherwise there isn't room for the label there.
Note that the nested umlcall
environment for some reason caused an error when I tested on Overleaf, which is why it is commented out in the (somewhat reduced) code below. I have no idea why, if that didn't happen on your system, then I suppose there's no problem.
documentclass[border=5mm]{standalone}
usepackage{tikz-uml}
usepackage[T1]{fontenc}
begin{document}
begin{tikzpicture}
begin{umlseqdiag}
umlactor [x=2] {User}
umlobject [x=7] {Sys}
umlsdnode [dt=6]{Sys}
umlsdnode [dt=2]{User}
begin{umlfragment}[type=loop, label={pagato<importo}, inner xsep=5,inner ysep=2]
begin{umlcall}[dt=6, op={Importo (prezzo)}]{Sys}{User}
% begin{umlcall}[dt=5, op={Pago (Moneta, Banconota)}, type=return]{User}{Sys}
% end{umlcall}
end{umlcall}
end{umlfragment}
begin{umlcall}[dt=6, op={Resto}]{Sys}{User}
end{umlcall}
end{umlseqdiag}
end{tikzpicture}
end{document}
edited Dec 9 at 19:24
answered Dec 9 at 18:14
Torbjørn T.
154k13245435
154k13245435
I should probably have asked for clarification first, as I'm really not sure this is what you meant, but ..
– Torbjørn T.
Dec 9 at 18:14
thank you, that's one way (the second one) to solve the problem. The first one was to make enough space for letting thecondition
, in my case[pagato<importo]
so it doesn't cover up the arrow and the "entity"user
.
– Fr3d
Dec 9 at 18:26
1
@Fr3d Right,inner xsep=15
might be enough for that, though you of course get extra space on the right side as well.
– Torbjørn T.
Dec 9 at 18:31
Luckily, this was the easy solution, next time I will try changing the line 4509 oftikz-uml.sty
. Thanks
– Fr3d
Dec 9 at 18:52
add a comment |
I should probably have asked for clarification first, as I'm really not sure this is what you meant, but ..
– Torbjørn T.
Dec 9 at 18:14
thank you, that's one way (the second one) to solve the problem. The first one was to make enough space for letting thecondition
, in my case[pagato<importo]
so it doesn't cover up the arrow and the "entity"user
.
– Fr3d
Dec 9 at 18:26
1
@Fr3d Right,inner xsep=15
might be enough for that, though you of course get extra space on the right side as well.
– Torbjørn T.
Dec 9 at 18:31
Luckily, this was the easy solution, next time I will try changing the line 4509 oftikz-uml.sty
. Thanks
– Fr3d
Dec 9 at 18:52
I should probably have asked for clarification first, as I'm really not sure this is what you meant, but ..
– Torbjørn T.
Dec 9 at 18:14
I should probably have asked for clarification first, as I'm really not sure this is what you meant, but ..
– Torbjørn T.
Dec 9 at 18:14
thank you, that's one way (the second one) to solve the problem. The first one was to make enough space for letting the
condition
, in my case [pagato<importo]
so it doesn't cover up the arrow and the "entity" user
.– Fr3d
Dec 9 at 18:26
thank you, that's one way (the second one) to solve the problem. The first one was to make enough space for letting the
condition
, in my case [pagato<importo]
so it doesn't cover up the arrow and the "entity" user
.– Fr3d
Dec 9 at 18:26
1
1
@Fr3d Right,
inner xsep=15
might be enough for that, though you of course get extra space on the right side as well.– Torbjørn T.
Dec 9 at 18:31
@Fr3d Right,
inner xsep=15
might be enough for that, though you of course get extra space on the right side as well.– Torbjørn T.
Dec 9 at 18:31
Luckily, this was the easy solution, next time I will try changing the line 4509 of
tikz-uml.sty
. Thanks– Fr3d
Dec 9 at 18:52
Luckily, this was the easy solution, next time I will try changing the line 4509 of
tikz-uml.sty
. Thanks– Fr3d
Dec 9 at 18:52
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.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- 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%2f463985%2fuml-condition-too-wide%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
Thanks to the 2 people who corrected my code, as I forgot, when copy pasting,
begin {document}
andend{document}
; and some typo as well :).– Fr3d
Dec 9 at 17:26