From mboxrd@z Thu Jan 1 00:00:00 1970 From: Skip Collins Subject: latex checkboxes Date: Thu, 16 Jun 2011 18:09:54 -0400 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:48401) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QXKlB-0003hQ-1H for emacs-orgmode@gnu.org; Thu, 16 Jun 2011 18:09:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QXKlA-0000RY-9E for emacs-orgmode@gnu.org; Thu, 16 Jun 2011 18:09:57 -0400 Received: from mail-ey0-f169.google.com ([209.85.215.169]:44122) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QXKlA-0000RQ-4q for emacs-orgmode@gnu.org; Thu, 16 Jun 2011 18:09:56 -0400 Received: by eyd9 with SMTP id 9so350833eyd.0 for ; Thu, 16 Jun 2011 15:09:54 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org There is a couple of problems with the way checkboxes are typeset in LaTeX. - [ ] a - [X] b - [-] c is translated to the LaTeX \begin{itemize} \item $\Box$ a \item $\boxtimes$ b \item $\boxminus$ c \end{itemize} The first problem is that \Box is not the same size as \boxtimes or \boxminus . The correct symbol to use from the amssymb package is \square which matches the other two symbols. Another problem is that these symbols were intended to be mathematical binary operators, and are therefore rather small for the purposes of a checkbox. I suggest that LaTeX output could be modified to something like: \setbox0=\hbox{\LARGE$\square$} \begin{itemize} \item {\parbox[][][c]{\wd0}{\LARGE$\square$}} a \item {\parbox[][][c]{\wd0}{\LARGE$\boxtimes$}} b \item {\parbox[][][c]{\wd0}{\LARGE$\boxminus$}} c \end{itemize} The parbox ensures that the checkbox is nicely centered with the first line of text. Another nice-to-have feature would be to use the checkbox as a label for list items in non-enumerated lists. Currently, the list bullet appears as visual clutter next to the checkbox.