New answers tagged

5 votes

Replace each letter of a given word with blank boxes

Basically a one-liner with expl3: \documentclass{article} \providecommand{\textsquare}{% from amsthm \begingroup \usefont{U}{msa}{m}{n}\symbol{3}\endgroup } \ExplSyntaxOn \NewDocumentCommand{\...
egreg's user avatar
  • 1.1m
5 votes

Replace each letter of a given word with blank boxes

For good measure, a LuaLaTeX-based solution. Note that the argument of \mycommand can contain general utf8-encoded characters, not just ASCII-encoded characters; thus, \mycommand{你好世界} is entirely ...
Mico's user avatar
  • 503k
7 votes
Accepted

Replace each letter of a given word with blank boxes

\documentclass{article} \usepackage[T1]{fontenc} \usepackage{tokcycle,amssymb} \Characterdirective{\addcytoks{$\square$}} \newcommand\mycommand[1]{\tokencyclexpress#1\endtokencyclexpress} \begin{...
Steven B. Segletes's user avatar
8 votes

Set Boxes in a table

\documentclass[11pt]{article} \usepackage{tikz} \usepackage{nicematrix} \begin{document} \begin{NiceTabular}{*{12}{>{\fpeval{\value{iRow}*12+\value{jCol}-13}}c}} &&&&&...
polyn's user avatar
  • 5,519
8 votes
Accepted

Set Boxes in a table

I suggest you employ the colortbl package and its \arrayrulecolor macro, along with \cline directives before the first row and after the final row. Optionally, change the line widths by resetting \...
Mico's user avatar
  • 503k
3 votes

How do you get a black-colored border around a bounding box?

Here's a LaTeX-based solution. It employs the \boxed macro of the amsmath package. \documentclass{article} % or some other suitable document class \usepackage{amsmath} % for '\boxed' macro, to be ...
Mico's user avatar
  • 503k

Top 50 recent answers are included