Table with multirow and multicolumnCombining multirow and multicolumnFormatting of Tables in Latex, using multirow and multicolumn togetherUsing multicolumn and multirow together with spreadtabcan anyone help me this table in latex?Problem with Multicolumn and Multirow tableLatex table with MultirowProblem with multicolumn and multirowCreating complex table with multicolumn and multirowMultirow and Multicolumn with missing linesBorder with multirow and multicolumnmultirow and multicolumn tableStruggling with multirow and multicolumnTrouble with table using multirow and multicolumn

What will happen if my luggage gets delayed?

What is the "determinant" of two vectors?

School performs periodic password audits. Is my password compromised?

Movie: boy escapes the real world and goes to a fantasy world with big furry trolls

When an outsider describes family relationships, which point of view are they using?

Why aren't there more Gauls like Obelix?

How can I portion out frozen cookie dough?

Traveling to heavily polluted city, what practical measures can I take to minimize impact?

Does an unused member variable take up memory?

Will expression retain the same definition if particle is changed?

I can't die. Who am I?

Having the player face themselves after the mid-game

Are small insurances worth it?

How can a demon take control of a human body during REM sleep?

Should we avoid writing fiction about historical events without extensive research?

Why is there an extra space when I type "ls" on the Desktop?

How should I solve this integral with changing parameters?

Is there a logarithm base for which the logarithm becomes an identity function?

Do Cubics always have one real root?

Too soon for a plot twist?

Why does Central Limit Theorem break down in my simulation?

Help! My Character is too much for her story!

How do spaceships determine each other's mass in space?

How do we create new idioms and use them in a novel?



Table with multirow and multicolumn


Combining multirow and multicolumnFormatting of Tables in Latex, using multirow and multicolumn togetherUsing multicolumn and multirow together with spreadtabcan anyone help me this table in latex?Problem with Multicolumn and Multirow tableLatex table with MultirowProblem with multicolumn and multirowCreating complex table with multicolumn and multirowMultirow and Multicolumn with missing linesBorder with multirow and multicolumnmultirow and multicolumn tableStruggling with multirow and multicolumnTrouble with table using multirow and multicolumn













1















I want to create a table with multirow and multicolumn in LaTeX.



I tried some post 1, 2, 3 to create my table but because I wasn't able to create my table.



Please help me with LaTeX code for the table given below.




enter image description here



I wrote this code so far:



begintabularp3cm 
hline
multicolumn4ctextbfCrop field location info \
hline
textbfDistrict name & textbfTehsil name & textbfUC name
& textbfUC #\ & & &\
hline
multicolumn4ctextbfFarmer's info \
hline
textbfFarmer name & textbfFarmer contact #
& multicolumn2ctextbfFarmer's land holding (acres) \
& & multicolumn2c \
hline
textbfItem & textbfUnit & textbfRate/Unit & textbfTotal Cost\
hline
endtabular









share|improve this question



















  • 1





    Please tell us what you've tried so far, LaTeX-wise. Please also tell us more about the document class, the font, the font size, and the width and height of the text block that are in use in your document.

    – Mico
    Jun 23 '15 at 6:32







  • 1





    In your tabular there is no multirow, just multicolumn

    – touhami
    Jun 23 '15 at 7:02











  • @Mico I wrote this code so far; begintabular hline multicolumn4ctextbfCrop field location info \ hline textbfDistrict name & textbfTehsil name & textbfUC name & textbfUC #\ & & &\ hline multicolumn4ctextbfFarmer's info \ hline textbfFarmer name & textbfFarmer contact # & multicolumn2ctextbfFarmer's land holding (acres) \ & & multicolumn2c \ hline textbfItem & textbfUnit & textbfRate/Unit & textbfTotal Cost\ hline endtabular

    – Muhammad Toseef
    Jun 23 '15 at 8:22












  • But I don't know that what to do for column separtion for Unit -- Quantity and Rate/Unit -- All Cost.

    – Muhammad Toseef
    Jun 23 '15 at 8:24






  • 2





    I have edited you code in the comment into the question. It is better to add code there because it is easier to preserve linebreaks etc.

    – Andrew Swann
    Jun 23 '15 at 8:33















