Trying to draw a picture w/ this code on tikz but keep getting an undefined control sequence error at the...
I have tikz loaded in the preamble with these libraries
usetikzlibrary{automata, positioning, arrows, positioning, calc}
begin{tikzpicture}
tikzset{level distance=15pt}
foreach r in {0.5,1,1.5,2}{
draw (0,0) circle (r cm);
}
draw[thick] (0,0)node(A){footnotesize{${w}$} circle(1cm)node[yshift=0.8cm,inner sep=0pt,outer sep=0pt](B){};
node at (105:2.25cm){$sv{phi}$};draw[very thick, dashed] (85:2.5cm) edge[out=-100, in=-20, looseness=2] ([yshift=1cm]165:1.5cm);
draw (0,0)node(A){} circle(1.5cm)node[yshift=-.25cm, xshift=1cm, inner sep=0pt,outer sep=0pt](D){};
end{tikzpicture}
tikz-pgf errors
add a comment |
I have tikz loaded in the preamble with these libraries
usetikzlibrary{automata, positioning, arrows, positioning, calc}
begin{tikzpicture}
tikzset{level distance=15pt}
foreach r in {0.5,1,1.5,2}{
draw (0,0) circle (r cm);
}
draw[thick] (0,0)node(A){footnotesize{${w}$} circle(1cm)node[yshift=0.8cm,inner sep=0pt,outer sep=0pt](B){};
node at (105:2.25cm){$sv{phi}$};draw[very thick, dashed] (85:2.5cm) edge[out=-100, in=-20, looseness=2] ([yshift=1cm]165:1.5cm);
draw (0,0)node(A){} circle(1.5cm)node[yshift=-.25cm, xshift=1cm, inner sep=0pt,outer sep=0pt](D){};
end{tikzpicture}
tikz-pgf errors
3
You have a missing}
afterfootnotesize{${w}$}
. After that I get an error because thesv
command isn't defined.
– Phelype Oleinik
Feb 18 at 14:40
welcome to tex.se! please extend your code snippet to complete small document with your image. help us to help you!
– Zarko
Feb 18 at 17:37
add a comment |
I have tikz loaded in the preamble with these libraries
usetikzlibrary{automata, positioning, arrows, positioning, calc}
begin{tikzpicture}
tikzset{level distance=15pt}
foreach r in {0.5,1,1.5,2}{
draw (0,0) circle (r cm);
}
draw[thick] (0,0)node(A){footnotesize{${w}$} circle(1cm)node[yshift=0.8cm,inner sep=0pt,outer sep=0pt](B){};
node at (105:2.25cm){$sv{phi}$};draw[very thick, dashed] (85:2.5cm) edge[out=-100, in=-20, looseness=2] ([yshift=1cm]165:1.5cm);
draw (0,0)node(A){} circle(1.5cm)node[yshift=-.25cm, xshift=1cm, inner sep=0pt,outer sep=0pt](D){};
end{tikzpicture}
tikz-pgf errors
I have tikz loaded in the preamble with these libraries
usetikzlibrary{automata, positioning, arrows, positioning, calc}
begin{tikzpicture}
tikzset{level distance=15pt}
foreach r in {0.5,1,1.5,2}{
draw (0,0) circle (r cm);
}
draw[thick] (0,0)node(A){footnotesize{${w}$} circle(1cm)node[yshift=0.8cm,inner sep=0pt,outer sep=0pt](B){};
node at (105:2.25cm){$sv{phi}$};draw[very thick, dashed] (85:2.5cm) edge[out=-100, in=-20, looseness=2] ([yshift=1cm]165:1.5cm);
draw (0,0)node(A){} circle(1.5cm)node[yshift=-.25cm, xshift=1cm, inner sep=0pt,outer sep=0pt](D){};
end{tikzpicture}
tikz-pgf errors
tikz-pgf errors
edited Feb 18 at 14:37
Phelype Oleinik
23.5k54586
23.5k54586
asked Feb 18 at 14:35
Andrew RubnerAndrew Rubner
1
1
3
You have a missing}
afterfootnotesize{${w}$}
. After that I get an error because thesv
command isn't defined.
– Phelype Oleinik
Feb 18 at 14:40
welcome to tex.se! please extend your code snippet to complete small document with your image. help us to help you!
– Zarko
Feb 18 at 17:37
add a comment |
3
You have a missing}
afterfootnotesize{${w}$}
. After that I get an error because thesv
command isn't defined.
– Phelype Oleinik
Feb 18 at 14:40
welcome to tex.se! please extend your code snippet to complete small document with your image. help us to help you!
– Zarko
Feb 18 at 17:37
3
3
You have a missing
}
after footnotesize{${w}$}
. After that I get an error because the sv
command isn't defined.– Phelype Oleinik
Feb 18 at 14:40
You have a missing
}
after footnotesize{${w}$}
. After that I get an error because the sv
command isn't defined.– Phelype Oleinik
Feb 18 at 14:40
welcome to tex.se! please extend your code snippet to complete small document with your image. help us to help you!
– Zarko
Feb 18 at 17:37
welcome to tex.se! please extend your code snippet to complete small document with your image. help us to help you!
– Zarko
Feb 18 at 17:37
add a comment |
1 Answer
1
active
oldest
votes
it is not clear what you like to draw. from provided code i guess that you looking for something like this (but i may be wrong):
which is generated with:
documentclass[tikz, margin=3mm]{standalone}
begin{document}
begin{tikzpicture}[every node/.style = {font=footnotesize}]
node (A) {${w}$};
draw[thick] (A) circle(1cm);
foreach r in {0.5,1.5,2}{draw (A) circle (r);}
%
node at (110:2.2){$phi$};
draw[very thick, densely dashed]
(85:2.4) edge[out=-100, in=-20, looseness=2] ([yshift=1cm]165:1.5);
end{tikzpicture}
end{document}
Thank you! It's supposed to represent a "system of spheres" which is a figure commonly used in intensional logics
– Andrew Rubner
Feb 18 at 20:01
@AndrewRubner, i'm more interested, if i correct guess what you like to draw.
– Zarko
Feb 18 at 20:04
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%2f475502%2ftrying-to-draw-a-picture-w-this-code-on-tikz-but-keep-getting-an-undefined-cont%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
it is not clear what you like to draw. from provided code i guess that you looking for something like this (but i may be wrong):
which is generated with:
documentclass[tikz, margin=3mm]{standalone}
begin{document}
begin{tikzpicture}[every node/.style = {font=footnotesize}]
node (A) {${w}$};
draw[thick] (A) circle(1cm);
foreach r in {0.5,1.5,2}{draw (A) circle (r);}
%
node at (110:2.2){$phi$};
draw[very thick, densely dashed]
(85:2.4) edge[out=-100, in=-20, looseness=2] ([yshift=1cm]165:1.5);
end{tikzpicture}
end{document}
Thank you! It's supposed to represent a "system of spheres" which is a figure commonly used in intensional logics
– Andrew Rubner
Feb 18 at 20:01
@AndrewRubner, i'm more interested, if i correct guess what you like to draw.
– Zarko
Feb 18 at 20:04
add a comment |
it is not clear what you like to draw. from provided code i guess that you looking for something like this (but i may be wrong):
which is generated with:
documentclass[tikz, margin=3mm]{standalone}
begin{document}
begin{tikzpicture}[every node/.style = {font=footnotesize}]
node (A) {${w}$};
draw[thick] (A) circle(1cm);
foreach r in {0.5,1.5,2}{draw (A) circle (r);}
%
node at (110:2.2){$phi$};
draw[very thick, densely dashed]
(85:2.4) edge[out=-100, in=-20, looseness=2] ([yshift=1cm]165:1.5);
end{tikzpicture}
end{document}
Thank you! It's supposed to represent a "system of spheres" which is a figure commonly used in intensional logics
– Andrew Rubner
Feb 18 at 20:01
@AndrewRubner, i'm more interested, if i correct guess what you like to draw.
– Zarko
Feb 18 at 20:04
add a comment |
it is not clear what you like to draw. from provided code i guess that you looking for something like this (but i may be wrong):
which is generated with:
documentclass[tikz, margin=3mm]{standalone}
begin{document}
begin{tikzpicture}[every node/.style = {font=footnotesize}]
node (A) {${w}$};
draw[thick] (A) circle(1cm);
foreach r in {0.5,1.5,2}{draw (A) circle (r);}
%
node at (110:2.2){$phi$};
draw[very thick, densely dashed]
(85:2.4) edge[out=-100, in=-20, looseness=2] ([yshift=1cm]165:1.5);
end{tikzpicture}
end{document}
it is not clear what you like to draw. from provided code i guess that you looking for something like this (but i may be wrong):
which is generated with:
documentclass[tikz, margin=3mm]{standalone}
begin{document}
begin{tikzpicture}[every node/.style = {font=footnotesize}]
node (A) {${w}$};
draw[thick] (A) circle(1cm);
foreach r in {0.5,1.5,2}{draw (A) circle (r);}
%
node at (110:2.2){$phi$};
draw[very thick, densely dashed]
(85:2.4) edge[out=-100, in=-20, looseness=2] ([yshift=1cm]165:1.5);
end{tikzpicture}
end{document}
answered Feb 18 at 19:14
ZarkoZarko
125k867164
125k867164
Thank you! It's supposed to represent a "system of spheres" which is a figure commonly used in intensional logics
– Andrew Rubner
Feb 18 at 20:01
@AndrewRubner, i'm more interested, if i correct guess what you like to draw.
– Zarko
Feb 18 at 20:04
add a comment |
Thank you! It's supposed to represent a "system of spheres" which is a figure commonly used in intensional logics
– Andrew Rubner
Feb 18 at 20:01
@AndrewRubner, i'm more interested, if i correct guess what you like to draw.
– Zarko
Feb 18 at 20:04
Thank you! It's supposed to represent a "system of spheres" which is a figure commonly used in intensional logics
– Andrew Rubner
Feb 18 at 20:01
Thank you! It's supposed to represent a "system of spheres" which is a figure commonly used in intensional logics
– Andrew Rubner
Feb 18 at 20:01
@AndrewRubner, i'm more interested, if i correct guess what you like to draw.
– Zarko
Feb 18 at 20:04
@AndrewRubner, i'm more interested, if i correct guess what you like to draw.
– Zarko
Feb 18 at 20:04
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%2f475502%2ftrying-to-draw-a-picture-w-this-code-on-tikz-but-keep-getting-an-undefined-cont%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
3
You have a missing
}
afterfootnotesize{${w}$}
. After that I get an error because thesv
command isn't defined.– Phelype Oleinik
Feb 18 at 14:40
welcome to tex.se! please extend your code snippet to complete small document with your image. help us to help you!
– Zarko
Feb 18 at 17:37