7 March 2010 Comments

How to write a book with R and LaTeX

How to write a book with R and LaTeX

Think faster than “How to write a book in 28 days”. With the freely available R language you can create a book in less than 28 seconds. Unfortunately, you still have to write the text and do the programming. What you can do is integrate the R code and text into the same files, then [...]


Tags: ,
7 March 2010 Comments

Howto Create Great Presentations using Beamer, Sweave and LaTeX

Howto Create Great Presentations using Beamer, Sweave and LaTeX

To achieve this goal, we need use the concept of literate programming, yet another one of Donald Knuth’s contributions to the world. LP “represents a move away from writing programs in the manner and order imposed by the computer, and instead enables programmers to develop programs in the order demanded by the logic and flow [...]


Tags: , , ,
7 March 2010 Comments

LaTeXSearch: Search for LaTeX code Within Scientific Publications

LaTeXSearch, a free service provided by Springer, affords the scientific community the ability to search for LaTeX code within scientific publications. LaTeXSearch allows users to locate and view the following:

Equations containing specific LaTeX code.
Equations containing LaTeX code that is similar to another LaTeX string.
All equations belonging to a specific DOI.
All equations belonging to an article [...]


20 February 2010 Comments

Howto Use IEEE LaTeX Template in LyX

This is how I use IEEE template in LyX, first of all, you will need to select the document class as: article(IEEEtrans). IEEE tend to use a fancy large first letter as the beginning of the article, and top header reserved for both journal title and page number. Especially to note that, IEEE require the [...]


Tags: , ,
8 February 2010 Comments

Use LaTeX in Powerpoint

Tool 1: BlackHC’s PowerPoint Tools
Currently contains two PowerPoint 2007 addins: PowerPointLaTeX – an addin that allows you to embed LaTeX formulas into your presentations more easily and in a more user-friendly way than comparable software (TexPoint for example). LanguagePainter – a tiny tool to help you create presentations in languages different from your keyboard layout [...]


Tags:
26 January 2010 Comments

LaTeX Template Explained

Just a short template with some packages included:
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657\documentclass[a4paper,12pt]{article}

% let’s use some nice packages
\usepackage{times}
\usepackage{amssymb}
\usepackage{amsmath}
% set all margins to 2.5 cm
\usepackage[margin=2.5cm]{geometry}
% for fancy and easy modification of header and footer
\usepackage{fancyhdr}
% include hyperlinks in pdf file
\usepackage{hyperref}
% decide if run PdfTeX or LaTeX
\ifx\pdfoutput\undefined
% we are running LaTeX, not pdflatex
\usepackage{graphicx}
\else
% we are running pdflatex, so convert .eps files to .pdf
\usepackage[pdftex]{graphicx}
\usepackage{epstopdf}
\fi

% [...]


Tags: ,
26 January 2010 Comments

Use Conditional (\ifdefined) in LaTeX – Tips

Inpendently typeset document fragments

Inserting the fragments. Problem: \input does not handle relative paths in the inserted files correctly. Solution: package import, command \subimport{dir/}{file}
Hiding the preamble. Problem: package ifthen provides commands for conditional text inclusion, but this package can only be included after the preamble. Solution: use \ifdefined

12345678910 % main document
 \newcommand{marker}{}

% subdocument
\ifdefined\marker
% things that only [...]


Tags:
25 January 2010 Comments

Animations in PDF using LaTeX

I am using LaTeX (started with LaTeX 2.09, followed by LaTeX 3e and now XeTeX) with a WYSIWYG LyX for everything technical and scientific (reports, articles, thesis, presentations). In the last year I changed to pdfTeX in order to obtain directly pdf file output without intermediate steps like dvi and ps, and to replace eps [...]


Tags: , ,