1















I want to create a table with multirow and multicolumn in LaTeX.



I tried some post 1, 2, 3 to create my table but because I wasn't able to create my table.



Please help me with LaTeX code for the table given below.




enter image description here



I wrote this code so far:



begintabularp3cm 
hline
multicolumn4ctextbfCrop field location info \
hline
textbfDistrict name & textbfTehsil name & textbfUC name
& textbfUC #\ & & &\
hline
multicolumn4ctextbfFarmer's info \
hline
textbfFarmer name & textbfFarmer contact #
& multicolumn2ctextbfFarmer's land holding (acres) \
& & multicolumn2c \
hline
textbfItem & textbfUnit & textbfRate/Unit & textbfTotal Cost\
hline
endtabular









share|improve this question



















  • 1





    Please tell us what you've tried so far, LaTeX-wise. Please also tell us more about the document class, the font, the font size, and the width and height of the text block that are in use in your document.

    – Mico
    Jun 23 '15 at 6:32







  • 1





    In your tabular there is no multirow, just multicolumn

    – touhami
    Jun 23 '15 at 7:02











  • @Mico I wrote this code so far; begintabular hline multicolumn4ctextbfCrop field location info \ hline textbfDistrict name & textbfTehsil name & textbfUC name & textbfUC #\ & & &\ hline multicolumn4ctextbfFarmer's info \ hline textbfFarmer name & textbfFarmer contact # & multicolumn2ctextbfFarmer's land holding (acres) \ & & multicolumn2c \ hline textbfItem & textbfUnit & textbfRate/Unit & textbfTotal Cost\ hline endtabular

    – Muhammad Toseef
    Jun 23 '15 at 8:22












  • But I don't know that what to do for column separtion for Unit -- Quantity and Rate/Unit -- All Cost.

    – Muhammad Toseef
    Jun 23 '15 at 8:24






  • 2





    I have edited you code in the comment into the question. It is better to add code there because it is easier to preserve linebreaks etc.

    – Andrew Swann
    Jun 23 '15 at 8:33













1












1








1








I want to create a table with multirow and multicolumn in LaTeX.



I tried some post 1, 2, 3 to create my table but because I wasn't able to create my table.



Please help me with LaTeX code for the table given below.




enter image description here



I wrote this code so far:



begintabularp3cm 
hline
multicolumn4ctextbfCrop field location info \
hline
textbfDistrict name & textbfTehsil name & textbfUC name
& textbfUC #\ & & &\
hline
multicolumn4ctextbfFarmer's info \
hline
textbfFarmer name & textbfFarmer contact #
& multicolumn2ctextbfFarmer's land holding (acres) \
& & multicolumn2c \
hline
textbfItem & textbfUnit & textbfRate/Unit & textbfTotal Cost\
hline
endtabular









share|improve this question
















I want to create a table with multirow and multicolumn in LaTeX.



I tried some post 1, 2, 3 to create my table but because I wasn't able to create my table.



Please help me with LaTeX code for the table given below.




enter image description here



I wrote this code so far:



begintabularp3cm 
hline
multicolumn4ctextbfCrop field location info \
hline
textbfDistrict name & textbfTehsil name & textbfUC name
& textbfUC #\ & & &\
hline
multicolumn4ctextbfFarmer's info \
hline
textbfFarmer name & textbfFarmer contact #
& multicolumn2ctextbfFarmer's land holding (acres) \
& & multicolumn2c \
hline
textbfItem & textbfUnit & textbfRate/Unit & textbfTotal Cost\
hline
endtabular






tables multicol multirow






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 9 mins ago









CarLaTeX

32.9k551136




32.9k551136










asked Jun 23 '15 at 6:08









Muhammad ToseefMuhammad Toseef

1441111




