A variation on the subset relation with an underlying squiggle

Clash Royale CLAN TAG#URR8PPP
up vote
2
down vote
favorite
I'm looking for a variation on the subseteq relation, but with an underlying squiggle instead of a line. In other words, I'm looking for the symbol to substitute for the square in the last printed line of following example.
documentclassamsart
usepackageamssymb
begindocument
beginalign*
prec + sim &= precsim\
< + sim &= lesssim\
subset + sim &= square
endalign*
enddocument

I couldn't find any matching symbol using detexify.
symbols
add a comment |Â
up vote
2
down vote
favorite
I'm looking for a variation on the subseteq relation, but with an underlying squiggle instead of a line. In other words, I'm looking for the symbol to substitute for the square in the last printed line of following example.
documentclassamsart
usepackageamssymb
begindocument
beginalign*
prec + sim &= precsim\
< + sim &= lesssim\
subset + sim &= square
endalign*
enddocument

I couldn't find any matching symbol using detexify.
symbols
1
stixhassubsetapproxbut with 2 squiggles.
â CarLaTeX
2 hours ago
@CarLaTeX: This would work, except I get aLaTeX Error: Too many symbol fonts declared.when I try to use the packagestixin my actual document (not the sample one listed in my post above).
â Evan Aad
2 hours ago
@CarLaTeX: Upon further inspection, it appears there are three packages in my preamble that clash withstix, namelymathrsfs,stmaryrd, andunicode-math(I should note that I use thelualatexformat with thescrbookdocument class). The first two packages produce the error message listed in my previous comment, whereas the third package produces the error messageCommand 'mathbfit' already defined.Is there a way to resolve these errors, so I can usestix'ssubsetapproxcommand?
â Evan Aad
2 hours ago
add a comment |Â
up vote
2
down vote
favorite
up vote
2
down vote
favorite
I'm looking for a variation on the subseteq relation, but with an underlying squiggle instead of a line. In other words, I'm looking for the symbol to substitute for the square in the last printed line of following example.
documentclassamsart
usepackageamssymb
begindocument
beginalign*
prec + sim &= precsim\
< + sim &= lesssim\
subset + sim &= square
endalign*
enddocument

I couldn't find any matching symbol using detexify.
symbols
I'm looking for a variation on the subseteq relation, but with an underlying squiggle instead of a line. In other words, I'm looking for the symbol to substitute for the square in the last printed line of following example.
documentclassamsart
usepackageamssymb
begindocument
beginalign*
prec + sim &= precsim\
< + sim &= lesssim\
subset + sim &= square
endalign*
enddocument

I couldn't find any matching symbol using detexify.
symbols
symbols
edited 3 hours ago
asked 3 hours ago
Evan Aad
3,50211227
3,50211227
1
stixhassubsetapproxbut with 2 squiggles.
â CarLaTeX
2 hours ago
@CarLaTeX: This would work, except I get aLaTeX Error: Too many symbol fonts declared.when I try to use the packagestixin my actual document (not the sample one listed in my post above).
â Evan Aad
2 hours ago
@CarLaTeX: Upon further inspection, it appears there are three packages in my preamble that clash withstix, namelymathrsfs,stmaryrd, andunicode-math(I should note that I use thelualatexformat with thescrbookdocument class). The first two packages produce the error message listed in my previous comment, whereas the third package produces the error messageCommand 'mathbfit' already defined.Is there a way to resolve these errors, so I can usestix'ssubsetapproxcommand?
â Evan Aad
2 hours ago
add a comment |Â
1
stixhassubsetapproxbut with 2 squiggles.
â CarLaTeX
2 hours ago
@CarLaTeX: This would work, except I get aLaTeX Error: Too many symbol fonts declared.when I try to use the packagestixin my actual document (not the sample one listed in my post above).
â Evan Aad
2 hours ago
@CarLaTeX: Upon further inspection, it appears there are three packages in my preamble that clash withstix, namelymathrsfs,stmaryrd, andunicode-math(I should note that I use thelualatexformat with thescrbookdocument class). The first two packages produce the error message listed in my previous comment, whereas the third package produces the error messageCommand 'mathbfit' already defined.Is there a way to resolve these errors, so I can usestix'ssubsetapproxcommand?
â Evan Aad
2 hours ago
1
1
stix has subsetapprox but with 2 squiggles.â CarLaTeX
2 hours ago
stix has subsetapprox but with 2 squiggles.â CarLaTeX
2 hours ago
@CarLaTeX: This would work, except I get a
LaTeX Error: Too many symbol fonts declared. when I try to use the package stix in my actual document (not the sample one listed in my post above).â Evan Aad
2 hours ago
@CarLaTeX: This would work, except I get a
LaTeX Error: Too many symbol fonts declared. when I try to use the package stix in my actual document (not the sample one listed in my post above).â Evan Aad
2 hours ago
@CarLaTeX: Upon further inspection, it appears there are three packages in my preamble that clash with
stix, namely mathrsfs, stmaryrd, and unicode-math (I should note that I use the lualatex format with the scrbook document class). The first two packages produce the error message listed in my previous comment, whereas the third package produces the error message Command 'mathbfit' already defined. Is there a way to resolve these errors, so I can use stix's subsetapprox command?â Evan Aad
2 hours ago
@CarLaTeX: Upon further inspection, it appears there are three packages in my preamble that clash with
stix, namely mathrsfs, stmaryrd, and unicode-math (I should note that I use the lualatex format with the scrbook document class). The first two packages produce the error message listed in my previous comment, whereas the third package produces the error message Command 'mathbfit' already defined. Is there a way to resolve these errors, so I can use stix's subsetapprox command?â Evan Aad
2 hours ago
add a comment |Â
3 Answers
3
active
oldest
votes
up vote
2
down vote
accepted
If stix package gives you some incompatibilities, you can define your own symbol, without any additional package:
documentclassamsart
usepackageamssymb
newcommandsubsetsimmathrelooalignraise.4exhbox$subset$cr$raise-.9exhbox$sim$$
begindocument
beginalign*
prec + sim &= precsim\
< + sim &= lesssim\
subset + sim &= subsetsim
endalign*
[ precsim lesssim subsetsim ]
enddocument

Thanks you! Is there a way to lower the squiggle a little bit, so the vertical space between the subset symbol and the squiggle resembles that used inprecsimandlesssim?
â Evan Aad
15 mins ago
1
@EvanAad Of course, instead ofraise-.8exyou can put a bigger value. I'm modifying.
â CarLaTeX
13 mins ago
@EvanAad See my renewed answer. You can also furtherly refine...
â CarLaTeX
9 mins ago
@EvanAad See campa's answer, it's better than mine.
â CarLaTeX
7 mins ago
add a comment |Â
up vote
2
down vote
You can do that with the accents package:
documentclass[border=2pt]standalone
usepackageamssymb, accents %
newcommandsubsetsimmathrelunderaccentmkern6musimsubset
newcommandsupsetsimmathrelunderaccentbacksimmkern2musupset%stackMathmathrelstackinsetc0exc-1exsimsubset
begindocument
$ E subsetsim F iff F supsetsim E$
enddocument

add a comment |Â
up vote
2
down vote
A slight improvement of CarLaTeX's answer which scales correctly in scriptstyle and scriptscriptstyle.
documentclassarticle
usepackageamssymb
newcommand*subsetsimmathrelmathpalettesubsetsimauxrelax
newcommand*subsetsimaux[2]%
setbox0=hboxmathsurround=0pt$#1sim$%
ooalignraise.5ht0hbox$#1subset$crlowerht0box0
begindocument
$precsim lesssim subsetsim_precsim lesssim subsetsim_precsim lesssim subsetsim$
enddocument

The difference with the built-in symbols is visible in scriptstyle and obvious in scriptscriptstyle but I think one can live with it.
I was just replying that I didn't knowmathpalette:)
â CarLaTeX
8 mins ago
add a comment |Â
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
accepted
If stix package gives you some incompatibilities, you can define your own symbol, without any additional package:
documentclassamsart
usepackageamssymb
newcommandsubsetsimmathrelooalignraise.4exhbox$subset$cr$raise-.9exhbox$sim$$
begindocument
beginalign*
prec + sim &= precsim\
< + sim &= lesssim\
subset + sim &= subsetsim
endalign*
[ precsim lesssim subsetsim ]
enddocument

Thanks you! Is there a way to lower the squiggle a little bit, so the vertical space between the subset symbol and the squiggle resembles that used inprecsimandlesssim?
â Evan Aad
15 mins ago
1
@EvanAad Of course, instead ofraise-.8exyou can put a bigger value. I'm modifying.
â CarLaTeX
13 mins ago
@EvanAad See my renewed answer. You can also furtherly refine...
â CarLaTeX
9 mins ago
@EvanAad See campa's answer, it's better than mine.
â CarLaTeX
7 mins ago
add a comment |Â
up vote
2
down vote
accepted
If stix package gives you some incompatibilities, you can define your own symbol, without any additional package:
documentclassamsart
usepackageamssymb
newcommandsubsetsimmathrelooalignraise.4exhbox$subset$cr$raise-.9exhbox$sim$$
begindocument
beginalign*
prec + sim &= precsim\
< + sim &= lesssim\
subset + sim &= subsetsim
endalign*
[ precsim lesssim subsetsim ]
enddocument

Thanks you! Is there a way to lower the squiggle a little bit, so the vertical space between the subset symbol and the squiggle resembles that used inprecsimandlesssim?
â Evan Aad
15 mins ago
1
@EvanAad Of course, instead ofraise-.8exyou can put a bigger value. I'm modifying.
â CarLaTeX
13 mins ago
@EvanAad See my renewed answer. You can also furtherly refine...
â CarLaTeX
9 mins ago
@EvanAad See campa's answer, it's better than mine.
â CarLaTeX
7 mins ago
add a comment |Â
up vote
2
down vote
accepted
up vote
2
down vote
accepted
If stix package gives you some incompatibilities, you can define your own symbol, without any additional package:
documentclassamsart
usepackageamssymb
newcommandsubsetsimmathrelooalignraise.4exhbox$subset$cr$raise-.9exhbox$sim$$
begindocument
beginalign*
prec + sim &= precsim\
< + sim &= lesssim\
subset + sim &= subsetsim
endalign*
[ precsim lesssim subsetsim ]
enddocument

If stix package gives you some incompatibilities, you can define your own symbol, without any additional package:
documentclassamsart
usepackageamssymb
newcommandsubsetsimmathrelooalignraise.4exhbox$subset$cr$raise-.9exhbox$sim$$
begindocument
beginalign*
prec + sim &= precsim\
< + sim &= lesssim\
subset + sim &= subsetsim
endalign*
[ precsim lesssim subsetsim ]
enddocument

edited 9 mins ago
answered 1 hour ago
CarLaTeX
26.2k444116
26.2k444116
Thanks you! Is there a way to lower the squiggle a little bit, so the vertical space between the subset symbol and the squiggle resembles that used inprecsimandlesssim?
â Evan Aad
15 mins ago
1
@EvanAad Of course, instead ofraise-.8exyou can put a bigger value. I'm modifying.
â CarLaTeX
13 mins ago
@EvanAad See my renewed answer. You can also furtherly refine...
â CarLaTeX
9 mins ago
@EvanAad See campa's answer, it's better than mine.
â CarLaTeX
7 mins ago
add a comment |Â
Thanks you! Is there a way to lower the squiggle a little bit, so the vertical space between the subset symbol and the squiggle resembles that used inprecsimandlesssim?
â Evan Aad
15 mins ago
1
@EvanAad Of course, instead ofraise-.8exyou can put a bigger value. I'm modifying.
â CarLaTeX
13 mins ago
@EvanAad See my renewed answer. You can also furtherly refine...
â CarLaTeX
9 mins ago
@EvanAad See campa's answer, it's better than mine.
â CarLaTeX
7 mins ago
Thanks you! Is there a way to lower the squiggle a little bit, so the vertical space between the subset symbol and the squiggle resembles that used in
precsim and lesssim?â Evan Aad
15 mins ago
Thanks you! Is there a way to lower the squiggle a little bit, so the vertical space between the subset symbol and the squiggle resembles that used in
precsim and lesssim?â Evan Aad
15 mins ago
1
1
@EvanAad Of course, instead of
raise-.8ex you can put a bigger value. I'm modifying.â CarLaTeX
13 mins ago
@EvanAad Of course, instead of
raise-.8ex you can put a bigger value. I'm modifying.â CarLaTeX
13 mins ago
@EvanAad See my renewed answer. You can also furtherly refine...
â CarLaTeX
9 mins ago
@EvanAad See my renewed answer. You can also furtherly refine...
â CarLaTeX
9 mins ago
@EvanAad See campa's answer, it's better than mine.
â CarLaTeX
7 mins ago
@EvanAad See campa's answer, it's better than mine.
â CarLaTeX
7 mins ago
add a comment |Â
up vote
2
down vote
You can do that with the accents package:
documentclass[border=2pt]standalone
usepackageamssymb, accents %
newcommandsubsetsimmathrelunderaccentmkern6musimsubset
newcommandsupsetsimmathrelunderaccentbacksimmkern2musupset%stackMathmathrelstackinsetc0exc-1exsimsubset
begindocument
$ E subsetsim F iff F supsetsim E$
enddocument

add a comment |Â
up vote
2
down vote
You can do that with the accents package:
documentclass[border=2pt]standalone
usepackageamssymb, accents %
newcommandsubsetsimmathrelunderaccentmkern6musimsubset
newcommandsupsetsimmathrelunderaccentbacksimmkern2musupset%stackMathmathrelstackinsetc0exc-1exsimsubset
begindocument
$ E subsetsim F iff F supsetsim E$
enddocument

add a comment |Â
up vote
2
down vote
up vote
2
down vote
You can do that with the accents package:
documentclass[border=2pt]standalone
usepackageamssymb, accents %
newcommandsubsetsimmathrelunderaccentmkern6musimsubset
newcommandsupsetsimmathrelunderaccentbacksimmkern2musupset%stackMathmathrelstackinsetc0exc-1exsimsubset
begindocument
$ E subsetsim F iff F supsetsim E$
enddocument

