emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Sebastian Rose <sebastian_rose@gmx.de>
To: Dan Davison <davison@stats.ox.ac.uk>
Cc: emacs-orgmode@gnu.org
Subject: Re: Change resolution of LaTeX formulas in HTML output?
Date: Fri, 06 Aug 2010 00:14:54 +0200	[thread overview]
Message-ID: <8762zoogf5.fsf@gmx.de> (raw)
In-Reply-To: <877hk4rbco.fsf@stats.ox.ac.uk> (Dan Davison's message of "Thu, 05 Aug 2010 17:36:07 -0400")

[-- Attachment #1: Type: text/plain, Size: 378 bytes --]

Dan Davison <davison@stats.ox.ac.uk> writes:
> Can you point me to an example that shows how to make source code in
> latex look (almost) as nice as html?


That is supposed to work with the `listings' package.  I havent tried
that yet.

I still use my old LaTeX headers and write verbatim LaTeX code.  I'd
like to switch though, since it's a lot to type.

Here is an example:


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-verbatim, Size: 487 bytes --]

      \begin{codeblock}
      \keyword{public function}~\func{\_\_construct}~(\increaseindent[15]\doindent
      \variable{\$instance}~=~\konstante{MAP\_STANDARD\_JS\_INSTANCE},\doindent
      \variable{\$z}~=~\konstante{MAP\_STANDARD\_ZOOM},\doindent
      \variable{\$centerX}~=~-1,\doindent
      \variable{\$centerY}~=~-1,\doindent
      \variable{\$highlights}~=~\keyword{true},\doindent
      \variable{\$spots}~=~\keyword{false}\doindent
      )\resetindent
      \end{codeblock}

[-- Attachment #3: Type: text/plain, Size: 178 bytes --]



Looks horrible, does it?

You can find the "listings.pdf" documentation here:

   http://www.ctan.org/tex-archive/macros/latex/contrib/listings/






Best wishes

  Sebastian

[-- Attachment #4: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

  reply	other threads:[~2010-08-05 22:15 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-04 17:00 Change resolution of LaTeX formulas in HTML output? amscopub-mail
2010-08-04 22:32 ` Bastien
2010-08-05 19:11   ` Dan Davison
2010-08-06  9:12     ` Bastien
2010-08-06 10:46   ` Carsten Dominik
2010-08-06 17:21     ` Bastien
2010-08-05 19:14 ` Dan Davison
2010-08-05 20:34   ` Sebastian Rose
2010-08-05 21:36     ` Dan Davison
2010-08-05 22:14       ` Sebastian Rose [this message]
2010-08-06  7:59         ` How to get pretty printed source code in PDFLaTeX Sébastien Vauban
2010-08-06 13:39           ` Dan Davison
2010-08-09 20:30             ` Sébastien Vauban
2010-08-09 22:29               ` Dan Davison
2010-08-10 16:38                 ` Thomas S. Dye
2010-08-10 17:37                   ` Dan Davison
2010-08-10 19:08                     ` Thomas S. Dye
  -- strict thread matches above, loose matches on Subject: below --
2010-08-05 16:06 Change resolution of LaTeX formulas in HTML output? amscopub-mail
2010-08-05 17:06 ` Nick Dokos
2010-08-05 18:25   ` Bastien
2010-08-06 14:05 Uri Avalos
2010-08-06 15:17 amscopub-mail
2010-08-07  6:04 ` Carsten Dominik
2010-08-06 19:39 amscopub-mail

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=8762zoogf5.fsf@gmx.de \
    --to=sebastian_rose@gmx.de \
    --cc=davison@stats.ox.ac.uk \
    --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).