Тёмный

How to write your homework using LaTeX 

Dr. Trefor Bazett
Подписаться 432 тыс.
Просмотров 118 тыс.
50% 1

Опубликовано:

 

4 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 125   
@beatoriche7301
@beatoriche7301 10 месяцев назад
As a triple major in math, English, and Latin, I got into LaTeX through my math studies, and I have been doing _everything_ in LaTeX ever since. LaTeX just offers so many options for customizing, say, the layout of books, typesetting poems and drama, adding annotations that don't disturb the reading flow, creating simple illustrations, and so much more. Whenever I try something new, I feel incompetent for like half an hour as I google some examples and try to piece together something nice-looking out of it, but in general, I wouldn't want to miss the sheer creative freedom LaTeX offers in creating wonderfully appealing documents, be they homework assignments, worksheets for students I tutor, or even entire books.
@elteammate
@elteammate 10 месяцев назад
just wait till they find out about typst ;)
@beatoriche7301
@beatoriche7301 10 месяцев назад
​@@elteammate I wouldn't know - I don't use it. Do you like it better than LaTeX?
@elteammate
@elteammate 10 месяцев назад
@@beatoriche7301 You can check out for yourself! (sorry I have written a better response a second ago, but I think it got deleted/flagged/something like that)
@DrTrefor
@DrTrefor 10 месяцев назад
cool, thanks for sharing!
@rkvkydqf
@rkvkydqf 10 месяцев назад
​@@beatoriche7301I haven't seriously used LaTeX but I do use Typst. It's less flexible than LaTeX but requires a __lot__ less Googling.
@davezhu7651
@davezhu7651 9 месяцев назад
Please keep uploading this serie. You are the best LaTeX tutor I can find. As a chemistry student I find LaTeX really useful and that you videos got me through the pain of learning LaTeX.
@NithinJune
@NithinJune 10 месяцев назад
Senior year of high school in my AP Calc BC class I started doing all of my in-class notes in LaTeX. It was a complete game changer. My notes were incredibly elegant, readable, searchable, and my favorite part-Shareable. People came to me for my notes.
@thomasplatt7329
@thomasplatt7329 10 месяцев назад
I feel lucky that you will be teaching me linear algebra in the new year. I’ll make sure I learn Latex!
@DrTrefor
@DrTrefor 10 месяцев назад
Oh fun! The TAs will definitely appreciate it - ha:D
@thomasplatt7329
@thomasplatt7329 10 месяцев назад
@@DrTrefor I will be bugging you for a game of chess at some point!
@StephenClarkOsu
@StephenClarkOsu 10 месяцев назад
I was literally JUST about to look up one of your LaTeX videos to get some inspiration for designing a new math/computer science homework template, and this popped up on my feed uploaded 2 hours ago! Thank you for gracing my recommended with more informative content professor!!
@n0mad385
@n0mad385 10 месяцев назад
Honestly been using Word for my physics homeworks as that's what they come in. All I do is Alt + Enter to go into the equation mode, which supports LaTeX where I write away.
@DrTrefor
@DrTrefor 10 месяцев назад
I don't hate it, I do appreciate microsoft's equation editor is much better today than it was in years past (basically inept), and so learning basic tex commands from the equation mode editor isn't bad at all. However, I do think as you go on in a stem career making the transition is a good choice for lots of people, depending on your interests.
@thenumnums
@thenumnums 10 месяцев назад
​@@DrTreforWhat would the benefits be?
@DrTrefor
@DrTrefor 10 месяцев назад
My general case for LaTeX is that it gives you a) complete control over the look and feel of every equation etc in the document b) makes a lot of things much easier such as internal referencing moving things around everything like numbering happens automatically and c) you can write just the math and adjust everything else like formatting all in one go. Finally, in many STEM fields -math in particular - it is just the industry standard so good to know regardless. On the flip side though, it takes longer to learn and even after you learn it still there are annoying things that take up time vs something like microsoft word. So it really depends on the person whether it is worth it or not. @@thenumnums
@thenumnums
@thenumnums 10 месяцев назад
@@DrTrefor yeah, since I'm a physics student, the convenience of Microsoft equation typing is real nice for live lecture note-taking. Being able to see my equations immediately is really convenient, especially for troubleshooting when the program doesn't behave as expected, which I find is a nightmare when I use LaTeX! 😭 Also the digital pen integration is what keeps me using Microsoft. If I were able to do my Tikz diagrams fast enough to keep up with my professors, or at least be faster than I am drawing by hand, I think I would switch to using LaTeX fully. Maybe for fun you could do a video where you challenge yourself to see how fast you can reproduce math and physics graphs and diagrams with the only prompt being the images? 😜 Cheers
@IcyyDicy
@IcyyDicy 3 месяца назад
I started using latex in some my obsidian notes, its so nice having actual equations in there
@spacelem
@spacelem 10 месяцев назад
I'm a month away from 42. I really wish OverLeaf had been around when I was doing my undergraduate maths! I did all my postgrad assignments in LaTeX, and my PhD thesis, but there was still a lot of fiddling (especially to get references to work correctly).
@STEAMerBear
@STEAMerBear 10 месяцев назад
I’m currently 16 years past 42 and I just wanted to warn you that the rumors about it being The Answer* are quite oversold among those in the STEM fields. (*search for “42, Douglass Adams” for a better understanding of why)
@vivekm.s8819
@vivekm.s8819 10 месяцев назад
You are my inspiration to take mathematics as my major thank you sir.❤
@DrTrefor
@DrTrefor 10 месяцев назад
that's so sweet to hear, thank you!
@laincoubert7236
@laincoubert7236 9 месяцев назад
latex is such a godsend. i studied CS and the 300 students in my year would collaborate on several documents to summarize math lectures in a single place. it basically became a tradition on my program. doing homework in latex was so satisfying as well, eventually i even went fully paperless. i used overleaf as well and in combination with a couple books on how to use latex, and it was enough for me. it seems difficult at first, and it is when you're looking at a blank page, but once you adapt you never turn back. also helps that there's a ton of information about it online
@samueldeandrade8535
@samueldeandrade8535 10 месяцев назад
I am not subscribed to this channel, for some reason, but this video, I have to say, is great. Yes, LaTeX is absolutely amazing.
@DrTrefor
@DrTrefor 10 месяцев назад
Welcome aboard!
@nWestie
@nWestie 10 месяцев назад
Appreciate this! I am gradually learning latex, although mostly using it in jupyter notebooks and word at this point. Still, knowing the notation better is handy. I'm an engineer so not sure I'll ever switch to a full latex editor, but nice to see how it works!
@tcmxiyw
@tcmxiyw 10 месяцев назад
At my university we have a two hour “Mathematical Software” class that covers LaTeX, Maple or Mathematica, and spreadsheets. Students are expected to be able to use these tools. I believe that LaTeX forces much greater clarity In conveying a proof than do pencil and paper.
@jewpcabra666
@jewpcabra666 9 месяцев назад
god i wish these existed 10 years ago - what a great resource!
@JohnLee-dp8ey
@JohnLee-dp8ey 9 месяцев назад
Got exposed to Latex during my undergrad, and would wish my university offered a complementary course in learning Latex, as I basically figured how to use on my own, and basically struggled to do my assignment with it. For some context, I used Latex in 2016, and back then there was NO visual editor, so I basically refreshed the document every time I wrote new Latex code, which made it a VERY unpleasant experience to code in Latex.
@katarixy
@katarixy 10 месяцев назад
I remember teaching myself how to do this and then forcing myself to take notes on latex during class. Insane that I did this on graph theory while using tikz to do the diagrams my teacher would write. Every time he drew something my heart would sink. Although at the end of that semester I could type latex like a madman. It’s been 10 years since then and looking back I can only conclude I was so foolish but I’m thankful lol
@Javy_Chand
@Javy_Chand 10 месяцев назад
You madman--- You even made your graphics on tikz!
@masterblazx
@masterblazx 9 месяцев назад
L'math is pretty great. Really simple and easy to use.
@benbookworm
@benbookworm 3 месяца назад
I was forced to learn LaTeX in a bioengineering course. I hated it and the class so much. I changed to a molecular biology major just to avoid the required second half. But several years later, I still use LaTeX for everything I do.
@prakhars962
@prakhars962 10 месяцев назад
I generally use H for float placement to ignore all Latex ruler. However, this requires the float package
@andyneeman4378
@andyneeman4378 10 месяцев назад
I’ve got to say, while LaTeX is great, the writing can become a bit cumbersome, especially when writing long documents. For my own homework/assignments for the last 3 and a half I’ve been using Lyx, which just like overleaf is based on the LaTeX syntax. The difference between Lyx and Overleaf is how the language is used. As stated in the video, Overleaf is very convenient because you can see in real time how your document will end up, with a very short and convenient way to compile any code quickly. However, this requires you to type out complete lines. Lyx on the other hand, is a graphical user interface for LaTeX. This means that as you write your document, you just see, well, mathematical symbols and numbers. Once you insert a command somewhere (i.e. \int) the symbol of an integral replaces the text of the “\int”. The cones of Lyx are that it can be somewhat janky at times, especially if your are not writing in English (and even more of a problem if your language is written right to left), but this is very much fixable. It is also a bit more difficult to learn how to make different formats of documents, like documents with two side by side columns of text (like many academic papers are written), but again, once you learn how to do it once you just know how to do it again, and you slowly master all of the software small quirks. However, the biggest pro of Lyx in my opinion is the ability to create keyboard shortcuts and macros. They both allow you do to the same things, but inputted differently. Let’s say you use the integral from 0 to infinity many many times in your studies. You can type again and again the command: \int_0^\inf Which generates this integral, it’s far easier to assign this to a certain macro or keyboard shortcut, and all of the sudden you become much much faster. I am aware that Overleaf also has macros (but not keyboard shortcuts), but I still find Lyx so much more convenient, and I really do recommend it.
@laincoubert7236
@laincoubert7236 9 месяцев назад
don't know anything about Lyx but long documents isn't really a problem, you can create separate files for every chapter/section/etc and compile them into one full doc
@TheLaxOne
@TheLaxOne 10 месяцев назад
Funnily enough I started this semester doing my homework for my one math course in LaTeX, but I found that I always spent time being so particular with the formating that I ended up handwriting my last two assignments just to save time 😅 But I did use overleaf for the assignments and found it pretty convenient
@HunsterMonter
@HunsterMonter 10 месяцев назад
Me, watching this video while procrastinating typing up my quantum homework in LaTeX
@wjrasmussen666
@wjrasmussen666 10 месяцев назад
More LaTeX!!!!
@davidmorley4455
@davidmorley4455 9 месяцев назад
If you get more serious in using LaTex for homework, etc, I'd recommend using vscode with tex workshop for noncollaborative work. Compile times are much much closer to instantaneous than with overleaf, and all the functionality/ui is pretty much the same, with the convenience of a more conventional text editor.
@LucaskrillHC
@LucaskrillHC 9 месяцев назад
Little hint: if you write a formula on Desmos (an online graphic calculator) and copy it, it can be pasted on LaTeX
@DrTrefor
@DrTrefor 9 месяцев назад
Oh fun
@HyperFocusMarshmallow
@HyperFocusMarshmallow 10 месяцев назад
I wonder if typst will be the next big game in town after latex. I hope so. It looks pretty good.
@maths-solns
@maths-solns 9 месяцев назад
Thanks alot Dr. Could you please make a video explaining how we can navigate the enumerate, itemize and description options are capable of.
@ajov6638
@ajov6638 10 месяцев назад
Thank you sir!
@DrTrefor
@DrTrefor 10 месяцев назад
You are welcome!
@jasonshih3633
@jasonshih3633 8 месяцев назад
Yo Thanks so much for this. My discrete math professor only wants us to write in LaTeX and I was so confused how it works.
@IulianYT
@IulianYT 9 месяцев назад
Well, easy peasy I remember when I was a student - I was doing it mostly the "hardcore way", without GUI, just vim, and pdflatex (which I discovered later, before that I was using some three steps process to convert to ps, dvi, and then to pdf (not sure about the order)). But when you write a couple of lab reports - it is easy to write even without graphical interface with live compiling.
@SciDiFuoco13
@SciDiFuoco13 10 месяцев назад
What do you think of typst? I started using it recently and I found it to be as powerful as latex while being much more intuitive.
@keithdow8327
@keithdow8327 10 месяцев назад
Thanks!
@DrTrefor
@DrTrefor 10 месяцев назад
Thank you so much!
@airman122469
@airman122469 7 месяцев назад
This feels more like an Overleaf tutorial. Am I the only one that prefers local LaTex compilation to Overleaf?
@macmos1
@macmos1 9 месяцев назад
I did all my math homework in LaTeX and it took FOREVER.
@BitwiseMobile
@BitwiseMobile 10 месяцев назад
I wrote a React program like 2 years ago that allows you to enter your equations using either direct markup or using the toolbox to insert constructs. It was very similar to Overleaf, with more features IMHO :D.
@akrammohamed8374
@akrammohamed8374 5 месяцев назад
Any chance we could get a fourier transform and fast fourier transform video soon?
@zacharytaylor9244
@zacharytaylor9244 9 месяцев назад
I did all my calc homework in latex up until the end of calc 2… resin being that the grader thought my printed latex homework was the answer sheet and graded everyone’s homework off of mine. Only realized it when I was the only one not getting my homework back, and had no grades after the midterms. Stopped using it after that to save myself time, and any confusion for the professor/graders
@STEAMerBear
@STEAMerBear 10 месяцев назад
I am an older math teacher who’s back to teaching after being out for 15 years. I used to use Scientific Notebook for all my production which included an integrated LaTeX editor. Thank you for this. I will be digging into your videos. At this point I need an effective starting place. Should I get the software you are using in this video? Is duplicating what you’ve done enough to get rolling (from basic editing to printing final material)?
@trongtue8384
@trongtue8384 10 месяцев назад
Can you make a video about Lean Proof Assistant and how to use it to prove a theorem
@gavinvales8928
@gavinvales8928 10 месяцев назад
Learn Typst!!
@HyperFocusMarshmallow
@HyperFocusMarshmallow 10 месяцев назад
The way to stay ahead is to every now and then browse the list of new exciting rust projects, right =)
@enamulhoque2019
@enamulhoque2019 9 месяцев назад
Once you have created your desired worksheet can you generate multiple worksheet of the same problems with different generated numbers.
@baseder514
@baseder514 9 месяцев назад
lanthanum, telurrium and xenon
@samchau3476
@samchau3476 9 месяцев назад
I am sorry if this is a dumb query but I tried using the homework template you provided but I can't seem to make any edits at all. The description says it's a free template but I am not sure why it's not usable on my end.
@4sety
@4sety 9 месяцев назад
Did you make sure to make a copy? (Menu -> Copy Project)
@samchau3476
@samchau3476 9 месяцев назад
@@4sety Thank you so much. Did what you mentioned and it worked!
@4sety
@4sety 9 месяцев назад
@@samchau3476 awesome, hope you have fun with it!
@dhwaneel
@dhwaneel 9 месяцев назад
If I wanted to add a number to an equation to the very end of a solving section, how could I do that? I've tried onumber but it doesn't seem to get it right always
@unflexian
@unflexian 10 месяцев назад
this is really interesting, can i take notes in latex? does the code editor allow you to write fast enough to note take for math and physics?
@4sety
@4sety 9 месяцев назад
You _may_ be fast enough to take notes as long as you don't stop to format stuff in the moment. Maybe if you just write normally and leave comments for how to format it later (ESPECIALLY if it's a rather complex formula or requires commands that you're not familiar with) it could work? You could try formatting on the fly as well but I personally am not fast enough with LaTeX to make it work.
@gerard-nagle
@gerard-nagle 10 месяцев назад
I use Mathtype, find its does everything I need, but cost a little bit.
@Joaquim_Marcelo7197
@Joaquim_Marcelo7197 8 месяцев назад
Hello guys, I ask for help. I accidentally deleted half of a code after updating, how could I recover the previous version with the code deleted in OVERLEAF?
@sudjen
@sudjen 9 месяцев назад
Nice Video but at 12:37 there must be a better way for that. Imagine if i know rite more stuff before the image/question 6. Say that means that without the command ewpage, i already reach that new page, that would be very inneficient and not intuititve
@tcmxiyw
@tcmxiyw 10 месяцев назад
You’re missing a parenthesis in line three of the f’ example.
@BENCHENA
@BENCHENA 6 месяцев назад
I want to modify the code to have the same distance the x and y unity . Y unity is a half of x unity in graphics after compiling . Thank you in advance \begin{tikzpicture}[scale=1.5] \begin{axis}[xmin=0,xmax=8.3,ymin=0,ymax=103,xstep=1,ystep=5,axis lines=left,xtick={0,1,2,3,4,5,6,7,8},ytick={0,5,10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85,90,95,100},xmajorgrids=true,ymajorgrids=true,xlabel=Nombre de séances ,ylabel=Prix en \euro~\textbf{tarif A}] %\addplot[color=red,dashed,mark=*,samples=50]{x^2}; \addplot[very thick,color=red,samples=100,domain=0:7]{15*x}; \end{axis} \end{tikzpicture
@jahdjs
@jahdjs 10 месяцев назад
16:18 cool)))
@calfredo812
@calfredo812 9 месяцев назад
👋
@Davs211
@Davs211 10 месяцев назад
I disagree, the problem is that it's very hacky and requires a research for anything that falls outside of the default format or looks. I do not think LaTex is good for most Homeworks (except for equations) unless you have a strict template that you have to use. It can definitely be efficient when you have a good setup: the formats, the macros, all the required packages configured correctly and if you have memorized everything so you don't have to look the documentation. For a thesis it's useful, but for a few exercices that you have to deliver fast it's not worth it. One clear example of why it's inefficient is shown in this video with the ewpage command. You don't like how it looks because you could not easily predict how it would look in this case. In general, you will change the code, you will compile again and now another thing might not look good. You try to read search in the internet for a way to give it the correct look by default. Then you find out how messy latex really is.
@mayahuizar
@mayahuizar 10 месяцев назад
I have to say, I feel like you're overstating the degree to which its difficult to learn. From my experience, yes, there's an initial difficulty where you have to look everything up, but I quickly got past that, and to the point where I was comfortable with LaTeX, and could create most anything I would want or need without any help. And once there, life becomes good and everything is a breeze, and to be honest, typing math feels almost as natural as handwriting. Once you get to that point, you never go back.
@Davs211
@Davs211 10 месяцев назад
@@mayahuizar Never said it was difficult to learn but I seriously doubt most people will memorize how to do everything they want or need. For a long term restricted use case it's fine. The issue here is productivity.
@tolleythinking1058
@tolleythinking1058 10 месяцев назад
For me, I still go paper + phone scan to upload school math assignments. IIUC there is significant research about handwriting things improving retention, etc... so if homework is about the student learning, handwritten still seems a cut above to me.
@Bcjekalalahw
@Bcjekalalahw 9 месяцев назад
Skill issue
@Sg190th
@Sg190th 9 месяцев назад
infinite sum being nearly equal with an integral is a nightmare
@zhiychen1626
@zhiychen1626 9 месяцев назад
LaTeX is convenient except \frac
@meofamily4
@meofamily4 10 месяцев назад
I am, quite simply, lost. I don't feel so bad after going to the comments. Everyone commenting on this "Introduction to LATEX" -- already knows and uses it !! I went to overleaf, and promptly was lost. I don't have any idea what to do, even to log in, let alone start to use it. It's confusing as hell. For a start, I'm not doing homework (although, if I were, these instructions sure wouldn't have helped!) but a translation of a journal article from 1844. So, I went to "Journal Article Template". But, now what? Apparently I can do one of two things: either I can "Accept all cookies", or I can "Open as Template". I do that, and I get the message -- "Your project is near the time-out limit for our free plan." Really? Hey, how do I use LATEX on the Word Document that has all these equations? Do I import the text onto a LATEX page? What "free plan"? Am I supposed to pay to use LATEX, or not? Basically, sir, I am unable to navigate "Overleaf'.
@DrTrefor
@DrTrefor 10 месяцев назад
I think my suggestion is to start on something small to learn the lay of the land before going to your big project. If you try the homework template I made, see if you can play around with writing basic equations and paragraphs. As you gain some familiarity, then you can go for the big project. For particularly long projects sometimes it can leave the free tier, but the free tier is pretty generous from my experience.
@meofamily4
@meofamily4 10 месяцев назад
I will persist in my effort, @@DrTrefor (and I ought, in fairness, to tell you I have enjoyed many of your videos on other math topics, such as calculus), and I feel confident of progressing. Many thanks for the advice that the free software package will allow me to write a single math journal article with equations in it. However, that video you made as an intro to LaTeX -- well, it was not helpful to me.
@yorailevi6747
@yorailevi6747 10 месяцев назад
NO I WANT THEM IN PYTHON
@4sety
@4sety 9 месяцев назад
what, are you using sympy or something lol? Or just making a jupyter notebook entirely with markdown cells?
@yorailevi6747
@yorailevi6747 9 месяцев назад
@@4sety NO
@Mau365PP
@Mau365PP 9 месяцев назад
I write it by hand and ask chatgpt to write it for me 😅
@sentient1640
@sentient1640 10 месяцев назад
But I feel comfortable in Microsoft Word. :)
@Capitan_Chaos
@Capitan_Chaos 9 месяцев назад
I don’t know man. The way for me to learn is by writing everything by hand.
@mykyar9142
@mykyar9142 9 месяцев назад
the main problem with LaTeX is that it supports only English language. And a small amount of letters of the Latin alphabet. Step aside creates a huge pain in some body parts. That is the main reason for unpopularity in the outer world.
@wilville3752
@wilville3752 4 месяца назад
There are packages for other languages
@theastuteangler
@theastuteangler 9 месяцев назад
Or just use pencil and paper.
@zeKite
@zeKite 10 месяцев назад
Maybe a good video idea is how to make your word document look like written in LaTeX
@lame_lexem
@lame_lexem 10 месяцев назад
wordTeX is a way
@serra_edoardo
@serra_edoardo 10 месяцев назад
You just committed LaTeX heresy right here XD
@DrTrefor
@DrTrefor 10 месяцев назад
ha, I do make all my videos in powerpoint which uses the same equation editor that word does. But I just........can't:D LaTeX for life! ha:D
@Able89535
@Able89535 10 месяцев назад
@@DrTreforthe equations just don’t look as good in Word / PowerPoint Even after I graduate, I still write equations in LaTex and screenshot it to paste into my work related documents 😂
@ahmed12op
@ahmed12op 9 месяцев назад
I'm sorry but I can't see that Latex is easy!, Microsoft word is much more intuitive
@pablosykes1508
@pablosykes1508 9 месяцев назад
LaTeX is sooooo slooowww to write. SLOW AF
@musicworld5432
@musicworld5432 9 месяцев назад
Latex is very complicated bro. Its not so easy.
@bobfake3831
@bobfake3831 9 месяцев назад
cute
@destruidor3003
@destruidor3003 9 месяцев назад
Why do you speak in a strange way?
Далее
How I Make  Presentations Using LaTeX & Beamer
22:13
Просмотров 198 тыс.
小路飞嫁祸姐姐搞破坏 #路飞#海贼王
00:45
All the TRIG you need for calculus actually explained
20:51
How to write a thesis using LaTeX  **full tutorial**
30:58
The unreasonable effectiveness of linear algebra.
18:04
My favorite LaTeX Tricks to save time
17:04
Просмотров 67 тыс.
How To Self-Study Math
8:16
Просмотров 2 млн
Compilers, How They Work, And Writing Them From Scratch
23:53
What P vs NP is actually about
17:58
Просмотров 100 тыс.