1441111







  • 1





    Please tell us what you've tried so far, LaTeX-wise. Please also tell us more about the document class, the font, the font size, and the width and height of the text block that are in use in your document.

    – Mico
    Jun 23 '15 at 6:32







  • 1





    In your tabular there is no multirow, just multicolumn

    – touhami
    Jun 23 '15 at 7:02











  • @Mico I wrote this code so far; begintabular hline multicolumn4ctextbfCrop field location info \ hline textbfDistrict name & textbfTehsil name & textbfUC name & textbfUC #\ & & &\ hline multicolumn4ctextbfFarmer's info \ hline textbfFarmer name & textbfFarmer contact # & multicolumn2ctextbfFarmer's land holding (acres) \ & & multicolumn2c \ hline textbfItem & textbfUnit & textbfRate/Unit & textbfTotal Cost\ hline endtabular

    – Muhammad Toseef
    Jun 23 '15 at 8:22












  • But I don't know that what to do for column separtion for Unit -- Quantity and Rate/Unit -- All Cost.

    – Muhammad Toseef
    Jun 23 '15 at 8:24






  • 2





    I have edited you code in the comment into the question. It is better to add code there because it is easier to preserve linebreaks etc.

    – Andrew Swann
    Jun 23 '15 at 8:33












  • 1





    Please tell us what you've tried so far, LaTeX-wise. Please also tell us more about the document class, the font, the font size, and the width and height of the text block that are in use in your document.

    – Mico
    Jun 23 '15 at 6:32







  • 1





    In your tabular there is no multirow, just multicolumn

    – touhami
    Jun 23 '15 at 7:02











  • @Mico I wrote this code so far; begintabular hline multicolumn4ctextbfCrop field location info \ hline textbfDistrict name & textbfTehsil name & textbfUC name & textbfUC #\ & & &\ hline multicolumn4ctextbfFarmer's info \ hline textbfFarmer name & textbfFarmer contact # & multicolumn2ctextbfFarmer's land holding (acres) \ & & multicolumn2c \ hline textbfItem & textbfUnit & textbfRate/Unit & textbfTotal Cost\ hline endtabular

    – Muhammad Toseef
    Jun 23 '15 at 8:22












  • But I don't know that what to do for column separtion for Unit -- Quantity and Rate/Unit -- All Cost.

    – Muhammad Toseef
    Jun 23 '15 at 8:24






  • 2





    I have edited you code in the comment into the question. It is better to add code there because it is easier to preserve linebreaks etc.

    – Andrew Swann
    Jun 23 '15 at 8:33







1




1





Please tell us what you've tried so far, LaTeX-wise. Please also tell us more about the document class, the font, the font size, and the width and height of the text block that are in use in your document.

– Mico
Jun 23 '15 at 6:32






Please tell us what you've tried so far, LaTeX-wise. Please also tell us more about the document class, the font, the font size, and the width and height of the text block that are in use in your document.

– Mico
Jun 23 '15 at 6:32





1




1





In your tabular there is no multirow, just multicolumn

– touhami
Jun 23 '15 at 7:02





In your tabular there is no multirow, just multicolumn

– touhami
Jun 23 '15 at 7:02













@Mico I wrote this code so far; begintabular hline multicolumn4ctextbfCrop field location info \ hline textbfDistrict name & textbfTehsil name & textbfUC name & textbfUC #\ & & &\ hline multicolumn4ctextbfFarmer's info \ hline textbfFarmer name & textbfFarmer contact # & multicolumn2ctextbfFarmer's land holding (acres) \ & & multicolumn2c \ hline textbfItem & textbfUnit & textbfRate/Unit & textbfTotal Cost\ hline endtabular

– Muhammad Toseef
Jun 23 '15 at 8:22






@Mico I wrote this code so far; begintabular hline multicolumn4ctextbfCrop field location info \ hline textbfDistrict name & textbfTehsil name & textbfUC name & textbfUC #\ & & &\ hline multicolumn4ctextbfFarmer's info \ hline textbfFarmer name & textbfFarmer contact # & multicolumn2ctextbfFarmer's land holding (acres) \ & & multicolumn2c \ hline textbfItem & textbfUnit & textbfRate/Unit & textbfTotal Cost\ hline endtabular

– Muhammad Toseef
Jun 23 '15 at 8:22














But I don't know that what to do for column separtion for Unit -- Quantity and Rate/Unit -- All Cost.

– Muhammad Toseef
Jun 23 '15 at 8:24





But I don't know that what to do for column separtion for Unit -- Quantity and Rate/Unit -- All Cost.

– Muhammad Toseef
Jun 23 '15 at 8:24




2




2





I have edited you code in the comment into the question. It is better to add code there because it is easier to preserve linebreaks etc.

– Andrew Swann
Jun 23 '15 at 8:33





I have edited you code in the comment into the question. It is better to add code there because it is easier to preserve linebreaks etc.

– Andrew Swann
Jun 23 '15 at 8:33










2 Answers
2






active

oldest

votes


















1














Your effort for prepare MWE is to minimal :_), so I down wrote from your image only beginning of table. For your table you don't need multirow cells. An simple solution is as follows:



documentclassarticle

%just for show only a table
usepackage[active,tightpage]preview
PreviewEnvironmenttabular
setlengthPreviewBorder1em


begindocument
sffamily
small
renewcommandarraystretch1.2
begintabularp0.15textwidth

hline
multicolumn5cCrop field location info\
hline
District name &
multicolumn2cTehsil name
& UC name & UC # \[2em]
hline
multicolumn5cFarmer's info \
hline
Farmer name &
multicolumn2cFarmer contract #
&
multicolumn2cFarmer's Land holdings (acres) \[2em]
hline
Item & Unit & Quality & Rate/Unit & All cost \
hline
% repeat regarding to your table contents ...
multicolumn1
&
multicolumn4 cLand preparation cost \
hline
Ploughing & planking (Bullocks)
& Rs./Hr & & & \
hline
etc & & & & \
hline
endtabular
enddocument


enter image description here






