Typesetting d'Alembertian symbol
up vote
9
down vote
favorite
I've seen that usually, the d'Alembertian is written using the command Box, however, this displays a square with all sides identical. I would like to write it in this other way:

in which, the right and below sides are bolder, so that resembles more to the Laplacian symbol.
symbols typography
New contributor
Janstillerion 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 |
up vote
9
down vote
favorite
I've seen that usually, the d'Alembertian is written using the command Box, however, this displays a square with all sides identical. I would like to write it in this other way:

in which, the right and below sides are bolder, so that resembles more to the Laplacian symbol.
symbols typography
New contributor
Janstillerion is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Welcome to the site TeX.SE. Can you give a suggestion? Usesquarefor my opinion. It is very ugly theBoxsymbol.
– Sebastiano
yesterday
Thanks for the welcome! square is indeed a better option since the scaling is better to the Box, however, it still presents no difference in the strokes.
– Janstillerion
yesterday
add a comment |
up vote
9
down vote
favorite
up vote
9
down vote
favorite
I've seen that usually, the d'Alembertian is written using the command Box, however, this displays a square with all sides identical. I would like to write it in this other way:

in which, the right and below sides are bolder, so that resembles more to the Laplacian symbol.
symbols typography
New contributor
Janstillerion is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
I've seen that usually, the d'Alembertian is written using the command Box, however, this displays a square with all sides identical. I would like to write it in this other way:

in which, the right and below sides are bolder, so that resembles more to the Laplacian symbol.
symbols typography
symbols typography
New contributor
Janstillerion is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Janstillerion is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
edited yesterday
Phelype Oleinik
20k54277
20k54277
New contributor
Janstillerion is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked yesterday
Janstillerion
462
462
New contributor
Janstillerion is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Janstillerion is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Janstillerion is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Welcome to the site TeX.SE. Can you give a suggestion? Usesquarefor my opinion. It is very ugly theBoxsymbol.
– Sebastiano
yesterday
Thanks for the welcome! square is indeed a better option since the scaling is better to the Box, however, it still presents no difference in the strokes.
– Janstillerion
yesterday
add a comment |
Welcome to the site TeX.SE. Can you give a suggestion? Usesquarefor my opinion. It is very ugly theBoxsymbol.
– Sebastiano
yesterday
Thanks for the welcome! square is indeed a better option since the scaling is better to the Box, however, it still presents no difference in the strokes.
– Janstillerion
yesterday
Welcome to the site TeX.SE. Can you give a suggestion? Use
square for my opinion. It is very ugly the Box symbol.– Sebastiano
yesterday
Welcome to the site TeX.SE. Can you give a suggestion? Use
square for my opinion. It is very ugly the Box symbol.– Sebastiano
yesterday
Thanks for the welcome! square is indeed a better option since the scaling is better to the Box, however, it still presents no difference in the strokes.
– Janstillerion
yesterday
Thanks for the welcome! square is indeed a better option since the scaling is better to the Box, however, it still presents no difference in the strokes.
– Janstillerion
yesterday
add a comment |
4 Answers
4
active
oldest
votes
up vote
11
down vote
To increase the boarder on two sides, you could use the ding113 symbol from pifont
documentclassarticle
usepackagepifont
usepackageamsmath
begindocument
$textding113 Delta$
enddocument

1
Yes, this is close to what I'm looking for, but strokes are maybe too thick.
– Janstillerion
yesterday
2
@Janstillerion Some other package define similar symbols. For an overview have a look at tug.ctan.org/info/symbols/comprehensive/symbols-a4.pdf
– samcarter
yesterday
add a comment |
up vote
10
down vote
Build a square with thicker lines the same size of square:
documentclassarticle
usepackageamsmath,amssymb
makeatletter
newcommanddalembertianmathopmathpalettedalembertian@relax
newcommanddalembertian@[2]%
begingroup
sboxz@$m@th#1square$%
dimen0=fontdimen8
ifx#1displaystyletextfontelse
ifx#1textstyletextfontelse
ifx#1scriptstylescriptfontelse
scriptscriptfontfififi3
makebox[wdz@]%
hbox to htz@%
vrule width dimen0
kern-dimen0
vbox to htz@
hrule height dimen0 width htz@
vss
hrule height 2dimen0
%
kern-2.5dimen0
vrule width 2.5dimen0
%
%
endgroup
makeatother
begindocument
$dalembertian = mathopDelta-partial_0^2$
$scriptstyledalembertian = mathopDelta-partial_0^2$
$scriptscriptstyledalembertian = mathopDelta-partial_0^2$
Large$dalembertian = mathopDelta-partial_0^2$
enddocument

