(UPDATED) LaTeX Tutorial 6: Packages, Macros and Graphics

  Рет қаралды 44,203

Michelle Krummel

Michelle Krummel

Күн бұрын

Пікірлер: 52
@sinansenocak
@sinansenocak 4 жыл бұрын
This series reduced my thesis anxiety so much. Life saving playlist, thank you!
@MichelleKrummel
@MichelleKrummel 4 жыл бұрын
I'm happy I could help :)
@Edgawliet
@Edgawliet 4 жыл бұрын
A little help here: The time stamp for the video 0:00 Intro 0:10 Topics to explain 0:20 Saving the file 0:49 Packages 11:18 Macros 19:40 Graphics
@baruchba7503
@baruchba7503 4 жыл бұрын
Great tutorial...nicely paced and easy to understand. All the best to you and your students in the upcoming school year.
@MichelleKrummel
@MichelleKrummel 4 жыл бұрын
Thank you very much!
@minaxisharma7630
@minaxisharma7630 2 жыл бұрын
Kindly upload more videos. Your style of explanation is too good
@LupinoArts
@LupinoArts 2 жыл бұрын
Hello Michelle, one piece of nitpicking here regarding your definition at 13:00 : macros defined in LaTeX's preamble can only have letters in their name, that is [a-z] and/or [A-Z]. Numbers and any other characters are not allowed (except @ when you say "\makeatletter" before, which literally means "make '@' into a 'letter'"). What you are actually doing there, is to define a macro named "\eq", which has the hard-coded requirement to be followed by the character "1". If you type "\eq" after "\begin{document}" you will get an "Use of \eq doesn't match its definition." error instead of "Undefined control sequece", since LaTeX is expecting the 1. However, if you type in "\eq 1", the code will compile without any errors, since all spaces after a control sequence are ignored by LaTeX and therefore the call fulfills the "must be followed by a '1'" requriement. Your whole code will fail if you try to define another macro "\eq2" in the same way: then you re-define "\eq, which must be followed by the number 1" to "\eq, which must be followed by the number 2" and every call to "\eq1" will lead to the "Use of \eq doesn't match its definition." error, since it is not followed by "2". The only way to define a macro that is genuinly called "eq1" is to use \csname and \endcsname: \expandafter\def\csname eq1\endcsname{...}. However, be aware that calls to those macros also require that csname "shell": \csname eq1\endcsname. That way you can create makros with the name "eq2", "eq3", and so on. The etoolbox package provides an abbreviation of that with the \csdef and \csuse macros: \csdef{eq1}{...} defines a macro "eq1", and \csuse{eq1} calls that macro.
@MichelleKrummel
@MichelleKrummel 2 жыл бұрын
Thank you for the clarification :)
@breadwithavocado
@breadwithavocado 4 жыл бұрын
Nice tutorial and good explication! I'm really learning a lot with these tutorials.
@MichelleKrummel
@MichelleKrummel 4 жыл бұрын
That's great to hear. Thank you!
@angelomarcone8221
@angelomarcone8221 4 жыл бұрын
Nice and clear tutorial. Thank you Michelle.
@MichelleKrummel
@MichelleKrummel 4 жыл бұрын
Thanks for watching!
@asaradhi
@asaradhi 4 жыл бұрын
She is the undisputed Queen of latex tutorials ! Amazing, fantastic , simple yet deeply effective !
@imadnm1
@imadnm1 4 жыл бұрын
Thank you for sharing this. Very useful!
@minaxisharma7630
@minaxisharma7630 2 жыл бұрын
Very well explained. Thanks so much
@ellenw1597
@ellenw1597 4 жыл бұрын
This is very useful and helps me a lot with my assignment. Thank you, Michelle!
@antonioavilix
@antonioavilix 4 жыл бұрын
latex in vscode kzbin.info/www/bejne/bJbZcqZ5qbGmn9U
@adadbarkho2977
@adadbarkho2977 3 жыл бұрын
Thank you very much for providing such great quality tutorials for free
@MichelleKrummel
@MichelleKrummel 3 жыл бұрын
You're very welcome!
@shutupimlearning
@shutupimlearning 3 жыл бұрын
great video! You make learning LaTeX a breeze
@MichelleKrummel
@MichelleKrummel 3 жыл бұрын
Glad to hear that!
@vwij1736
@vwij1736 2 жыл бұрын
Much appreciated, Michelle!
@iitmaths4757
@iitmaths4757 3 жыл бұрын
Thanks you so much Michelle mam!!! For this most useful video
@joseantoniobarreranunez9949
@joseantoniobarreranunez9949 3 жыл бұрын
Good afternoon Michelle; I have finished tutorial 6. It's being very entertaining in a new year's eve. I have a question about the instruction ew command: once it is created where must be filed so it can be invoked and put it in the actual file? Thank you. I can wait for your answer until next year.
@douglasmangini8744
@douglasmangini8744 4 жыл бұрын
Great, Michelle. Thank you!
@anishasahu830
@anishasahu830 2 жыл бұрын
Could you please share the tex file containing all the packages and macros you were using in Tutorial 6?
@nikhilmanikpuri1076
@nikhilmanikpuri1076 Жыл бұрын
How did you formed those new commands?? I count understand also these command s are not working if I just used the package
@bhartikumari4179
@bhartikumari4179 3 жыл бұрын
Can you tell me from where to download different packages??
@MrVoocGaming
@MrVoocGaming 3 жыл бұрын
Thanks mam for this helpful tutorial. Why you stopped making videos 🙁??
@jimchang2322
@jimchang2322 3 жыл бұрын
I followed your code and use \calculator command and it returns an error message. I’ve checked repeatedly on overleaf for typos to it’s full correctness and has no clue of the error. It is truly a great tutorial!
@wesjredd1
@wesjredd1 4 жыл бұрын
Thank you for your tutorials. Suppose that I want the item numbers to be bold. Is there a way to do that?
@MichelleKrummel
@MichelleKrummel 4 жыл бұрын
\documentclass{article} \usepackage{enumitem} \setlist[enumerate,1]{label=\textbf{\arabic*}.} \begin{document} \begin{enumerate} \item One \item Two \item Three \end{enumerate} \end{document}
@wesjredd1
@wesjredd1 4 жыл бұрын
Thank you!
@adhishpv6315
@adhishpv6315 2 жыл бұрын
Could you share your LaTeX doc with all other packages and Macros, It would really help, because everything is at one place
@leonardodrago893
@leonardodrago893 4 жыл бұрын
@michelle I have a problem: I insert images, then I need to write a test under that image (not the caption, a full paragraph) but on the pdf, the images and the paragraphs don't result in the order I call. Please help I don't understand why is that...
@MichelleKrummel
@MichelleKrummel 4 жыл бұрын
If you use \begin{figure}...\end{figure} you will have more control over the placement of the image. This may help: www.overleaf.com/learn/latex/Positioning_of_Figures
@leonardodrago893
@leonardodrago893 4 жыл бұрын
@@MichelleKrummel Solved! Wow thanks a lot really!!! yes, I always used \begin{figure},... but the trick was to add [H]. Thank you so much and wish you a good year!!!
@johanneschristopherstahle3395
@johanneschristopherstahle3395 2 жыл бұрын
@@leonardodrago893 If you use a floating environment (for example figure or table) LaTeX will put it somewhere into the document where LaTeX will find enough space. Usually somewhere directly on the top or bottom of a page or as a single object on a page. In the text you should then refer to the figure or table. This is standard in scientific articles/books. If you want the picture to be exactly where you put the \includegraphics command just don't use the figure environment and it will always appear exactly where you want it to be. You can't use a caption, though (as long as you don't use a package that allows you to create captions outside of floating environments). There has been put quite a lot of thought into the behavior how LaTeX chooses the position of floating objects. So maybe you just want to get used to it. If you don't and you don't need a caption, just don't use the figure environment. The option H should really be used with care. Why need a floating environment if you don't want it to float. If you want to make sure that floats appear after being referenced in the text, use the package flafter. If you want the flat to stay within the same section, use placeins with the option [section].
@alishaheedmuhamad
@alishaheedmuhamad 3 жыл бұрын
Great video Michel Krummer, but what if I want to build my own class of document ? Any material you could suggest me, by chance.
@johanneschristopherstahle3395
@johanneschristopherstahle3395 2 жыл бұрын
Then ask yourself if you really need it. Usually there will already be a package that will give you all you need. Tweak it to your taste and put all of your tweaks into a separate tex-file. You can then use \input{mytemplate.tex} to load it into new documents. So you don't need put all this code into every new document and still have all your tweaks. If you change this external file, it will automatically change the output of all documents that load (input) this file once you recompile them.
@alishaheedmuhamad
@alishaheedmuhamad 2 жыл бұрын
@@johanneschristopherstahle3395 Thanks a lot ! That is still a very good option and quicker to get things done
@richardwalters9249
@richardwalters9249 3 жыл бұрын
I am new to LaTeX … but I still have questions I would like to know how to use one font, such as cinzel, for the title, and the main body of text with Bakersfield, and sections that use background color that spans a full line with something like Avenir. Switching fonts in a document does not look easy to me. Any recommendations for where to learn about switching fonts in a single document ? I would also like to know about book vs article for class options
@johanneschristopherstahle3395
@johanneschristopherstahle3395 2 жыл бұрын
First of all it's unusual to switch fonts within a document. Usually you do have three different fonts you can use: Serif, Non-Serif, Typewriter. The Serif font is usually used for your main text, tables and so on. The Non-Serif font is often used for headings. Typewriter fonts are used for code snippets and similar things where you need a font with a fixed letter width. There are some effect fonts (handwriting, glyphs for example) that can be used at different places inside a document using specific commands. But generally it is not easily possible to switch the main fonts. But that's for good reason: LaTeX is designed to give you the tools to craft good looking papers from the viewpoint of typesetting. If you are more into fancy design, LaTeX is probably not the tool for you. Of course, there are ways to make LaTeX to do a lot of things, it originally was not designed to do, but it might be easier to use other tools for those cases. For the second part of your question: article: small documents without chapters and parts report: larger documents that do need chapters, but are usually set one-sided (margins usually the same on all pages) book: Whole Books that are typeset as such. Usually two-sided (margins and page numbers are swapped between left and right pages, chapters begin on right pages, you can use front matter, main matter and back matter commands... Articles and reports allow you to use an abstract, books don't. In many cases the differences between book and report won't be drastic, because you can still change a lot of the options anyways. Plus you can use other document classes than the standard ones. Memoir for example is great for creating books with more exciting designs for your headings and title pages for example. In Germany the KOMA Script classes have become kind of the new standard classes. If you write an article for a paper or a chapter for a book you will most likely have to use a specific class made by the publisher... Hope my answer is helpful
@bendibhafed1687
@bendibhafed1687 4 жыл бұрын
great job, perfect!!
@antonioavilix
@antonioavilix 4 жыл бұрын
i recommend you tha video kzbin.info/www/bejne/bJbZcqZ5qbGmn9U
@joseantoniobarreranunez9949
@joseantoniobarreranunez9949 3 жыл бұрын
Thank you Michell,
@sukranochani5764
@sukranochani5764 3 жыл бұрын
ThankYou Mam
@moinulhoque2160
@moinulhoque2160 4 жыл бұрын
Really helpful video. I have one question, sometimes or most of the times it shows file not found. Where should I found?
@antonioavilix
@antonioavilix 4 жыл бұрын
latex in vscode kzbin.info/www/bejne/bJbZcqZ5qbGmn9U
@haraldurkarlsson1147
@haraldurkarlsson1147 2 жыл бұрын
Overleaf used to have a free option. That is now gone (bound to happen after the took over ShareLateX).
@oriabnu1
@oriabnu1 4 жыл бұрын
, "try" to be concealed in a cover file. After encoding, the message is "5S " and the enciphered message "ğð:." how write encipher message in latex
@timothygorden7689
@timothygorden7689 Жыл бұрын
23:10 agreed, enormous even
(UPDATED) LaTeX Tutorial 7: Errors and Debugging
22:51
Michelle Krummel
Рет қаралды 21 М.
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН
小丑女COCO的审判。#天使 #小丑 #超人不会飞
00:53
超人不会飞
Рет қаралды 16 МЛН
(UPDATED) LaTeX Tutorial 2 - Common Mathematical Notation
35:43
Michelle Krummel
Рет қаралды 89 М.
(UPDATED) LaTeX Tutorial 3 - Brackets, Tables, and Arrays
41:59
Michelle Krummel
Рет қаралды 78 М.
(UPDATED) LaTeX Tutorial 8: TeXmaker and Overleaf Tips
41:11
Michelle Krummel
Рет қаралды 25 М.
Latex - Basic elements for writing a book/thesis
2:13:53
Mauricio Fernández
Рет қаралды 283 М.
(UPDATED) LaTeX Tutorial 5 - Text and Document Formatting
22:50
Michelle Krummel
Рет қаралды 53 М.
LaTeX - Full Tutorial for Beginners
4:28:44
freeCodeCamp.org
Рет қаралды 596 М.
My favorite LaTeX packages for writing beautiful math documents
28:48
Dr. Trefor Bazett
Рет қаралды 210 М.
Inkscape training for scientists
1:15:37
Fluids & Soft Matter UvA
Рет қаралды 10 М.
LaTeX: Images, Figures, Wrapping and the Logic Behind Them
13:10
Luke Smith
Рет қаралды 117 М.
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН