Graphics, Figures & TablesI could not cope with Tabular package.. Help appreciated

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
man2011
Posts: 43
Joined: Tue Jan 11, 2011 4:19 am

I could not cope with Tabular package.. Help appreciated

Post by man2011 »

Hi guys,

once again. I am using maktex 2010 on my Imac. the previos one was on my windows and I used the tabular package unfortunataly I lost this package i do not have it anymore.. what i thought is that this package may be installed but the problem is with my codes.. please guys I need this package I fail to find it online... and I want to make sure that the template I made for a table is correct. below is sample.tex .... can you help with this??

please see the reply below where you can see the codes

:mrgreen:
Last edited by man2011 on Thu Jan 13, 2011 5:11 pm, edited 2 times in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

man2011
Posts: 43
Joined: Tue Jan 11, 2011 4:19 am

I could not cope with Tabular package.. Help appreciated

Post by man2011 »

the sample.tex above is not the one I intended to paste it here. because the above one lacks this code:

Code: Select all

\usepackage{tabular}
so here is the one I want you to ckeck and help me with it

Code: Select all

\documentclass[a4paper,12pt]{scrartcl}
\usepackage{tabular}
\begin{document}

\section*{Abstract}
Gapping in Hijazi Arabic (HA) illustrated in (1) is breifly a coordinate structure wherein the initial conjuct is syntacticaly complete, and the non-intial conjunct is incomplete. Therefore, the non-initial conjuncts share some material(s) which are overtly spelt-out in the initial conjunct. 

\begin{tabular}[t]{r|c|c|c|}
\cline{2-4}
      & /qi/  & qi    & qi         \\
\LCC 
      &       &       & \lightgray \\ \cline{2-4}
\hand & [qi]  &       & *          \\ \cline{2-4}
      & [*qi] & *!    &            \\ \cline{2-4}
\ECC
\end{tabular}
\end{document}
the error I get is

Code: Select all

This is pdfTeX, Version 3.1415926-1.40.11 (TeX Live 2010)
 restricted \write18 enabled.
entering extended mode
(./work.tex
LaTeX2e <2009/09/24>
Babel <v3.8l> and hyphenation patterns for english, dumylang, nohyphenation, ge
rman-x-2009-06-19, ngerman-x-2009-06-19, afrikaans, ancientgreek, ibycus, arabi
c, armenian, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danis
h, dutch, ukenglish, usenglishmax, esperanto, estonian, farsi, finnish, french,
 galician, german, ngerman, swissgerman, monogreek, greek, hungarian, icelandic
, assamese, bengali, gujarati, hindi, kannada, malayalam, marathi, oriya, panja
bi, tamil, telugu, indonesian, interlingua, irish, italian, kurmanji, lao, lati
n, latvian, lithuanian, mongolian, mongolianlmc, bokmal, nynorsk, polish, portu
guese, romanian, russian, sanskrit, serbian, slovak, slovenian, spanish, swedis
h, turkish, turkmen, ukrainian, uppersorbian, welsh, loaded.
(/usr/local/texlive/2010/texmf-dist/tex/latex/koma-script/scrartcl.cls
Document Class: scrartcl 2010/09/17 v3.07 KOMA-Script document class (article)
(/usr/local/texlive/2010/texmf-dist/tex/latex/koma-script/scrkbase.sty
(/usr/local/texlive/2010/texmf-dist/tex/latex/koma-script/scrbase.sty
(/Users/muhammadalzaidi/Library/texmf/tex/latex/graphics/keyval.sty)
(/usr/local/texlive/2010/texmf-dist/tex/latex/koma-script/scrlfile.sty
Package scrlfile, 2009/03/25 v3.03 KOMA-Script package (loading files)
                  Copyright (C) Markus Kohm

))) (/usr/local/texlive/2010/texmf-dist/tex/latex/koma-script/tocbasic.sty)
(/usr/local/texlive/2010/texmf-dist/tex/latex/koma-script/scrsize12pt.clo)
(/usr/local/texlive/2010/texmf-dist/tex/latex/koma-script/typearea.sty
Package typearea, 2010/09/17 v3.07 KOMA-Script package (type area)
                  Copyright (C) Frank Neukam, 1992-1994
                  Copyright (C) Markus Kohm, 1994-

))

! LaTeX Error: File `tabular.sty' not found.

Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)

Enter file name: 
help, please :D
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

I could not cope with Tabular package.. Help appreciated

Post by frabjous »

I've never heard of a package called "tabular", and there is nothing on CTAN with that name.

However, your sample code seems to be stolen from this webpage, and uses the obsolete colortab package, and a command \hand, which is to be defined using the pifont package. Try something like this:

Code: Select all

\documentclass[a4paper,12pt]{scrartcl}
\usepackage{colortab}
\usepackage{pifont}
\newcommand{\hand}{\ding{43}}
\begin{document}

\section*{Abstract}
Gapping in Hijazi Arabic (HA) illustrated in (1) is breifly a coordinate structure wherein the initial conjuct is syntacticaly complete, and the non-intial conjunct is incomplete. Therefore, the non-initial conjuncts share some material(s) which are overtly spelt-out in the initial conjunct.

\begin{tabular}[t]{r|c|c|c|}
\cline{2-4}
      & /qi/  & qi    & qi         \\
\LCC
      &       &       & \lightgray \\ \cline{2-4}
\hand & [qi]  &       & *          \\ \cline{2-4}
      & [*qi] & *!    &            \\ \cline{2-4}
\ECC
\end{tabular}
\end{document}
Personally, to make this work, I had to copy the file colortab.tex into my current working directory so that LaTeX would find it, but I'm not really sure why.
man2011
Posts: 43
Joined: Tue Jan 11, 2011 4:19 am

Re: I could not cope with Tabular package.. Help appreciated

Post by man2011 »

thank you. it is working now..
standino
Posts: 1
Joined: Wed Jan 26, 2011 12:17 am

Re: I could not cope with Tabular package.. Help appreciated

Post by standino »

The problem is that the correct package is "tabularx", not "tabular":-)
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

I could not cope with Tabular package.. Help appreciated

Post by frabjous »

standino wrote:The problem is that the correct package is "tabularx", not "tabular":-)
No, there is nothing in the code posted that involves tabularx, and the problem has already been solved.
Post Reply