13.11.2015 Views

my Latex and Tex4ht cheat sheet

my Latex cheat sheet - 12000.org

my Latex cheat sheet - 12000.org

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

And now compile <strong>and</strong> run<br />

>g++ -Wall -std=c++0x try_string_literal.cpp<br />

>./a.out<br />

\documentclass[12pt,titlepage]{article}<br />

\begin{document}<br />

It is known that (a) $\sin(\pi)=0.000000$<br />

\end{document}<br />

2.36 how to debug <strong>Latex</strong>?<br />

Add --debug --interactive<br />

2.37 How to find history of Tex? Family tree?<br />

type texdoc tex-overview.pdf<br />

2.38 Where to put a style file that is downloaded <strong>and</strong> not part of TexLive?<br />

cd `kpsewhich -var-value=TEXMFHOME`<br />

<strong>and</strong> make directory tex/latex/<strong>my</strong>stuff/ <strong>and</strong> put the file there.<br />

Verify using kpsewhich filename.sty.<br />

Reference: answer at tex stackexchange<br />

2.39 How to convert pdf to eps?<br />

pdftops -f 1 -l 1 -eps pic.pdf<br />

2.40 what are values of extensions for images<br />

Using this:<br />

\documentclass[11pt,notitlepage]{article}%<br />

\usepackage{graphicx}<br />

\begin{document}<br />

\makeatletter<br />

\Gin@extensions<br />

\makeatother<br />

\end{document}<br />

Compiled with htlatex gives<br />

.eps,.ps,.eps.gz,.ps.gz,.eps.Z,.mps<br />

38

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!