Starparalax HelpDrawing circular arrows in tikz to represent turns in a T-intersectionDecoration of (relative) segments of Bézier curvesHelp with figures in TikZHelp on TikZ diagramHelp with drawing a picture (pgf/tikz)Work diagram helpPlease help me create this diagram in LaTeXLine up nested tikz enviroments or how to get rid of themHelp drawing latex neededHelp with LaTeX graphHelp creating simple diagramHelp with economics graph
Life insurance that covers only simultaneous/dual deaths
Are there other languages, besides English, where the indefinite (or definite) article varies based on sound?
Co-worker team leader wants to inject his friend's awful software into our development. What should I say to our common boss?
Professor being mistaken for a grad student
How difficult is it to simply disable/disengage the MCAS on Boeing 737 Max 8 & 9 Aircraft?
newcommand: Combine (optional) star and optional parameter
A sequence that has integer values for prime indexes only:
Employee lack of ownership
Can a druid choose the size of its wild shape beast?
Welcoming 2019 Pi day: How to draw the letter π?
Sailing the cryptic seas
Do I need to be arrogant to get ahead?
Are ETF trackers fundamentally better than individual stocks?
Science-fiction short story where space navy wanted hospital ships and settlers had guns mounted everywhere
Should we release the security issues we found in our product as CVE or we can just update those on weekly release notes?
How can I track script which gives me "command not found" right after the login?
Could the Saturn V actually have launched astronauts around Venus?
Are there verbs that are neither telic, or atelic?
Why do passenger jet manufacturers design their planes with stall prevention systems?
Official degrees of earth’s rotation per day
My Graph Theory Students
Define, (actually define) the "stability" and "energy" of a compound
What is the significance behind "40 days" that often appears in the Bible?
How to simplify this time periods definition interface?
Starparalax Help
Drawing circular arrows in tikz to represent turns in a T-intersectionDecoration of (relative) segments of Bézier curvesHelp with figures in TikZHelp on TikZ diagramHelp with drawing a picture (pgf/tikz)Work diagram helpPlease help me create this diagram in LaTeXLine up nested tikz enviroments or how to get rid of themHelp drawing latex neededHelp with LaTeX graphHelp creating simple diagramHelp with economics graph
I'm pretty new to Latex and i've just found out about tikZ. I'm barely able to make a triangle and angle. I just wanted to ask if you can tell me how to start with he following project:
The Preamble:
usepackageappendixnumberbeamer
usepackagebooktabs
usepackage[scale=2]ccicons
usepackagepgfplots
usepgfplotslibrarydateplot
usepackagetikz
usetikzlibraryarrows.meta,bending,decorations.markings,intersections,angles,quotes,babe l,lindenmayersystems,plotmarks
pgfdeclarelindenmayersystemA%
symbolFpgflsystemstep=0.6pgflsystemsteppgflsystemdrawforward
ruleA->F[+A][-A]
tikzset
arc arrow/.style args=%
to pos 1 with length 2
decoration=
markings,
mark=at position 0 with pgfextra%
pgfmathsetmacrotmpArrowTime2/(pgfdecoratedpathlength)
xdeftmpArrowTimetmpArrowTime,
mark=at position 1-tmpArrowTime with coordinate(@1);,
mark=at position 1-2*tmpArrowTime/3 with coordinate(@2);,
mark=at position 1-tmpArrowTime/3 with coordinate(@3);,
mark=at position 1 with coordinate(@4);
draw[-Stealth[length=2,bend]]
(@1) .. controls (@2) and (@3) .. (@4);,
,
postaction=decorate,
,bent arrow/.style=arc arrow=to pos #1 with length 2mm,
pics/strange bar/.style=code=draw[thick] (-#1,0) -- (#1,0);
usepackagexspace
newcommandthemenametextbftextscmetropolisxspace
usepackageamsmath
usepackageamssymb
usepackage[ngerman]babel
usepackage[utf8]inputenc
usepackage[T1]fontenc
usepackageanimate
usepackageselinput
SelectInputMappingsadieresis=ä, germandbls=ß
The Frame:
beginframe[fragile]
hspace2cm
begintikzpicture[font=sffamily]
draw[name path=A] (0,5) coordinate(TL) -- (0,0);
draw[bent arrow/.list=0.125,0.625] (0,0) circle[x radius=2cm,y radius=0.5cm];
draw[fill=blue] (-2,0) circle[radius=1.5mm];
draw[fill=yellow] (0,0) circle[radius=2mm];
draw[name path=B] (-2,0) -- (1,5) coordinate(TR);
draw[fill=pink,name intersections=of=A and B,by=I] (I) circle[radius=1.5mm]node[left=3pt]Near star;
pic [angle radius=1cm,angle eccentricity=.5,draw,"p" alias=p] angle = TR--I--TL;
draw[pink,latex-,thick] (p) -- ++ (1,-1) node[right,align=left,text=black]parallax angle\ = 1``;
draw ([xshift=5mm]I) -- ++ (3,0) coordinate (R1) pic[rotate=45]strange bar=0.3
-- (0,0-|R1) coordinate (R2) pic[rotate=45]strange bar=0.3node[midway,above,sloped] 1 parsec
-- (2.5,0);
draw (-2,-0.3) -- (-2,-2) pic[rotate=45]strange bar=0.3 -- (0,-2)node[midway,above]1 AE pic[rotate=45]strange bar=0.3
-- (0,-0.3);
draw[bent arrow/.list=0.125,0.625,thin] (0,5) circle[x radius=1cm,y radius=0.15cm];
draw[fill=pink] (TR) circle[radius=1mm] (-1,5) circle[radius=1mm];
draw[pink,latex-,thick,shorten >=1mm] (TR) -- ++ (0.5,-1) node[right,align=left,text=black] (AP) apparent parallax\ motion near star;
draw[pink,latex-,thick,shorten >=1mm] (-1,5) -- (AP.west);
endtikzpicture
endframe
diagrams
New contributor
Tirolalein Leine 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 |
I'm pretty new to Latex and i've just found out about tikZ. I'm barely able to make a triangle and angle. I just wanted to ask if you can tell me how to start with he following project:
The Preamble:
usepackageappendixnumberbeamer
usepackagebooktabs
usepackage[scale=2]ccicons
usepackagepgfplots
usepgfplotslibrarydateplot
usepackagetikz
usetikzlibraryarrows.meta,bending,decorations.markings,intersections,angles,quotes,babe l,lindenmayersystems,plotmarks
pgfdeclarelindenmayersystemA%
symbolFpgflsystemstep=0.6pgflsystemsteppgflsystemdrawforward
ruleA->F[+A][-A]
tikzset
arc arrow/.style args=%
to pos 1 with length 2
decoration=
markings,
mark=at position 0 with pgfextra%
pgfmathsetmacrotmpArrowTime2/(pgfdecoratedpathlength)
xdeftmpArrowTimetmpArrowTime,
mark=at position 1-tmpArrowTime with coordinate(@1);,
mark=at position 1-2*tmpArrowTime/3 with coordinate(@2);,
mark=at position 1-tmpArrowTime/3 with coordinate(@3);,
mark=at position 1 with coordinate(@4);
draw[-Stealth[length=2,bend]]
(@1) .. controls (@2) and (@3) .. (@4);,
,
postaction=decorate,
,bent arrow/.style=arc arrow=to pos #1 with length 2mm,
pics/strange bar/.style=code=draw[thick] (-#1,0) -- (#1,0);
usepackagexspace
newcommandthemenametextbftextscmetropolisxspace
usepackageamsmath
usepackageamssymb
usepackage[ngerman]babel
usepackage[utf8]inputenc
usepackage[T1]fontenc
usepackageanimate
usepackageselinput
SelectInputMappingsadieresis=ä, germandbls=ß
The Frame:
beginframe[fragile]
hspace2cm
begintikzpicture[font=sffamily]
draw[name path=A] (0,5) coordinate(TL) -- (0,0);
draw[bent arrow/.list=0.125,0.625] (0,0) circle[x radius=2cm,y radius=0.5cm];
draw[fill=blue] (-2,0) circle[radius=1.5mm];
draw[fill=yellow] (0,0) circle[radius=2mm];
draw[name path=B] (-2,0) -- (1,5) coordinate(TR);
draw[fill=pink,name intersections=of=A and B,by=I] (I) circle[radius=1.5mm]node[left=3pt]Near star;
pic [angle radius=1cm,angle eccentricity=.5,draw,"p" alias=p] angle = TR--I--TL;
draw[pink,latex-,thick] (p) -- ++ (1,-1) node[right,align=left,text=black]parallax angle\ = 1``;
draw ([xshift=5mm]I) -- ++ (3,0) coordinate (R1) pic[rotate=45]strange bar=0.3
-- (0,0-|R1) coordinate (R2) pic[rotate=45]strange bar=0.3node[midway,above,sloped] 1 parsec
-- (2.5,0);
draw (-2,-0.3) -- (-2,-2) pic[rotate=45]strange bar=0.3 -- (0,-2)node[midway,above]1 AE pic[rotate=45]strange bar=0.3
-- (0,-0.3);
draw[bent arrow/.list=0.125,0.625,thin] (0,5) circle[x radius=1cm,y radius=0.15cm];
draw[fill=pink] (TR) circle[radius=1mm] (-1,5) circle[radius=1mm];
draw[pink,latex-,thick,shorten >=1mm] (TR) -- ++ (0.5,-1) node[right,align=left,text=black] (AP) apparent parallax\ motion near star;
draw[pink,latex-,thick,shorten >=1mm] (-1,5) -- (AP.west);
endtikzpicture
endframe
diagrams
New contributor
Tirolalein Leine is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
2
Welcome to TeX.SE! Can you please show us the code you have so far?
– Kurt
2 days ago
add a comment |
I'm pretty new to Latex and i've just found out about tikZ. I'm barely able to make a triangle and angle. I just wanted to ask if you can tell me how to start with he following project:
The Preamble:
usepackageappendixnumberbeamer
usepackagebooktabs
usepackage[scale=2]ccicons
usepackagepgfplots
usepgfplotslibrarydateplot
usepackagetikz
usetikzlibraryarrows.meta,bending,decorations.markings,intersections,angles,quotes,babe l,lindenmayersystems,plotmarks
pgfdeclarelindenmayersystemA%
symbolFpgflsystemstep=0.6pgflsystemsteppgflsystemdrawforward
ruleA->F[+A][-A]
tikzset
arc arrow/.style args=%
to pos 1 with length 2
decoration=
markings,
mark=at position 0 with pgfextra%
pgfmathsetmacrotmpArrowTime2/(pgfdecoratedpathlength)
xdeftmpArrowTimetmpArrowTime,
mark=at position 1-tmpArrowTime with coordinate(@1);,
mark=at position 1-2*tmpArrowTime/3 with coordinate(@2);,
mark=at position 1-tmpArrowTime/3 with coordinate(@3);,
mark=at position 1 with coordinate(@4);
draw[-Stealth[length=2,bend]]
(@1) .. controls (@2) and (@3) .. (@4);,
,
postaction=decorate,
,bent arrow/.style=arc arrow=to pos #1 with length 2mm,
pics/strange bar/.style=code=draw[thick] (-#1,0) -- (#1,0);
usepackagexspace
newcommandthemenametextbftextscmetropolisxspace
usepackageamsmath
usepackageamssymb
usepackage[ngerman]babel
usepackage[utf8]inputenc
usepackage[T1]fontenc
usepackageanimate
usepackageselinput
SelectInputMappingsadieresis=ä, germandbls=ß
The Frame:
beginframe[fragile]
hspace2cm
begintikzpicture[font=sffamily]
draw[name path=A] (0,5) coordinate(TL) -- (0,0);
draw[bent arrow/.list=0.125,0.625] (0,0) circle[x radius=2cm,y radius=0.5cm];
draw[fill=blue] (-2,0) circle[radius=1.5mm];
draw[fill=yellow] (0,0) circle[radius=2mm];
draw[name path=B] (-2,0) -- (1,5) coordinate(TR);
draw[fill=pink,name intersections=of=A and B,by=I] (I) circle[radius=1.5mm]node[left=3pt]Near star;
pic [angle radius=1cm,angle eccentricity=.5,draw,"p" alias=p] angle = TR--I--TL;
draw[pink,latex-,thick] (p) -- ++ (1,-1) node[right,align=left,text=black]parallax angle\ = 1``;
draw ([xshift=5mm]I) -- ++ (3,0) coordinate (R1) pic[rotate=45]strange bar=0.3
-- (0,0-|R1) coordinate (R2) pic[rotate=45]strange bar=0.3node[midway,above,sloped] 1 parsec
-- (2.5,0);
draw (-2,-0.3) -- (-2,-2) pic[rotate=45]strange bar=0.3 -- (0,-2)node[midway,above]1 AE pic[rotate=45]strange bar=0.3
-- (0,-0.3);
draw[bent arrow/.list=0.125,0.625,thin] (0,5) circle[x radius=1cm,y radius=0.15cm];
draw[fill=pink] (TR) circle[radius=1mm] (-1,5) circle[radius=1mm];
draw[pink,latex-,thick,shorten >=1mm] (TR) -- ++ (0.5,-1) node[right,align=left,text=black] (AP) apparent parallax\ motion near star;
draw[pink,latex-,thick,shorten >=1mm] (-1,5) -- (AP.west);
endtikzpicture
endframe
diagrams
New contributor
Tirolalein Leine is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
I'm pretty new to Latex and i've just found out about tikZ. I'm barely able to make a triangle and angle. I just wanted to ask if you can tell me how to start with he following project:
The Preamble:
usepackageappendixnumberbeamer
usepackagebooktabs
usepackage[scale=2]ccicons
usepackagepgfplots
usepgfplotslibrarydateplot
usepackagetikz
usetikzlibraryarrows.meta,bending,decorations.markings,intersections,angles,quotes,babe l,lindenmayersystems,plotmarks
pgfdeclarelindenmayersystemA%
symbolFpgflsystemstep=0.6pgflsystemsteppgflsystemdrawforward
ruleA->F[+A][-A]
tikzset
arc arrow/.style args=%
to pos 1 with length 2
decoration=
markings,
mark=at position 0 with pgfextra%
pgfmathsetmacrotmpArrowTime2/(pgfdecoratedpathlength)
xdeftmpArrowTimetmpArrowTime,
mark=at position 1-tmpArrowTime with coordinate(@1);,
mark=at position 1-2*tmpArrowTime/3 with coordinate(@2);,
mark=at position 1-tmpArrowTime/3 with coordinate(@3);,
mark=at position 1 with coordinate(@4);
draw[-Stealth[length=2,bend]]
(@1) .. controls (@2) and (@3) .. (@4);,
,
postaction=decorate,
,bent arrow/.style=arc arrow=to pos #1 with length 2mm,
pics/strange bar/.style=code=draw[thick] (-#1,0) -- (#1,0);
usepackagexspace
newcommandthemenametextbftextscmetropolisxspace
usepackageamsmath
usepackageamssymb
usepackage[ngerman]babel
usepackage[utf8]inputenc
usepackage[T1]fontenc
usepackageanimate
usepackageselinput
SelectInputMappingsadieresis=ä, germandbls=ß
The Frame:
beginframe[fragile]
hspace2cm
begintikzpicture[font=sffamily]
draw[name path=A] (0,5) coordinate(TL) -- (0,0);
draw[bent arrow/.list=0.125,0.625] (0,0) circle[x radius=2cm,y radius=0.5cm];
draw[fill=blue] (-2,0) circle[radius=1.5mm];
draw[fill=yellow] (0,0) circle[radius=2mm];
draw[name path=B] (-2,0) -- (1,5) coordinate(TR);
draw[fill=pink,name intersections=of=A and B,by=I] (I) circle[radius=1.5mm]node[left=3pt]Near star;
pic [angle radius=1cm,angle eccentricity=.5,draw,"p" alias=p] angle = TR--I--TL;
draw[pink,latex-,thick] (p) -- ++ (1,-1) node[right,align=left,text=black]parallax angle\ = 1``;
draw ([xshift=5mm]I) -- ++ (3,0) coordinate (R1) pic[rotate=45]strange bar=0.3
-- (0,0-|R1) coordinate (R2) pic[rotate=45]strange bar=0.3node[midway,above,sloped] 1 parsec
-- (2.5,0);
draw (-2,-0.3) -- (-2,-2) pic[rotate=45]strange bar=0.3 -- (0,-2)node[midway,above]1 AE pic[rotate=45]strange bar=0.3
-- (0,-0.3);
draw[bent arrow/.list=0.125,0.625,thin] (0,5) circle[x radius=1cm,y radius=0.15cm];
draw[fill=pink] (TR) circle[radius=1mm] (-1,5) circle[radius=1mm];
draw[pink,latex-,thick,shorten >=1mm] (TR) -- ++ (0.5,-1) node[right,align=left,text=black] (AP) apparent parallax\ motion near star;
draw[pink,latex-,thick,shorten >=1mm] (-1,5) -- (AP.west);
endtikzpicture
endframe
diagrams
diagrams
New contributor
Tirolalein Leine is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Tirolalein Leine is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
edited 7 hours ago
Tirolalein Leine
New contributor
Tirolalein Leine is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked 2 days ago
Tirolalein LeineTirolalein Leine
113
113
New contributor
Tirolalein Leine is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Tirolalein Leine is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Tirolalein Leine is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
2
Welcome to TeX.SE! Can you please show us the code you have so far?
– Kurt
2 days ago
add a comment |
2
Welcome to TeX.SE! Can you please show us the code you have so far?
– Kurt
2 days ago
2
2
Welcome to TeX.SE! Can you please show us the code you have so far?
– Kurt
2 days ago
Welcome to TeX.SE! Can you please show us the code you have so far?
– Kurt
2 days ago
add a comment |
1 Answer
1
active
oldest
votes
Welcome to TeX-SE! This is to give you a start. I apologize in advance if I have misinterpreted some elements.
documentclass[tikz,border=3.14mm]standalone
usetikzlibraryarrows.meta,bending,decorations.markings,intersections,angles,quotes
% https://tex.stackexchange.com/a/430239/121799
tikzset% inspired by https://tex.stackexchange.com/a/316050/121799
arc arrow/.style args=%
to pos #1 with length #2
decoration=
markings,
mark=at position 0 with pgfextra%
pgfmathsetmacrotmpArrowTime#2/(pgfdecoratedpathlength)
xdeftmpArrowTimetmpArrowTime,
mark=at position #1-tmpArrowTime with coordinate(@1);,
mark=at position #1-2*tmpArrowTime/3 with coordinate(@2);,
mark=at position #1-tmpArrowTime/3 with coordinate(@3);,
mark=at position #1 with coordinate(@4);
draw[-Stealth[length=#2,bend]]
(@1) .. controls (@2) and (@3) .. (@4);,
,
postaction=decorate,
,bent arrow/.style=arc arrow=to pos #1 with length 2mm,
pics/strange bar/.style=code=draw[thick] (-#1,0) -- (#1,0);
begindocument
begintikzpicture[font=sffamily]
draw[semithick] (80:12) arc(80:100:12) node[midway,above]Distant stars;
fill foreach X in 82,86,90,92,95,99 (X:12) circle[radius=1.5pt] ;
draw[name path=A] (0,11.8) coordinate(TL) -- (0,0);
draw[bent arrow/.list=0.125,0.625] (0,0) circle[x radius=2cm,y radius=0.5cm];
draw[fill=blue] (-2,0) circle[radius=2mm];
draw[fill=yellow] (0,0) circle[radius=2mm];
draw[name path=B] (-2,0) -- (1,11.8) coordinate(TR);
draw[fill=pink,name intersections=of=A and B,by=I] (I) circle[radius=2mm]
node[left=3pt]Near star;
pic [angle radius=1cm,angle eccentricity=1.3,draw,"p" alias=p] angle = TR--I--TL;
draw[pink,latex-,thick] (p) -- ++ (1,-0.5) node[right,align=left,text=black]parallax angle;
draw ([xshift=5mm]I) -- ++ (3,0) coordinate (R1) pic[rotate=45]strange bar=0.6
-- (0,0-|R1) coordinate (R2) pic[rotate=45]strange bar=0.6
node[midway,above,sloped] 1 parsec
-- (2.5,0);
draw (-2,-0.3) -- (-2,-2) pic[rotate=45]strange bar=0.6 -- (0,-2)
node[midway,above]1 AU pic[rotate=45]strange bar=0.6
-- (0,-0.3);
draw[bent arrow/.list=0.125,0.625,thin] (0,11.8) circle[x radius=1cm,y radius=0.15cm];
draw[fill=pink] (TR) circle[radius=1mm] (-1,11.8) circle[radius=1mm];
draw[pink,latex-,thick,shorten >=1mm] (TR) -- ++ (0.5,-1)
node[right,align=left,text=black] (AP) apparent parallax\ motion near star;
draw[pink,latex-,thick,shorten >=1mm] (-1,11.8) -- (AP.west);
endtikzpicture
enddocument

1
Wow! Thank you very much
– Tirolalein Leine
yesterday
1
@TirolaleinLeine You need a fragile frame:beginframe[fragile]
– samcarter
7 hours ago
2
@TirolaleinLeine It makes your code compilable by preventing some voodoo tha beamer normally does with all content of a frame
– samcarter
7 hours ago
1
@TirolaleinLeine In this particular case the problem probably are the#in the tikzset
– samcarter
7 hours ago
1
@TirolaleinLeine What happened here is a good example that illustrates why many users here ask for an MWE (minimal working example). If you would have provided one (even if thetikzpicturewas very minimal), anyone answering it would circumvented the pitfalls (and also made sure that the thingy fits on a beamer slide). Changing these things afterwards is a bit cumbersome, and many users are not really willing to do that.
– marmot
6 hours ago
|
show 9 more comments
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
);
);
Tirolalein Leine 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');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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%2f479330%2fstarparalax-help%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
Welcome to TeX-SE! This is to give you a start. I apologize in advance if I have misinterpreted some elements.
documentclass[tikz,border=3.14mm]standalone
usetikzlibraryarrows.meta,bending,decorations.markings,intersections,angles,quotes
% https://tex.stackexchange.com/a/430239/121799
tikzset% inspired by https://tex.stackexchange.com/a/316050/121799
arc arrow/.style args=%
to pos #1 with length #2
decoration=
markings,
mark=at position 0 with pgfextra%
pgfmathsetmacrotmpArrowTime#2/(pgfdecoratedpathlength)
xdeftmpArrowTimetmpArrowTime,
mark=at position #1-tmpArrowTime with coordinate(@1);,
mark=at position #1-2*tmpArrowTime/3 with coordinate(@2);,
mark=at position #1-tmpArrowTime/3 with coordinate(@3);,
mark=at position #1 with coordinate(@4);
draw[-Stealth[length=#2,bend]]
(@1) .. controls (@2) and (@3) .. (@4);,
,
postaction=decorate,
,bent arrow/.style=arc arrow=to pos #1 with length 2mm,
pics/strange bar/.style=code=draw[thick] (-#1,0) -- (#1,0);
begindocument
begintikzpicture[font=sffamily]
draw[semithick] (80:12) arc(80:100:12) node[midway,above]Distant stars;
fill foreach X in 82,86,90,92,95,99 (X:12) circle[radius=1.5pt] ;
draw[name path=A] (0,11.8) coordinate(TL) -- (0,0);
draw[bent arrow/.list=0.125,0.625] (0,0) circle[x radius=2cm,y radius=0.5cm];
draw[fill=blue] (-2,0) circle[radius=2mm];
draw[fill=yellow] (0,0) circle[radius=2mm];
draw[name path=B] (-2,0) -- (1,11.8) coordinate(TR);
draw[fill=pink,name intersections=of=A and B,by=I] (I) circle[radius=2mm]
node[left=3pt]Near star;
pic [angle radius=1cm,angle eccentricity=1.3,draw,"p" alias=p] angle = TR--I--TL;
draw[pink,latex-,thick] (p) -- ++ (1,-0.5) node[right,align=left,text=black]parallax angle;
draw ([xshift=5mm]I) -- ++ (3,0) coordinate (R1) pic[rotate=45]strange bar=0.6
-- (0,0-|R1) coordinate (R2) pic[rotate=45]strange bar=0.6
node[midway,above,sloped] 1 parsec
-- (2.5,0);
draw (-2,-0.3) -- (-2,-2) pic[rotate=45]strange bar=0.6 -- (0,-2)
node[midway,above]1 AU pic[rotate=45]strange bar=0.6
-- (0,-0.3);
draw[bent arrow/.list=0.125,0.625,thin] (0,11.8) circle[x radius=1cm,y radius=0.15cm];
draw[fill=pink] (TR) circle[radius=1mm] (-1,11.8) circle[radius=1mm];
draw[pink,latex-,thick,shorten >=1mm] (TR) -- ++ (0.5,-1)
node[right,align=left,text=black] (AP) apparent parallax\ motion near star;
draw[pink,latex-,thick,shorten >=1mm] (-1,11.8) -- (AP.west);
endtikzpicture
enddocument

1
Wow! Thank you very much
– Tirolalein Leine
yesterday
1
@TirolaleinLeine You need a fragile frame:beginframe[fragile]
– samcarter
7 hours ago
2
@TirolaleinLeine It makes your code compilable by preventing some voodoo tha beamer normally does with all content of a frame
– samcarter
7 hours ago
1
@TirolaleinLeine In this particular case the problem probably are the#in the tikzset
– samcarter
7 hours ago
1
@TirolaleinLeine What happened here is a good example that illustrates why many users here ask for an MWE (minimal working example). If you would have provided one (even if thetikzpicturewas very minimal), anyone answering it would circumvented the pitfalls (and also made sure that the thingy fits on a beamer slide). Changing these things afterwards is a bit cumbersome, and many users are not really willing to do that.
– marmot
6 hours ago
|
show 9 more comments
Welcome to TeX-SE! This is to give you a start. I apologize in advance if I have misinterpreted some elements.
documentclass[tikz,border=3.14mm]standalone
usetikzlibraryarrows.meta,bending,decorations.markings,intersections,angles,quotes
% https://tex.stackexchange.com/a/430239/121799
tikzset% inspired by https://tex.stackexchange.com/a/316050/121799
arc arrow/.style args=%
to pos #1 with length #2
decoration=
markings,
mark=at position 0 with pgfextra%
pgfmathsetmacrotmpArrowTime#2/(pgfdecoratedpathlength)
xdeftmpArrowTimetmpArrowTime,
mark=at position #1-tmpArrowTime with coordinate(@1);,
mark=at position #1-2*tmpArrowTime/3 with coordinate(@2);,
mark=at position #1-tmpArrowTime/3 with coordinate(@3);,
mark=at position #1 with coordinate(@4);
draw[-Stealth[length=#2,bend]]
(@1) .. controls (@2) and (@3) .. (@4);,
,
postaction=decorate,
,bent arrow/.style=arc arrow=to pos #1 with length 2mm,
pics/strange bar/.style=code=draw[thick] (-#1,0) -- (#1,0);
begindocument
begintikzpicture[font=sffamily]
draw[semithick] (80:12) arc(80:100:12) node[midway,above]Distant stars;
fill foreach X in 82,86,90,92,95,99 (X:12) circle[radius=1.5pt] ;
draw[name path=A] (0,11.8) coordinate(TL) -- (0,0);
draw[bent arrow/.list=0.125,0.625] (0,0) circle[x radius=2cm,y radius=0.5cm];
draw[fill=blue] (-2,0) circle[radius=2mm];
draw[fill=yellow] (0,0) circle[radius=2mm];
draw[name path=B] (-2,0) -- (1,11.8) coordinate(TR);
draw[fill=pink,name intersections=of=A and B,by=I] (I) circle[radius=2mm]
node[left=3pt]Near star;
pic [angle radius=1cm,angle eccentricity=1.3,draw,"p" alias=p] angle = TR--I--TL;
draw[pink,latex-,thick] (p) -- ++ (1,-0.5) node[right,align=left,text=black]parallax angle;
draw ([xshift=5mm]I) -- ++ (3,0) coordinate (R1) pic[rotate=45]strange bar=0.6
-- (0,0-|R1) coordinate (R2) pic[rotate=45]strange bar=0.6
node[midway,above,sloped] 1 parsec
-- (2.5,0);
draw (-2,-0.3) -- (-2,-2) pic[rotate=45]strange bar=0.6 -- (0,-2)
node[midway,above]1 AU pic[rotate=45]strange bar=0.6
-- (0,-0.3);
draw[bent arrow/.list=0.125,0.625,thin] (0,11.8) circle[x radius=1cm,y radius=0.15cm];
draw[fill=pink] (TR) circle[radius=1mm] (-1,11.8) circle[radius=1mm];
draw[pink,latex-,thick,shorten >=1mm] (TR) -- ++ (0.5,-1)
node[right,align=left,text=black] (AP) apparent parallax\ motion near star;
draw[pink,latex-,thick,shorten >=1mm] (-1,11.8) -- (AP.west);
endtikzpicture
enddocument

1
Wow! Thank you very much
– Tirolalein Leine
yesterday
1
@TirolaleinLeine You need a fragile frame:beginframe[fragile]
– samcarter
7 hours ago
2
@TirolaleinLeine It makes your code compilable by preventing some voodoo tha beamer normally does with all content of a frame
– samcarter
7 hours ago
1
@TirolaleinLeine In this particular case the problem probably are the#in the tikzset
– samcarter
7 hours ago
1
@TirolaleinLeine What happened here is a good example that illustrates why many users here ask for an MWE (minimal working example). If you would have provided one (even if thetikzpicturewas very minimal), anyone answering it would circumvented the pitfalls (and also made sure that the thingy fits on a beamer slide). Changing these things afterwards is a bit cumbersome, and many users are not really willing to do that.
– marmot
6 hours ago
|
show 9 more comments
Welcome to TeX-SE! This is to give you a start. I apologize in advance if I have misinterpreted some elements.
documentclass[tikz,border=3.14mm]standalone
usetikzlibraryarrows.meta,bending,decorations.markings,intersections,angles,quotes
% https://tex.stackexchange.com/a/430239/121799
tikzset% inspired by https://tex.stackexchange.com/a/316050/121799
arc arrow/.style args=%
to pos #1 with length #2
decoration=
markings,
mark=at position 0 with pgfextra%
pgfmathsetmacrotmpArrowTime#2/(pgfdecoratedpathlength)
xdeftmpArrowTimetmpArrowTime,
mark=at position #1-tmpArrowTime with coordinate(@1);,
mark=at position #1-2*tmpArrowTime/3 with coordinate(@2);,
mark=at position #1-tmpArrowTime/3 with coordinate(@3);,
mark=at position #1 with coordinate(@4);
draw[-Stealth[length=#2,bend]]
(@1) .. controls (@2) and (@3) .. (@4);,
,
postaction=decorate,
,bent arrow/.style=arc arrow=to pos #1 with length 2mm,
pics/strange bar/.style=code=draw[thick] (-#1,0) -- (#1,0);
begindocument
begintikzpicture[font=sffamily]
draw[semithick] (80:12) arc(80:100:12) node[midway,above]Distant stars;
fill foreach X in 82,86,90,92,95,99 (X:12) circle[radius=1.5pt] ;
draw[name path=A] (0,11.8) coordinate(TL) -- (0,0);
draw[bent arrow/.list=0.125,0.625] (0,0) circle[x radius=2cm,y radius=0.5cm];
draw[fill=blue] (-2,0) circle[radius=2mm];
draw[fill=yellow] (0,0) circle[radius=2mm];
draw[name path=B] (-2,0) -- (1,11.8) coordinate(TR);
draw[fill=pink,name intersections=of=A and B,by=I] (I) circle[radius=2mm]
node[left=3pt]Near star;
pic [angle radius=1cm,angle eccentricity=1.3,draw,"p" alias=p] angle = TR--I--TL;
draw[pink,latex-,thick] (p) -- ++ (1,-0.5) node[right,align=left,text=black]parallax angle;
draw ([xshift=5mm]I) -- ++ (3,0) coordinate (R1) pic[rotate=45]strange bar=0.6
-- (0,0-|R1) coordinate (R2) pic[rotate=45]strange bar=0.6
node[midway,above,sloped] 1 parsec
-- (2.5,0);
draw (-2,-0.3) -- (-2,-2) pic[rotate=45]strange bar=0.6 -- (0,-2)
node[midway,above]1 AU pic[rotate=45]strange bar=0.6
-- (0,-0.3);
draw[bent arrow/.list=0.125,0.625,thin] (0,11.8) circle[x radius=1cm,y radius=0.15cm];
draw[fill=pink] (TR) circle[radius=1mm] (-1,11.8) circle[radius=1mm];
draw[pink,latex-,thick,shorten >=1mm] (TR) -- ++ (0.5,-1)
node[right,align=left,text=black] (AP) apparent parallax\ motion near star;
draw[pink,latex-,thick,shorten >=1mm] (-1,11.8) -- (AP.west);
endtikzpicture
enddocument

Welcome to TeX-SE! This is to give you a start. I apologize in advance if I have misinterpreted some elements.
documentclass[tikz,border=3.14mm]standalone
usetikzlibraryarrows.meta,bending,decorations.markings,intersections,angles,quotes
% https://tex.stackexchange.com/a/430239/121799
tikzset% inspired by https://tex.stackexchange.com/a/316050/121799
arc arrow/.style args=%
to pos #1 with length #2
decoration=
markings,
mark=at position 0 with pgfextra%
pgfmathsetmacrotmpArrowTime#2/(pgfdecoratedpathlength)
xdeftmpArrowTimetmpArrowTime,
mark=at position #1-tmpArrowTime with coordinate(@1);,
mark=at position #1-2*tmpArrowTime/3 with coordinate(@2);,
mark=at position #1-tmpArrowTime/3 with coordinate(@3);,
mark=at position #1 with coordinate(@4);
draw[-Stealth[length=#2,bend]]
(@1) .. controls (@2) and (@3) .. (@4);,
,
postaction=decorate,
,bent arrow/.style=arc arrow=to pos #1 with length 2mm,
pics/strange bar/.style=code=draw[thick] (-#1,0) -- (#1,0);
begindocument
begintikzpicture[font=sffamily]
draw[semithick] (80:12) arc(80:100:12) node[midway,above]Distant stars;
fill foreach X in 82,86,90,92,95,99 (X:12) circle[radius=1.5pt] ;
draw[name path=A] (0,11.8) coordinate(TL) -- (0,0);
draw[bent arrow/.list=0.125,0.625] (0,0) circle[x radius=2cm,y radius=0.5cm];
draw[fill=blue] (-2,0) circle[radius=2mm];
draw[fill=yellow] (0,0) circle[radius=2mm];
draw[name path=B] (-2,0) -- (1,11.8) coordinate(TR);
draw[fill=pink,name intersections=of=A and B,by=I] (I) circle[radius=2mm]
node[left=3pt]Near star;
pic [angle radius=1cm,angle eccentricity=1.3,draw,"p" alias=p] angle = TR--I--TL;
draw[pink,latex-,thick] (p) -- ++ (1,-0.5) node[right,align=left,text=black]parallax angle;
draw ([xshift=5mm]I) -- ++ (3,0) coordinate (R1) pic[rotate=45]strange bar=0.6
-- (0,0-|R1) coordinate (R2) pic[rotate=45]strange bar=0.6
node[midway,above,sloped] 1 parsec
-- (2.5,0);
draw (-2,-0.3) -- (-2,-2) pic[rotate=45]strange bar=0.6 -- (0,-2)
node[midway,above]1 AU pic[rotate=45]strange bar=0.6
-- (0,-0.3);
draw[bent arrow/.list=0.125,0.625,thin] (0,11.8) circle[x radius=1cm,y radius=0.15cm];
draw[fill=pink] (TR) circle[radius=1mm] (-1,11.8) circle[radius=1mm];
draw[pink,latex-,thick,shorten >=1mm] (TR) -- ++ (0.5,-1)
node[right,align=left,text=black] (AP) apparent parallax\ motion near star;
draw[pink,latex-,thick,shorten >=1mm] (-1,11.8) -- (AP.west);
endtikzpicture
enddocument

edited yesterday
answered yesterday
marmotmarmot
108k5133251
108k5133251
1
Wow! Thank you very much
– Tirolalein Leine
yesterday
1
@TirolaleinLeine You need a fragile frame:beginframe[fragile]
– samcarter
7 hours ago
2
@TirolaleinLeine It makes your code compilable by preventing some voodoo tha beamer normally does with all content of a frame
– samcarter
7 hours ago
1
@TirolaleinLeine In this particular case the problem probably are the#in the tikzset
– samcarter
7 hours ago
1
@TirolaleinLeine What happened here is a good example that illustrates why many users here ask for an MWE (minimal working example). If you would have provided one (even if thetikzpicturewas very minimal), anyone answering it would circumvented the pitfalls (and also made sure that the thingy fits on a beamer slide). Changing these things afterwards is a bit cumbersome, and many users are not really willing to do that.
– marmot
6 hours ago
|
show 9 more comments
1
Wow! Thank you very much
– Tirolalein Leine
yesterday
1
@TirolaleinLeine You need a fragile frame:beginframe[fragile]
– samcarter
7 hours ago
2
@TirolaleinLeine It makes your code compilable by preventing some voodoo tha beamer normally does with all content of a frame
– samcarter
7 hours ago
1
@TirolaleinLeine In this particular case the problem probably are the#in the tikzset
– samcarter
7 hours ago
1
@TirolaleinLeine What happened here is a good example that illustrates why many users here ask for an MWE (minimal working example). If you would have provided one (even if thetikzpicturewas very minimal), anyone answering it would circumvented the pitfalls (and also made sure that the thingy fits on a beamer slide). Changing these things afterwards is a bit cumbersome, and many users are not really willing to do that.
– marmot
6 hours ago
1
1
Wow! Thank you very much
– Tirolalein Leine
yesterday
Wow! Thank you very much
– Tirolalein Leine
yesterday
1
1
@TirolaleinLeine You need a fragile frame:
beginframe[fragile]– samcarter
7 hours ago
@TirolaleinLeine You need a fragile frame:
beginframe[fragile]– samcarter
7 hours ago
2
2
@TirolaleinLeine It makes your code compilable by preventing some voodoo tha beamer normally does with all content of a frame
– samcarter
7 hours ago
@TirolaleinLeine It makes your code compilable by preventing some voodoo tha beamer normally does with all content of a frame
– samcarter
7 hours ago
1
1
@TirolaleinLeine In this particular case the problem probably are the
# in the tikzset– samcarter
7 hours ago
@TirolaleinLeine In this particular case the problem probably are the
# in the tikzset– samcarter
7 hours ago
1
1
@TirolaleinLeine What happened here is a good example that illustrates why many users here ask for an MWE (minimal working example). If you would have provided one (even if the
tikzpicture was very minimal), anyone answering it would circumvented the pitfalls (and also made sure that the thingy fits on a beamer slide). Changing these things afterwards is a bit cumbersome, and many users are not really willing to do that.– marmot
6 hours ago
@TirolaleinLeine What happened here is a good example that illustrates why many users here ask for an MWE (minimal working example). If you would have provided one (even if the
tikzpicture was very minimal), anyone answering it would circumvented the pitfalls (and also made sure that the thingy fits on a beamer slide). Changing these things afterwards is a bit cumbersome, and many users are not really willing to do that.– marmot
6 hours ago
|
show 9 more comments
Tirolalein Leine is a new contributor. Be nice, and check out our Code of Conduct.
Tirolalein Leine is a new contributor. Be nice, and check out our Code of Conduct.
Tirolalein Leine is a new contributor. Be nice, and check out our Code of Conduct.
Tirolalein Leine 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');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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%2f479330%2fstarparalax-help%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');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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
2
Welcome to TeX.SE! Can you please show us the code you have so far?
– Kurt
2 days ago