pdflatex

How to create a project planning using LaTex ?

I am not looking for a GANTT planning. I am looking for a calendar with the deadline on it. Do you know what is the best way to do that with LaTeX ? Thanks ...

Merging cells in LaTeX tables

Hi there, I have a very simple table: \begin{table}[t] \begin{tabular}{|c||c|c|c|} \hline \multirow{2}{*}{Implementation} & Test 1 & Test2 & Test3 \\\hline & \multicolumn{3}{|c|}{results} \\\hline\hline \end{tabular} \end{table} It works almost "perfect", the only problem that I...

Setting up author or address string variables in LaTeX

LaTeX is a wonderful language for writing documents. With the hyperref package and pdflatex, you easily generate documents with metadata, a nice feature to get your documents referenced right on the web. I often use templates like: \documentclass[11pt]{article} \usepackage[pdftex, pdfusetitle,colorlinks=false,pdfborder={0 0 0}]{hyperre...

Link to external application in LaTeX Beamer

Is there a way to link to an external application (so that it starts) when clicking on a link in a PDF file, e.g. in a beamer class LaTeX file? ...

LaTex compilation doesn't generate output

Can't generate the output of my LaTex document (using TeXnicCenter). At the end of the log he says: Latex-Result: 0 Error(s), 0 Warning(s), 0 Bad Box(es), 0 Page(s) and correspondingly the viewer says it couldn't find the file. I have defined the path of the pdf viewer but it didn't help. The path of the source document doesn't c...

Including date and time in Tex File

Hello, The latex file is giving the following error ! LaTeX Error: File `datetime.sty' not found. Here is the Latex Code : \usepackage{datetime} Please let me know, if I am missing something. I am using Debian 3.1 Linux Machine. Would appreciate any useful pointers or help. Thanks Kiran ...

Compiling LaTex bib source

Hi I am writing my thesis in Latex, and I have the references in an own thesis.bib file which look as follows @Article{xxx, author = "D.A. Reinhard", title = "Case Study", year = "1985", } and I reference them in my main document as ~\cite{xxx} When I compile then the main document with: pdflatex main.tex ...

include figure files in latex

Hi, I am trying to include jpeg files in latex \includegraphics[width=57.6mm, height=43.2mm]{../../results2/html/zerooneloss_stumps.jpg} With specified the width and height and compiled with pdflatex, however, it produces the error: ! LaTeX Error: Cannot determine size of graphic in ../../results2/html/zerooneloss_stumps.jpg (no B...

Programming R/Sweave for proper \Sexpr output

Hi I'm having a bit of a problem programming R for Sweave, and the #rstats twitter group often points here, so I thought I'd put this question to the SO crowd. I'm an analyst- not a programmer- so go easy on me my first post. Here's the problem: I am drafting a survey report in Sweave with R and would like to report the marginal return...

How to rotate table-headline in Latex table

Hi, is there a way to rotate the "Demo 1", "Demo2" and "Demo 3" headlines 90° in the following LaText table? \documentclass[a4paper,twoside,10pt]{report} \begin{document} \begin{tabular}{|l|l|l|l|} \hline & Demo1 & Demo2 & Demo3 \\ \hline Person 1 & x & & \\ \hline Person 2 & x & & x \\ \hline Person 3 & x & x & \\ \hline Pe...

How do I use TrueType fonts with LaTeX

I need to use a font family in my LaTeX documents, that is available as 18 .TTF (TrueTypeFont) files. Where do I have to copy the files in my MiKTeX 2.8 installation? How Do I make the fonts to available for LaTeX? I usually use pdfLaTeX. I read in Truetype-Fonts in LaTeX that TTF fonts are available without creating all the .TFM file...

Latex Inverse search from a pdf in Okular to TexMaker

I am using TexMaker of Karmic Ubuntu with Okular. I use pdfLatex to compile and I view the PDFs in Okular. How can I configure Okular to inverse search with TexMaker? I have tried the following code: texmaker %f -line %l but it does not work. I have tried double clicking, ctrl+click, shift+click, ctrl+shift+click, ctrl+alt+click, alt+s...

Rowcolor on a multirow tabular in LaTeX

So I tried learning LaTeX last night, and I trying to get this template for school assignments done ASAP. Part of that requires building a table. I want to use multirow, but need the multirows, that are acting like headings, to be colored gray. This is what I created so far from the almighty Google. % My Simple Table Example \docume...

Latex - Is it possible to have text on top of images?

I want to create something like a leaflet/magazine using Latex. Is it possible to place text on top of an image and style the text freely? Any links to examples of something like this? ...

Problem with adding Appendix in Latex

Hi all, I tried the first time to add an appendix to my thesis, here are the commands that I used. \appendix \chapter{Appendices} \input{appendix} The output looks than as follows: Appendix A Appendices A.1 My first appendix ..... It does not look to bad, but what is irritating is the Appendices entry after Appendix A. Is ther...

LaTeX printing only first two pages of a document

I am working in LaTeX, and when I create a pdf file (using LaTeX button or pdfLaTeX button or using yap) the pdf has only the first two pages. No errors. It just stops. If I make the first page longer by adding text, it still stops at end of 2nd page. Any ideas? OK, responding to first comment, here is the code \documentclass{artic...

Vim script to compile TeX source and launch PDF only if no errors

Hi, I am switching to using Vim for for my LaTeX editing environment. I would like to be able to tex the source file from within Vim, and launch an external viewing if the compile was successful. I know about the Vim-Latex suite, but, if possible, would prefer to avoid using it: it is pretty heavy-weight, hijacks a lot of my keys, and ...

Is there a LaTeX command that will log to the output/error console?

I have created a LaTeX \todo{} command which outputs todo notes in the margin (following the [nice marginpars example here][1]): \newcommand\todo[1]{\marginpar{#1}} However, I'd really like to output a list of all my todo notes to the output console. I had written a trivial python script to parse .tex files to do so, but have since sw...

Algorithm that spans two pages in Latex

i have a long algorithm that i need to put in a report. i am using latex for this report. but due to the length of the algorithm it is more than one page but i cannot get it to fit into the next page. i am new to latex. can someone tell me how to do this? i am new to latex. ...

Why does Tex/Latex not speed up in subsequent runs?

I really wonder, why even recent systems of Tex/Latex do not use any caching to speed up later runs. Every time that I fix a single comma*, calling Latex costs me about the same amount of time, because it needs to load and convert every single picture file. (* I know that even changing a tiny comma could affect the whole structure but o...