Tutorial for writing lab reports in LaTeX and Overleaf

Поделиться
HTML-код
  • Опубликовано: 20 июл 2024
  • An introductory tutorial by Andrew Falkowski on using LaTeX and Overleaf to create beautiful documents and reports. This video covers everything you need to create a basic LaTeX documents with equations, figures, tables, and references from scratch. The video also includes some recommended settings for document elements to speed up the writing process.
    Photos used in this video from @simonsarris on instagram: simonsarris...
  • НаукаНаука

Комментарии • 139

  • @XgamersXdimensions
    @XgamersXdimensions 2 года назад +28

    This was super amazing and helpful to learn from!
    My advanced physics lab in Uni is making me use LaTeX for our Lab Reports and I've never used it before so I was banging my head against the wall trying to figure stuff out.

  • @satrickptar6265
    @satrickptar6265 Год назад +10

    I learned everything within 1 hour, and already made a decent lab report using LaTex. They really should teach this in high school as an optional class for those who wanna pursue STEM.

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

      Right? I can't believe it took me so long to adopt it

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

    i love when he tests it out for us

  • @jgarces2011
    @jgarces2011 2 года назад +12

    Just FYI,...Not to be picky, but you mention to input a "Forward slash" in your tutorials, but it is actually a "BACKSLASH" (\) that is needed. This is on behalf of a friend who is legally blind and relies on what is said vs seen. Thanks. Great tutorial by the way and please keep it up. Thank you.

    • @TaylorSparks
      @TaylorSparks  2 года назад +9

      Not nit picky at all! Thanks for the heads up!

    • @jgarces2011
      @jgarces2011 2 года назад +3

      @@TaylorSparks Thank you and once again,...I love to watch your videos and tutorials. I have learned a lot from them and use that knowledge all the time. I also send my colleagues and friends this link as well. Thanks once again.

  • @elifnurdayi9897
    @elifnurdayi9897 3 года назад +1

    Thank you so much this was very helpful and clear!

  • @DetectiveIncognito
    @DetectiveIncognito 3 года назад +1

    Brilliant tutorial. What was the name of that excel to latex tool you mentioned? Thanks.

  • @mc_v6237
    @mc_v6237 2 года назад +1

    Realy helpful to get into latex in a walk-along fashion👍

  • @erfanosman1227
    @erfanosman1227 3 года назад +2

    I think the reason table captions are on top is that tables can be so long and can span several pages, you don't want to scroll all the way down to the bottom to see what the table is about

  • @MoutaaMadani
    @MoutaaMadani 3 года назад +4

    Thank you so much am from north africa and you were so helpful :D Am actually writing my final study project report and I needed to know such things about latex and overleaf

  • @JwalinBhatt
    @JwalinBhatt 2 года назад +1

    Very helpful video, thanks a lot. I am not getting a hyperlink on the citations, could someone please let me know how to fix it?

  • @manalelabidi3161
    @manalelabidi3161 2 года назад +2

    this was straight up awesome

  • @carolinepottinger9884
    @carolinepottinger9884 2 года назад

    Hi,
    great tutorial! I have a question concerning \setlenght{\parindent}{0em} - it did not work and it said '0em' in the document. Thanks in advance!

  • @nathanmartin1122
    @nathanmartin1122 2 года назад +1

    Great tutorial, thanks!

  • @BrownPen_BluePen
    @BrownPen_BluePen 3 года назад

    When you have a table with many figures, for example I have a 6x4 data table. How do I adjust the spacing between them so that everything fits nicely?

  • @Lilobeetle
    @Lilobeetle 3 года назад +12

    Hi Taylor, this was a great introduction. I'm planning to use LaTex for writing my bachelor's thesis and this confirmed my plan, since it looks quite easy. I was wondering if there's any way I could access the document you created in this tutorial to build on that and maybe make notes. Thanks in advance! Greetings from Germany :)

    • @TaylorSparks
      @TaylorSparks  3 года назад

      Unfortunately we didn't keep a copy! If you follow along you can get the final version though.

    • @mdejong2328
      @mdejong2328 3 года назад +1

      I recommend TeXmacs, the better way to type mathematics.

  • @rhiannbevan421
    @rhiannbevan421 2 года назад

    Great Tutorial!
    Question: I need my document to be in 2 columns so I used the multicol package, which wont support the figures or tables. I tried the wrapfig package but the text goes all down the side.
    Do you have a way of making your document 2-column friendly?

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

      Just check a template in overleaf for code... Simple right 👍

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

    Thank you, this is indeed helpful

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

    Super helpful big thanks!

  • @luthier78
    @luthier78 2 года назад

    The all is very interesting, I have one question though. The essays I have to produce has to be in word. Am not sure but exist the possibility to write the essay in LateX pass in pdf and then in word not altering nothing in the last passage ( or directly from lateX to word still not altering nothing ? ) otherwise I had to bow my head to the sad Word processor

  • @shade6750
    @shade6750 9 месяцев назад +1

    Very useful. Thank you

  • @ourradiyasmina4165
    @ourradiyasmina4165 2 года назад +6

    Hi Taylor, Thanks for the amazing tutorial. I just started using LaTex and you made it so quick and easy. I have a question though if you don't mind me asking. I am writing my text then I add a figure under it, but when I add a new text block under the figure the order of the paragraphs is messed up and the figure is dividing the new text. Thanks for helping !

    • @ivanchudyk6129
      @ivanchudyk6129 2 года назад

      Hello, try setting the parameter of your figure environment as 'h', which means here. For example, \begin{figure}[h] .... \end{figure}. This makes LaTeX to approximate the placement of the figure in the part of the document where you want it to be. I say approximate because sometimes it doesn't work. You can't use 'h!' to force it. Instead, you need to use the package float. This package provides the figure environment the H parameter, which actually forces LaTeX to move the figure in the document exactly where you place it on the source code, or in other words, where you want it to be.

  • @hassanhijazi4757
    @hassanhijazi4757 3 года назад +5

    Hi Taylor, Thank for the tutorial. I learned alot. I have an extra question concerning the table:
    1- How to give a gray background for the top row with using rules.
    2- How to let the table span multiple pages.
    Thanks in advance.

    • @TaylorSparks
      @TaylorSparks  3 года назад +2

      How to color a table
      tex.stackexchange.com/questions/94799/how-do-i-color-table-columns
      Make table span multiple pages
      tex.stackexchange.com/questions/26462/make-a-table-span-multiple-pages
      If you google what you want it to do, you can almost always find a tutorial or solution out there ;)

    • @alexandreb2000
      @alexandreb2000 3 года назад

      Hi Taylor, thanks again!
      I followed your tutorial but the bibliography does not show up at all.
      Do you know how to fix this?

    • @darkeagle999
      @darkeagle999 3 года назад

      @@alexandreb2000 Have you created the references.bib file?

    • @Maniclout
      @Maniclout 2 года назад

      @@alexandreb2000
      For the bibliography to show you need to keep in mind the following:
      1)
      You must import the package and link to the bib file where you paste all your references. I am using biblatex so that would be
      \usepackage[backend=biber,
      style=alphabetic,
      sorting=nyt]{biblatex}
      \addbibresource{references.bib}
      2)
      For biblatex you must add something like
      \printbibliography[heading=bibintoc,
      title={References}]
      somewhere in a tex file of the document
      3)
      The bibliography shows up only when there is at least one reference cited in the document. References do no show up in the bibliography when they are not cited.
      For example:
      \cite[~p.1]{Einstein_Electro-dynamik}
      4)
      You need to make sure that your references in the .bib file do not contain characters in inappropriate places that 'break' the bibliography and cause it to not show up. I've had this happen a couple times. So test if each reference works before adding the next reference. Also make sure each category of the reference is seperated by a comma. If you miss one comma, the whole bibliography breaks.
      For example:
      @article{einstein,
      author = "Albert Einstein",
      title = "{Zur Elektrodynamik bewegter K{\"o}rper}. ({German})
      [{On} the electrodynamics of moving bodies]",
      journal = "Annalen der Physik",
      volume = "322",
      number = "10",
      pages = "891--921"
      year = "1905",
      DOI = "dx.doi.org/10.1002/andp.19053221004",
      keywords = "physics"
      }
      will break the document because there is a comma missing in the "pages" category. Once the comma is added, the bibliography works fine.

  • @blerman13
    @blerman13 2 года назад

    I'm brand new to LaTeX,
    I would like to know how to make an email, with blue color and with hyperlink as MS Word is making it?
    Thanks

  • @_the_bomb
    @_the_bomb 2 года назад

    Hi there! Is there anywhere where we can access the project file? There are quite a few lines (specifically the settings and such) that would be quite tedious to type by hand that I would love to copy and paste directly into my document.

    • @TaylorSparks
      @TaylorSparks  2 года назад

      Unfortunately we didn't save a copy! I would love it if you could go through it and then send me the text. I would then make it available for other people who want to watch this video.

  • @user-fq7qr4cu3s
    @user-fq7qr4cu3s 3 года назад

    Please tell me how to use MS Mincho font.🙏

  • @jackshi7613
    @jackshi7613 2 года назад +1

    keep going, so good video, I love it

  • @bitajamshidi3000
    @bitajamshidi3000 2 года назад

    thank`s . was really helpfull :)

  • @jahidtanvir
    @jahidtanvir 2 года назад +1

    Thank you so much

  • @shivanikamble1501
    @shivanikamble1501 2 года назад

    Thank you so much!

  • @coolisfoolable
    @coolisfoolable 3 года назад +1

    loved the tutorial!

    • @TaylorSparks
      @TaylorSparks  3 года назад

      Glad to help!

    • @janmeyer6958
      @janmeyer6958 3 года назад +1

      TeXmacs is even cooler, don't get fooled by LaTeX!

  • @VikasRaj_Hyd
    @VikasRaj_Hyd 2 года назад

    Can I change font to times new roman ?

  • @user-nt5qr2ef5w
    @user-nt5qr2ef5w 4 месяца назад

    I tried to do an abstract with the same ruler-style design, but my lines didn't center themselves even after I applied some text. Do you know how can I fix that maybe?

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

    ITS REALLY WORKED LOL THANK YOU DUDE

  • @vanduyenvimaru6835
    @vanduyenvimaru6835 3 года назад +1

    Thank you for your tutorial.
    Can I have a question?
    I am wondering about the data security when using Latex on Overleaf.
    Could you please give me any suggestions?
    Best regards.

    • @TaylorSparks
      @TaylorSparks  3 года назад +2

      I haven't had any problems. It has a function where you can share the document with coworkers. It also has a possibility to share it with anybody who has a link. I guess if you shared it with anybody who has a link you might have security concerns, but if you just make sure you know who has the length or you use the login feature then I would not be worried about it.

  • @luthier78
    @luthier78 2 года назад

    Is very very nice all of these ! and how to add header with photo and text

  • @arsalanhayat4468
    @arsalanhayat4468 2 года назад +1

    ThAnx alOt brO it has wOrked alOt fOr me 😘 reAlly appreciate yOur effOrt ❤

    • @TaylorSparks
      @TaylorSparks  2 года назад

      Lololol. 💪🏻💪🏻💪🏻

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

    Awesome tutorial. well done!

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

      Glad to help

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

      @@TaylorSparks do you have more advanced tutorials on the topic?

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

      @@georgettewebb nope. What are you looking for more specifically? I could always make another video

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

      @@TaylorSparks I was just about to start looking at your python tutorials. I’ve just recently got into data science and started using colab and streamlit. I understand the basics of python and pandas. I’m struggling to do matplotlib and seaborn visualisation on streamlit. Like histograms, boxplot, scatterplots.

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

      @@georgettewebb I've got just what you're looking for. I put up a series of three videos on making beautiful plots with matplotlib. Here's a link to the first one. In the video description you will find the links to the second and third video ruclips.net/video/rUV8VFbUi_U/видео.html

  • @rajkc4945
    @rajkc4945 3 года назад +1

    Thank you

  • @ShakeelAhmad-tf6lz
    @ShakeelAhmad-tf6lz 2 года назад

    Hello dear ant kind of book about Latex is available in pdf ?

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

    how to fix a dictionary in overleaf, i'm writing French text and it shows all underline. like grammatical faults

  • @julitopabriga9094
    @julitopabriga9094 3 года назад

    It is blurred when displayed on a laptop. Would it be possible instead to provide a copy of the source code? In that way your followers could follow on what you are discussing. Regards.

    • @TaylorSparks
      @TaylorSparks  3 года назад

      We didn't keep a copy! My student will release a guide soon

  • @aymensekhri2133
    @aymensekhri2133 2 года назад +1

    Thank you very much for this amazing video. Could you share the project files with us?

    • @TaylorSparks
      @TaylorSparks  2 года назад +1

      Unfortunately, we didn't save the file afterwards. If you want to follow along with the video you will be able to recreate it though! In fact, if you send me that file afterwards I will post it to a GitHub so other people can have access.

  • @jobsmine
    @jobsmine 3 года назад

    HEY WHERE CAN I GET THE FORMATTING OF YOUR CODE FOR THE LATEX TUTORIAL? I WANT TO USE IT.

    • @TaylorSparks
      @TaylorSparks  3 года назад

      We will make file available soon!

    • @jobsmine
      @jobsmine 3 года назад

      @@TaylorSparks I don’t know who you are. I don’t know what you want. If you are looking for ransom, I can tell you I don’t have money. But what I do have are a very particular set of skills, skills I have acquired over a very long career. Skills that would make me a big fan of yours. That’ll be the end of it. I will look for you, I will pursue you. and I will subscribe for you.lol

    • @TaylorSparks
      @TaylorSparks  3 года назад

      @@jobsmine 🤣🤣🤣

  • @Ihavetoreturnsomevideotapes
    @Ihavetoreturnsomevideotapes 3 года назад

    can you please upload this to github of google drive

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

    Do you provide a template to the following lab experiment above?

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

      Unfortunately I do not. I didn't save the file. However, if you go through the exercise you will have it at the end 😁

  • @johirislam8174
    @johirislam8174 2 года назад

    I got a problem for formating in overleaf of MDPI manuscript.When i
    paste my abstruct into the format they are not accept my abstruct
    because in my abstruct there is (%) sign involved. So how can i solve
    that.Please help me by giving the code

    • @TaylorSparks
      @TaylorSparks  2 года назад

      \% works I think.

    • @johirislam8174
      @johirislam8174 2 года назад

      @@TaylorSparks It works thanks. But i got another problem.I want to format a table and in my table i have to add 𝜇 this sign .But it dosenot appear. So what should i do for its appearance.

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

    sir it is really amazing video .one thing to know how to save this document in pdf formate

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

      On the right side, in green text compile then there is a download button next to it. This will give a pdf

  • @ericwuluglayjr8446
    @ericwuluglayjr8446 3 года назад

    Thanks sir ......
    But I am NOT seeing any link to this tutorial in the description❤

    • @TaylorSparks
      @TaylorSparks  3 года назад +1

      Unfortunately he didn't keep a copy of this file. However, if you go through the tutorial then you'll have a copy yourself :)

    • @ericwuluglayjr8446
      @ericwuluglayjr8446 3 года назад +1

      @@TaylorSparks, sure ....thanks so much 🙏🙏🙏🇱🇷

  • @hichamcharifi9634
    @hichamcharifi9634 2 года назад

    Plz. Share it in box description

  • @shivanikamble1501
    @shivanikamble1501 2 года назад +1

    How do I add pictures on LaTeX?

    • @TaylorSparks
      @TaylorSparks  2 года назад

      I think we cover this in the video

  • @Dr_ks
    @Dr_ks 2 года назад

    my question is " why we need latex when we have everything in MS word". I tried it and it was literally hard for each different document. for similar kind of documents, it can be good ( I don't know) or some math stuff .

    • @TaylorSparks
      @TaylorSparks  2 года назад

      There is a learning curve for latex. At first it's harder than word. I resisted at first too. Eventually you'll notice all your peers doing the best work are using latex though.

    • @Dr_ks
      @Dr_ks 2 года назад

      @@TaylorSparks Well I spent sometime last year on latex/TeX , however I didn't convince myself, though python language is also in latex style, however, MS word provide the same mathematical latex expressions now. And it's actually pretty fast to work on MS word especially when handling figures from Google. Or from text books. Then I tried to download some books on latex and there were only few, means it's versatility is also limited. It makes even more complicated when we try to add 3D figures from. Abode packages.. its my opinion.

    • @TaylorSparks
      @TaylorSparks  2 года назад

      @@Dr_ks fair enough. If word works for you, go for it :)

    • @Dr_ks
      @Dr_ks 2 года назад

      @@TaylorSparks would you share more videos on latex ? If there is any like how to link latex reports with python calculations? In that case, latex would be awesome. Discussion sometimes generates ideas..

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

    can you post the source / template?

  • @pallabnandi9617
    @pallabnandi9617 3 года назад

    Can you send me the overleaf link @Taylor Sparks?

    • @TaylorSparks
      @TaylorSparks  3 года назад

      I actually didn't save it! you can follow along with the video and prepare it yourself though!

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

    Can we get the code pls

  • @ABhattacharya
    @ABhattacharya 2 года назад +1

    Is it for non-math students too?

  • @Vyantri
    @Vyantri 2 года назад

    Latex is like 200 megs. That's a tiny file fize.

  • @Ihavetoreturnsomevideotapes
    @Ihavetoreturnsomevideotapes 3 года назад

    20:10

  • @Ihavetoreturnsomevideotapes
    @Ihavetoreturnsomevideotapes 3 года назад

    32:11

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

    The problem is that to many people think that the fluid from plants is only about sex. Don't be scared, be proud of your X.

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

    TeX was completed in 1985, not the 70's. TeX is a program, not an "algorithm". The 'X' in TeX is meant to represent the Greek letter chi, which is pronounced like a gutteral 'k'.

    • @dacramac3487
      @dacramac3487 5 месяцев назад

      It was first released by Donald Knuth in 1978.

  • @shipbaiter
    @shipbaiter 2 года назад

    LaTeX is gonna have it's way haha 6:54

  • @mdejong2328
    @mdejong2328 3 года назад +4

    TeXmacs, the better way to type mathematics and lab reports.

    • @Pablo-wg1lw
      @Pablo-wg1lw 3 года назад +1

      Hi Taylor, could you make such a nice tutorial for TeXmacs? Please :-)

  • @jacksonwalker2814
    @jacksonwalker2814 2 года назад

    12/30/21 11:00

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

    Just a correction that it is backward slash! all good otherwise

  • @anidakaric9162
    @anidakaric9162 3 года назад

    Hi,can you help me?

    • @TaylorSparks
      @TaylorSparks  3 года назад

      Maybe. What's up?

    • @anidakaric9162
      @anidakaric9162 3 года назад

      @@TaylorSparks do you have Instagram to reach out to you?

    • @TaylorSparks
      @TaylorSparks  3 года назад

      @@anidakaric9162 @t_sparks

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

    Installing it on your computer doesn’t require any more updates than any other software.

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

      But it can be big and is harder to collaborate

  • @keiraferrari7764
    @keiraferrari7764 2 года назад

    \LaTeX

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

    Thiscan be done more efficiently in MS Word with Latex. It is totally unnecessary to use this on its own in 2022. Too many physicists and mathematicians are stuck with a system they can't move away from.
    Nature, for example, prefers submissions in Word, as the journal’s typesetting system requires this format, says Simon Gribbin, Nature’s managing production editor. Still, around one in ten accepted submissions are in LaTeX format; these are converted to Word before being passed to copy-editors, he says.
    But at Nature Physics, which covers disciplines in which LaTeX use is widespread, the editors are more flexible about document formatting. “LaTeX is just something that physicists ‘do’,” explains chief editor Andrea Taroni. “Trying to get them to do otherwise is like trying to herd cats.”
    Read more by searching "Craft beautiful equations in Word with LaTeX"

  • @theguythatdoesmath9863
    @theguythatdoesmath9863 2 года назад

    latex 2.0 be like:
    lalatex

  • @aberystwyth11
    @aberystwyth11 3 года назад +1

    Class act Taylor top tutorial

    • @TaylorSparks
      @TaylorSparks  3 года назад

      😎😎😎

    • @aberystwyth11
      @aberystwyth11 3 года назад

      @@TaylorSparks Could I get your email for contact - I'm working on an assingment (just started PhD) and using LaTeX for the first time and unfortunantely what I'm after isn't covered in the above tutorial. Thanks.

    • @TaylorSparks
      @TaylorSparks  3 года назад

      @@aberystwyth11 sure. sparks@eng.utah.edu

  • @getowtofheyah3161
    @getowtofheyah3161 3 года назад +2

    “Lay-Tech” not “Luhtech”

    • @TaylorSparks
      @TaylorSparks  3 года назад +1

      😂😂😂😂😂forgive🙏🙏🙏🙏🙏

    • @getowtofheyah3161
      @getowtofheyah3161 3 года назад +1

      @@TaylorSparks Haha forgiven. Thanks for the video!

  • @ibitoyeadekunle2306
    @ibitoyeadekunle2306 11 дней назад

    The video is great but not clear

  • @trollmaster7048
    @trollmaster7048 3 года назад +15

    finaly a guy without indian accent

    • @TaylorSparks
      @TaylorSparks  3 года назад +1

      👀

    • @MrDzeta
      @MrDzeta 3 года назад +10

      Does this have anything to do with the quality of the content proposed (or is it just reinforcing BS stereotypes)?

    • @xjar215x
      @xjar215x 2 года назад

      @@MrDzeta it can be hard to understand if it’s a really thick accent

    • @saurabh-sharma
      @saurabh-sharma 8 месяцев назад

      A nice compliment, thank you!

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

      👁️👁️

  • @dacramac3487
    @dacramac3487 5 месяцев назад

    This is a terrible video.

    • @TaylorSparks
      @TaylorSparks  5 месяцев назад

      🤷🏻‍♂️ can't please em all!