pdflatex

Font errors with pdfLaTeX microtype package

On Ubuntu 10.4LTS I'm trying to use the microtype package in a memoir class of document, for example like this: \usepackage[final,expansion=true]{microtype} However, when I attempt to compile this (with rubber, latexmk or others) I get an error like this: job.tex:72: Font csnameendcsname=rm-lmr10+20 at 10.95pt not loadable: M...

How to get rid of navigation bars in beamer

How to remove the navigation bar of sections and subsections on the top of each slide generated from a beamer latex file? By the way, in my preamble, I wrote: \setbeamertemplate{navigation symbols}{} \usepackage{beamerthemeshadow} ...

How to set the font generated from a beamer latex file to Times New Roman?

How to set the font generated from a beamer latex file to Times New Roman in preamble? Thanks! ...

LaTeX - using \hyperref to refer to a section/subsection before the section/subsection is defined?

I have been using the hyperref package and \hyperref[…]{…} to put a clickable link (in a PDF) to a section or subsection. However I want to put the clickable link before i put the \subsection declaration. My first attempt seems to produce a link that goes to the first page. Is there something special you have to do to get the links worki...

Latex, TikZ and separate compilation of chapters and figures.

I have fairly large Latex document with a lot of TikZ figures inside. I have a habit of frequent recompilation and it takes forever to compile it using pdflatex. Figures in TikZ take most of the time. My question is what is the best way to split the document into separate tex files (figures/chapters) to achieve separate compilation of ...

How can I programmatically generate PDFs using LaTeX?

Hello! I'm trying to generate some LaTeX code which from thereon should generate PDF documents. Currently, I'm using the Django templating system for dynamically creating the code, but I have no idea on as how to move on from here. I understand that I could save the code in a .tex file, and use subprocess to run pdflatex for generating ...

Weird subprocess issue with Django

Hello! I'm sorry if this is a duplicate question, but after searching through 3 pages for "django subprocess", I, for one, could not find the answer to my particular problem. I'm trying to run pdflatex on tex file, but for some reason in Django it doesn't produce anything. It works just fine in a regular python script, though. I've om...

Latex Beamer cuts text off

Hi all, The following simple Latex description does not result in the slide I want it to be. \begin{frame} \frametitle{Previous Work} \begin{itemize} \item [Hummer 1992] - First work in this area was conducted by Hummer \item [Goldreich et at. 2002] - Theoretical work that focused more on the power characteristics of embedded syste...

How to pdflatex with CJK characters/font/encoding

What's the best way to combine pdflatex with CJK characters/font/encoding? I'd like to generate pdf that includes CJK characters, and in the future all possible unicode characters. I'm thinking about using 'The CJK package for LaTeX' for cjk characters specifically but it seems not to be maintained since 2006. Can you suggest somethi...

Renumbering figure in LaTeX?

How can I make figures be renumbered in a TeX document? I want the main figures to be 1, 2, 3, ...etc. But then I want a section to have supplementary figures, S1, S2, S3, S4. The "S" does not have to appear in the figure name, but I do want to reset the counter. ...

Adding the abstract to the front page in Latex

Hi, Included below is my LaTeX code. By default the abstract is on the first page following the title page. But the title page has lots of space below, and my abstract will be short, so is there anyway to include it below the title page components? Thanks, A code: \documentclass[12pt,reqno,a4paper,titlepage]{article} \usepackage{a...

LaTeX generated results

Say I'm writing a Java program with a GUI, and I'd like to generate nicely formated pdf results. I'm quite familiar with both LaTeX and Java, what is the best way to include the necessary LaTeX files to generate reports with my program when distributing it on windows, and then compile them with java calling the necessary programs? Edit ...

Insert code into a latex doc. without leading tabs

When I write latex I usually indent my sections like this (it allows easier folding in vim, is like reading code, etc). section{section} bla bla bla bla bla subsection{a} bla bla bla bla bla subsection{b} bla bla bla bla bla The problem is when I insert code (see below) into my document if I indent t...

Problem with emacs terminal mode

Hi, I have some problem with the Emacs terminal mode. I'm a mac user and I use Emacs downloaded from emacsformacosx.com; I installed also ESS and AucTex. I work with R, LaTex, Sweve and, I menage all with Emacs. When I want to compile the Sweave file I open the terminal and I use the "R CMD Sweave myfile.Rnw" command to generate a myf...

Override background color for subsections in LaTeX

LaTeX newbie here. I need to set background color for all my \subsection titles. Whole line should change color, not only the part of it with text. This does work: \subsection{\colorbox{Gray}{Title}} But it does not color whole line. Also I'd like to configure it in a single place for all \subsections. My google-fu is failing me. A...

Lists in Tabular Environment

So I'm writing up a CV and I would like to use the nifty itemize environment to list some things within a tabular environment. Unfortunately, things end up looking a bit , which isn't at all what I want. Specifically, I want to the itemize environment to hug closely to "BIG COMPANY NAME" so that it appears as "Software Development Int...

Semi-transparent text in beamer (pdflatex)

I want to have some text appear semi-transparent, but not in an overlay fashion (where it eventually becomes solid) just permanently semi-transparent. To complicate matters, the text in question is part of a matrix: $ \begin{matrix} & \{-2,3,5,0,8\} & \\ \{-2,3,5,0\} & & \{-2,3,5,8\} \\ & \{-2,3,5\} & \end{matri...

How to reduce the size (in MB) of pictures inserted in a PDF?

Hello, I'm writing a Master thesis when I need to include several photographs, but I've got a problem with the size of the generated PDF: 18MB, which is more or less the cumulated size of all the picture included. How can I tell Latex not to keep the original picture and reduce it, but to shrink the picture before including it in the P...

PNG Graphics won't display in LaTeX

Hi all, I have trouble with graphics in LaTeX. I am using Kil under ubuntu. I first tried including .png images, then got the classic no bounding box error. When I switched to .eps, I got no errors but no images in the input! Included graphics package: \usepackage{graphicx} And used a simple: \includegraphics{figures/arch2.eps}...

LaTex, trying to use \ref{} or \autoref{} to a label in an appendix shows up empty in pdf

Trying to use \ref{} or \autoref{} to a label in an appendix, but it just shows up as empty with \ref{} and 'Section' with no number/letter for \autoref{}. I'm not sure if I'm misreading examples out there, or if I have a package conflict... % MainFile.tex Details of obfuscation of evil are provided in \autoref{app:One}. \appendix ...