random findings by wt8008
RSS icon Home icon
  • LaTeX and Posters

    Posted on May 14th, 2010 wt8008 No comments

    I needed to produce a poster for my project and of course I could not stay away from LaTeX for this job. A package I chose to use was sciposter, it has some standard poster sizes built in (no help for us in the USA), and typically it is used with the multicol environment. The rest works just like normal LaTeX, except you document is now limited to a column. Some other classes allows more flexible placement and uses many minipages to layout the poster.

    A quick template for sciposter

    \documentclass[custom,landscipe]{sciposter}
    \pagestyle{empty}
    \usepackage{multicol}
    
    % Page size commands for dvips, pspdf converters
    % Tri-fold poster board size
    \special{papersize=48in,36in}
    % Prevent dvips making document upside down
    \special{! TeXDict begin /landplus90{true}store end} 
    
    \title{Sciposter Template}
    \author{wt8008}
    
    \begin{document}
    \maketitle
    \begin{multicols*}{4}
    % Content Here
    \end{multicols*}
    \end{document}

    The custom option to the class allows you to define your own custom paper size in a file `papercustom.cfg’ here is mines

    % file papercustom.cfg, M.H.F. Wilkinson
    % custom paper support
    % for sciposter.cls v1.10 and higher
    % edit pointsize, width, height, and fontsize parameters as needed
    % DO ensure that values in the \special commands match!
    \renewcommand{\papertype}{custom}
    \renewcommand{\fontpointsize}{25pt}
    \setlength{\paperwidth}{36in}
    \setlength{\paperheight}{48in}
    \renewcommand{\setpspagesize}{
      \ifthenelse{\equal{\orientation}{portrait}}{
        \special{papersize=36in,48in}
        }{\special{papersize=48in,36in}
        }
     }

    Of course everything is explained in the documentation, so take a look at that for more detail at CTAN.

    For printing the poster, use poster(1)

    sudo aptitude install poster

    It will take in a postscript file and split the file up with overlapping areas to help you put the pages back together. Make sure you read and understand the poster assembly instructions in the man page for the proper way of putting it together. Suggested usage:

    poster -v -p48x36i infile.ps > outfile.ps
  • Kile DVItoPDF

    Posted on October 20th, 2008 wt8008 No comments

    The dvi-to-pdf setting in Kile produceds A4 by default, another missed A4 paper size setting. Set the build settings in Kile to

    Command: dvipdfmx
    Options: -p letter ‘%S.dvi’

    Now the pdf’s produced from dvi files will be of proper size.

  • mineTex Installed

    Posted on November 16th, 2007 wt8008 No comments

    I got a plugin from Dahnielson’s blog. The URL for the cgi script that renders the tex images has changed, so then I had to update the URL for the plugin’s php file.

    V = I R

    Seems there is a limit on the usage of that public server, as my second equation gets a message telling me to install mimetex on my own server, perhaps I’ll get one of my friends to host it for me. xD

  • Kile Settings – Letter Paper

    Posted on December 6th, 2006 wt8008 No comments

    After creating a dvi file from running latex, I usually convert to pdf from within Kile, using the DVItoPDF icon which actually runs dvipdfm. The output pdf is always in A4 size, while of course I want letter size paper, so to fix this change the DVItoPDF settings in Kile to add a switch

    DVItoPDF Settings

    Command: dvipdfm
    Options: -p letter ‘%S.dvi’

    For pdftex, you can add the hyperref package which will produce the letter sized paper, if defined in the document class.

    \usepackage{hyperref}

    For dvips, to permently change the output to letter for your user account or system (depending on which method is used) see: https://engineering.purdue.edu/~mark/puthesis/faq/margins-dvips/ The site would suggest running

    texconfig dvips paper letter

    for changing the config file for the user’s account to output for letter paper.