Subject: mailing-list for TeXmacs Users
List archive
From : Kostas Oikonomou <address@hidden>- To: TeXmacs <address@hidden>
- Subject: [TeXmacs] detecting the amsmath package
- Date: Thu, 04 Sep 2008 13:56:45 -0400
- Organization: AT&T Labs Research
I want to modify some of the Scheme code for the Latex converter (i.e.
TeXmacs/progs/convert/latex/tmtex.scm).
My question is: how can I detect in my code when TeXmacs is going to export the document to LaTeX and include the amsmath package?
Here is an example where TeXmacs does this:
\documentclass{article}
\usepackage{geometry,amsmath,amssymb,color}
\geometry{letterpaper}
%%%%%%%%%% Start TeXmacs macros
\newcommand{\email}[1]{{\textit{Email:} \texttt{#1}}}
\newcommand{\tmem}[1]{{\em #1\/}}
\newcommand{\tmop}[1]{\ensuremath{\operatorname{#1}}}
\newcommand{\tmtextbf}[1]{{\bfseries{#1}}}
\newcommand{\tmtextit}[1]{{\itshape{#1}}}
\newenvironment{descriptioncompact}{\begin{description} }{\end{description}}
\definecolor{grey}{rgb}{0.75,0.75,0.75}
\definecolor{orange}{rgb}{1.0,0.5,0.5}
\definecolor{brown}{rgb}{0.5,0.25,0.0}
\definecolor{pink}{rgb}{1.0,0.5,0.5}
%%%%%%%%%% End TeXmacs macros
Kostas
- [TeXmacs] detecting the amsmath package, Kostas Oikonomou, 09/04/2008
- Re: [TeXmacs] detecting the amsmath package, Henri Lesourd, 09/04/2008
- Re: [TeXmacs] detecting the amsmath package, Kostas Oikonomou, 09/04/2008
- Re: [TeXmacs] detecting the amsmath package, Henri Lesourd, 09/05/2008
- Re: [TeXmacs] detecting the amsmath package, Joris van der Hoeven, 09/10/2008
- Re: [TeXmacs] detecting the amsmath package, Kostas Oikonomou, 09/04/2008
- Re: [TeXmacs] detecting the amsmath package, Henri Lesourd, 09/04/2008
Archive powered by MHonArc 2.6.19.