[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] Re: Change resolution of LaTeX formulas in HTML output?
From: |
Sebastian Rose |
Subject: |
[Orgmode] Re: Change resolution of LaTeX formulas in HTML output? |
Date: |
Fri, 06 Aug 2010 00:14:54 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Dan Davison <address@hidden> 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:
\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}
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
- [Orgmode] Change resolution of LaTeX formulas in HTML output?, amscopub-mail, 2010/08/04
- Re: [Orgmode] Change resolution of LaTeX formulas in HTML output?, Bastien, 2010/08/04
- [Orgmode] Re: Change resolution of LaTeX formulas in HTML output?, Dan Davison, 2010/08/05
- Re: [Orgmode] Re: Change resolution of LaTeX formulas in HTML output?, Sebastian Rose, 2010/08/05
- [Orgmode] Re: Change resolution of LaTeX formulas in HTML output?, Dan Davison, 2010/08/05
- [Orgmode] Re: Change resolution of LaTeX formulas in HTML output?,
Sebastian Rose <=
- [Orgmode] How to get pretty printed source code in PDFLaTeX, Sébastien Vauban, 2010/08/06
- [Orgmode] Re: How to get pretty printed source code in PDFLaTeX, Dan Davison, 2010/08/06
- [Orgmode] Re: How to get pretty printed source code in PDFLaTeX, Sébastien Vauban, 2010/08/09
- [Orgmode] Re: How to get pretty printed source code in PDFLaTeX, Dan Davison, 2010/08/10
- Re: [Orgmode] Re: How to get pretty printed source code in PDFLaTeX, Thomas S. Dye, 2010/08/10
- [Orgmode] Re: How to get pretty printed source code in PDFLaTeX, Dan Davison, 2010/08/10
- [Orgmode] Re: How to get pretty printed source code in PDFLaTeX, Thomas S. Dye, 2010/08/10