A brief tutorial on using images and figures in LaTeX including inserting pictures, the logic of figures and how to exploit them and how to wrap text around them.
Пікірлер: 74
@JC-cr5ty5 жыл бұрын
I wish there was commands like: \dontsendfiguretonextpage or \dontwasteatonofspace or \placenormallyanddontbestupidaboutit
@jonatang59665 жыл бұрын
There is the placement option [H], if you include the package float. But yeah, it feels unnecessarily difficult to get the figures where you want xD
@magtazeum40714 жыл бұрын
hahaha..this comment made my day
@enderkayhan5552 жыл бұрын
@@jonatang5966 this helped ty!
@AlDumbrava Жыл бұрын
I found that adding a \filbreak after the figure helps suggest to LaTeX that I want the break after the figure not before.
@TheCalcSeries Жыл бұрын
I've been stuck on a paper for the last couple of days bc I couldn't find the [h] thing. Now I can finally move some figures around. Thank you :)
@UsernameDP Жыл бұрын
My 8 hours of reading how to use images in latex has been simplified into a short 13 minute video.
@c.eckhardt59710 ай бұрын
Thank you for this explanation! That was really helpful.
@compphysgeek6 жыл бұрын
what I like to do is watch youtube videos on lunch breaks. so here I am, having something nice to eat, and an interesting youtube video, when all of a sudden the guy in the videos pulls up a picture of a hand with frostbite .. very appetising :D
@pietadundershtitz19827 жыл бұрын
That was something I was looking for!
@prahe866 жыл бұрын
Thanks again for another great video
@igaurab4 жыл бұрын
Hi how can we make figure labels like 2.1 2.2 according to the sections?
@fermiLiquidDrinker7 жыл бұрын
As an emacs user, I can definitely say that my hands are worse then what you have shown. Don't do emacs, kids.
@LukeSmithxyz7 жыл бұрын
vim: does amazing thing in 10 keypresses emacs: does same amazing thing only in 3 keypresses, but each requires you to hold down at least three other modifier keys with the same finger
@fermiLiquidDrinker7 жыл бұрын
Emacs: Has a language that no one uses besides IRC clients and bad games Vim: Gives you an extra kilobite because hey, just use regular lisp if you want it that bad.
@sohilkaushal41004 жыл бұрын
@@fermiLiquidDrinker Hey although we have to agree that one of the greatest things why people use Emacs is Org mode and it is irreplaceable
@wahyunindiarahman87363 жыл бұрын
thank you very much!! really helpful
@user-iv4dj6tj6r4 жыл бұрын
Could you please tell me why wrap figure doesn't work in an "description-item" environment and if there are altenatives for that problem?
@vincentpham74455 жыл бұрын
Hi, have you tried to solve the space issue when you put the space between the image file name? somehow, vim has error when try to compile it.
@robinhahn69875 жыл бұрын
This is exactly what was needed... I realise these are old videos, but mate, you rock! Trying to get my head around LaTeX / Memoir... not trivial. This helps enormously!
@pughums6 жыл бұрын
What numbering scheme is showing on the left margin of your editor (vim I presume)?
@IncapaxPlays6 жыл бұрын
How do you achieve the live preview? And what kind of pdf viewer are you using? I'm struggling a little getting started with my setup. Your videos are inspiring.
@galvanizeddreamer20516 жыл бұрын
Check out this video by him, it should explain all of that: kzbin.info/www/bejne/hKjRinulg9mZgJI
@TheR9716 жыл бұрын
github.com/xuhdev/vim-latex-live-preview
@InternetHuman162 жыл бұрын
Probably his question was answered, but for others, TeXstudio is the best LaTeX editor out there.
@sitter2207 Жыл бұрын
I recommend vim/neovim with vimtex plugin, and zathura as pdf viewer. Thats what luke is using i guess (may be except for the spesific plugin but they all do the live preview)
@ghost-user559 Жыл бұрын
@@InternetHuman16 Lyx is even easier if you are on a deadline and don’t want to mess with code
@carlosscala51215 жыл бұрын
Very good!!! Thank you
@compphysgeek5 жыл бұрын
forgetting how to spell caption and forgetting to add units, is that the medical effects of using vim? ;) Respectfully, an evil mode emacs user
@JavierPortillo1 Жыл бұрын
Fantastic! Thanks!
@manwa51927 жыл бұрын
Hey man, how about a video that shows how to make a "general correspondence letter" to a company or friend.
@vaibhavahire40553 жыл бұрын
Any idea on how to crop an image though? It's so easy in Word to just paste some screenshot and crop to desired shape.
@krabkrabkrab Жыл бұрын
use Gimp to make a new figure.
@memastamat99825 жыл бұрын
Hello, everytime I try to ref a figure I get 2 semicolons instead.
@Bbdu75yg4 жыл бұрын
Awesome thank u very much !!!!
@srrr4559 Жыл бұрын
Saved by uncle Luke once again. Never thought I'd need to use LATEX ever, but life lifes you into it I guess.
@joshuasegal41615 жыл бұрын
THANK YOU! but is there any way to get rid of the Figure 1: prefix?
@robotdna5 жыл бұрын
Place an asterisk after the word caption, resulting in \caption*{text}. This also works with \section*{} and \subsection*{} variants.
@sinafarokh283 жыл бұрын
How did you get that picture??
@Keuneollie Жыл бұрын
Do you know how to prevent text from getting infront of the image?
@martinmaartensson5 жыл бұрын
How do you do the thing with the numbers?? It looks like you are scrolling up and down to change the value. :D
@martinmaartensson5 жыл бұрын
AH i found it out :D Ctrl+x for lowering and Ctrl+a for raising the value :-)
@yash11522 жыл бұрын
> _It looks like you are scrolling up and down to change the value_ @@martinmaartensson i was wondering about that too (: thanks a lot for sharing your findings (:
@waseemahmad9836 жыл бұрын
nice video
@ramzi48834 жыл бұрын
how do you make your latex interface look like that?
@Safwan.Hossain3 жыл бұрын
he's using VIM.
@saomoon Жыл бұрын
where can i download this arch.png?
@eabrar3 жыл бұрын
good one
@Pa_One4 жыл бұрын
Which latex editor is that?
@jordanwarne9114 жыл бұрын
Vim, a text editor; and a live compiler
@shijinmathew77685 жыл бұрын
Nice..
@harshdeepkanhai6 жыл бұрын
How are you compiling live in latex.
@TheR9716 жыл бұрын
github.com/xuhdev/vim-latex-live-preview
@vineeshvs4 жыл бұрын
Related link (Drawing figure in Xfig and importing it in a Latex document): kzbin.info/www/bejne/bXaThYd9Zq2HgdU
@preetamgurav41392 жыл бұрын
My image keeps popping in a new page
@marklabaclado2176 Жыл бұрын
Why does your machine render so fast? Mine took about 8-10 seconds before rendering even a sentence. I'm running on a 64-bit, 6-GB RAM laptop.
@craterface123 жыл бұрын
Did he just pronounce ratio as 'raseo'?
@user-zq3vq3ce6r4 жыл бұрын
yo you guys notice that at 5:50 that when he puts the emacs.jpg inside figure some portion of blindtext that was ABOVE the image actually went UNDER the image after compilation. But the syntax shows that that blind text is supposed to show BEFORE the figure. Like really, can some one explain this thing to me.
@LukeSmithxyz4 жыл бұрын
LaTeX has built in constraints that decide where to optimally put images and other floating objects (which you can change if you like). In that case, there would've been two little lines of text alone at the top of the page, then the image, then the text below, so LaTeX automatically wants to avoid orphaned text, so it put it below the image.
@LEVONGYUMISHYAN5 жыл бұрын
HOW TO INSERT IMAGES ON GROFF?
@mrsentinel491111 ай бұрын
The subversive jokes are excellent.
@AuDHDQ3 жыл бұрын
Emacs gang rise up
@lemonlord74754 жыл бұрын
LaaTeX
@FranciscoMNeto4 жыл бұрын
At least people who use emacs can *actually* spell.
@tusharbhatt8572 жыл бұрын
Blur video
@HansPeter-qg2vc7 жыл бұрын
Vim users are always so hateful against Emacs. Emacs users are far better, of course. Vim users probably only are so angry because they use a text editor inferior to Emacs.
@LukeSmithxyz7 жыл бұрын
vim users are so unenlightened and low on the spectrum that they can still understand what is a joke and what isn't. Sad!
@HansPeter-qg2vc7 жыл бұрын
+Luke Smith, I got to admit that that's a pretty good and clever answer.
@2MilMil3 жыл бұрын
Anyone triggered by "Law"tex?
@LHCB6 Жыл бұрын
La-tek. It's because there is are letters from different languages.
@ghost-user559 Жыл бұрын
@@LHCB6 Isn’t it named after one of the creators of LaTeX?
@TheBananaman-sg4xd6 ай бұрын
"L" like in "Land", "a" like in "hArd", "T" like in "Ten", "e" like in "lEft", "X" has no English equivalent, but it's like "ch" in Scottish or German "loCH" or "x" in Russian