Tables in LaTeX || Full Tutorial || Intro to LaTeX Episode 8

Поділитися
Вставка
  • Опубліковано 12 чер 2024
  • Get started with LaTeX using Overleaf: ► www.overleaf.com/?.... My thanks to Overleaf for sponsoring today's video.
    Check out the previous videos in my LaTeX playlist:
    ► • LaTeX Tutorials
    The file I used in the above video is here: www.overleaf.com/read/pjzsxng...
    Overleaf's written guide to tables is here: www.overleaf.com/learn/latex/...
    0:00 Getting started in Overleaf
    0:51 Basics of tabular
    1:45 Column alignment and vertical or horizontal lines
    2:35 Specifying widths and linebreaks
    4:41 Table properties in the preamble
    6:55 Multiple rows and columns
    10:26 Coloring cells, rows, and columns
    13:01 Formatting cells
    13:24 Alternating row colors
    14:39 The table environment, placement, captions, labels
    17:01 Other packages
    17:44 Cool Overleaf features
    This video is all about using tables in LaTeX. I'll show you the basics of the tabular environment, how to make rows and columns, vertical and horizontal lines, how to align text to the left, center, or right, how to specify widths and text breaks, multiple rows and columns, fancy colors and formatting, captions, labels, and much more!
    Check out my MATH MERCH line in collaboration with Beautiful Equations
    ►beautifulequations.net/pages/...
    COURSE PLAYLISTS:
    ►DISCRETE MATH: • Discrete Math (Full Co...
    ►LINEAR ALGEBRA: • Linear Algebra (Full C...
    ►CALCULUS I: • Calculus I (Limits, De...
    ► CALCULUS II: • Calculus II (Integrati...
    ►MULTIVARIABLE CALCULUS (Calc III): • Calculus III: Multivar...
    ►VECTOR CALCULUS (Calc IV) • Calculus IV: Vector Ca...
    ►DIFFERENTIAL EQUATIONS: • Ordinary Differential ...
    ►LAPLACE TRANSFORM: • Laplace Transforms and...
    ►GAME THEORY: • Game Theory
    OTHER PLAYLISTS:
    ► Learning Math Series
    • 5 Tips To Make Math Pr...
    ►Cool Math Series:
    • Cool Math Series
    BECOME A MEMBER:
    ►Join: / @drtrefor
    MATH BOOKS I LOVE (affilliate link):
    ► www.amazon.com/shop/treforbazett
    SOCIALS:
    ►Twitter (math based): / treforbazett
    ►Instagram (photography based): / treforphotography

КОМЕНТАРІ • 68

  • @dasunpremathilaka8703
    @dasunpremathilaka8703 Рік тому +8

    Much awaited video! I can't thank you enough for the LaTeX tutorial series, Dr. Trefor. 👏🙌

    • @DrTrefor
      @DrTrefor  Рік тому +4

      You're very welcome!

  • @tayoukachukwu3105
    @tayoukachukwu3105 Рік тому +2

    Thanks a lot for this great and useful video. Looking forward to more videos on the beauty of Latex and Overleaf

  • @keira04
    @keira04 Рік тому +4

    I've watched many of your LaTeX tutorials and now I'm comfortable to write my homework in it :)

  • @DrJaneLuciferian
    @DrJaneLuciferian Рік тому +4

    Thank you for these videos. Before I was using texmaker and switched to overleaf this semester because of the spell checker. This is only my second semester using latex, so it's still early days; your videos help a lot :^).

  • @wjrasmussen666
    @wjrasmussen666 Рік тому +1

    New Latex Video! Perfect start to Monday.

  • @physicshalt5906
    @physicshalt5906 Рік тому +2

    your videos are really great!!!! waiting for next

  • @mvpoiriervideo
    @mvpoiriervideo Рік тому +1

    This playlist series has been great for me and my students, thank you!

  • @CarlosFloresP
    @CarlosFloresP Рік тому +1

    I'm just writing this message to tell you're a god among youtubers. Your content is 10/10. Ty sir

  • @laislecchi7750
    @laislecchi7750 Рік тому

    Very useful!! Thanks 👊🤗🤗

  • @joshuaisemperor
    @joshuaisemperor Рік тому

    Thanks for these awesome videos :D

  • @TranquilSeaOfMath
    @TranquilSeaOfMath Рік тому

    Great video. I learned I didn't understand something corr8 that I was using. I also learned new things. Thank you for this help.

  • @nickbennett5233
    @nickbennett5233 9 місяців тому

    best video on tables I have seen

  • @mikawatzel3272
    @mikawatzel3272 Рік тому +2

    really cool video, helped me a lot with my physics homework.
    Looking forward to my next few projects it would be nice if you could do a tutorial on using .csv data (for combined usage of python and latex) and making automatic tables. (if thats possible anyways😅 Thank you keep up!

  • @sangeethas6439
    @sangeethas6439 3 місяці тому

    Really helpful. Thank you so much

  • @raimundopaulino4107
    @raimundopaulino4107 Рік тому

    Muito bom esse tutorial. Parabéns!

  • @mrinal01nath
    @mrinal01nath Рік тому

    Thank you , Sir for this nice tutorial .I have a little request for you. It would be really helpful if you make a video on William Feller's solution for the St. Petersburg Paradox. And also a full course on probability and statistics.

  • @FelipeBalbi
    @FelipeBalbi Рік тому +4

    Not sure if you know the package, but I find booktabs to be super helpful. 👍

  • @kuntalojha
    @kuntalojha Місяць тому +1

    very helpfull video sir

  • @julianjipe7507
    @julianjipe7507 Рік тому

    My english sucks, but bro, i understood you better than any other youtube tutorial

  • @reneriha3136
    @reneriha3136 Рік тому +3

    Although I solely type in Latex, the tables are quite cumbersome. I ussually use some online table editors which then give you the code to copy to your main document.

    • @dobiacco4471
      @dobiacco4471 Рік тому +2

      Which online table editors do you reccomend?

  • @FelipeBalbi
    @FelipeBalbi Рік тому +2

    Interesting choice for number formatting. I tend to always put numbers in math mode (between $$) and for the thousand separator I just use a small space (\,).

    • @DrTrefor
      @DrTrefor  Рік тому +3

      Oh yes, I typically do as well, this was only for trying to minimize text on the screen as that wasn't the part I was focusing on.

  • @cesarmoreno987y
    @cesarmoreno987y 11 місяців тому

    very helpful

  • @azad2546421
    @azad2546421 Рік тому

    Sir, how do you reduce empty space between text and figures / tables in Overleaf? Spacing between captions and spacing between images and text is my biggest nightmare and very grateful for any hints on these. Thank you very much

  • @T.Zy.
    @T.Zy. Рік тому

    Still trying to figure out how to put curly brackets above or below certain columns with eg. \underbrace{ (..} ) with \multicolumn but still have not found a good adjustable example in past searches.

  • @estebanfeliperojasnunez9883

    La documentación de overleaf me recomendó estos tutoriales.

  • @bicunisa
    @bicunisa Рік тому

    Rounded corners!

  • @ozgecelik7457
    @ozgecelik7457 6 місяців тому

    Thanks all these videos. I need to create a table which has pictures in it would you help me please

  • @nithinjoseph5202
    @nithinjoseph5202 10 місяців тому

    Perfect! Thanks a million! Just one question though which the video didn't address - How do I make a row-wise table in LaTeX ? By that I mean the headings should be in the rows instead of columns. Thanks.

  • @AxiomTutor
    @AxiomTutor Рік тому +2

    Some things I'd love to see in a future video if you have some thoughts about them: Making tables is a fragile nightmare! Is there a better way to make fast tables? Ideally you could just write some command, enter space- or comma-separated values, with line-breaks, and it will make a basic table (and maybe even control the styling of it in some style sheet or something). Even better if one could use tabs or other whitespace to accomplish easy and fast visual alignment of the columns. That probably doesn't exist, but if you know of anything that approximates it, would love to hear it.
    Also, how would you make macros for, say, matrices with a varying number of dimensions?
    Can you make macros for diagrammatic stuff? Like say you are going to make a document with a bunch of geometry constructions and they're all visually similar and require similar commands -- could you make a macro designed to make it quicker and easier to churn out a bunch of diagrams? And then say that you want to make a bunch of group lattices, could you then write a macro that makes this especially quick too?

  • @gregtourte5240
    @gregtourte5240 Рік тому +11

    tabu should not be used as it is now completely broken. but tabularray and nicematrix should really get a mentions these days. Also formatting number columns with siunitx.

    • @DrTrefor
      @DrTrefor  Рік тому +5

      Good suggestions, thank you!

    • @gregtourte5240
      @gregtourte5240 Рік тому +2

      @@DrTrefor I have to admit that it had been a conundrum of mine how to teach tables in latex. But I think I have settled to bypassing the original tabular and go straight for tabularray and the like, teaching what good tables should look like first and then how to do them. I find the former more important as people usually come from the Word/excel way for doing thing which, in the academic world is not the best way of doing things. One can then introduce more fancy table layout with colours and so on for presentations and posters. I guess it really depends on your usage and your audience. Tabularray also had the advantage of allowing you to fully separate the content from the presentation which fit very well in with the LaTeX way of doing things.

    • @yash1152
      @yash1152 Рік тому +1

      > _"Tabularray also had the advantage of allowing you to fully separate the content from the presentation which fit very well in with the LaTeX way of doing things."_
      @@gregtourte5240 wow, that seems very interesting

  • @singularisart2491
    @singularisart2491 Рік тому

    Could you make a video about citations?

  • @nandhinimurugan8298
    @nandhinimurugan8298 Рік тому

    I have a doubt regarding list of figures in tabular format, also which supports subfigures.

  • @HayHay4269
    @HayHay4269 8 місяців тому

    is there a way to centre the 'a' aswell, after you change the width of the column ?

  • @ashishbamta9766
    @ashishbamta9766 4 місяці тому

    Hi there
    I have a problem while writing some data in table as :
    I created 8*8 table in portait .
    Then merged first 8 columns (in 1st row)
    Merged 4 columns | merged 4 columns ( in 2nd row)
    Merege 2 columns | merged 2 columns | merged 2 columns | merged 2 columns. ( In third row)
    But when I want to write something beneath already written content in any pd the above mentioned row . It keeps on extending the row size .
    Also it gives error on using \parbox command .

  • @debojyotimondal7661
    @debojyotimondal7661 Рік тому

    i would like to know how to make a table of full page width in two column texts

  • @silentwarrior5040
    @silentwarrior5040 8 місяців тому

    When I'm using xcolor package for tables (\usepackage[table]{xcolor}), the others things in report that need xcolor package are showing errors....what should I do?

  • @breitbandfunker4332
    @breitbandfunker4332 7 місяців тому

    If I put graphics inside a table, they are always adjusted to the baseline, even if I put p in the definition. How can I fix it?

  • @internationaleconomics2327
    @internationaleconomics2327 Рік тому

    Thank you Professor. Can we import table from excel and rstudio into LaTex format?

    • @97kos
      @97kos 11 місяців тому

      Yes, it is possible, if You use online generators (Excel for sure) 😁

  • @hnkimchau
    @hnkimchau Рік тому

    How can I write angstrom symbol in overleaf? Please help me, thank you so much.😓😓😓

  • @radwanparvez
    @radwanparvez Рік тому +1

    For "multiple row" example,
    How to separate 5, 6 from 8, 9 by a horizontal line that doesn't goes through "A multiple row" ?

    • @BenjiShock
      @BenjiShock 8 місяців тому

      if you are still interested you can do this by using \cline{x-y} where x is the first row you want the line and y the last row.

  • @antocovsaraya
    @antocovsaraya Рік тому +2

    What about a really long table that is bigger than one page? Will that make an error? Thanks for the video

    • @DrTrefor
      @DrTrefor  Рік тому +2

      I linked a guide in the description that covers this issue

    • @antocovsaraya
      @antocovsaraya Рік тому

      @@DrTrefor thanks u man

  • @YourAashique
    @YourAashique 9 місяців тому

    Sir, write a book of all formulas of math in a whole video. It will be great.

  • @Angels.teachers
    @Angels.teachers 8 місяців тому

    Hi , how I can insert picture in a cell table , thank , if there is a full lesson in PDF format handle me it ,

  • @miguelbuitrago6050
    @miguelbuitrago6050 Рік тому

    How can I enter a numbered equation in a table? :')

  • @ColinGlad
    @ColinGlad Рік тому

    how to include pipe line to add column

  • @roberteaves5108
    @roberteaves5108 Рік тому +1

    This may sound like a stupid question, but how do you get Overleaf?

    • @DrTrefor
      @DrTrefor  Рік тому +1

      just go to overleaf.com! It's free too unless you need premium features

  • @kriksqq
    @kriksqq 3 місяці тому

    Can somebody tell me 1) how to do table with width equal textwidth 2) how to do vertical and horizontal alignment in cell

  • @AxiomTutor
    @AxiomTutor Рік тому

    Yeah, I'm watching all your LaTeX videos and none of the substantial math ones because ... I can just casually watch these and learn a bunch of useful stuff without effort -- in fact, I'm watching them while I study some other math topics! The substantial videos are probably more valuable, but you have to really make an effort to learn math, and can't just let them play in the background and tune in and out casually.

  • @architektradim
    @architektradim Рік тому +4

    booktabs

    • @DrTrefor
      @DrTrefor  Рік тому +3

      Ya this is a great extra package for sure

    • @architektradim
      @architektradim Рік тому

      @@DrTrefor Also tabularray is a wonderful new package that allows literally anything when it goes to tables and it is also easier to work with.

  • @97kos
    @97kos 11 місяців тому

    In my opinion, creating tables in LaTeX is one of the most painful things... In 80% I use online generators ☹️ So I hope, that Your movie will help 😁

  • @123chupachups
    @123chupachups 7 місяців тому

    Isn t it stupidly easier to do a table in excel and paste it in as image? 🤔

  • @FranciscoMNeto
    @FranciscoMNeto 9 місяців тому

    8:23 how convenient that you never tell how to put the line back in the other two columns....