How to make the same font size for both numerator and denominator?pgfplot same size font in figures and same size figuresChanging the font sizeHow to set uniform font size both in the table and the paragraphMake font size of numerator the same as denominator?Smaller font size for appendixLaTeX Trellis Diagrams for STBCsMake small caps the same size as lowercaseHow to make the same font size?Options for font sizeMake font-size smaller
Need to read my home electrical Meter
Must a warlock replace spells with new spells of exactly their Pact Magic spell slot level?
How to let other coworkers know that I don't share my coworker's political views?
When playing Edgar Markov, what is the definition of a "Vampire spell"?
Why isn't 'chemically-strengthened glass' made with potassium carbonate to begin with?
Why did other houses not demand this?
Which European Languages are not Indo-European?
I know that there is a preselected candidate for a position to be filled at my department. What should I do?
How do I superimpose two math symbols?
Mercedes C180 (W204) dash symbol
Why are GND pads often only connected by four traces?
Find this cartoon
Why did Drogon spare this character?
Dealing with spaghetti codebase, manager asks for things I can't deliver
Why haven't we yet tried accelerating a space station with people inside to a near light speed?
Writing style before Elements of Style
Did 20% of US soldiers in Vietnam use heroin, 95% of whom quit afterwards?
How was Daenerys able to legitimise this character?
Operators in C++ what does (::Type*)0 mean
Grade-school elementary algebra presented in an abstract-algebra style?
Is it possible to prohibit all prohibitable schools of magic with a single character?
How to cut a climbing rope?
Why is unzipped directory exactly 4.0k (much smaller than zipped file)?
Why didn't Thanos use the Time Stone to stop the Avengers' plan?
How to make the same font size for both numerator and denominator?
pgfplot same size font in figures and same size figuresChanging the font sizeHow to set uniform font size both in the table and the paragraphMake font size of numerator the same as denominator?Smaller font size for appendixLaTeX Trellis Diagrams for STBCsMake small caps the same size as lowercaseHow to make the same font size?Options for font sizeMake font-size smaller
As you can see below, the 3/2 looks so weird in which the font size of the numerator is bigger than that of the denominator. How to make it get balanced?
documentclass[pstricks,border=0pt,12pt]standalone
usepackagepst-eucl
usepackageetoolbox
robustifysqrt
begindocument
beginpspicture(-6,-1)(6,1.25)
pstGeonode[
PointSymbol=|,
PosAngle=-90,
PointNameSep=16pt,
PointName=frac3-sqrt172,-frac12,frac32,2,frac3+sqrt172
](-4,0)A(-2,0)B(0,0)C(2,0)D(4,0)E
pcline[nodesep=-1](A)(E)
pcline(5.8,0)(E)nbput$++++$
pcline(E)(D)nbput$----$
pcline(D)(C)nbput$++++$
pcline(C)(B)nbput$----$
pcline(B)(A)nbput$++++$
pcline(A)(-5.8,0)nbput$----$
pssetarrows=*-*,offset=22pt
pcline(A)(B)
pcline(C)(D)
pcline*->(E)(5.5,0)
endpspicture
enddocument

pstricks fontsize pst-plot
add a comment |
As you can see below, the 3/2 looks so weird in which the font size of the numerator is bigger than that of the denominator. How to make it get balanced?
documentclass[pstricks,border=0pt,12pt]standalone
usepackagepst-eucl
usepackageetoolbox
robustifysqrt
begindocument
beginpspicture(-6,-1)(6,1.25)
pstGeonode[
PointSymbol=|,
PosAngle=-90,
PointNameSep=16pt,
PointName=frac3-sqrt172,-frac12,frac32,2,frac3+sqrt172
](-4,0)A(-2,0)B(0,0)C(2,0)D(4,0)E
pcline[nodesep=-1](A)(E)
pcline(5.8,0)(E)nbput$++++$
pcline(E)(D)nbput$----$
pcline(D)(C)nbput$++++$
pcline(C)(B)nbput$----$
pcline(B)(A)nbput$++++$
pcline(A)(-5.8,0)nbput$----$
pssetarrows=*-*,offset=22pt
pcline(A)(B)
pcline(C)(D)
pcline*->(E)(5.5,0)
endpspicture
enddocument

