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

Поделиться
HTML-код
  • Опубликовано: 21 июл 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 Год назад +9

    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

  • @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 :^).

  • @keira04
    @keira04 Год назад +5

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

  • @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!

  • @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!

  • @joshuaisemperor
    @joshuaisemperor Год назад

    Thanks for these awesome videos :D

  • @laislecchi7750
    @laislecchi7750 Год назад

    Very useful!! Thanks 👊🤗🤗

  • @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.

  • @CarlosFloresP
    @CarlosFloresP Год назад +1

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

    • @DrTrefor
      @DrTrefor  Год назад +1

      Thank you so much!

  • @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 10 месяцев назад

    best video on tables I have seen

  • @FelipeBalbi
    @FelipeBalbi Год назад +4

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

  • @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.

    • @dobiacco
      @dobiacco Год назад +2

      Which online table editors do you reccomend?

  • @sangeethas6439
    @sangeethas6439 4 месяца назад

    Really helpful. Thank you so much

  • @raimundopaulino4107
    @raimundopaulino4107 Год назад

    Muito bom esse tutorial. Parabéns!

  • @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

  • @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.

  • @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.

  • @nithinjoseph5202
    @nithinjoseph5202 11 месяцев назад

    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?

  • @kuntalojha
    @kuntalojha 3 месяца назад +1

    very helpfull video sir

  • @ozgecelik7457
    @ozgecelik7457 7 месяцев назад

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

  • @nandhinimurugan8298
    @nandhinimurugan8298 Год назад

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

  • @HayHay4269
    @HayHay4269 10 месяцев назад

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

  • @cesarmoreno987y
    @cesarmoreno987y Год назад

    very helpful

  • @singularisart2491
    @singularisart2491 Год назад

    Could you make a video about citations?

  • @debojyotimondal7661
    @debojyotimondal7661 Год назад

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

  • @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

  • @julianjipe7507
    @julianjipe7507 Год назад

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

  • @internationaleconomics2327
    @internationaleconomics2327 Год назад

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

    • @97kos
      @97kos Год назад

      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 9 месяцев назад

      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.

  • @estebanfeliperojasnunez9883
    @estebanfeliperojasnunez9883 Год назад

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

  • @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

  • @ColinGlad
    @ColinGlad Год назад

    how to include pipe line to add column

  • @miguelbuitrago6050
    @miguelbuitrago6050 Год назад

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

  • @ashishbamta9766
    @ashishbamta9766 6 месяцев назад

    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 .

  • @silentwarrior5040
    @silentwarrior5040 9 месяцев назад

    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 8 месяцев назад

    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?

  • @bicunisa
    @bicunisa Год назад

    Rounded corners!

  • @Angels.teachers
    @Angels.teachers 9 месяцев назад

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

  • @kriksqq
    @kriksqq 4 месяца назад

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

  • @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

  • @YourAashique
    @YourAashique 11 месяцев назад

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

  • @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.

  • @97kos
    @97kos Год назад

    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 😁

  • @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.

  • @123chupachups
    @123chupachups 8 месяцев назад

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

  • @FranciscoMNeto
    @FranciscoMNeto 10 месяцев назад

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