Showing posts with label LaTeX. Show all posts
Showing posts with label LaTeX. Show all posts

2012-10-05

How to change paper size for IEEE LaTeX template

(La)TeX Support for manuscript preparation: Guide to use ieeeconf.cls (based on IEEEtrans.cls) IEEEtran_HOWTO.pdf

The document sample_new.tex may be configured for US Letter paper or A4. Please note the following four important lines:

\documentclass[letterpaper, 10 pt, conference]{ieeeconf} % use above line letter sized paper

\documentclass[a4paper, 10pt, conference]{ieeeconf} % Use this line for a4 paper

\IEEEoverridecommandlockouts % Needed if you want to use the \thanks command

\overrideIEEEmargins % Needed to meet printer requirements.

2012-06-30

LaTeX text color

LaTeX text colors... courtesy of Joana!

{\textcolor{red} bla bla bla}

Available colors: @ 000-config.tex

% ---------------------------
%     PDF COLORS
% ---------------------------

% pdf package allow you to describe the colors you want to use for links

% -------------------
% COLORS by name (examples):

% RED:
\definecolor{red}{rgb}{1,0,0}
\definecolor{rltred}{rgb}{0.75,0,0}
\definecolor{webred}{rgb}{0.5,.25,0}
\definecolor{rltbrightred}{rgb}{1,0,0}
\definecolor{rltdarkred}{rgb}{0.5,0,0}

% GREEN:
\definecolor{green}{rgb}{0,1,0}
\definecolor{rltgreen}{rgb}{0,0.5,0}
\definecolor{webgreen}{rgb}{0,0.5,0}
\definecolor{rltbrightgreen}{rgb}{0,0.75,0}
\definecolor{rltdarkgreen}{rgb}{0,0,0.25}
% institutional
\definecolor{green-l2f}{rgb}{0.37,0.725,0.21}

% BLUE:
\definecolor{blue}{rgb}{0,0,1}
\definecolor{rltblue}{rgb}{0,0,0.75}
\definecolor{webblue}{rgb}{0,0,0.75}
\definecolor{rltbrightblue}{rgb}{0,0,1}
\definecolor{rltdarkblue}{rgb}{0,0,0.5}
% institutional
\definecolor{blue-phd}{rgb}{0.7,0.8,0.9}
\definecolor{blue-l2f}{rgb}{0,0.21,0.455}
\definecolor{blue-ist}{rgb}{0.055,0.30,0.486}
\definecolor{blue-ist-old}{rgb}{0.70,0.73,0.84}
\definecolor{blue-ist-new}{rgb}{0.25,0.333,0.39}

%% from WEB references:
\definecolor{white}{gray}{1}
\definecolor{black}{gray}{0}
\definecolor{gray}{gray}{0.5}
\definecolor{silver}{gray}{0.75}
\definecolor{lightgray}{gray}{0.97}

\definecolor{yellow}{rgb}{1,1,0}
\definecolor{orange}{rgb}{1,0.4,0}
\definecolor{pink}{rgb}{1,0,1}
\definecolor{purple}{rgb}{0.5,0,0.5}
\definecolor{teal}{rgb}{0,0.5,0.5}
\definecolor{navy}{rgb}{0,0,0.5}
\definecolor{aqua}{rgb}{0,1,1}
\definecolor{lime}{rgb}{0,1,0}
\definecolor{olive}{rgb}{0.5,0.5,0}
\definecolor{maroon}{rgb}{0.5,0,0}
\definecolor{brown}{rgb}{0.6,0.4,0.2}

2012-06-28

Saving Visio diagram as PDF

File-> Save As -> Change File Type to PDF (the actual description in Visio 2010 is "Save As Type...").

To get the size down to what you want, assuming you are using Visio 2010 - go to the Design ribbon at the top, and change "Size" to "Fit to Drawing"

Credits: DavidChenware @ superuser.com

2011-12-16

How to convert Excel tables to LaTeX

Ernest 10.22.09 at 09:38

I just installed excel2latex to Excel 2007. Just put the ‘.xla’ file in any folder preferably the add-in folder under “C:\Documents and Settings\\Application Data\Microsoft\AddIns\” then open up Excel > Office Button > Excel Options > Add-ins > Go and select it from the menu that appears, or browse to the folder where you put it. That should give you a button under Add-ins in Excel which works fine. At least it works for me. I am running Win XP.

Reference: http://www.johndcook.com/blog/2008/09/16/four-ways-to-convert-excel-tables-to-latex/