From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adrian Bradd Subject: Custom checkboxes when exporting to beamer/latex Date: Wed, 26 Sep 2018 23:30:30 -0400 Message-ID: <87k1n762i1.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; format=flowed Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37551) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g5N0h-0002hu-Dm for emacs-orgmode@gnu.org; Wed, 26 Sep 2018 23:30:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g5N0c-0004wX-GS for emacs-orgmode@gnu.org; Wed, 26 Sep 2018 23:30:39 -0400 Received: from mail-qk1-x729.google.com ([2607:f8b0:4864:20::729]:38583) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g5N0c-0004wO-As for emacs-orgmode@gnu.org; Wed, 26 Sep 2018 23:30:34 -0400 Received: by mail-qk1-x729.google.com with SMTP id 204-v6so75873qkd.5 for ; Wed, 26 Sep 2018 20:30:34 -0700 (PDT) Received: from localhost (cpe-158-222-157-199.nyc.res.rr.com. [158.222.157.199]) by smtp.gmail.com with ESMTPSA id q26-v6sm715904qta.18.2018.09.26.20.30.31 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 26 Sep 2018 20:30:31 -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" To: emacs-org list Hello, I wanted to replace the cross with a tick (or any arbitrary symbol) in beamer/latex exports. I took a look at `org-latex-item' which uses the :checkbox property to transcode between org and latex/beamer. Looks like I could change the :checkbox property to enable a custom checkbox, but this may break other backends. As an alternative, redefining \boxtimes works as shown below: #+begin_src org #+TITLE: MWE #+OPTIONS: H:1 #+LATEX_CLASS: beamer #+COLUMNS: %45ITEM %10BEAMER_env(Env) %10BEAMER_act(Act) %4BEAMER_col(Col) %8BEAMER_opt(Opt) #+BEAMER_THEME: default #+BEAMER_COLOR_THEME: #+BEAMER_FONT_THEME: #+BEAMER_INNER_THEME: #+BEAMER_OUTER_THEME: #+BEAMER_HEADER: \renewcommand{\boxtimes}{\makebox[0pt][l]{\hspace{0.1em}\checkmark}$\square$}% * Sample heading - [X] Completed - [ ] Trans - [ ] #+end_src This isn't optimal as the original \boxtimes is now unavailable. Suggestions welcome. -- Adrian Bradd