Better way to obtain a smaller vertical line | scaled to math?What is the best way to obtain a “vertical” subset symbol?Nested underset screws up size – is there a better way?Better way to produce Vllap--How can I write a long equation in multi line scaled to text width?How to make math symbols like prod smallerVertical line superimposed over a letterIn beamer, What's the “right way” to scale a slide element down to better fit?
How do you determine which representation of a function to use for Newton's method?
Plot irregular circle in latex
Exam design: give maximum score per question or not?
What's the benefit of prohibiting the use of techniques/language constructs that have not been taught?
Unpredictability of Stock Market
MySQL - How to check for a value in all columns
Bash attempts to write two shell prompts?
What is the word for a person who destroys monuments?
Should the pagination be reset when changing the order?
Is there sense in using const std::string& arguments in C++17?
Hobby function generators
Problem of Induction: Dissolved
Can a business put whatever they want into a contract?
Why are two-stroke engines nearly unheard of in aviation?
Cube around 2 points with correct perspective
Applications of mathematics in clinical setting
Does Forgotten Realms setting count as “High magic”?
What is this WWII four-engine plane on skis?
What is the origin of the "being immortal sucks" trope?
Is Zack Morris's 'time stop' ability in "Saved By the Bell" a supernatural ability?
What's the purpose of autocorrelation?
Amiga 500 OCS/ECS vs Mega Drive VDP
Microservices and Stored Procedures
Why is belonging not transitive?
Better way to obtain a smaller vertical line | scaled to math?
What is the best way to obtain a “vertical” subset symbol?Nested underset screws up size – is there a better way?Better way to produce Vllap--How can I write a long equation in multi line scaled to text width?How to make math symbols like prod smallerVertical line superimposed over a letterIn beamer, What's the “right way” to scale a slide element down to better fit?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I am trying to write the following line as can be seen below
documentclass[border=1mm]standalone
usepackagegraphicx
begindocument
Huge $cup cap raisebox0.30 exscalebox1[0.62]$mid$$
enddocument
Which results in
Is there an easier or better way to make sure the vertical line mid
is scaled correctly to cup
and cap
? In particular
- They should have the same baseline, height and width.
My solution feels very hackish and not quite right.
symbols scaling scalebox
add a comment
|
I am trying to write the following line as can be seen below
documentclass[border=1mm]standalone
usepackagegraphicx
begindocument
Huge $cup cap raisebox0.30 exscalebox1[0.62]$mid$$
enddocument
Which results in
Is there an easier or better way to make sure the vertical line mid
is scaled correctly to cup
and cap
? In particular
- They should have the same baseline, height and width.
My solution feels very hackish and not quite right.
symbols scaling scalebox
add a comment
|
I am trying to write the following line as can be seen below
documentclass[border=1mm]standalone
usepackagegraphicx
begindocument
Huge $cup cap raisebox0.30 exscalebox1[0.62]$mid$$
enddocument
Which results in
Is there an easier or better way to make sure the vertical line mid
is scaled correctly to cup
and cap
? In particular
- They should have the same baseline, height and width.
My solution feels very hackish and not quite right.
symbols scaling scalebox
I am trying to write the following line as can be seen below
documentclass[border=1mm]standalone
usepackagegraphicx
begindocument
Huge $cup cap raisebox0.30 exscalebox1[0.62]$mid$$
enddocument
Which results in
Is there an easier or better way to make sure the vertical line mid
is scaled correctly to cup
and cap
? In particular
- They should have the same baseline, height and width.
My solution feels very hackish and not quite right.
symbols scaling scalebox
symbols scaling scalebox
edited 9 hours ago
N3buchadnezzar
asked 9 hours ago
N3buchadnezzarN3buchadnezzar
4,8596 gold badges43 silver badges99 bronze badges
4,8596 gold badges43 silver badges99 bronze badges
add a comment
|
add a comment
|
2 Answers
2
active
oldest
votes
stretchrel
from the scalerel
package allows you to do such things.
documentclass[border=1mm]standalone
usepackagescalerel
begindocument
Huge $cup cap stretchrel*midcap$
enddocument
This seems closer, but still not a perfect match. When I overlay the vertical line and the intersection symbol it looks like this i.imgur.com/8bm55vi.png
– N3buchadnezzar
9 hours ago
@N3buchadnezzar I see. I am actually surprised because I always thoughtstretchrel
would provide perfect fits.
– Schrödinger's cat
5 hours ago
Interestingly thecap
andcup
claim to have zero depth.
– Schrödinger's cat
4 hours ago
add a comment
|
For Computer Modern, use pict2e
:
documentclassarticle
usepackagepict2e
usepackagecolor % for the comparison
makeatletter
newcommandcbarmathbinmathpalettec@barrelax
newcommandc@bar[2]%
begingroup
sboxz@$#1cup$%
setlengthunitlengthdimexprhtz@+dpz@%
mkern1mu
raisebox-dpz@%
beginpicture(0,1)
roundcap
c@bar@thickness#1%
Line(0,0)(0,1.03)
endpicture%
%
mkern1mu
endgroup
newcommandc@bar@thickness[1]%
linethickness%
ifx#1displaystyle 1fontdimen8textfontelse
ifx#1textstyle 1fontdimen8textfontelse
ifx#1scriptstyle 0.85fontdimen8scriptfontelse
0.75fontdimen8scriptscriptfontfififi 3
%
makeatother
begindocument
$cupcapcbar$
$scriptstylecupcapcbar$
$scriptscriptstylecupcapcbar$
$cupmkern-2.3mutextcolorredcbartextcolorredcupmkern-2.3mucbar$
$capmkern-2.3mutextcolorredcbartextcolorredcapmkern-2.3mucbar$
$scriptstylecupmkern-2.4mutextcolorredcbartextcolorredcupmkern-2.4mucbar$
$scriptstylecapmkern-2.4mutextcolorredcbartextcolorredcapmkern-2.4mucbar$
$scriptscriptstylecupmkern-2.8mutextcolorredcbartextcolorredcupmkern-2.8mucbar$
$scriptscriptstylecapmkern-2.8mutextcolorredcbartextcolorredcapmkern-2.8mucbar$
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/4.0/"u003ecc by-sa 4.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%2f508497%2fbetter-way-to-obtain-a-smaller-vertical-line-scaled-to-math%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
stretchrel
from the scalerel
package allows you to do such things.
documentclass[border=1mm]standalone
usepackagescalerel
begindocument
Huge $cup cap stretchrel*midcap$
enddocument
This seems closer, but still not a perfect match. When I overlay the vertical line and the intersection symbol it looks like this i.imgur.com/8bm55vi.png
– N3buchadnezzar
9 hours ago
@N3buchadnezzar I see. I am actually surprised because I always thoughtstretchrel
would provide perfect fits.
– Schrödinger's cat
5 hours ago
Interestingly thecap
andcup
claim to have zero depth.
– Schrödinger's cat
4 hours ago
add a comment
|
stretchrel
from the scalerel
package allows you to do such things.
documentclass[border=1mm]standalone
usepackagescalerel
begindocument
Huge $cup cap stretchrel*midcap$
enddocument
This seems closer, but still not a perfect match. When I overlay the vertical line and the intersection symbol it looks like this i.imgur.com/8bm55vi.png
– N3buchadnezzar
9 hours ago
@N3buchadnezzar I see. I am actually surprised because I always thoughtstretchrel
would provide perfect fits.
– Schrödinger's cat
5 hours ago
Interestingly thecap
andcup
claim to have zero depth.
– Schrödinger's cat
4 hours ago
add a comment
|
stretchrel
from the scalerel
package allows you to do such things.
documentclass[border=1mm]standalone
usepackagescalerel
begindocument
Huge $cup cap stretchrel*midcap$
enddocument
stretchrel
from the scalerel
package allows you to do such things.
documentclass[border=1mm]standalone
usepackagescalerel
begindocument
Huge $cup cap stretchrel*midcap$
enddocument
answered 9 hours ago
Schrödinger's catSchrödinger's cat
7,53511 silver badges23 bronze badges
7,53511 silver badges23 bronze badges
This seems closer, but still not a perfect match. When I overlay the vertical line and the intersection symbol it looks like this i.imgur.com/8bm55vi.png
– N3buchadnezzar
9 hours ago
@N3buchadnezzar I see. I am actually surprised because I always thoughtstretchrel
would provide perfect fits.
– Schrödinger's cat
5 hours ago
Interestingly thecap
andcup
claim to have zero depth.
– Schrödinger's cat
4 hours ago
add a comment
|
This seems closer, but still not a perfect match. When I overlay the vertical line and the intersection symbol it looks like this i.imgur.com/8bm55vi.png
– N3buchadnezzar
9 hours ago
@N3buchadnezzar I see. I am actually surprised because I always thoughtstretchrel
would provide perfect fits.
– Schrödinger's cat
5 hours ago
Interestingly thecap
andcup
claim to have zero depth.
– Schrödinger's cat
4 hours ago
This seems closer, but still not a perfect match. When I overlay the vertical line and the intersection symbol it looks like this i.imgur.com/8bm55vi.png
– N3buchadnezzar
9 hours ago
This seems closer, but still not a perfect match. When I overlay the vertical line and the intersection symbol it looks like this i.imgur.com/8bm55vi.png
– N3buchadnezzar
9 hours ago
@N3buchadnezzar I see. I am actually surprised because I always thought
stretchrel
would provide perfect fits.– Schrödinger's cat
5 hours ago
@N3buchadnezzar I see. I am actually surprised because I always thought
stretchrel
would provide perfect fits.– Schrödinger's cat
5 hours ago
Interestingly the
cap
and cup
claim to have zero depth.– Schrödinger's cat
4 hours ago
Interestingly the
cap
and cup
claim to have zero depth.– Schrödinger's cat
4 hours ago
add a comment
|
For Computer Modern, use pict2e
:
documentclassarticle
usepackagepict2e
usepackagecolor % for the comparison
makeatletter
newcommandcbarmathbinmathpalettec@barrelax
newcommandc@bar[2]%
begingroup
sboxz@$#1cup$%
setlengthunitlengthdimexprhtz@+dpz@%
mkern1mu
raisebox-dpz@%
beginpicture(0,1)
roundcap
c@bar@thickness#1%
Line(0,0)(0,1.03)
endpicture%
%
mkern1mu
endgroup
newcommandc@bar@thickness[1]%
linethickness%
ifx#1displaystyle 1fontdimen8textfontelse
ifx#1textstyle 1fontdimen8textfontelse
ifx#1scriptstyle 0.85fontdimen8scriptfontelse
0.75fontdimen8scriptscriptfontfififi 3
%
makeatother
begindocument
$cupcapcbar$
$scriptstylecupcapcbar$
$scriptscriptstylecupcapcbar$
$cupmkern-2.3mutextcolorredcbartextcolorredcupmkern-2.3mucbar$
$capmkern-2.3mutextcolorredcbartextcolorredcapmkern-2.3mucbar$
$scriptstylecupmkern-2.4mutextcolorredcbartextcolorredcupmkern-2.4mucbar$
$scriptstylecapmkern-2.4mutextcolorredcbartextcolorredcapmkern-2.4mucbar$
$scriptscriptstylecupmkern-2.8mutextcolorredcbartextcolorredcupmkern-2.8mucbar$
$scriptscriptstylecapmkern-2.8mutextcolorredcbartextcolorredcapmkern-2.8mucbar$
enddocument
add a comment
|
For Computer Modern, use pict2e
:
documentclassarticle
usepackagepict2e
usepackagecolor % for the comparison
makeatletter
newcommandcbarmathbinmathpalettec@barrelax
newcommandc@bar[2]%
begingroup
sboxz@$#1cup$%
setlengthunitlengthdimexprhtz@+dpz@%
mkern1mu
raisebox-dpz@%
beginpicture(0,1)
roundcap
c@bar@thickness#1%
Line(0,0)(0,1.03)
endpicture%
%
mkern1mu
endgroup
newcommandc@bar@thickness[1]%
linethickness%
ifx#1displaystyle 1fontdimen8textfontelse
ifx#1textstyle 1fontdimen8textfontelse
ifx#1scriptstyle 0.85fontdimen8scriptfontelse
0.75fontdimen8scriptscriptfontfififi 3
%
makeatother
begindocument
$cupcapcbar$
$scriptstylecupcapcbar$
$scriptscriptstylecupcapcbar$
$cupmkern-2.3mutextcolorredcbartextcolorredcupmkern-2.3mucbar$
$capmkern-2.3mutextcolorredcbartextcolorredcapmkern-2.3mucbar$
$scriptstylecupmkern-2.4mutextcolorredcbartextcolorredcupmkern-2.4mucbar$
$scriptstylecapmkern-2.4mutextcolorredcbartextcolorredcapmkern-2.4mucbar$
$scriptscriptstylecupmkern-2.8mutextcolorredcbartextcolorredcupmkern-2.8mucbar$
$scriptscriptstylecapmkern-2.8mutextcolorredcbartextcolorredcapmkern-2.8mucbar$
enddocument
add a comment
|
For Computer Modern, use pict2e
:
documentclassarticle
usepackagepict2e
usepackagecolor % for the comparison
makeatletter
newcommandcbarmathbinmathpalettec@barrelax
newcommandc@bar[2]%
begingroup
sboxz@$#1cup$%
setlengthunitlengthdimexprhtz@+dpz@%
mkern1mu
raisebox-dpz@%
beginpicture(0,1)
roundcap
c@bar@thickness#1%
Line(0,0)(0,1.03)
endpicture%
%
mkern1mu
endgroup
newcommandc@bar@thickness[1]%
linethickness%
ifx#1displaystyle 1fontdimen8textfontelse
ifx#1textstyle 1fontdimen8textfontelse
ifx#1scriptstyle 0.85fontdimen8scriptfontelse
0.75fontdimen8scriptscriptfontfififi 3
%
makeatother
begindocument
$cupcapcbar$
$scriptstylecupcapcbar$
$scriptscriptstylecupcapcbar$
$cupmkern-2.3mutextcolorredcbartextcolorredcupmkern-2.3mucbar$
$capmkern-2.3mutextcolorredcbartextcolorredcapmkern-2.3mucbar$
$scriptstylecupmkern-2.4mutextcolorredcbartextcolorredcupmkern-2.4mucbar$
$scriptstylecapmkern-2.4mutextcolorredcbartextcolorredcapmkern-2.4mucbar$
$scriptscriptstylecupmkern-2.8mutextcolorredcbartextcolorredcupmkern-2.8mucbar$
$scriptscriptstylecapmkern-2.8mutextcolorredcbartextcolorredcapmkern-2.8mucbar$
enddocument
For Computer Modern, use pict2e
:
documentclassarticle
usepackagepict2e
usepackagecolor % for the comparison
makeatletter
newcommandcbarmathbinmathpalettec@barrelax
newcommandc@bar[2]%
begingroup
sboxz@$#1cup$%
setlengthunitlengthdimexprhtz@+dpz@%
mkern1mu
raisebox-dpz@%
beginpicture(0,1)
roundcap
c@bar@thickness#1%
Line(0,0)(0,1.03)
endpicture%
%
mkern1mu
endgroup
newcommandc@bar@thickness[1]%
linethickness%
ifx#1displaystyle 1fontdimen8textfontelse
ifx#1textstyle 1fontdimen8textfontelse
ifx#1scriptstyle 0.85fontdimen8scriptfontelse
0.75fontdimen8scriptscriptfontfififi 3
%
makeatother
begindocument
$cupcapcbar$
$scriptstylecupcapcbar$
$scriptscriptstylecupcapcbar$
$cupmkern-2.3mutextcolorredcbartextcolorredcupmkern-2.3mucbar$
$capmkern-2.3mutextcolorredcbartextcolorredcapmkern-2.3mucbar$
$scriptstylecupmkern-2.4mutextcolorredcbartextcolorredcupmkern-2.4mucbar$
$scriptstylecapmkern-2.4mutextcolorredcbartextcolorredcapmkern-2.4mucbar$
$scriptscriptstylecupmkern-2.8mutextcolorredcbartextcolorredcupmkern-2.8mucbar$
$scriptscriptstylecapmkern-2.8mutextcolorredcbartextcolorredcapmkern-2.8mucbar$
enddocument
answered 9 hours ago
egregegreg
769k91 gold badges2007 silver badges3366 bronze badges
769k91 gold badges2007 silver badges3366 bronze badges
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%2f508497%2fbetter-way-to-obtain-a-smaller-vertical-line-scaled-to-math%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