pstricks fontsize pst-plot
1
I find it hard to follow the picture when 1/2 = 2 :)
– JouleV
May 17 at 10:22
@JouleV: It is not such hard.
– Artificial Odorless Armpit
May 17 at 10:26
I noticed the bigger fractions first.
– egreg
May 17 at 10:50
add a comment |
As you can see below, the 3/2 looks so weird in which the font size of the numerator is bigger than that of the denominator. How to make it get balanced?
documentclass[pstricks,border=0pt,12pt]standalone
usepackagepst-eucl
usepackageetoolbox
robustifysqrt
begindocument
beginpspicture(-6,-1)(6,1.25)
pstGeonode[
PointSymbol=|,
PosAngle=-90,
PointNameSep=16pt,
PointName=frac3-sqrt172,-frac12,frac32,2,frac3+sqrt172
](-4,0)A(-2,0)B(0,0)C(2,0)D(4,0)E
pcline[nodesep=-1](A)(E)
pcline(5.8,0)(E)nbput$++++$
pcline(E)(D)nbput$----$
pcline(D)(C)nbput$++++$
pcline(C)(B)nbput$----$
pcline(B)(A)nbput$++++$
pcline(A)(-5.8,0)nbput$----$
pssetarrows=*-*,offset=22pt
pcline(A)(B)
pcline(C)(D)
pcline*->(E)(5.5,0)
endpspicture
enddocument

pstricks fontsize pst-plot
As you can see below, the 3/2 looks so weird in which the font size of the numerator is bigger than that of the denominator. How to make it get balanced?
documentclass[pstricks,border=0pt,12pt]standalone
usepackagepst-eucl
usepackageetoolbox
robustifysqrt
begindocument
beginpspicture(-6,-1)(6,1.25)
pstGeonode[
PointSymbol=|,
PosAngle=-90,
PointNameSep=16pt,
PointName=frac3-sqrt172,-frac12,frac32,2,frac3+sqrt172
](-4,0)A(-2,0)B(0,0)C(2,0)D(4,0)E
pcline[nodesep=-1](A)(E)
pcline(5.8,0)(E)nbput$++++$
pcline(E)(D)nbput$----$
pcline(D)(C)nbput$++++$
pcline(C)(B)nbput$----$
pcline(B)(A)nbput$++++$
pcline(A)(-5.8,0)nbput$----$
pssetarrows=*-*,offset=22pt
pcline(A)(B)
pcline(C)(D)
pcline*->(E)(5.5,0)
endpspicture
enddocument

pstricks fontsize pst-plot
pstricks fontsize pst-plot
asked May 17 at 10:18
Artificial Odorless ArmpitArtificial Odorless Armpit
5,51811344
5,51811344
1
I find it hard to follow the picture when 1/2 = 2 :)
– JouleV
May 17 at 10:22
@JouleV: It is not such hard.
– Artificial Odorless Armpit
May 17 at 10:26
I noticed the bigger fractions first.
– egreg
May 17 at 10:50
add a comment |
1
I find it hard to follow the picture when 1/2 = 2 :)
– JouleV
May 17 at 10:22
@JouleV: It is not such hard.
– Artificial Odorless Armpit
May 17 at 10:26
I noticed the bigger fractions first.
– egreg
May 17 at 10:50
1
1
I find it hard to follow the picture when 1/2 = 2 :)
– JouleV
May 17 at 10:22
I find it hard to follow the picture when 1/2 = 2 :)
– JouleV
May 17 at 10:22
@JouleV: It is not such hard.
– Artificial Odorless Armpit
May 17 at 10:26
@JouleV: It is not such hard.
– Artificial Odorless Armpit
May 17 at 10:26
I noticed the bigger fractions first.
– egreg
May 17 at 10:50
I noticed the bigger fractions first.
– egreg
May 17 at 10:50
add a comment |
3 Answers
3
active
oldest
votes
For reasons that depend on the same ones that force to robustifysqrt, a fraction as the first item is typeset incorrectly. You can robustify also frac.
documentclass[pstricks,border=0pt,12pt]standalone
usepackagepst-eucl
usepackageetoolbox,amsmath
robustifysqrt
robustifyfrac
begindocument
beginpspicture(-6,-1)(6,1.25)
pstGeonode[
PointSymbol=|,
PosAngle=-90,
PointNameSep=16pt,
PointName=frac3-sqrt172,-frac12,frac32,2,frac3+sqrt172
](-4,0)A(-2,0)B(0,0)C(2,0)D(4,0)E
pcline[nodesep=-1](A)(E)
pcline(5.8,0)(E)nbput$++++$
pcline(E)(D)nbput$----$
pcline(D)(C)nbput$++++$
pcline(C)(B)nbput$----$
pcline(B)(A)nbput$++++$
pcline(A)(-5.8,0)nbput$----$
pssetarrows=*-*,offset=22pt
pcline(A)(B)
pcline(C)(D)
pcline*->(E)(5.5,0)
endpspicture
enddocument

