emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Roger Mason <rmason@mun.ca>
To: emacs-orgmode@gnu.org
Subject: Re: Change default latex packages
Date: Tue, 06 May 2014 08:07:13 -0230	[thread overview]
Message-ID: <5368BB59.1070503@mun.ca> (raw)
In-Reply-To: <CAJ51ETocogA4vB2bq4k5et0Z6zCTxjhKitBg0kxV-K+5pfW5kQ@mail.gmail.com>

Hello again,

On 05/05/14 12:31, John Kitchin wrote:
> (setq org-latex-default-packages-alist
>
I thought I had this fixed, but apparently not.

Here's what I have in my .emacs:

(setq org-latex-default-packages-alist
       '(("AUTO" "inputenc" t)
     ("" "lmodern" nil)
     ("T1" "fontenc" nil)
     ("" "fixltx2e" nil)
;    ("" "charter" nil) ;; a decent font
;    ("expert" "mathdesign" nil)
     ("" "graphicx" t)
     ("" "longtable" nil)
     ("" "float" nil)
     ("" "wrapfig" nil)
     ("" "rotating"  nil)
     ("normalem" "ulem" t)
     ("" "amsmath" t)
     ("" "textcomp" nil)
     ("" "marvosym" t)
     ("" "wasysym" t)
     ("" "amssymb" t)
     ("" "amsmath" t)
     ("version=3" "mhchem" t)
     ("numbers,super,sort&compress" "natbib" t)
     ("" "natmove" nil)
     ("" "url" t)
     ("" "minted" nil)
     ("" "underscore" t)
     ("linktocpage,pdfstartview=FitH,colorlinks,
linkcolor=blue,anchorcolor=blue,
citecolor=blue,filecolor=blue,menucolor=blue,urlcolor=blue"
      "hyperref" nil)
     ("" "attachfile" nil)))

Notice     ("T1" "fontenc" nil) and ("" "textcomp" nil).

Here's the latex output:

\documentclass[11pt]{article}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage[T1]{fontenc}
\usepackage{fixltx2e}
\usepackage{graphicx}
\usepackage{longtable}
\usepackage{float}
\usepackage{wrapfig}
\usepackage{rotating}
\usepackage[normalem]{ulem}
\usepackage{amsmath}
\usepackage{textcomp}
\usepackage{marvosym}
\usepackage{wasysym}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage[version=3]{mhchem}
\usepackage[numbers,super,sort&compress]{natbib}
\usepackage{natmove}
\usepackage{url}
\usepackage{minted}
\usepackage{underscore}
\usepackage[linktocpage,pdfstartview=FitH,colorlinks,
linkcolor=blue,anchorcolor=blue,
citecolor=blue,filecolor=blue,menucolor=blue,urlcolor=blue]{hyperref}
\usepackage{attachfile}
\usepackage{parskip}

Notice the \usepackage[T1]{fontenc} and \usepackage{textcomp}.

What am I doing wrong?

Thanks,
Roger

  parent reply	other threads:[~2014-05-06 10:37 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-05 12:13 Change default latex packages Roger Mason
2014-05-05 15:01 ` John Kitchin
2014-05-05 17:39   ` Roger Mason
2014-05-06 10:37   ` Roger Mason [this message]
2014-05-06 10:51     ` John Kitchin
     [not found]       ` <5368ED80.3010906@mun.ca>
     [not found]         ` <CAJ51ETpzTgJpnX3iQOcxY9u1zLDPD1TAyR1tANvYs_f3tJar-A@mail.gmail.com>
2014-05-06 14:23           ` Roger Mason
2014-05-06 16:23             ` John Kitchin
2014-05-06 16:47               ` Roger Mason
2014-05-05 16:41 ` Eric S Fraga
2014-05-05 17:40   ` Roger Mason

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5368BB59.1070503@mun.ca \
    --to=rmason@mun.ca \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).