share|improve this answer






























    1














    You could use the multicol package for this task. Here I have an example of the first few rows:



    documentclassarticle
    usepackagemulticol

    begindocument

    begintabularp2cm
    hline
    multicolumn5ctextbfCrop field location info \
    hline
    textbfDistrict name & multicolumn2ctextbfTehsil name
    & textbfUC name & textbfUC #\
    & multicolumn2c & &\
    hline
    multicolumn5ctextbfFarmer's info \
    hline
    textbfFarmer name & multicolumn2ctextbfFarmer contact #
    & multicolumn2ctextbfFarmer's land holding (acres) \
    & multicolumn2c & multicolumn2c \
    hline
    textbfItem & textbfUnit & textbfQuantity & textbfRate/Unit & textbfTotal Cost\
    hline
    & multicolumn4 ctextbfLand preparation cost \
    hline
    Ploughing & planking (Bullocks) & Rs./hr & & & \
    hline
    Leveling (Bullocks) & Rs./hr & & & \
    hline
    endtabular

    enddocument


    More information on the correct usage can be found at latex_tables






    share|improve this answer

























    • there is no need to multicol package

      – touhami
      Jun 23 '15 at 7:03











    • @lenxn I wrote the below code so far but I don't know what to do for column division for below the 'Farmer contact #' and 'Farmer's Land holding (coloumns)'. The code is in the next comment.

      – Muhammad Toseef
      Jun 23 '15 at 8:21











    • begintabular hline multicolumn4ctextbfCrop field location info \ hline textbfDistrict name & textbfTehsil name & textbfUC name & textbfUC #\ & & &\ hline multicolumn4ctextbfFarmer's info \ hline textbfFarmer name & textbfFarmer contact # & multicolumn2ctextbfFarmer's land holding (acres) \ & & multicolumn2c \ hline textbfItem & textbfUnit & textbfRate/Unit & textbfTotal Cost\ hline endtabular

      – Muhammad Toseef
      Jun 23 '15 at 8:21











    • I just noticed, that most of the table has five columns, so i think the best way to go is to use a tabular with initially five columns. I have updated my code example accordingly.

      – lenxn
      Jun 23 '15 at 9:05










    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "85"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f251648%2ftable-with-multirow-and-multicolumn%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    1














    Your effort for prepare MWE is to minimal :_), so I down wrote from your image only beginning of table. For your table you don't need multirow cells. An simple solution is as follows:



    documentclassarticle

    %just for show only a table
    usepackage[active,tightpage]preview
    PreviewEnvironmenttabular
    setlengthPreviewBorder1em


    begindocument
    sffamily
    small
    renewcommandarraystretch1.2
    begintabularp0.15textwidth

    hline
    multicolumn5cCrop field location info\
    hline
    District name &
    multicolumn2cTehsil name
    & UC name & UC # \[2em]
    hline
    multicolumn5cFarmer's info \
    hline
    Farmer name &
    multicolumn2cFarmer contract #
    &
    multicolumn2cFarmer's Land holdings (acres) \[2em]
    hline
    Item & Unit & Quality & Rate/Unit & All cost \
    hline
    % repeat regarding to your table contents ...
    multicolumn1
    &
    multicolumn4 cLand preparation cost \
    hline
    Ploughing & planking (Bullocks)
    & Rs./Hr & & & \
    hline
    etc & & & & \
    hline
    endtabular
    enddocument


    enter image description here






    share|improve this answer



























      1














      Your effort for prepare MWE is to minimal :_), so I down wrote from your image only beginning of table. For your table you don't need multirow cells. An simple solution is as follows:



      documentclassarticle

      %just for show only a table
      usepackage[active,tightpage]preview
      PreviewEnvironmenttabular
      setlengthPreviewBorder1em


      begindocument
      sffamily
      small
      renewcommandarraystretch1.2
      begintabularp0.15textwidth

      hline
      multicolumn5cCrop field location info\
      hline
      District name &
      multicolumn2cTehsil name
      & UC name & UC # \[2em]
      hline
      multicolumn5cFarmer's info \
      hline
      Farmer name &
      multicolumn2cFarmer contract #
      &
      multicolumn2cFarmer's Land holdings (acres) \[2em]
      hline
      Item & Unit & Quality & Rate/Unit & All cost \
      hline
      % repeat regarding to your table contents ...
      multicolumn1
      &
      multicolumn4 cLand preparation cost \
      hline
      Ploughing & planking (Bullocks)
      & Rs./Hr & & & \
      hline
      etc & & & & \
      hline
      endtabular
      enddocument


      enter image description here






      share|improve this answer

























        1












        1








        1







        Your effort for prepare MWE is to minimal :_), so I down wrote from your image only beginning of table. For your table you don't need multirow cells. An simple solution is as follows:



        documentclassarticle

        %just for show only a table
        usepackage[active,tightpage]preview
        PreviewEnvironmenttabular
        setlengthPreviewBorder1em


        begindocument
        sffamily
        small
        renewcommandarraystretch1.2
        begintabularp0.15textwidth

        hline
        multicolumn5cCrop field location info\
        hline
        District name &
        multicolumn2cTehsil name
        & UC name & UC # \[2em]
        hline
        multicolumn5cFarmer's info \
        hline
        Farmer name &
        multicolumn2cFarmer contract #
        &
        multicolumn2cFarmer's Land holdings (acres) \[2em]
        hline
        Item & Unit & Quality & Rate/Unit & All cost \
        hline
        % repeat regarding to your table contents ...
        multicolumn1
        &
        multicolumn4 cLand preparation cost \
        hline
        Ploughing & planking (Bullocks)
        & Rs./Hr & & & \
        hline
        etc & & & & \
        hline
        endtabular
        enddocument


        enter image description here






        share|improve this answer













        Your effort for prepare MWE is to minimal :_), so I down wrote from your image only beginning of table. For your table you don't need multirow cells. An simple solution is as follows:



        documentclassarticle

        %just for show only a table
        usepackage[active,tightpage]preview
        PreviewEnvironmenttabular
        setlengthPreviewBorder1em


        begindocument
        sffamily
        small
        renewcommandarraystretch1.2
        begintabularp0.15textwidth

        hline
        multicolumn5cCrop field location info\
        hline
        District name &
        multicolumn2cTehsil name
        & UC name & UC # \[2em]
        hline
        multicolumn5cFarmer's info \
        hline
        Farmer name &
        multicolumn2cFarmer contract #
        &
        multicolumn2cFarmer's Land holdings (acres) \[2em]
        hline
        Item & Unit & Quality & Rate/Unit & All cost \
        hline
        % repeat regarding to your table contents ...
        multicolumn1
        &
        multicolumn4 cLand preparation cost \
        hline
        Ploughing & planking (Bullocks)
        & Rs./Hr & & & \
        hline
        etc & & & & \
        hline
        endtabular
        enddocument


        enter image description here







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jun 23 '15 at 9:29









        ZarkoZarko

        127k868165




        127k868165





















            1














            You could use the multicol package for this task. Here I have an example of the first few rows:



            documentclassarticle
            usepackagemulticol

            begindocument

            begintabularp2cm
            hline
            multicolumn5ctextbfCrop field location info \
            hline
            textbfDistrict name & multicolumn2ctextbfTehsil name
            & textbfUC name & textbfUC #\
            & multicolumn2c & &\
            hline
            multicolumn5ctextbfFarmer's info \
            hline
            textbfFarmer name & multicolumn2ctextbfFarmer contact #
            & multicolumn2ctextbfFarmer's land holding (acres) \
            & multicolumn2c & multicolumn2c \
            hline
            textbfItem & textbfUnit & textbfQuantity & textbfRate/Unit & textbfTotal Cost\
            hline
            & multicolumn4 ctextbfLand preparation cost \
            hline
            Ploughing & planking (Bullocks) & Rs./hr & & & \
            hline
            Leveling (Bullocks) & Rs./hr & & & \
            hline
            endtabular

            enddocument


            More information on the correct usage can be found at latex_tables






            share|improve this answer

























            • there is no need to multicol package

              – touhami
              Jun 23 '15 at 7:03











            • @lenxn I wrote the below code so far but I don't know what to do for column division for below the 'Farmer contact #' and 'Farmer's Land holding (coloumns)'. The code is in the next comment.

              – Muhammad Toseef
              Jun 23 '15 at 8:21











            • begintabular hline multicolumn4ctextbfCrop field location info \ hline textbfDistrict name & textbfTehsil name & textbfUC name & textbfUC #\ & & &\ hline multicolumn4ctextbfFarmer's info \ hline textbfFarmer name & textbfFarmer contact # & multicolumn2ctextbfFarmer's land holding (acres) \ & & multicolumn2c \ hline textbfItem & textbfUnit & textbfRate/Unit & textbfTotal Cost\ hline endtabular

              – Muhammad Toseef
              Jun 23 '15 at 8:21











            • I just noticed, that most of the table has five columns, so i think the best way to go is to use a tabular with initially five columns. I have updated my code example accordingly.

              – lenxn
              Jun 23 '15 at 9:05















            1














            You could use the multicol package for this task. Here I have an example of the first few rows:



            documentclassarticle
            usepackagemulticol

            begindocument

            begintabularp2cm
            hline
            multicolumn5ctextbfCrop field location info \
            hline
            textbfDistrict name & multicolumn2ctextbfTehsil name
            & textbfUC name & textbfUC #\
            & multicolumn2c & &\
            hline
            multicolumn5ctextbfFarmer's info \
            hline
            textbfFarmer name & multicolumn2ctextbfFarmer contact #
            & multicolumn2ctextbfFarmer's land holding (acres) \
            & multicolumn2c & multicolumn2c \
            hline
            textbfItem & textbfUnit & textbfQuantity & textbfRate/Unit & textbfTotal Cost\
            hline
            & multicolumn4 ctextbfLand preparation cost \
            hline
            Ploughing & planking (Bullocks) & Rs./hr & & & \
            hline
            Leveling (Bullocks) & Rs./hr & & & \
            hline
            endtabular

            enddocument


            More information on the correct usage can be found at latex_tables






            share|improve this answer

























            • there is no need to multicol package

              – touhami
              Jun 23 '15 at 7:03











            • @lenxn I wrote the below code so far but I don't know what to do for column division for below the 'Farmer contact #' and 'Farmer's Land holding (coloumns)'. The code is in the next comment.

              – Muhammad Toseef
              Jun 23 '15 at 8:21











            • begintabular hline multicolumn4ctextbfCrop field location info \ hline textbfDistrict name & textbfTehsil name & textbfUC name & textbfUC #\ & & &\ hline multicolumn4ctextbfFarmer's info \ hline textbfFarmer name & textbfFarmer contact # & multicolumn2ctextbfFarmer's land holding (acres) \ & & multicolumn2c \ hline textbfItem & textbfUnit & textbfRate/Unit & textbfTotal Cost\ hline endtabular

              – Muhammad Toseef
              Jun 23 '15 at 8:21











            • I just noticed, that most of the table has five columns, so i think the best way to go is to use a tabular with initially five columns. I have updated my code example accordingly.

              – lenxn
              Jun 23 '15 at 9:05













            1












            1








            1







            You could use the multicol package for this task. Here I have an example of the first few rows:



            documentclassarticle
            usepackagemulticol

            begindocument

            begintabularp2cm
            hline
            multicolumn5ctextbfCrop field location info \
            hline
            textbfDistrict name & multicolumn2ctextbfTehsil name
            & textbfUC name & textbfUC #\
            & multicolumn2c & &\
            hline
            multicolumn5ctextbfFarmer's info \
            hline
            textbfFarmer name & multicolumn2ctextbfFarmer contact #
            & multicolumn2ctextbfFarmer's land holding (acres) \
            & multicolumn2c & multicolumn2c \
            hline
            textbfItem & textbfUnit & textbfQuantity & textbfRate/Unit & textbfTotal Cost\
            hline
            & multicolumn4 ctextbfLand preparation cost \
            hline
            Ploughing & planking (Bullocks) & Rs./hr & & & \
            hline
            Leveling (Bullocks) & Rs./hr & & & \
            hline
            endtabular

            enddocument


            More information on the correct usage can be found at latex_tables






            share|improve this answer















            You could use the multicol package for this task. Here I have an example of the first few rows:



            documentclassarticle
            usepackagemulticol

            begindocument

            begintabularp2cm
            hline
            multicolumn5ctextbfCrop field location info \
            hline
            textbfDistrict name & multicolumn2ctextbfTehsil name
            & textbfUC name & textbfUC #\
            & multicolumn2c & &\
            hline
            multicolumn5ctextbfFarmer's info \
            hline
            textbfFarmer name & multicolumn2ctextbfFarmer contact #
            & multicolumn2ctextbfFarmer's land holding (acres) \
            & multicolumn2c & multicolumn2c \
            hline
            textbfItem & textbfUnit & textbfQuantity & textbfRate/Unit & textbfTotal Cost\
            hline
            & multicolumn4 ctextbfLand preparation cost \
            hline
            Ploughing & planking (Bullocks) & Rs./hr & & & \
            hline
            Leveling (Bullocks) & Rs./hr & & & \
            hline
            endtabular

            enddocument


            More information on the correct usage can be found at latex_tables







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Jun 23 '15 at 9:11

























            answered Jun 23 '15 at 7:01









            lenxnlenxn

            153210




            153210












            • there is no need to multicol package

              – touhami
              Jun 23 '15 at 7:03











            • @lenxn I wrote the below code so far but I don't know what to do for column division for below the 'Farmer contact #' and 'Farmer's Land holding (coloumns)'. The code is in the next comment.

              – Muhammad Toseef
              Jun 23 '15 at 8:21











            • begintabular hline multicolumn4ctextbfCrop field location info \ hline textbfDistrict name & textbfTehsil name & textbfUC name & textbfUC #\ & & &\ hline multicolumn4ctextbfFarmer's info \ hline textbfFarmer name & textbfFarmer contact # & multicolumn2ctextbfFarmer's land holding (acres) \ & & multicolumn2c \ hline textbfItem & textbfUnit & textbfRate/Unit & textbfTotal Cost\ hline endtabular

              – Muhammad Toseef
              Jun 23 '15 at 8:21











            • I just noticed, that most of the table has five columns, so i think the best way to go is to use a tabular with initially five columns. I have updated my code example accordingly.

              – lenxn
              Jun 23 '15 at 9:05

















            • there is no need to multicol package

              – touhami
              Jun 23 '15 at 7:03











            • @lenxn I wrote the below code so far but I don't know what to do for column division for below the 'Farmer contact #' and 'Farmer's Land holding (coloumns)'. The code is in the next comment.

              – Muhammad Toseef
              Jun 23 '15 at 8:21











            • begintabular hline multicolumn4ctextbfCrop field location info \ hline textbfDistrict name & textbfTehsil name & textbfUC name & textbfUC #\ & & &\ hline multicolumn4ctextbfFarmer's info \ hline textbfFarmer name & textbfFarmer contact # & multicolumn2ctextbfFarmer's land holding (acres) \ & & multicolumn2c \ hline textbfItem & textbfUnit & textbfRate/Unit & textbfTotal Cost\ hline endtabular

              – Muhammad Toseef
              Jun 23 '15 at 8:21











            • I just noticed, that most of the table has five columns, so i think the best way to go is to use a tabular with initially five columns. I have updated my code example accordingly.

              – lenxn
              Jun 23 '15 at 9:05
















            there is no need to multicol package

            – touhami
            Jun 23 '15 at 7:03





            there is no need to multicol package

            – touhami
            Jun 23 '15 at 7:03













            @lenxn I wrote the below code so far but I don't know what to do for column division for below the 'Farmer contact #' and 'Farmer's Land holding (coloumns)'. The code is in the next comment.

            – Muhammad Toseef
            Jun 23 '15 at 8:21





            @lenxn I wrote the below code so far but I don't know what to do for column division for below the 'Farmer contact #' and 'Farmer's Land holding (coloumns)'. The code is in the next comment.

            – Muhammad Toseef
            Jun 23 '15 at 8:21













            begintabular hline multicolumn4ctextbfCrop field location info \ hline textbfDistrict name & textbfTehsil name & textbfUC name & textbfUC #\ & & &\ hline multicolumn4ctextbfFarmer's info \ hline textbfFarmer name & textbfFarmer contact # & multicolumn2ctextbfFarmer's land holding (acres) \ & & multicolumn2c \ hline textbfItem & textbfUnit & textbfRate/Unit & textbfTotal Cost\ hline endtabular

            – Muhammad Toseef
            Jun 23 '15 at 8:21





            begintabular hline multicolumn4ctextbfCrop field location info \ hline textbfDistrict name & textbfTehsil name & textbfUC name & textbfUC #\ & & &\ hline multicolumn4ctextbfFarmer's info \ hline textbfFarmer name & textbfFarmer contact # & multicolumn2ctextbfFarmer's land holding (acres) \ & & multicolumn2c \ hline textbfItem & textbfUnit & textbfRate/Unit & textbfTotal Cost\ hline endtabular

            – Muhammad Toseef
            Jun 23 '15 at 8:21













            I just noticed, that most of the table has five columns, so i think the best way to go is to use a tabular with initially five columns. I have updated my code example accordingly.

            – lenxn
            Jun 23 '15 at 9:05





            I just noticed, that most of the table has five columns, so i think the best way to go is to use a tabular with initially five columns. I have updated my code example accordingly.

            – lenxn
            Jun 23 '15 at 9:05

















            draft saved

            draft discarded
















































            Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f251648%2ftable-with-multirow-and-multicolumn%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Isabella Eugénie Boyer Biographie | Références | Menu de navigationmodifiermodifier le codeComparator to Compute the Relative Value of a U.S. Dollar Amount – 1774 to Present.

            Lioubotyn Sommaire Géographie | Histoire | Population | Notes et références | Liens externes | Menu de navigationlubotin.kharkov.uamodifier« Recensements et estimations de la population depuis 1897 »« Office des statistiques d'Ukraine : population au 1er janvier 2010, 2011 et 2012 »« Office des statistiques d'Ukraine : population au 1er janvier 2011, 2012 et 2013 »Informations officiellesCartes topographiquesCarte routièrem

            Mpande kaSenzangakhona Biographie | Références | Menu de navigationmodifierMpande kaSenzangakhonavoir la liste des auteursm