Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to box characters in latex

Tags:

latex

Maybe there is a package to do this, but I have not been able to find it. If it doesn't exist, I would appreciate ideas as to how to do ithis. Basically, I need something that would box characters. Something like this:

-------
| A| L|
-  -  - ...
| 2| 3|
-------

Knuth has something like this in TAOCP, when he discusses MIX's word... without the bottom part, though.

So, a character, and some other char or chars below. Any idea? (I'm foreseeing a tumbleweed)...

Thanks.

like image 681
Dervin Thunk Avatar asked Dec 22 '22 09:12

Dervin Thunk


1 Answers

Sorry, but I have too little rep to leave a comment. So what you need is a box around each letter without disturbing the text flow? What about a

\framebox{x}?

I don't know enough about latex, but you should look into building your own Latex makro where this is done for each letter that you pass to your new command. Admittedly this is kind of brute force...

like image 196
moxn Avatar answered Dec 31 '22 15:12

moxn