add a comment |
up vote
7
down vote
Just uses rules. Then, scalerel to make it match the height of Delta.
documentclassarticle
usepackagestackengine,scalerel
newcommanddAlaux%
Shortstackrule12pt.6pt\
rule.6pt10ptkern10ptrule1.4pt10pt\
rule12pt1.4pt%
newcommanddAl%
setstackgapS0pt%
setstackEOL\%
scalerel*kern1ptdAlauxkern1ptDelta%
begindocument
$dAl = Delta - partial_0^2,quad phidAlphi e^phidAlphi$
enddocument

A slightly thicker version, by adjusting the rule dimensions...
documentclassarticle
usepackagestackengine,scalerel
newcommanddAlaux%
Shortstackrule11pt.7pt\
rule.7pt9ptkern9ptrule1.3pt9pt\
rule11pt1.35pt%
newcommanddAl%
setstackgapS0pt%
setstackEOL\%
scalerel*kern1ptdAlauxkern1ptDelta%
begindocument
$dAl = Delta - partial_0^2,quad phidAlphi e^phidAlphi$
enddocument

add a comment |
up vote
5
down vote
Here's a version using scalebox and overlapping three copies of square so that the thickness can be tweaked. The thickness can be changed by increasing or reducing the second argument to add@dalemb.
For instance, with 03 and 06:
and with 05 and 10:
Thicker than this, another add@dalemb would be needed to avoid white spaces between the squares.
documentclass[a4paper,12pt]article
usepackageamssymb
usepackagegraphicx
makeatletter
DeclareRobustCommanddalembmathpaletteinner@dalemb
definner@dalemb#1%
add@dalemb#103%
add@dalemb#106%
square
defadd@dalemb#1#2%
sbox0scalebox1.#2$#1square$%
rlaplower0.#2ht0box0%
makeatother
begindocument
[ Deltadalemb ]
[ partial^Deltadalemb ]
[ partial^partial^Deltadalemb ]
enddocument
add a comment |
4 Answers
4
active
oldest
votes
4 Answers
4
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
11
down vote
To increase the boarder on two sides, you could use the ding113 symbol from pifont
documentclassarticle
usepackagepifont
usepackageamsmath
begindocument
$textding113 Delta$
enddocument

1
Yes, this is close to what I'm looking for, but strokes are maybe too thick.
– Janstillerion
yesterday
2
@Janstillerion Some other package define similar symbols. For an overview have a look at tug.ctan.org/info/symbols/comprehensive/symbols-a4.pdf
– samcarter
yesterday
add a comment |
up vote
11
down vote
To increase the boarder on two sides, you could use the ding113 symbol from pifont
documentclassarticle
usepackagepifont
usepackageamsmath
begindocument
$textding113 Delta$
enddocument

1
Yes, this is close to what I'm looking for, but strokes are maybe too thick.
– Janstillerion
yesterday
2
@Janstillerion Some other package define similar symbols. For an overview have a look at tug.ctan.org/info/symbols/comprehensive/symbols-a4.pdf
– samcarter
yesterday
add a comment |
up vote
11
down vote
up vote
11
down vote
To increase the boarder on two sides, you could use the ding113 symbol from pifont
documentclassarticle
usepackagepifont
usepackageamsmath
begindocument
$textding113 Delta$
enddocument

To increase the boarder on two sides, you could use the ding113 symbol from pifont
documentclassarticle
usepackagepifont
usepackageamsmath
begindocument
$textding113 Delta$
enddocument

