draw the container box of a glyph
Clash Royale CLAN TAG#URR8PPP
up vote
4
down vote
favorite
I'm doing a practical job and I need to place the glyphs of some typographies inside the box that contains them.
I do not mean a box in common, but the box that contains the glyph and allows you to see its position inside the box.
There is some direct function to obtain it or it is necessary to use other tools.
boxes
add a comment |Â
up vote
4
down vote
favorite
I'm doing a practical job and I need to place the glyphs of some typographies inside the box that contains them.
I do not mean a box in common, but the box that contains the glyph and allows you to see its position inside the box.
There is some direct function to obtain it or it is necessary to use other tools.
boxes
Depending on the precision you need,fbox<stuff>
does the job. You can usesetlengthfboxsep0pt
prior to that to tighten the box around<stuff>
.
– Phelype Oleinik
1 hour ago
add a comment |Â
up vote
4
down vote
favorite
up vote
4
down vote
favorite
I'm doing a practical job and I need to place the glyphs of some typographies inside the box that contains them.
I do not mean a box in common, but the box that contains the glyph and allows you to see its position inside the box.
There is some direct function to obtain it or it is necessary to use other tools.
boxes
I'm doing a practical job and I need to place the glyphs of some typographies inside the box that contains them.
I do not mean a box in common, but the box that contains the glyph and allows you to see its position inside the box.
There is some direct function to obtain it or it is necessary to use other tools.
boxes
boxes
asked 1 hour ago
Imago Mundi
463
463
Depending on the precision you need,fbox<stuff>
does the job. You can usesetlengthfboxsep0pt
prior to that to tighten the box around<stuff>
.
– Phelype Oleinik
1 hour ago
add a comment |Â
Depending on the precision you need,fbox<stuff>
does the job. You can usesetlengthfboxsep0pt
prior to that to tighten the box around<stuff>
.
– Phelype Oleinik
1 hour ago
Depending on the precision you need,
fbox<stuff>
does the job. You can use setlengthfboxsep0pt
prior to that to tighten the box around <stuff>
.– Phelype Oleinik
1 hour ago
Depending on the precision you need,
fbox<stuff>
does the job. You can use setlengthfboxsep0pt
prior to that to tighten the box around <stuff>
.– Phelype Oleinik
1 hour ago
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
5
down vote
Here's a way, that also shows the baseline:
documentclassarticle
newlengthglyphwd
newcommandshowglyph[1]%
begingroup
settowidthglyphwd#1%
setlengthfboxrule0.1pt% hairline
setlengthfboxsep-0.05pt%
makebox[0pt][l]vrule height 0.05pt depth 0.05pt width glyphwd%
fbox#1%
endgroup
begindocument
showglyphQ showglyphLARGE g showglyphLARGEitshape f
enddocument
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
5
down vote
Here's a way, that also shows the baseline:
documentclassarticle
newlengthglyphwd
newcommandshowglyph[1]%
begingroup
settowidthglyphwd#1%
setlengthfboxrule0.1pt% hairline
setlengthfboxsep-0.05pt%
makebox[0pt][l]vrule height 0.05pt depth 0.05pt width glyphwd%
fbox#1%
endgroup
begindocument
showglyphQ showglyphLARGE g showglyphLARGEitshape f
enddocument
add a comment |Â
up vote
5
down vote
Here's a way, that also shows the baseline:
documentclassarticle
newlengthglyphwd
newcommandshowglyph[1]%
begingroup
settowidthglyphwd#1%
setlengthfboxrule0.1pt% hairline
setlengthfboxsep-0.05pt%
makebox[0pt][l]vrule height 0.05pt depth 0.05pt width glyphwd%
fbox#1%
endgroup
begindocument
showglyphQ showglyphLARGE g showglyphLARGEitshape f
enddocument
add a comment |Â
up vote
5
down vote
up vote
5
down vote
Here's a way, that also shows the baseline:
documentclassarticle
newlengthglyphwd
newcommandshowglyph[1]%
begingroup
settowidthglyphwd#1%
setlengthfboxrule0.1pt% hairline
setlengthfboxsep-0.05pt%
makebox[0pt][l]vrule height 0.05pt depth 0.05pt width glyphwd%
fbox#1%
endgroup
begindocument
showglyphQ showglyphLARGE g showglyphLARGEitshape f
enddocument
Here's a way, that also shows the baseline:
documentclassarticle
newlengthglyphwd
newcommandshowglyph[1]%
begingroup
settowidthglyphwd#1%
setlengthfboxrule0.1pt% hairline
setlengthfboxsep-0.05pt%
makebox[0pt][l]vrule height 0.05pt depth 0.05pt width glyphwd%
fbox#1%
endgroup
begindocument
showglyphQ showglyphLARGE g showglyphLARGEitshape f
enddocument
answered 1 hour ago


egreg
686k8418283078
686k8418283078
add a comment |Â
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%2f453458%2fdraw-the-container-box-of-a-glyph%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
Depending on the precision you need,
fbox<stuff>
does the job. You can usesetlengthfboxsep0pt
prior to that to tighten the box around<stuff>
.– Phelype Oleinik
1 hour ago