Why do you think R-help is a mailing list about LaTeX?

Best,
Uwe Ligges



On 13.07.2010 23:05, Felipe Carrillo wrote:
Hi:
My head is spinning with this latex doc so hopefully after I align my tables to
the left of the page
my headache are going to be over. I always use:
\hspace*{-0.1in}
to move my figures horizontally to the left margin of the page but the table
below doesn't move at all,
but instead it gets sideways. Not sure if \begin{landscape} has something to do
with it or is just me.
I  hope someone could lend some help on this matter.

\documentclass[11pt]{article}
\usepackage{longtable,verbatim}
\usepackage{longtable,pdflscape,graphicx}
\usepackage{fmtcount,hyperref} % displaying latex counters
  %\usepackage[top=0.2inch, bottom=0.2inch, left=2cm, right=2cm]{geometry}
\usepackage{fullpage}
\usepackage{ctable}
\title{United States Department of the Interior}
\begin{document}
  %\setlength{\topmargin}{-1inch} % Just an example
\setkeys{Gin}{width=1\textwidth} % makes all the graphics scales
\maketitle
<<echo=F,results=hide>>=
reportDF<- structure(list(IDDate = c("3/12/2010", "3/13/2010", "3/14/2010",
"3/15/2010"), FirstRunoftheYear = c("33 (119 ? 119)", "n (0 ? 0)", "893 (110 ?
146)",
"140 (111 ? 150)"), SecondRunoftheYear = c("33 (71 ? 71)", "n (0 ? 0)",
"337 (67 ? 74)", "140 (68 ? 84)"), ThirdRunoftheYear = c("890 (32 ? 47)",
"n (0 ? 0)", "10,602 (32 ? 52)", "2,635 (34 ? 66)"), FourthRunoftheYear = c("0 (
? )",
"n (0 ? 0)", "0 ( ? )", "0 ( ? )"), LastRunoftheYear = c("0 ( ? )", "n (0 ? 0)",
"0 ( ? )", "0 ( ? )")), .Names = c("IDDate", "First Run of the Year", "Second
Run of the Year",
"Third Run of the Year", "Fourth Run of the Year", "Last Run of the Year"),
row.names = c(NA, 4L), class = "data.frame")
@
\begin{landscape}
\begin{table}[!tbp]
\begin{center}
\begin{tabular}{llllll}\hline\hline
\multicolumn{1}{c}{IDDate}&
\multicolumn{1}{c}{First Run of the Year}&
\multicolumn{1}{c}{Second Run of the Year}&
\multicolumn{1}{c}{Third Run of the Year}&
\multicolumn{1}{c}{Fourth Run of the Year}&
\multicolumn{1}{c}{Last Run of the Year}\tabularnewline
\hline
1&3/12/2010&33 (119 ? 119)&33 (71 ? 71)&890 (32 ? 47)&0 ( ? )&0 ( ?
)\tabularnewline
2&3/13/2010&n (0 ? 0)&n (0 ? 0)&n (0 ? 0)&n (0 ? 0)&n (0 ? 0)\tabularnewline
3&3/14/2010&893 (110 ? 146)&337 (67 ? 74)&10,602 (32 ? 52)&0 ( ? )&0 ( ?
)\tabularnewline
4&3/15/2010&140 (111 ? 150)&140 (68 ? 84)&2,635 (34 ? 66)&0 ( ? )&0 ( ?
)\tabularnewline
\hline
\end{tabular}
\end{center}
\end{table}\end{landscape}
\end{document}

Felipe D. Carrillo
Supervisory Fishery Biologist
Department of the Interior
US Fish&  Wildlife Service
California, USA




______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to