edited yesterday
answered yesterday
samcarter
80.6k788256
80.6k788256
1
Yes, this is close to what I'm looking for, but strokes are maybe too thick.
– Janstillerion
yesterday
2
@Janstillerion Some other package define similar symbols. For an overview have a look at tug.ctan.org/info/symbols/comprehensive/symbols-a4.pdf
– samcarter
yesterday
add a comment |
1
Yes, this is close to what I'm looking for, but strokes are maybe too thick.
– Janstillerion
yesterday
2
@Janstillerion Some other package define similar symbols. For an overview have a look at tug.ctan.org/info/symbols/comprehensive/symbols-a4.pdf
– samcarter
yesterday
1
1
Yes, this is close to what I'm looking for, but strokes are maybe too thick.
– Janstillerion
yesterday
Yes, this is close to what I'm looking for, but strokes are maybe too thick.
– Janstillerion
yesterday
2
2
@Janstillerion Some other package define similar symbols. For an overview have a look at tug.ctan.org/info/symbols/comprehensive/symbols-a4.pdf
– samcarter
yesterday
@Janstillerion Some other package define similar symbols. For an overview have a look at tug.ctan.org/info/symbols/comprehensive/symbols-a4.pdf
– samcarter
yesterday
add a comment |
up vote
10
down vote
Build a square with thicker lines the same size of square:
documentclassarticle
usepackageamsmath,amssymb
makeatletter
newcommanddalembertianmathopmathpalettedalembertian@relax
newcommanddalembertian@[2]%
begingroup
sboxz@$m@th#1square$%
dimen0=fontdimen8
ifx#1displaystyletextfontelse
ifx#1textstyletextfontelse
ifx#1scriptstylescriptfontelse
scriptscriptfontfififi3
makebox[wdz@]%
hbox to htz@%
vrule width dimen0
kern-dimen0
vbox to htz@
hrule height dimen0 width htz@
vss
hrule height 2dimen0
%
kern-2.5dimen0
vrule width 2.5dimen0
%
%
endgroup
makeatother
begindocument
$dalembertian = mathopDelta-partial_0^2$
$scriptstyledalembertian = mathopDelta-partial_0^2$
$scriptscriptstyledalembertian = mathopDelta-partial_0^2$
Large$dalembertian = mathopDelta-partial_0^2$
enddocument

add a comment |
up vote
10
down vote
Build a square with thicker lines the same size of square:
documentclassarticle
usepackageamsmath,amssymb
makeatletter
newcommanddalembertianmathopmathpalettedalembertian@relax
newcommanddalembertian@[2]%
begingroup
sboxz@$m@th#1square$%
dimen0=fontdimen8
ifx#1displaystyletextfontelse
ifx#1textstyletextfontelse
ifx#1scriptstylescriptfontelse
scriptscriptfontfififi3
makebox[wdz@]%
hbox to htz@%
vrule width dimen0
kern-dimen0
vbox to htz@
hrule height dimen0 width htz@
vss
hrule height 2dimen0
%
kern-2.5dimen0
vrule width 2.5dimen0
%
%
endgroup
makeatother
begindocument
$dalembertian = mathopDelta-partial_0^2$
$scriptstyledalembertian = mathopDelta-partial_0^2$
$scriptscriptstyledalembertian = mathopDelta-partial_0^2$
Large$dalembertian = mathopDelta-partial_0^2$
enddocument

add a comment |
up vote
10
down vote
up vote
10
down vote
Build a square with thicker lines the same size of square:
documentclassarticle
usepackageamsmath,amssymb
makeatletter
newcommanddalembertianmathopmathpalettedalembertian@relax
newcommanddalembertian@[2]%
begingroup
sboxz@$m@th#1square$%
dimen0=fontdimen8
ifx#1displaystyletextfontelse
ifx#1textstyletextfontelse
ifx#1scriptstylescriptfontelse
scriptscriptfontfififi3
makebox[wdz@]%
hbox to htz@%
vrule width dimen0
kern-dimen0
vbox to htz@
hrule height dimen0 width htz@
vss
hrule height 2dimen0
%
kern-2.5dimen0
vrule width 2.5dimen0
%
%
endgroup
makeatother
begindocument
$dalembertian = mathopDelta-partial_0^2$
$scriptstyledalembertian = mathopDelta-partial_0^2$
$scriptscriptstyledalembertian = mathopDelta-partial_0^2$
Large$dalembertian = mathopDelta-partial_0^2$
enddocument

Build a square with thicker lines the same size of square:
documentclassarticle
usepackageamsmath,amssymb
makeatletter
newcommanddalembertianmathopmathpalettedalembertian@relax
newcommanddalembertian@[2]%
begingroup
sboxz@$m@th#1square$%
dimen0=fontdimen8
ifx#1displaystyletextfontelse
ifx#1textstyletextfontelse
ifx#1scriptstylescriptfontelse
scriptscriptfontfififi3
makebox[wdz@]%
hbox to htz@%
vrule width dimen0
kern-dimen0
vbox to htz@
hrule height dimen0 width htz@
vss
hrule height 2dimen0
%
kern-2.5dimen0
vrule width 2.5dimen0
%
%
endgroup
makeatother
begindocument
$dalembertian = mathopDelta-partial_0^2$
$scriptstyledalembertian = mathopDelta-partial_0^2$
$scriptscriptstyledalembertian = mathopDelta-partial_0^2$
Large$dalembertian = mathopDelta-partial_0^2$
enddocument