Also bracing each item works, but using a robust frac is better.
Note: due to + and - being binary operation symbols, a sequence such as ++++ is interpreted as Ord Bin Ord Ord (by rule a binary operation symbol is changed into an ordinary one if it doesn't have suitable operands on either side) and the spacing is odd. Input them as ++++ and ---- to get all ordinary symbols.
add a comment |
It looks like a bug in pst-eucl. As a workaround, you can use dfrac instead (load amsmath), and slightly increase the value of PointNameSep:
documentclass[pstricks, border=0pt,12pt]standalone
usepackagepst-eucl
usepackageamsmath, nccmath
usepackageetoolbox
robustifysqrt
begindocument
beginpspicture(-6,-1.25)(6,1.25)
pstGeonode[
PointSymbol=|,
PosAngle=-90,
PointNameSep=18 pt,
PointName=dfrac3-sqrt172,-dfrac12,dfrac32,2, dfrac3+sqrt172
](-4,0)A(-2,0)B(0,0)C(2,0)D(4,0)E
pcline[nodesep=-1](A)(E)
pcline(5.8,0)(E)nbput$++++$
pcline(E)(D)nbput$----$
pcline(D)(C)nbput$++++$
pcline(C)(B)nbput$----$
pcline(B)(A)nbput$++++$
pcline(A)(-5.8,0)nbput$----$
pssetarrows=*-*,offset=22pt
pcline(A)(B)
pcline(C)(D)
pcline*->(E)(5.5,0)
endpspicture
enddocument

That is not a bug, it is a wrong use ofPointName!
– Red-Cloud
May 17 at 13:50
add a comment |
It is completely nonsense to use the PointName key for such labels because the label is internally also the node name. You should use simple nodes and psxTick instead. However,
PointName=frac3-sqrt172,-frac12,frac32,scriptstyle2,frac3+sqrt172
should also do the trick

documentclass[pstricks,border=0pt,12pt]standalone
usepackagepstricks-add
begindocument
beginpspicture(-6,-1)(6,1.25)
pnodes(-4,0)A(-2,0)B(0,0)C(2,0)D(4,0)E
psxTick(-4)frac3-sqrt172
psxTick(-2)-frac12
psxTick(0)frac32
psxTick(2)scriptstyle2vphantomfrac12
psxTick(4)frac3+sqrt172
multidorA=-4.9+4.03uput[90](rA,0)$----$%
multidorA=-3+43uput[90](rA,0)$++++$%
pcline[nodesep=-1.75](A)(E)
pssetarrows=*-*,offset=22pt
pcline(A)(B)
pcline(C)(D)
pcline*->(E)(5.5,0)
endpspicture
enddocument

Or if you do not like hardcoded values:
documentclass[pstricks,border=0pt,12pt]standalone
usepackagepstricks-add
begindocument
beginpspicture(-6,-1)(6,1.25)
pnodes(-4,0)A(-2,0)B(0,0)C(2,0)D(4,0)E
psxTick(-4)frac3-sqrt172
psxTick(-2)-frac12
psxTick(0)frac32
psxTick(2)scriptstyle2vphantomfrac12
psxTick(4)frac3+sqrt172
pcline[nodesep=-1.75](A)(E)
pssetarrows=*-*,offset=20pt
pcline(A)(B)nbput$++++$
pcline(C)(D)nbput$++++$
pcline*->(E)(5.5,0)nbput$++++$
pssetlinestyle=none,arrows=-
pcline(-5.8,0)(A)nbput$----$
pcline(B)(C)nbput$----$
pcline(D)(E)nbput$----$
endpspicture
enddocument
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%2f491279%2fhow-to-make-the-same-font-size-for-both-numerator-and-denominator%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
For reasons that depend on the same ones that force to robustifysqrt, a fraction as the first item is typeset incorrectly. You can robustify also frac.
documentclass[pstricks,border=0pt,12pt]standalone
usepackagepst-eucl
usepackageetoolbox,amsmath
robustifysqrt
robustifyfrac
begindocument
beginpspicture(-6,-1)(6,1.25)
pstGeonode[
PointSymbol=|,
PosAngle=-90,
PointNameSep=16pt,
PointName=frac3-sqrt172,-frac12,frac32,2,frac3+sqrt172
](-4,0)A(-2,0)B(0,0)C(2,0)D(4,0)E
pcline[nodesep=-1](A)(E)
pcline(5.8,0)(E)nbput$++++$
pcline(E)(D)nbput$----$
pcline(D)(C)nbput$++++$
pcline(C)(B)nbput$----$
pcline(B)(A)nbput$++++$
pcline(A)(-5.8,0)nbput$----$
pssetarrows=*-*,offset=22pt
pcline(A)(B)
pcline(C)(D)
pcline*->(E)(5.5,0)
endpspicture
enddocument

Also bracing each item works, but using a robust frac is better.
Note: due to + and - being binary operation symbols, a sequence such as ++++ is interpreted as Ord Bin Ord Ord (by rule a binary operation symbol is changed into an ordinary one if it doesn't have suitable operands on either side) and the spacing is odd. Input them as ++++ and ---- to get all ordinary symbols.
add a comment |
For reasons that depend on the same ones that force to robustifysqrt, a fraction as the first item is typeset incorrectly. You can robustify also frac.
documentclass[pstricks,border=0pt,12pt]standalone
usepackagepst-eucl
usepackageetoolbox,amsmath
robustifysqrt
robustifyfrac
begindocument
beginpspicture(-6,-1)(6,1.25)
pstGeonode[
PointSymbol=|,
PosAngle=-90,
PointNameSep=16pt,
PointName=frac3-sqrt172,-frac12,frac32,2,frac3+sqrt172
](-4,0)A(-2,0)B(0,0)C(2,0)D(4,0)E
pcline[nodesep=-1](A)(E)
pcline(5.8,0)(E)nbput$++++$
pcline(E)(D)nbput$----$
pcline(D)(C)nbput$++++$
pcline(C)(B)nbput$----$
pcline(B)(A)nbput$++++$
pcline(A)(-5.8,0)nbput$----$
pssetarrows=*-*,offset=22pt
pcline(A)(B)
pcline(C)(D)
pcline*->(E)(5.5,0)
endpspicture
enddocument

Also bracing each item works, but using a robust frac is better.
Note: due to + and - being binary operation symbols, a sequence such as ++++ is interpreted as Ord Bin Ord Ord (by rule a binary operation symbol is changed into an ordinary one if it doesn't have suitable operands on either side) and the spacing is odd. Input them as ++++ and ---- to get all ordinary symbols.
add a comment |
For reasons that depend on the same ones that force to robustifysqrt, a fraction as the first item is typeset incorrectly. You can robustify also frac.
documentclass[pstricks,border=0pt,12pt]standalone
usepackagepst-eucl
usepackageetoolbox,amsmath
robustifysqrt
robustifyfrac
begindocument
beginpspicture(-6,-1)(6,1.25)
pstGeonode[
PointSymbol=|,
PosAngle=-90,
PointNameSep=16pt,
PointName=frac3-sqrt172,-frac12,frac32,2,frac3+sqrt172
](-4,0)A(-2,0)B(0,0)C(2,0)D(4,0)E
pcline[nodesep=-1](A)(E)
pcline(5.8,0)(E)nbput$++++$
pcline(E)(D)nbput$----$
pcline(D)(C)nbput$++++$
pcline(C)(B)nbput$----$
pcline(B)(A)nbput$++++$
pcline(A)(-5.8,0)nbput$----$
pssetarrows=*-*,offset=22pt
pcline(A)(B)
pcline(C)(D)
pcline*->(E)(5.5,0)
endpspicture
enddocument

Also bracing each item works, but using a robust frac is better.
Note: due to + and - being binary operation symbols, a sequence such as ++++ is interpreted as Ord Bin Ord Ord (by rule a binary operation symbol is changed into an ordinary one if it doesn't have suitable operands on either side) and the spacing is odd. Input them as ++++ and ---- to get all ordinary symbols.
For reasons that depend on the same ones that force to robustifysqrt, a fraction as the first item is typeset incorrectly. You can robustify also frac.
documentclass[pstricks,border=0pt,12pt]standalone
usepackagepst-eucl
usepackageetoolbox,amsmath
robustifysqrt
robustifyfrac
begindocument
beginpspicture(-6,-1)(6,1.25)
pstGeonode[
PointSymbol=|,
PosAngle=-90,
PointNameSep=16pt,
PointName=frac3-sqrt172,-frac12,frac32,2,frac3+sqrt172
](-4,0)A(-2,0)B(0,0)C(2,0)D(4,0)E
pcline[nodesep=-1](A)(E)
pcline(5.8,0)(E)nbput$++++$
pcline(E)(D)nbput$----$
pcline(D)(C)nbput$++++$
pcline(C)(B)nbput$----$
pcline(B)(A)nbput$++++$
pcline(A)(-5.8,0)nbput$----$
pssetarrows=*-*,offset=22pt
pcline(A)(B)
pcline(C)(D)
pcline*->(E)(5.5,0)
endpspicture
enddocument

Also bracing each item works, but using a robust frac is better.
Note: due to + and - being binary operation symbols, a sequence such as ++++ is interpreted as Ord Bin Ord Ord (by rule a binary operation symbol is changed into an ordinary one if it doesn't have suitable operands on either side) and the spacing is odd. Input them as ++++ and ---- to get all ordinary symbols.
edited May 17 at 12:06
answered May 17 at 10:49
egregegreg
743k8919473281
743k8919473281
add a comment |
add a comment |
It looks like a bug in pst-eucl. As a workaround, you can use dfrac instead (load amsmath), and slightly increase the value of PointNameSep:
documentclass[pstricks, border=0pt,12pt]standalone
usepackagepst-eucl
usepackageamsmath, nccmath
usepackageetoolbox
robustifysqrt
begindocument
beginpspicture(-6,-1.25)(6,1.25)
pstGeonode[
PointSymbol=|,
PosAngle=-90,
PointNameSep=18 pt,
PointName=dfrac3-sqrt172,-dfrac12,dfrac32,2, dfrac3+sqrt172
](-4,0)A(-2,0)B(0,0)C(2,0)D(4,0)E
pcline[nodesep=-1](A)(E)
pcline(5.8,0)(E)nbput$++++$
pcline(E)(D)nbput$----$
pcline(D)(C)nbput$++++$
pcline(C)(B)nbput$----$
pcline(B)(A)nbput$++++$
pcline(A)(-5.8,0)nbput$----$
pssetarrows=*-*,offset=22pt
pcline(A)(B)
pcline(C)(D)
pcline*->(E)(5.5,0)
endpspicture
enddocument

That is not a bug, it is a wrong use ofPointName!
– Red-Cloud
May 17 at 13:50
add a comment |
It looks like a bug in pst-eucl. As a workaround, you can use dfrac instead (load amsmath), and slightly increase the value of PointNameSep:
documentclass[pstricks, border=0pt,12pt]standalone
usepackagepst-eucl
usepackageamsmath, nccmath
usepackageetoolbox
robustifysqrt
begindocument
beginpspicture(-6,-1.25)(6,1.25)
pstGeonode[
PointSymbol=|,
PosAngle=-90,
PointNameSep=18 pt,
PointName=dfrac3-sqrt172,-dfrac12,dfrac32,2, dfrac3+sqrt172
](-4,0)A(-2,0)B(0,0)C(2,0)D(4,0)E
pcline[nodesep=-1](A)(E)
pcline(5.8,0)(E)nbput$++++$
pcline(E)(D)nbput$----$
pcline(D)(C)nbput$++++$
pcline(C)(B)nbput$----$
pcline(B)(A)nbput$++++$
pcline(A)(-5.8,0)nbput$----$
pssetarrows=*-*,offset=22pt
pcline(A)(B)
pcline(C)(D)
pcline*->(E)(5.5,0)
endpspicture
enddocument

That is not a bug, it is a wrong use ofPointName!
– Red-Cloud
May 17 at 13:50
add a comment |
It looks like a bug in pst-eucl. As a workaround, you can use dfrac instead (load amsmath), and slightly increase the value of PointNameSep:
documentclass[pstricks, border=0pt,12pt]standalone
usepackagepst-eucl
usepackageamsmath, nccmath
usepackageetoolbox
robustifysqrt
begindocument
beginpspicture(-6,-1.25)(6,1.25)
pstGeonode[
PointSymbol=|,
PosAngle=-90,
PointNameSep=18 pt,
PointName=dfrac3-sqrt172,-dfrac12,dfrac32,2, dfrac3+sqrt172
](-4,0)A(-2,0)B(0,0)C(2,0)D(4,0)E
pcline[nodesep=-1](A)(E)
pcline(5.8,0)(E)nbput$++++$
pcline(E)(D)nbput$----$
pcline(D)(C)nbput$++++$
pcline(C)(B)nbput$----$
pcline(B)(A)nbput$++++$
pcline(A)(-5.8,0)nbput$----$
pssetarrows=*-*,offset=22pt
pcline(A)(B)
pcline(C)(D)
pcline*->(E)(5.5,0)
endpspicture
enddocument

It looks like a bug in pst-eucl. As a workaround, you can use dfrac instead (load amsmath), and slightly increase the value of PointNameSep:
documentclass[pstricks, border=0pt,12pt]standalone
usepackagepst-eucl
usepackageamsmath, nccmath
usepackageetoolbox
robustifysqrt
begindocument
beginpspicture(-6,-1.25)(6,1.25)
pstGeonode[
PointSymbol=|,
PosAngle=-90,
PointNameSep=18 pt,
PointName=dfrac3-sqrt172,-dfrac12,dfrac32,2, dfrac3+sqrt172
](-4,0)A(-2,0)B(0,0)C(2,0)D(4,0)E
pcline[nodesep=-1](A)(E)
pcline(5.8,0)(E)nbput$++++$
pcline(E)(D)nbput$----$
pcline(D)(C)nbput$++++$
pcline(C)(B)nbput$----$
pcline(B)(A)nbput$++++$
pcline(A)(-5.8,0)nbput$----$
pssetarrows=*-*,offset=22pt
pcline(A)(B)
pcline(C)(D)
pcline*->(E)(5.5,0)
endpspicture
enddocument

answered May 17 at 10:49
BernardBernard
180k779212
180k779212
That is not a bug, it is a wrong use ofPointName!
– Red-Cloud
May 17 at 13:50
add a comment |
That is not a bug, it is a wrong use ofPointName!
– Red-Cloud
May 17 at 13:50
That is not a bug, it is a wrong use of
PointName!– Red-Cloud
May 17 at 13:50
That is not a bug, it is a wrong use of
PointName!– Red-Cloud
May 17 at 13:50
add a comment |
It is completely nonsense to use the PointName key for such labels because the label is internally also the node name. You should use simple nodes and psxTick instead. However,
PointName=frac3-sqrt172,-frac12,frac32,scriptstyle2,frac3+sqrt172
should also do the trick

documentclass[pstricks,border=0pt,12pt]standalone
usepackagepstricks-add
begindocument
beginpspicture(-6,-1)(6,1.25)
pnodes(-4,0)A(-2,0)B(0,0)C(2,0)D(4,0)E
psxTick(-4)frac3-sqrt172
psxTick(-2)-frac12
psxTick(0)frac32
psxTick(2)scriptstyle2vphantomfrac12
psxTick(4)frac3+sqrt172
multidorA=-4.9+4.03uput[90](rA,0)$----$%
multidorA=-3+43uput[90](rA,0)$++++$%
pcline[nodesep=-1.75](A)(E)
pssetarrows=*-*,offset=22pt
pcline(A)(B)
pcline(C)(D)
pcline*->(E)(5.5,0)
endpspicture
enddocument

Or if you do not like hardcoded values:
documentclass[pstricks,border=0pt,12pt]standalone
usepackagepstricks-add
begindocument
beginpspicture(-6,-1)(6,1.25)
pnodes(-4,0)A(-2,0)B(0,0)C(2,0)D(4,0)E
psxTick(-4)frac3-sqrt172
psxTick(-2)-frac12
psxTick(0)frac32
psxTick(2)scriptstyle2vphantomfrac12
psxTick(4)frac3+sqrt172
pcline[nodesep=-1.75](A)(E)
pssetarrows=*-*,offset=20pt
pcline(A)(B)nbput$++++$
pcline(C)(D)nbput$++++$
pcline*->(E)(5.5,0)nbput$++++$
pssetlinestyle=none,arrows=-
pcline(-5.8,0)(A)nbput$----$
pcline(B)(C)nbput$----$
pcline(D)(E)nbput$----$
endpspicture
enddocument
add a comment |
It is completely nonsense to use the PointName key for such labels because the label is internally also the node name. You should use simple nodes and psxTick instead. However,
PointName=frac3-sqrt172,-frac12,frac32,scriptstyle2,frac3+sqrt172
should also do the trick

documentclass[pstricks,border=0pt,12pt]standalone
usepackagepstricks-add
begindocument
beginpspicture(-6,-1)(6,1.25)
pnodes(-4,0)A(-2,0)B(0,0)C(2,0)D(4,0)E
psxTick(-4)frac3-sqrt172
psxTick(-2)-frac12
psxTick(0)frac32
psxTick(2)scriptstyle2vphantomfrac12
psxTick(4)frac3+sqrt172
multidorA=-4.9+4.03uput[90](rA,0)$----$%
multidorA=-3+43uput[90](rA,0)$++++$%
pcline[nodesep=-1.75](A)(E)
pssetarrows=*-*,offset=22pt
pcline(A)(B)
pcline(C)(D)
pcline*->(E)(5.5,0)
endpspicture
enddocument

Or if you do not like hardcoded values:
documentclass[pstricks,border=0pt,12pt]standalone
usepackagepstricks-add
begindocument
beginpspicture(-6,-1)(6,1.25)
pnodes(-4,0)A(-2,0)B(0,0)C(2,0)D(4,0)E
psxTick(-4)frac3-sqrt172
psxTick(-2)-frac12
psxTick(0)frac32
psxTick(2)scriptstyle2vphantomfrac12
psxTick(4)frac3+sqrt172
pcline[nodesep=-1.75](A)(E)
pssetarrows=*-*,offset=20pt
pcline(A)(B)nbput$++++$
pcline(C)(D)nbput$++++$
pcline*->(E)(5.5,0)nbput$++++$
pssetlinestyle=none,arrows=-
pcline(-5.8,0)(A)nbput$----$
pcline(B)(C)nbput$----$
pcline(D)(E)nbput$----$
endpspicture
enddocument
add a comment |
It is completely nonsense to use the PointName key for such labels because the label is internally also the node name. You should use simple nodes and psxTick instead. However,
PointName=frac3-sqrt172,-frac12,frac32,scriptstyle2,frac3+sqrt172
should also do the trick

documentclass[pstricks,border=0pt,12pt]standalone
usepackagepstricks-add
begindocument
beginpspicture(-6,-1)(6,1.25)
pnodes(-4,0)A(-2,0)B(0,0)C(2,0)D(4,0)E
psxTick(-4)frac3-sqrt172
psxTick(-2)-frac12
psxTick(0)frac32
psxTick(2)scriptstyle2vphantomfrac12
psxTick(4)frac3+sqrt172
multidorA=-4.9+4.03uput[90](rA,0)$----$%
multidorA=-3+43uput[90](rA,0)$++++$%
pcline[nodesep=-1.75](A)(E)
pssetarrows=*-*,offset=22pt
pcline(A)(B)
pcline(C)(D)
pcline*->(E)(5.5,0)
endpspicture
enddocument

Or if you do not like hardcoded values:
documentclass[pstricks,border=0pt,12pt]standalone
usepackagepstricks-add
begindocument
beginpspicture(-6,-1)(6,1.25)
pnodes(-4,0)A(-2,0)B(0,0)C(2,0)D(4,0)E
psxTick(-4)frac3-sqrt172
psxTick(-2)-frac12
psxTick(0)frac32
psxTick(2)scriptstyle2vphantomfrac12
psxTick(4)frac3+sqrt172
pcline[nodesep=-1.75](A)(E)
pssetarrows=*-*,offset=20pt
pcline(A)(B)nbput$++++$
pcline(C)(D)nbput$++++$
pcline*->(E)(5.5,0)nbput$++++$
pssetlinestyle=none,arrows=-
pcline(-5.8,0)(A)nbput$----$
pcline(B)(C)nbput$----$
pcline(D)(E)nbput$----$
endpspicture
enddocument
It is completely nonsense to use the PointName key for such labels because the label is internally also the node name. You should use simple nodes and psxTick instead. However,
PointName=frac3-sqrt172,-frac12,frac32,scriptstyle2,frac3+sqrt172
should also do the trick

documentclass[pstricks,border=0pt,12pt]standalone
usepackagepstricks-add
begindocument
beginpspicture(-6,-1)(6,1.25)
pnodes(-4,0)A(-2,0)B(0,0)C(2,0)D(4,0)E
psxTick(-4)frac3-sqrt172
psxTick(-2)-frac12
psxTick(0)frac32
psxTick(2)scriptstyle2vphantomfrac12
psxTick(4)frac3+sqrt172
multidorA=-4.9+4.03uput[90](rA,0)$----$%
multidorA=-3+43uput[90](rA,0)$++++$%
pcline[nodesep=-1.75](A)(E)
pssetarrows=*-*,offset=22pt
pcline(A)(B)
pcline(C)(D)
pcline*->(E)(5.5,0)
endpspicture
enddocument

Or if you do not like hardcoded values:
documentclass[pstricks,border=0pt,12pt]standalone
usepackagepstricks-add
begindocument
beginpspicture(-6,-1)(6,1.25)
pnodes(-4,0)A(-2,0)B(0,0)C(2,0)D(4,0)E
psxTick(-4)frac3-sqrt172
psxTick(-2)-frac12
psxTick(0)frac32
psxTick(2)scriptstyle2vphantomfrac12
psxTick(4)frac3+sqrt172
pcline[nodesep=-1.75](A)(E)
pssetarrows=*-*,offset=20pt
pcline(A)(B)nbput$++++$
pcline(C)(D)nbput$++++$
pcline*->(E)(5.5,0)nbput$++++$
pssetlinestyle=none,arrows=-
pcline(-5.8,0)(A)nbput$----$
pcline(B)(C)nbput$----$
pcline(D)(E)nbput$----$
endpspicture
enddocument
edited May 17 at 13:47
answered May 17 at 13:07
Red-CloudRed-Cloud
2,77814
2,77814
add a comment |
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%2f491279%2fhow-to-make-the-same-font-size-for-both-numerator-and-denominator%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
1
I find it hard to follow the picture when 1/2 = 2 :)
– JouleV
May 17 at 10:22
@JouleV: It is not such hard.
– Artificial Odorless Armpit
May 17 at 10:26
I noticed the bigger fractions first.
– egreg
May 17 at 10:50