You can do that with the accents package:
documentclass[border=2pt]standalone
usepackageamssymb, accents %
newcommandsubsetsimmathrelunderaccentmkern6musimsubset
newcommandsupsetsimmathrelunderaccentbacksimmkern2musupset%stackMathmathrelstackinsetc0exc-1exsimsubset
begindocument
$ E subsetsim F iff F supsetsim E$
enddocument

answered 1 hour ago
Bernard
159k765192
159k765192
add a comment |Â
add a comment |Â
up vote
2
down vote
A slight improvement of CarLaTeX's answer which scales correctly in scriptstyle and scriptscriptstyle.
documentclassarticle
usepackageamssymb
newcommand*subsetsimmathrelmathpalettesubsetsimauxrelax
newcommand*subsetsimaux[2]%
setbox0=hboxmathsurround=0pt$#1sim$%
ooalignraise.5ht0hbox$#1subset$crlowerht0box0
begindocument
$precsim lesssim subsetsim_precsim lesssim subsetsim_precsim lesssim subsetsim$
enddocument

The difference with the built-in symbols is visible in scriptstyle and obvious in scriptscriptstyle but I think one can live with it.
I was just replying that I didn't knowmathpalette:)
â CarLaTeX
8 mins ago
add a comment |Â
up vote
2
down vote
A slight improvement of CarLaTeX's answer which scales correctly in scriptstyle and scriptscriptstyle.
documentclassarticle
usepackageamssymb
newcommand*subsetsimmathrelmathpalettesubsetsimauxrelax
newcommand*subsetsimaux[2]%
setbox0=hboxmathsurround=0pt$#1sim$%
ooalignraise.5ht0hbox$#1subset$crlowerht0box0
begindocument
$precsim lesssim subsetsim_precsim lesssim subsetsim_precsim lesssim subsetsim$
enddocument

The difference with the built-in symbols is visible in scriptstyle and obvious in scriptscriptstyle but I think one can live with it.
I was just replying that I didn't knowmathpalette:)
â CarLaTeX
8 mins ago
add a comment |Â
up vote
2
down vote
up vote
2
down vote
A slight improvement of CarLaTeX's answer which scales correctly in scriptstyle and scriptscriptstyle.
documentclassarticle
usepackageamssymb
newcommand*subsetsimmathrelmathpalettesubsetsimauxrelax
newcommand*subsetsimaux[2]%
setbox0=hboxmathsurround=0pt$#1sim$%
ooalignraise.5ht0hbox$#1subset$crlowerht0box0
begindocument
$precsim lesssim subsetsim_precsim lesssim subsetsim_precsim lesssim subsetsim$
enddocument

The difference with the built-in symbols is visible in scriptstyle and obvious in scriptscriptstyle but I think one can live with it.
A slight improvement of CarLaTeX's answer which scales correctly in scriptstyle and scriptscriptstyle.
documentclassarticle
usepackageamssymb
newcommand*subsetsimmathrelmathpalettesubsetsimauxrelax
newcommand*subsetsimaux[2]%
setbox0=hboxmathsurround=0pt$#1sim$%
ooalignraise.5ht0hbox$#1subset$crlowerht0box0
begindocument
$precsim lesssim subsetsim_precsim lesssim subsetsim_precsim lesssim subsetsim$
enddocument

The difference with the built-in symbols is visible in scriptstyle and obvious in scriptscriptstyle but I think one can live with it.
answered 14 mins ago
campa
6,10221437
6,10221437
I was just replying that I didn't knowmathpalette:)
â CarLaTeX
8 mins ago
add a comment |Â
I was just replying that I didn't knowmathpalette:)
â CarLaTeX
8 mins ago
I was just replying that I didn't know
mathpalette :)â CarLaTeX
8 mins ago
I was just replying that I didn't know
mathpalette :)â CarLaTeX
8 mins ago
add a comment |Â
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
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f456848%2fa-variation-on-the-subset-relation-with-an-underlying-squiggle%23new-answer', 'question_page');
);
Post as a guest
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
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
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

1
stixhassubsetapproxbut with 2 squiggles.â CarLaTeX
2 hours ago
@CarLaTeX: This would work, except I get a
LaTeX Error: Too many symbol fonts declared.when I try to use the packagestixin my actual document (not the sample one listed in my post above).â Evan Aad
2 hours ago
@CarLaTeX: Upon further inspection, it appears there are three packages in my preamble that clash with
stix, namelymathrsfs,stmaryrd, andunicode-math(I should note that I use thelualatexformat with thescrbookdocument class). The first two packages produce the error message listed in my previous comment, whereas the third package produces the error messageCommand 'mathbfit' already defined.Is there a way to resolve these errors, so I can usestix'ssubsetapproxcommand?â Evan Aad
2 hours ago