answered yesterday
egreg
696k8518483109
696k8518483109
add a comment |
add a comment |
up vote
7
down vote
Just uses rules. Then, scalerel to make it match the height of Delta.
documentclassarticle
usepackagestackengine,scalerel
newcommanddAlaux%
Shortstackrule12pt.6pt\
rule.6pt10ptkern10ptrule1.4pt10pt\
rule12pt1.4pt%
newcommanddAl%
setstackgapS0pt%
setstackEOL\%
scalerel*kern1ptdAlauxkern1ptDelta%
begindocument
$dAl = Delta - partial_0^2,quad phidAlphi e^phidAlphi$
enddocument

A slightly thicker version, by adjusting the rule dimensions...
documentclassarticle
usepackagestackengine,scalerel
newcommanddAlaux%
Shortstackrule11pt.7pt\
rule.7pt9ptkern9ptrule1.3pt9pt\
rule11pt1.35pt%
newcommanddAl%
setstackgapS0pt%
setstackEOL\%
scalerel*kern1ptdAlauxkern1ptDelta%
begindocument
$dAl = Delta - partial_0^2,quad phidAlphi e^phidAlphi$
enddocument

add a comment |
up vote
7
down vote
Just uses rules. Then, scalerel to make it match the height of Delta.
documentclassarticle
usepackagestackengine,scalerel
newcommanddAlaux%
Shortstackrule12pt.6pt\
rule.6pt10ptkern10ptrule1.4pt10pt\
rule12pt1.4pt%
newcommanddAl%
setstackgapS0pt%
setstackEOL\%
scalerel*kern1ptdAlauxkern1ptDelta%
begindocument
$dAl = Delta - partial_0^2,quad phidAlphi e^phidAlphi$
enddocument

A slightly thicker version, by adjusting the rule dimensions...
documentclassarticle
usepackagestackengine,scalerel
newcommanddAlaux%
Shortstackrule11pt.7pt\
rule.7pt9ptkern9ptrule1.3pt9pt\
rule11pt1.35pt%
newcommanddAl%
setstackgapS0pt%
setstackEOL\%
scalerel*kern1ptdAlauxkern1ptDelta%
begindocument
$dAl = Delta - partial_0^2,quad phidAlphi e^phidAlphi$
enddocument

add a comment |
up vote
7
down vote
up vote
7
down vote
Just uses rules. Then, scalerel to make it match the height of Delta.
documentclassarticle
usepackagestackengine,scalerel
newcommanddAlaux%
Shortstackrule12pt.6pt\
rule.6pt10ptkern10ptrule1.4pt10pt\
rule12pt1.4pt%
newcommanddAl%
setstackgapS0pt%
setstackEOL\%
scalerel*kern1ptdAlauxkern1ptDelta%
begindocument
$dAl = Delta - partial_0^2,quad phidAlphi e^phidAlphi$
enddocument

A slightly thicker version, by adjusting the rule dimensions...
documentclassarticle
usepackagestackengine,scalerel
newcommanddAlaux%
Shortstackrule11pt.7pt\
rule.7pt9ptkern9ptrule1.3pt9pt\
rule11pt1.35pt%
newcommanddAl%
setstackgapS0pt%
setstackEOL\%
scalerel*kern1ptdAlauxkern1ptDelta%
begindocument
$dAl = Delta - partial_0^2,quad phidAlphi e^phidAlphi$
enddocument

Just uses rules. Then, scalerel to make it match the height of Delta.
documentclassarticle
usepackagestackengine,scalerel
newcommanddAlaux%
Shortstackrule12pt.6pt\
rule.6pt10ptkern10ptrule1.4pt10pt\
rule12pt1.4pt%
newcommanddAl%
setstackgapS0pt%
setstackEOL\%
scalerel*kern1ptdAlauxkern1ptDelta%
begindocument
$dAl = Delta - partial_0^2,quad phidAlphi e^phidAlphi$
enddocument

A slightly thicker version, by adjusting the rule dimensions...
documentclassarticle
usepackagestackengine,scalerel
newcommanddAlaux%
Shortstackrule11pt.7pt\
rule.7pt9ptkern9ptrule1.3pt9pt\
rule11pt1.35pt%
newcommanddAl%
setstackgapS0pt%
setstackEOL\%
scalerel*kern1ptdAlauxkern1ptDelta%
begindocument
$dAl = Delta - partial_0^2,quad phidAlphi e^phidAlphi$
enddocument

