How I Format My Homeworks in LaTex

  Рет қаралды 179,086

Andrew Dotson

Andrew Dotson

Күн бұрын

Пікірлер: 273
@tylerweitzel7768
@tylerweitzel7768 6 жыл бұрын
Hey Andrew, here's some of the LaTeX tips I've picked up from my math department. First, if you use \begin{align}, it acts just like \begin{equation} but you can align things without having to call the {split} environment. If you want the equation to not be numbered, you can just put a star in the environment declaration. E.g. \begin{equation*} or \begin{align*}
@TRex266
@TRex266 6 жыл бұрын
Don't use align for single line equations though out of habit
@tylerweitzel7768
@tylerweitzel7768 6 жыл бұрын
@@TRex266 Just curious, why not?
@TRex266
@TRex266 6 жыл бұрын
@@tylerweitzel7768 when you have a short equation. e.g. E=mc^2, the equation environment will reduce the space between the line above and your equation if possible, align doesn't do that. Try it out :)
@zonico5826
@zonico5826 4 жыл бұрын
Do you now what's the difference between begin{equation*}... and /{... ?
@ozkroca9003
@ozkroca9003 4 жыл бұрын
I always use the IEEEeqnarray from the IEEEtrantools package to format multiple equations. It is the best, trust me. Give it a try. You can have no number by just adding onumber at the end of the row, or have subequations, and align all the equations' equals.
@brettbrandom4524
@brettbrandom4524 6 жыл бұрын
You should follow David Mermin's advice and number EVERY equation. Just because you think an equation isn't important enough to be numbered doesn't mean someone else thinks the same thing. And if for some reason you find yourself needing to reference an 'unimportant' equation when showing this to someone, it's really awkward to say "the one equation below the second paragraph under equation 26."
@Goku17yen
@Goku17yen 6 жыл бұрын
this, i accidently submitted a paper before without numbering each equation and was embarrased as all hell when i got it back, cuz prof said he aint gonna be searching for my shit if it aint labeled right. ref commands on latex are a must
@adamfattal468
@adamfattal468 4 жыл бұрын
Goku17yen I mean he has a point, but nonetheless, that’s a pretty stuck up thing to say
@bloodtalon1
@bloodtalon1 4 жыл бұрын
You can just add the number to that equation later when you need it...
@Moreoverover
@Moreoverover 4 жыл бұрын
My TA said that you should only number an equation if you're going to reference it in the text. That's it.
@brettbrandom4524
@brettbrandom4524 4 жыл бұрын
@@Moreoverover I disagree with the opinion of your TA, and this is advice I've gotten from professors. Look up "What's Wrong With These Equations?" by David Mermin, in which the author provides some advice on how to incorporate equations into scientific writing, offering a few rules on the matter and including the rule I mentioned in my comment (he calls it "Fisher's Rule"). It's full of good advice, but here's a relevant segment: For although you, dear author, may have no need to refer in your text to the equations you therefore left unnumbered, it is presumptuous to assume the same disposition in your readers. And though you may well have acquired the solipsistic habit of writing under the assumption that you will have no readers at all, you are wrong. There is always the referee. The referee may desire to make reference to equations that you did not. Beyond that, should fortune smile upon you and others actually have occasion to mention your analysis in papers of their own, they will not think the better of you for forcing them into such locutions as "the second equation after (3.21)" or "the third unnumbered equation from the top in the left-hand column on p. 2485." Even should you solipsistically choose to publish in a journal both unrefereed and unread, you might subsequently desire (just for the record) to publish an erratum, the graceful flow of which could only be ensured if you had adhered to Fisher's rule in your original manuscript.
@nestycb6702
@nestycb6702 4 жыл бұрын
Your teacher must be really good for you to care about having such a wonderful homework format.
@AndrewDotsonvideos
@AndrewDotsonvideos 4 жыл бұрын
Oh I do it for my benefit, not theirs.I’d much rather read a latex document when I’m reviewing for an exam than whatever I scratch on a piece of paper
@nestycb6702
@nestycb6702 4 жыл бұрын
@@AndrewDotsonvideos oh okay that makes more sense HAHA
@bishrutthapa5175
@bishrutthapa5175 4 жыл бұрын
@@nestycb6702 he replied a comment on a video that was uploaded 2 years ago
@ratonespotnes
@ratonespotnes 6 жыл бұрын
What I think the comment on not using newcommand is that you are defining one command per bases vector effectively making three commands for what it should be just one with an option to tell it wich vector it is. So for example if you use: ewcommand{\bvec}[1]{\hat{e}_#1} and then called with \bvec{x} you can replace x with anything, making it much more flexible and useful.
@uchihamadara6024
@uchihamadara6024 6 жыл бұрын
Thanks for this, didn't know you could do this.
@klassjostedt
@klassjostedt 6 жыл бұрын
Actually, the way LaTeX parses things, you could write \bvec x (i.e. space instead of curly brackets) and get the same result! Saves some key strokes
@realwermos
@realwermos 4 жыл бұрын
@@klassjostedt ... At the cost of readability. Sure, you can also write \frac ab and save even more keystrokes, but it takes a lot more thought to decipher that than the simple yet easy-to-understand \frac{a}{b}. Readability vs. conciseness is a constant debate in programming, but I think LaTeX is concise enough as is.
@Koospa
@Koospa 4 жыл бұрын
@@realwermos who's gonna read latex markdown after you've rendered it successfully? unless you want readability for the unfortunate case when you forgot to add a curly brace somewhere, and can't find where
@realwermos
@realwermos 4 жыл бұрын
@@Koospa In this case, you're probably right. It doesn't really matter. But in general, I would say that it's best not to skimp on the curly brackets because they not only help the reader understand what's going on where, it helps you find the portion of code where you messed up on faster. Also, the mismatched curly brace thing isn't really a problem because in TeXMaker, the matching curly braces are highlighted. In the video, you can see that TeXStudio does the same thing. The only time that would matter is if you decide to go with a bare bones editor like Notepad or something.
@caldersheagren
@caldersheagren 6 жыл бұрын
For problem numbers, I use \begin{enumerate} \end{enumerate}, and to shrink the margins, I use \usepackage{fullpage}. Also, you can make a .sty file with all your packages and commands and input it on every new document via \input{/filelocation/foo.sty}. Hope this helps!
@AndrewDotsonvideos
@AndrewDotsonvideos 6 жыл бұрын
Why did I not think of just creating a sty file...
@hellmrf
@hellmrf 4 жыл бұрын
You can also \ProvidesPackage in your *.sty, put it under LaTeX packages directory, run texhash and just \usepackage.
@thebigoeuph
@thebigoeuph 6 жыл бұрын
Use the Physics Package, trust me, it super good.
@__donez__
@__donez__ 6 жыл бұрын
I second this
@TRex266
@TRex266 6 жыл бұрын
Yesss
@vianeyavilaperez1063
@vianeyavilaperez1063 4 жыл бұрын
I'm sad I just hear about this
@adamfattal468
@adamfattal468 4 жыл бұрын
Been using latex for a while, but never heard that. What is it?
@thebigoeuph
@thebigoeuph 4 жыл бұрын
Adam Fattal A blessing. Look it up and you’ll find a wonderful world.
@davidjohnston4240
@davidjohnston4240 4 жыл бұрын
Why am I here when I no longer do homework and I've already written a 432 page book in latex?
@almates3662
@almates3662 4 жыл бұрын
Idk David, why are you here?
@gtrigwell4058
@gtrigwell4058 4 жыл бұрын
did i ask
@IStMl
@IStMl 4 жыл бұрын
@@gtrigwell4058 no but who cares
@Kage1128
@Kage1128 4 жыл бұрын
Because you want attention
@victorserras
@victorserras 4 жыл бұрын
Answer: because you're bored.
@thekandyman300
@thekandyman300 4 жыл бұрын
Just starting my physics major, definitely going to start using LaTex in the future! Appreciate the vid!
@megafireguy6
@megafireguy6 3 жыл бұрын
My discrete mathematics professor just told us we would get a bonus point on our homework (out of 10 points) if we formatted it in LaTeX, and I immedataly remembered this video. Might fuck around and try it out, it might be even more useful in the future.
@Mystixor
@Mystixor 4 жыл бұрын
I'm starting physics in like three weeks and I never heard of this before 😅 time to do some reading!
@vinvic1578
@vinvic1578 4 жыл бұрын
Good luck !
@paulafernandez9663
@paulafernandez9663 3 жыл бұрын
I learned this existed 2 months into studying physics. Don't worry, if you haven't already, you'll get there fast.
@MrEmpoleon1000
@MrEmpoleon1000 4 жыл бұрын
I feel like if I were to hand in my homework like this, my prof would think I just downloaded the document off the internet and renamed it lol
@dxrbkn5145
@dxrbkn5145 3 жыл бұрын
I mean If its a good teacher, he would take his time to read the document and verify its yours If its some half-assed one, good luck
@MrEmpoleon1000
@MrEmpoleon1000 3 жыл бұрын
@@dxrbkn5145 Wait, your saying good teachers do exist?
@Pablo-wg1lw
@Pablo-wg1lw 3 жыл бұрын
For your homework, you may wish to try TeXmacs.
@anushreea6074
@anushreea6074 4 жыл бұрын
Today was like the first day i used latex and I'm super satisfied with what I did. This video was of so much help.
@memesarelove8341
@memesarelove8341 4 жыл бұрын
Man that date trick really saved me
@alexismisselyn3916
@alexismisselyn3916 4 жыл бұрын
just make a fresh document the day you have to hand the homework in and copy paste all your questions in, then flex on everyone because you did all your homework in a few hours
@ripeGreenBanana
@ripeGreenBanana 4 жыл бұрын
You can put any kind of date as an argument
@chaussebenjamin
@chaussebenjamin 4 жыл бұрын
If there are packages and patterns you end up using a lot, I sugest you make yourself a style file (.sty). The syntax is a bit different so you'll have to look it up but it's quite the time saver. Also, I don't know either why someone bothered you with newcommand but I do have a tip for your usecase: You can incorporate arguments in newcommand by adding a set of square brackets. Here's an example: ewcommand{\eh}[1]{\hat{e}_#1} You can now use \eh{x} as an alternative to \ehx and \eh{y} as an alternative to \ehy. I just think it feels more elegant.
@youcann
@youcann 4 жыл бұрын
Put $...$ around every 'x' in the normal text to format it correctly as a physical quantity/variable.
@Alche_mist
@Alche_mist 4 жыл бұрын
For single characters, this is probably enough, but it's more robust (and less error-prone) to do inline math with \(...\) instead of $...$.
@ijcurtis
@ijcurtis 4 жыл бұрын
\section{Problem 1} produces 1. Problem 1 \section*{Problem 1} produces Problem 1
@Synthetica9
@Synthetica9 4 жыл бұрын
I used to hate wide margins, until I discovered the tufte-latex package. It gives a 1.5 column layout where you can use the margins for figures and footnotes, which is really useful
@janmeyer6958
@janmeyer6958 3 жыл бұрын
TeXmacs, the killer app for math homework
@Pablo-wg1lw
@Pablo-wg1lw 3 жыл бұрын
Right, I would love a tutorial on TeXmacs!
@peterlewerin4213
@peterlewerin4213 4 жыл бұрын
I am super late to this party, but to whomever it may concern: _don't_ reduce the margins. The wide margins seem like a waste of space and look weird if you are accustomed to e.g. Word, but they are correct typographic margins, determined by centuries of trial and error. The "white/black" balance and the shorter line length makes the text much more readable. It takes some time to get used to, but after that it's just wonderful.
@shauneisner7730
@shauneisner7730 4 жыл бұрын
Hey Andrew, kinda small but if you write in bold, italics, or underline a lot (I do for labeling solutions) ctrl+b, ctrl+u or ctrl+I will auto insert the \textbf, \textit, etc commands in most latex environments. Also custom environments changed my life.
@justafriend5361
@justafriend5361 5 жыл бұрын
I once made a beamer template in the CI layout of our university. A heck of a work, but worth it. Especially if you use LaTeX to write your reports which you have to present afterwards. The reason why I did this? They messed up with the slide master in their template. And I like the toc at the side of the slides, so I made my own style sheet for the beamer slides.
@AndrewDotsonvideos
@AndrewDotsonvideos 6 жыл бұрын
Andrew doesn’t know how to take dot products confirmed 😂😅
@LeonardoSanchez-qi5yd
@LeonardoSanchez-qi5yd 4 жыл бұрын
As always just one person manage to score on the left of the curve, I won't say his name, but everyone knows it's Andrew.
@jumefoc
@jumefoc 4 жыл бұрын
whew im teaching the basics to myself rn and you got me really confused 😅
@sergiohuaman6084
@sergiohuaman6084 4 жыл бұрын
I am also a LaTeX learner, but I found VSCode + LaTeX Workshop + Github the interface for me. VS Code is modern, it shows the expected text in real time as tips, it has the feature of PDF in browser synced and update everytime you save, and you can commit every change and keep a record of changes or collaborate.
@shawnway9324
@shawnway9324 4 жыл бұрын
One thing to note is that most symbolic packages output latex math code. mathematica and emacs calc will convert any statement to code for latex, making it easy to copy and paste results into a paper.
@Ender240sxS13
@Ender240sxS13 4 жыл бұрын
I know this videos like a year old but it just got recommended to me which is weird because I'm in my 3rd year of an aerospace engineering undergrad and I just started investigating LaTeX for doing my aerodynamics homework and lab reports(damn google creeping on us). I haven't taken the plunge into the full on editors yet, mostly been using LaTeX to write equations in Word as it has an equation interpreter, but this showed how simple it can be so I might give it a try, just need to figure out how to insert pictures and diagrams...
@andrew_ray
@andrew_ray 4 жыл бұрын
For pictures, use \includegraphics. For diagrams, you can \usepackage{tikz}, but tikz comes with the caveat that it's a bear to learn.
@Alche_mist
@Alche_mist 4 жыл бұрын
@@andrew_ray On Windows, TikzEdt is an amazing editor of TikZ pictures with auto-recompile, so you see what you are drawing with your code. Also, you need like 5% of TikZ to start and do most of what you need. I'm no way near understanding advanced TikZ, but even the basic one is plenty useful. And you can slowly add to your repertoire.
@abid5330
@abid5330 6 жыл бұрын
Thanks for showing us how you do it! Honestly your format looks nice and I can't wait to use some of the tips!!!
@dxrbkn5145
@dxrbkn5145 3 жыл бұрын
Took me like one month or two to get the basics but god damn my shit looks BEAUTIFUL It may be bothersome at first and more if you leave your assigments to the last possible hour... (I struggled a lot with bibtex) but holyyyyyy God damn man its the best. I wish I knew about this since highschool
@electrichanoi7244
@electrichanoi7244 4 жыл бұрын
i litterally just started learning latex on overleaf
@pipertripp
@pipertripp 6 жыл бұрын
This a great. Thx everyone for the really useful advice. I'm a total latex noon so all of this info is super useful.
@camiloatencio3662
@camiloatencio3662 4 жыл бұрын
I always do my hw in Latex too. It looking so pretty must always give me extra points.
@andrewfischer-garbutt2867
@andrewfischer-garbutt2867 4 жыл бұрын
When I do my homeworks' in LaTeX I like to use the exam environment. I feel like it makes things a lot easy
@iddra1868
@iddra1868 4 жыл бұрын
That font gave me PTSD from calculus exams.
@KingJellyfishII
@KingJellyfishII 4 жыл бұрын
I've been doing all of my (admittedly simple) homework in plaintext, (drawing ascii graphs is fun :p) but this looks super cool, I've never seen anyone do something like that before for some reason.
@justgame5508
@justgame5508 4 жыл бұрын
You draw your graphs using ascii symbols?😂😂
@KingJellyfishII
@KingJellyfishII 4 жыл бұрын
@@justgame5508 I do indeed haha. Simple ones, just sketch graphs of course.
@sfruizmiranda
@sfruizmiranda 6 жыл бұрын
I recently started doing my calc 3 homework in latex too! Its really cool and fun
@saptarshisahoo5075
@saptarshisahoo5075 4 жыл бұрын
Ya we get it Andrew, Equation 69.
@brandonberisford
@brandonberisford 6 жыл бұрын
I've also been doing my homework and even retyping up my handwritten notes in LaTeX! Here's an example of my quantum homework I just turned in! drive.google.com/open?id=1M1SbXnrlpCdGsXesYh9ynB_Us9F5P_L_ also, for doing equations, you can also use the double money sign, $$ whatever your equation is $$, thats what I typically do, doesn't include a number either.
@not_ever
@not_ever 4 жыл бұрын
If you use a text editor with snippet support, all those new command aliases you made won't be necessary. I use vim with ultisnips but you might prefer VSCode. You can also get a live update of your document so you don't have to recompile.
@ゾカリクゾ
@ゾカリクゾ 6 жыл бұрын
Andrew I don't remember the name of it, but there is software that lets you transcribe images and screenshots of latex into actual latex code.
@youcann
@youcann 4 жыл бұрын
detexify.kirelabs.org/classify.html
@ozkroca9003
@ozkroca9003 4 жыл бұрын
To have multiple lines in the equation or multiple equations in the same place, consider using IEEEeqnarray from IEEEtrantools package. It is very versatile and more convenient to use.
@AngelMartinez-vg1nz
@AngelMartinez-vg1nz 6 жыл бұрын
Yo Andrew in one of your previous video I saw in the background that you a have a binder. I was wondering if you can show us how you organize your stuff in it and the types of organization strategies you use.
@pipertripp
@pipertripp 6 жыл бұрын
Doing a follow up vidya in a few months once you've incorporated some of the ideas that folks have shared here would be mint.
@manasvishal25
@manasvishal25 6 жыл бұрын
Hey Andrew, give a shot to LyX and make a video on that. You will surely love that. I use that for all my reports and papers.
@bojohnson7137
@bojohnson7137 6 жыл бұрын
I've used LaTex before but using Lyx is even easier. I've been using it for my homework for the past few weeks or so and it's amazing. Like using Word for LaTex.
@markwarnecke931
@markwarnecke931 4 жыл бұрын
You're my hero Andrew
@debajyotisg
@debajyotisg 5 жыл бұрын
Could you also do a video on how to do this for more involved subjects such as QFT or particle physics? One would require to draw diagrams and write a lot of integrals and Lagrangians. Will that still be economic over handwritten solutions? (You will have to solve it by hand anyway unless you cheat and use Mathematica or something :P)
@StickySli
@StickySli 4 жыл бұрын
I must learn LaTeX for my Research Project for my university's last semester, but I can't let go of Macrohard Onfire (Microsoft Office). Ours first semester they told us to start learning about styling and equations, and simply can't see why I should use LaTeX over a WYSIWIG editor like Office 2019.
@johnconrad4439
@johnconrad4439 4 жыл бұрын
The math typesetting in TeX is way way more slick than what you get in MS Office. Plus packages. Not to mention, when you get to the point where you will be submitting scientific papers to journals or for conferences they will mostly ask that you submit a manuscript in TeX.
@Alche_mist
@Alche_mist 4 жыл бұрын
@@johnconrad4439 Admittedly, the current versions of MS Office does accept LaTeX equation syntax. That said, you can do so much more quality typesetting with less work in LaTeX, especially if you need math (equation numbering is a glaring point that's done oh-so-much-better in LaTeX) or longer texts (think Master's thesis). Also, as was mentioned - the packages and personal macros can easily be a gamechanger. And don't even let me started on the ever-deeper rabbit hole that is TikZ for beautiful, directly-inset diagrams and graphics.
@johnconrad4439
@johnconrad4439 4 жыл бұрын
@@Alche_mist MS Office does accept latex syntax but would you say the quality of the output is the same?
@Alche_mist
@Alche_mist 4 жыл бұрын
@@johnconrad4439 The quality of a single equation? Yes. The quality of the whole document? Nope. No way. Especially in case of larger documents that tend to break in MS Office too easily even if you use all the "anti-breakage" tools it offers.
@VladInc
@VladInc 4 жыл бұрын
its definitely useful. but i wouldn't use it for homework, unless my goal is to learn it. otherwise the homworks will take waaaaaay too long and that's time I could make more use of
@spaceowl5957
@spaceowl5957 4 жыл бұрын
In Germany studying CS we're actually required to submit pretty much all our coursework as latex But I always do it in markdown and then compile it to latex and no one will ever know muahahahaahaha
@AndrewDotsonvideos
@AndrewDotsonvideos 4 жыл бұрын
genius
@bzofcin12
@bzofcin12 4 жыл бұрын
What a madman you are! I bet, you even wrote your programs to output data in LaTeX format didn't you! Damn tables and their '&' separation!
@jafetriosduran
@jafetriosduran 4 жыл бұрын
For equations this could be more flexible than the align environment, and can be placed as a method \begingroup enewcommand{\arraystretch}{2} \begin{equation} \label{ecuacion_uno} \begin{array}{>{\displaystyle}r >{\displaystyle}l} F &= m a \end{array} \end{equation} \endgroup
@mickolesmana5899
@mickolesmana5899 3 жыл бұрын
My friend: Why were you formating like that, are you stupid? Me : I am
@thephysicistcuber175
@thephysicistcuber175 4 жыл бұрын
Nice pauli matrix you got there.
@chicken_nugget5438
@chicken_nugget5438 4 жыл бұрын
this dude knows what he's doing in life h
@compphysgeek
@compphysgeek 5 жыл бұрын
tried to find whether somebody had already mentioned it, however, didn't see anything .. a way to create equations with no number you can add a * to the word equation: \begin{equation*} content \end{equation*} .. not sure, tho, whether the end equation needs a * as well. the * also works when you want to suppress section numbering \section*{Section Title}
@compphysgeek
@compphysgeek 5 жыл бұрын
use \begin{eqnarray} or \begin{eqnarray*} if you want multiple lines
@compphysgeek
@compphysgeek 5 жыл бұрын
and are you still including twice?
@marcioamaral7511
@marcioamaral7511 6 жыл бұрын
Looks like CodeBlocks or Dev-C++ environment I think I can get used to it and make my equations look beautiful.
@sirfranciis
@sirfranciis 4 жыл бұрын
I didn't know the new command function... nice!
@ramakrishnasen4386
@ramakrishnasen4386 3 жыл бұрын
You could use ewtheorem{prob}[section]{Problem} For creating a new command called '\prob' which would print 'problem' before your problem
@mrastronomer6924
@mrastronomer6924 4 жыл бұрын
Starting now first month in uni🧐
@madalena4145
@madalena4145 4 жыл бұрын
How is going? And what are you studying?
@SuperSampling
@SuperSampling 4 жыл бұрын
Instead of using _"\textbf{Solution} …"_ you can use _"\paragraph{Solution} …"_ instead, in case you want to have better semantics in your document. Or make it a subsection* for that matter.
@ЕгорГордеев-ъ3ф
@ЕгорГордеев-ъ3ф 3 жыл бұрын
Thanks a lot for video! How do it... Create document with data as result of working my program and export variables to LaTeX document. And when I will change my program and get new data, variables automatically will change in document.
@vivdeeplearning2261
@vivdeeplearning2261 4 жыл бұрын
do yourself a favor and use emacs org-mode which has great LaTex support. or use vim. it will boost your productivity.
@lasa18
@lasa18 2 жыл бұрын
I was wondering, do physicists or students use Microsoft word to write their homework’s or research papers, or other programs like Latex?
@ozkroca9003
@ozkroca9003 4 жыл бұрын
The reason why it is showing your new command as an error is that TexStudio does not recognkze it as a valid command. You can change that by adding it in the custom highlights options, I think
@Goku17yen
@Goku17yen 6 жыл бұрын
are those tensor notes class notes? if so, how r u managing to do them on latex. or maybe u just copying your handwritten stuff onto latex? hmm also ive been just using stnadard physics packag, and its been going great so far, so i dont need multiple ones, cuz ima forget what i use lol
@AndrewDotsonvideos
@AndrewDotsonvideos 6 жыл бұрын
No, they're for my videos on tensor calc. Which I haven't forgotten about! I just haven't had the time to iron everything out lately.
@Goku17yen
@Goku17yen 6 жыл бұрын
ahh that makes much more sense
@Axileoni
@Axileoni 4 жыл бұрын
You can use \section*{} to hide the number.
@TheHickjc1222
@TheHickjc1222 4 жыл бұрын
Great video, thanks alot!
@blerman13
@blerman13 3 жыл бұрын
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
@JosheyG34
@JosheyG34 4 жыл бұрын
If you don't want an equation to have a number just use \begin{equation*}
@tommywang9842
@tommywang9842 4 жыл бұрын
you should bold your e since it is a vector
@lucidmath5481
@lucidmath5481 2 жыл бұрын
andrew pls vid on how to set this up
@stumbling
@stumbling 4 жыл бұрын
My proudest achievement in LaTeX was drawing this coupled harmonic oscillator diagram: pastebin.com/5dfTyJYP You can even adjust the angle and spring tension to your liking.
@sathyakumarn7619
@sathyakumarn7619 4 жыл бұрын
hi! what software do you and general academic group use for pictures?
@youcann
@youcann 4 жыл бұрын
TikZ
@elmovandermerwe
@elmovandermerwe 4 жыл бұрын
Didn't watch the whole video, but I am here to say if you don't use Latex to write reports or do homework then you're a square. All the cool kids use Latex.
@nilavametya7297
@nilavametya7297 4 жыл бұрын
Hi. You might just make a new environment, say, "Problem". So that when you reference it (using \cref), it appears as "Problem 69" instead of "Section 69". Also I recommend using the physics package.
@knightblad5631
@knightblad5631 4 жыл бұрын
Hey Andrew, I just installed Miktex from your link, but my toolbar doesn't have all your nice stuff. For example, I see that you got the Structure tab showing your working directory, which would be nice for quickly moving files.
@ЭролСезгин
@ЭролСезгин 4 жыл бұрын
Use overleaf, everything works out of the box, if you dont want to spent hours configuring the software on your PC. I remember I spent half a day once till I made it work in vscode like I wanted.
@maciejziobro6334
@maciejziobro6334 4 жыл бұрын
U could try using vs code instaed of tex studio it looks better and it has nice plugins for latex
@Pablo-wg1lw
@Pablo-wg1lw 3 жыл бұрын
Hi Andrew, did you try TeXmacs for your homework? Idea for a new video :-?
@oraviram
@oraviram 6 жыл бұрын
I don't want to spam it, but I just want to mention my comment on your video about doing your homework in LaTex. I don't actually have any experience with LaTex, but I think what I said there may help your writing be a little prettier.
@a.s.l711
@a.s.l711 2 жыл бұрын
hi im new to this, what is the software shown here to write Latex?
@frozzie8949
@frozzie8949 4 жыл бұрын
LaTeX is awesome and free, let's just stop cracking Microsoft Word just to write documents ^^
@Pablo-wg1lw
@Pablo-wg1lw 3 жыл бұрын
There is also TeXmacs...
@HomoGeniusPDE
@HomoGeniusPDE 6 жыл бұрын
The only things that I think could save you time is: if you just want to write a single line equation and you want it by itself dont use the \[ command just use $$(whatever you want here)$$ its like the command you used to write an equation inline $(whatever you want here)$ but just gives it its own centered separate line. if you want to write multiple lines where the equalitys are lined up i would reccomend not writing \begin{equation}\begin{split} just write \begin{align} (this will number the equations) or \begin{align*} (this will omit the numbers) also there should be an option where you can hit command/ctrl + enter/return to compile the document...not a big tip but all those clicks take up time especially since you are like me and compile after every line. hope this helps!
@realwermos
@realwermos 4 жыл бұрын
\[…\] does the exact same thing as $$…$$ except that the former is more LaTeX-like. In fact, I believe it was said on tex.stackexchange.com that the latter syntax isn't even mentioned as a possible command for displaystyle math in Lamport's book.
@Brassard1985
@Brassard1985 4 жыл бұрын
How do you remove the number in front of the section and subsection headings?
@galois2559
@galois2559 4 жыл бұрын
Use \section* and \subsection*
@TTFreezy
@TTFreezy 4 жыл бұрын
Does anyone know exactly what TeX editor he uses? I downloaded the one he linked in the description but it looks nothing like his.
@youcann
@youcann 4 жыл бұрын
Texstudio
@thebigoeuph
@thebigoeuph 6 жыл бұрын
Also, why do you have the braket package twice?
@AndrewDotsonvideos
@AndrewDotsonvideos 6 жыл бұрын
one for each ket vector
@AndrewDotsonvideos
@AndrewDotsonvideos 6 жыл бұрын
jk I didn't know I did
@philandchill6201
@philandchill6201 4 жыл бұрын
WhY dOnT u UsE MiCRoSoFT wOrD
@dhacker0921
@dhacker0921 4 жыл бұрын
This guy funny af, he should start a KZbin channel or something.
@adamfattal468
@adamfattal468 4 жыл бұрын
Yeah maybe one day if he’s consistent enough, he can reach a point where he’s severely obnoxious and over-rated
@HackersSun
@HackersSun 4 жыл бұрын
I mean I get it It makes things clearer, but like engineering with soft works To me I'd prefer to do it by hand, I'll just get better at hand writing I never liked running into an error to something that I could do by hand eeeh I'm up to calc 3,somewhat and physics 2, and those symbols look like houdini speak, but I tell from my experience software v hand I do hand
@AbhikalpUnakal
@AbhikalpUnakal 4 жыл бұрын
Markdown FTW !!
@cicciobombo7496
@cicciobombo7496 6 жыл бұрын
Did you mess up the inner product?🤔
@AndrewDotsonvideos
@AndrewDotsonvideos 6 жыл бұрын
Ciccio&Bombo lol I sure did! I accidentally wrote the dot product of each basis vector with its self. I guess I knew what I meant to write because a would still be the answer
@DracoMhuuh
@DracoMhuuh 6 жыл бұрын
@@AndrewDotsonvideos would you not get a+2? Each unit vector squared give you 1.
@omartaouil
@omartaouil 4 жыл бұрын
What's your laptop model
@nathanbranson3765
@nathanbranson3765 4 жыл бұрын
How do you do feynman diagrams in latex?
@GatesOlive
@GatesOlive 4 жыл бұрын
you'd have to give a look to the TikZ package
@youcann
@youcann 4 жыл бұрын
Nicely explained here: www.overleaf.com/learn/latex/feynman_diagrams
@parthshaileshbhaigohil2210
@parthshaileshbhaigohil2210 4 жыл бұрын
Making reports, documents, papers with latex is a good idea but regular homework???, Is it even efficient?
@Alche_mist
@Alche_mist 4 жыл бұрын
Like most coding, it is the more efficient the more you use it. Not only you find more tools and ways to do what you want to fast - you also start accumulating older code in snippets and full documents, which is a huge asset. Soon (sooner than you'd thought), you will be able to copy most of the boilerplate code from some prior document and change just what you need. Also, if you were to do multiple homework assignments throughout a semester, often with still the same template, you'll see the advantage as soon as second homework. Especially if the typesetting matters, like some lab protocols (Yes, I have had a protocol returned for rework on the basis of using en-dash instead of minus sign in some inline math back when I did them in WYSIWYG editors.). It just gets slicker and slicker.
@Ptr-NG
@Ptr-NG 5 жыл бұрын
Lol... Juts elegant--- the mathematics!
@largewoollybugger
@largewoollybugger 4 жыл бұрын
LaaaaTex. It's like La-la land -(la land) + Texas -as or equivalently, LaaaTex = La-la land -(la land) + Texas -as. While I'm at it, you might as well skip the installation steps to use LaTex and just go to www.overleaf.com
@ninesquared81
@ninesquared81 4 жыл бұрын
The X is a chi, not a Latin x.
@aquss33
@aquss33 Жыл бұрын
On second thought, the word equation editor is not thaaaaaaat baaaaad, right????
@DidierVereecke-y7w
@DidierVereecke-y7w 10 ай бұрын
the main issue is they changed it a couple of times in the last 20 years, making older documents useless.. 😞
@matlablatexsoftwares
@matlablatexsoftwares 4 жыл бұрын
Good job
@nora-yu5qj
@nora-yu5qj 4 жыл бұрын
Hello,how can I enter a vector symbol.
@peterlewerin4213
@peterlewerin4213 4 жыл бұрын
The most common way is probably *\vec{x}* for the vector _x_ .
@sindred3530
@sindred3530 4 жыл бұрын
Why not just use MathType?
@youcann
@youcann 4 жыл бұрын
latex can do much more than equations. And you gotta know it for your thesis.
@JonatanContrerasjononthemoon
@JonatanContrerasjononthemoon 4 жыл бұрын
Why wasn't the author "ya boi" though? :/
@liselottenguyen3519
@liselottenguyen3519 4 жыл бұрын
Does anyone know how to adjust headers font size?
@evancarpenter
@evancarpenter 4 жыл бұрын
\setlength\headheight{15 pt} in the preamble should set it to 15 pt
@liselottenguyen3519
@liselottenguyen3519 4 жыл бұрын
@@evancarpenter thank you but I mean the headers of the sections, eg: 1. Introduction. Do you know how to adjust its font size?
@evancarpenter
@evancarpenter 4 жыл бұрын
Phương Ngân ah, the only way I know to change font size would be with \documentclass[FONT SIZE HERE]{article} Or The geometry package
@liselottenguyen3519
@liselottenguyen3519 4 жыл бұрын
thank you very much
@sebastianguerrero1251
@sebastianguerrero1251 4 жыл бұрын
How and where did you learn this? I'm trying to get started using Latex but dont know where to start.
@akanay108
@akanay108 4 жыл бұрын
you could start with overleaf to get used to it's really easy to use www.overleaf.com/
Doing My Homework in LaTex | Update
7:06
Andrew Dotson
Рет қаралды 40 М.
The Most Infamous Graduate Physics Book
12:13
Andrew Dotson
Рет қаралды 365 М.
Маусымашар-2023 / Гала-концерт / АТУ қоштасу
1:27:35
Jaidarman OFFICIAL / JCI
Рет қаралды 390 М.
Jaidarman TOP / Жоғары лига-2023 / Жекпе-жек 1-ТУР / 1-топ
1:30:54
Какой я клей? | CLEX #shorts
0:59
CLEX
Рет қаралды 1,9 МЛН
LaTeX for Students - A Simple Quickstart Guide
13:51
Jake B
Рет қаралды 221 М.
How I Study For Physics Exams
11:50
Andrew Dotson
Рет қаралды 529 М.
How I make beautiful GRAPHS and PLOTS using LaTeX
28:46
Dr. Trefor Bazett
Рет қаралды 485 М.
WordTeX - A WYSIPCTWOTCG Typesetting Tool
5:13
Tom Wildenhain
Рет қаралды 390 М.
Lessons Learned During My PhD So Far
13:05
Andrew Dotson
Рет қаралды 157 М.
My 10 “Clean” Code Principles (Start These Now)
15:12
Conner Ardman
Рет қаралды 314 М.
one year of studying (it was a mistake)
12:51
Jeffrey Codes
Рет қаралды 84 М.
How I take notes as a Math major using Vim + LaTeX
20:14
SeniorMars
Рет қаралды 1,1 МЛН
Basically How Science Will End (Skit)
2:40
Andrew Dotson
Рет қаралды 42 М.