edited yesterday
answered yesterday
Steven B. Segletes
151k9188396
151k9188396
add a comment |
add a comment |
up vote
5
down vote
Here's a version using scalebox and overlapping three copies of square so that the thickness can be tweaked. The thickness can be changed by increasing or reducing the second argument to add@dalemb.
For instance, with 03 and 06:
and with 05 and 10:
Thicker than this, another add@dalemb would be needed to avoid white spaces between the squares.
documentclass[a4paper,12pt]article
usepackageamssymb
usepackagegraphicx
makeatletter
DeclareRobustCommanddalembmathpaletteinner@dalemb
definner@dalemb#1%
add@dalemb#103%
add@dalemb#106%
square
defadd@dalemb#1#2%
sbox0scalebox1.#2$#1square$%
rlaplower0.#2ht0box0%
makeatother
begindocument
[ Deltadalemb ]
[ partial^Deltadalemb ]
[ partial^partial^Deltadalemb ]
enddocument
add a comment |
up vote
5
down vote
Here's a version using scalebox and overlapping three copies of square so that the thickness can be tweaked. The thickness can be changed by increasing or reducing the second argument to add@dalemb.
For instance, with 03 and 06:
and with 05 and 10:
Thicker than this, another add@dalemb would be needed to avoid white spaces between the squares.
documentclass[a4paper,12pt]article
usepackageamssymb
usepackagegraphicx
makeatletter
DeclareRobustCommanddalembmathpaletteinner@dalemb
definner@dalemb#1%
add@dalemb#103%
add@dalemb#106%
square
defadd@dalemb#1#2%
sbox0scalebox1.#2$#1square$%
rlaplower0.#2ht0box0%
makeatother
begindocument
[ Deltadalemb ]
[ partial^Deltadalemb ]
[ partial^partial^Deltadalemb ]
enddocument
add a comment |
up vote
5
down vote
up vote
5
down vote
Here's a version using scalebox and overlapping three copies of square so that the thickness can be tweaked. The thickness can be changed by increasing or reducing the second argument to add@dalemb.
For instance, with 03 and 06:
and with 05 and 10:
Thicker than this, another add@dalemb would be needed to avoid white spaces between the squares.
documentclass[a4paper,12pt]article
usepackageamssymb
usepackagegraphicx
makeatletter
DeclareRobustCommanddalembmathpaletteinner@dalemb
definner@dalemb#1%
add@dalemb#103%
add@dalemb#106%
square
defadd@dalemb#1#2%
sbox0scalebox1.#2$#1square$%
rlaplower0.#2ht0box0%
makeatother
begindocument
[ Deltadalemb ]
[ partial^Deltadalemb ]
[ partial^partial^Deltadalemb ]
enddocument
Here's a version using scalebox and overlapping three copies of square so that the thickness can be tweaked. The thickness can be changed by increasing or reducing the second argument to add@dalemb.
For instance, with 03 and 06:
and with 05 and 10:
Thicker than this, another add@dalemb would be needed to avoid white spaces between the squares.
documentclass[a4paper,12pt]article
usepackageamssymb
usepackagegraphicx
makeatletter
DeclareRobustCommanddalembmathpaletteinner@dalemb
definner@dalemb#1%
add@dalemb#103%
add@dalemb#106%
square
defadd@dalemb#1#2%
sbox0scalebox1.#2$#1square$%
rlaplower0.#2ht0box0%
makeatother
begindocument
[ Deltadalemb ]
[ partial^Deltadalemb ]
[ partial^partial^Deltadalemb ]
enddocument
answered yesterday
Phelype Oleinik
20k54277
20k54277
add a comment |
add a comment |
Janstillerion is a new contributor. Be nice, and check out our Code of Conduct.
Janstillerion is a new contributor. Be nice, and check out our Code of Conduct.
Janstillerion is a new contributor. Be nice, and check out our Code of Conduct.
Janstillerion 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');
);
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%2f459167%2ftypesetting-dalembertian-symbol%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


Welcome to the site TeX.SE. Can you give a suggestion? Use
squarefor my opinion. It is very ugly theBoxsymbol.– Sebastiano
yesterday
Thanks for the welcome! square is indeed a better option since the scaling is better to the Box, however, it still presents no difference in the strokes.
– Janstillerion
yesterday