LaTeX: Images, Figures, Wrapping and the Logic Behind Them

  Рет қаралды 115,722

Luke Smith

Luke Smith

7 жыл бұрын

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-cr5ty
@JC-cr5ty 5 жыл бұрын
I wish there was commands like: \dontsendfiguretonextpage or \dontwasteatonofspace or \placenormallyanddontbestupidaboutit
@jonatang5966
@jonatang5966 5 жыл бұрын
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
@magtazeum4071
@magtazeum4071 4 жыл бұрын
hahaha..this comment made my day
@enderkayhan555
@enderkayhan555 2 жыл бұрын
@@jonatang5966 this helped ty!
@AlDumbrava
@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
@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
@UsernameDP Жыл бұрын
My 8 hours of reading how to use images in latex has been simplified into a short 13 minute video.
@c.eckhardt597
@c.eckhardt597 10 ай бұрын
Thank you for this explanation! That was really helpful.
@compphysgeek
@compphysgeek 6 жыл бұрын
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
@pietadundershtitz1982
@pietadundershtitz1982 7 жыл бұрын
That was something I was looking for!
@prahe86
@prahe86 6 жыл бұрын
Thanks again for another great video
@igaurab
@igaurab 4 жыл бұрын
Hi how can we make figure labels like 2.1 2.2 according to the sections?
@fermiLiquidDrinker
@fermiLiquidDrinker 7 жыл бұрын
As an emacs user, I can definitely say that my hands are worse then what you have shown. Don't do emacs, kids.
@LukeSmithxyz
@LukeSmithxyz 7 жыл бұрын
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
@fermiLiquidDrinker
@fermiLiquidDrinker 7 жыл бұрын
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.
@sohilkaushal4100
@sohilkaushal4100 4 жыл бұрын
@@fermiLiquidDrinker Hey although we have to agree that one of the greatest things why people use Emacs is Org mode and it is irreplaceable
@wahyunindiarahman8736
@wahyunindiarahman8736 3 жыл бұрын
thank you very much!! really helpful
@user-iv4dj6tj6r
@user-iv4dj6tj6r 4 жыл бұрын
Could you please tell me why wrap figure doesn't work in an "description-item" environment and if there are altenatives for that problem?
@vincentpham7445
@vincentpham7445 5 жыл бұрын
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.
@robinhahn6987
@robinhahn6987 5 жыл бұрын
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!
@pughums
@pughums 6 жыл бұрын
What numbering scheme is showing on the left margin of your editor (vim I presume)?
@IncapaxPlays
@IncapaxPlays 6 жыл бұрын
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.
@galvanizeddreamer2051
@galvanizeddreamer2051 6 жыл бұрын
Check out this video by him, it should explain all of that: kzbin.info/www/bejne/hKjRinulg9mZgJI
@TheR971
@TheR971 6 жыл бұрын
github.com/xuhdev/vim-latex-live-preview
@InternetHuman16
@InternetHuman16 2 жыл бұрын
Probably his question was answered, but for others, TeXstudio is the best LaTeX editor out there.
@sitter2207
@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
@ghost-user559 Жыл бұрын
@@InternetHuman16 Lyx is even easier if you are on a deadline and don’t want to mess with code
@carlosscala5121
@carlosscala5121 5 жыл бұрын
Very good!!! Thank you
@compphysgeek
@compphysgeek 5 жыл бұрын
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
@JavierPortillo1 Жыл бұрын
Fantastic! Thanks!
@manwa5192
@manwa5192 7 жыл бұрын
Hey man, how about a video that shows how to make a "general correspondence letter" to a company or friend.
@vaibhavahire4055
@vaibhavahire4055 3 жыл бұрын
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
@krabkrabkrab Жыл бұрын
use Gimp to make a new figure.
@memastamat9982
@memastamat9982 5 жыл бұрын
Hello, everytime I try to ref a figure I get 2 semicolons instead.
@Bbdu75yg
@Bbdu75yg 4 жыл бұрын
Awesome thank u very much !!!!
@srrr4559
@srrr4559 Жыл бұрын
Saved by uncle Luke once again. Never thought I'd need to use LATEX ever, but life lifes you into it I guess.
@joshuasegal4161
@joshuasegal4161 5 жыл бұрын
THANK YOU! but is there any way to get rid of the Figure 1: prefix?
@robotdna
@robotdna 5 жыл бұрын
Place an asterisk after the word caption, resulting in \caption*{text}. This also works with \section*{} and \subsection*{} variants.
@sinafarokh28
@sinafarokh28 3 жыл бұрын
How did you get that picture??
@Keuneollie
@Keuneollie Жыл бұрын
Do you know how to prevent text from getting infront of the image?
@martinmaartensson
@martinmaartensson 5 жыл бұрын
How do you do the thing with the numbers?? It looks like you are scrolling up and down to change the value. :D
@martinmaartensson
@martinmaartensson 5 жыл бұрын
AH i found it out :D Ctrl+x for lowering and Ctrl+a for raising the value :-)
@yash1152
@yash1152 2 жыл бұрын
> _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 (:
@waseemahmad983
@waseemahmad983 6 жыл бұрын
nice video
@ramzi4883
@ramzi4883 4 жыл бұрын
how do you make your latex interface look like that?
@Safwan.Hossain
@Safwan.Hossain 3 жыл бұрын
he's using VIM.
@saomoon
@saomoon Жыл бұрын
where can i download this arch.png?
@eabrar
@eabrar 3 жыл бұрын
good one
@Pa_One
@Pa_One 4 жыл бұрын
Which latex editor is that?
@jordanwarne911
@jordanwarne911 4 жыл бұрын
Vim, a text editor; and a live compiler
@shijinmathew7768
@shijinmathew7768 5 жыл бұрын
Nice..
@harshdeepkanhai
@harshdeepkanhai 6 жыл бұрын
How are you compiling live in latex.
@TheR971
@TheR971 6 жыл бұрын
github.com/xuhdev/vim-latex-live-preview
@vineeshvs
@vineeshvs 4 жыл бұрын
Related link (Drawing figure in Xfig and importing it in a Latex document): kzbin.info/www/bejne/bXaThYd9Zq2HgdU
@preetamgurav4139
@preetamgurav4139 2 жыл бұрын
My image keeps popping in a new page
@marklabaclado2176
@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.
@craterface12
@craterface12 3 жыл бұрын
Did he just pronounce ratio as 'raseo'?
@user-zq3vq3ce6r
@user-zq3vq3ce6r 4 жыл бұрын
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.
@LukeSmithxyz
@LukeSmithxyz 4 жыл бұрын
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.
@LEVONGYUMISHYAN
@LEVONGYUMISHYAN 5 жыл бұрын
HOW TO INSERT IMAGES ON GROFF?
@mrsentinel4911
@mrsentinel4911 11 ай бұрын
The subversive jokes are excellent.
@AuDHDQ
@AuDHDQ 3 жыл бұрын
Emacs gang rise up
@lemonlord7475
@lemonlord7475 4 жыл бұрын
LaaTeX
@FranciscoMNeto
@FranciscoMNeto 4 жыл бұрын
At least people who use emacs can *actually* spell.
@tusharbhatt857
@tusharbhatt857 2 жыл бұрын
Blur video
@HansPeter-qg2vc
@HansPeter-qg2vc 7 жыл бұрын
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.
@LukeSmithxyz
@LukeSmithxyz 7 жыл бұрын
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-qg2vc
@HansPeter-qg2vc 7 жыл бұрын
+Luke Smith, I got to admit that that's a pretty good and clever answer.
@2MilMil
@2MilMil 3 жыл бұрын
Anyone triggered by "Law"tex?
@LHCB6
@LHCB6 Жыл бұрын
La-tek. It's because there is are letters from different languages.
@ghost-user559
@ghost-user559 Жыл бұрын
@@LHCB6 Isn’t it named after one of the creators of LaTeX?
@TheBananaman-sg4xd
@TheBananaman-sg4xd 6 ай бұрын
"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
Making a Pro Presentation with LaTeX's Beamer!
11:18
Luke Smith
Рет қаралды 121 М.
The day of the sea 🌊 🤣❤️ #demariki
00:22
Demariki
Рет қаралды 72 МЛН
Haha😂 Power💪 #trending #funny #viral #shorts
00:18
Reaction Station TV
Рет қаралды 11 МЛН
Stupid Barry Find Mellstroy in Escape From Prison Challenge
00:29
Garri Creative
Рет қаралды 20 МЛН
Пробую самое сладкое вещество во Вселенной
00:41
"I WISH I HAD MORE INTERNET FRIENDS." - Literally Nobody
7:48
Luke Smith
Рет қаралды 59 М.
My favorite LaTeX Tricks to save time
17:04
Dr. Trefor Bazett
Рет қаралды 62 М.
LateX - Figures and Tables
27:16
ThatMathThing
Рет қаралды 9 М.
The Worst Programming Language Ever - Mark Rendle - NDC Oslo 2021
1:00:41
NDC Conferences
Рет қаралды 1,3 МЛН
I WILL NOT GO TO RESTAURANTS IN 2023.
8:21
Luke Smith
Рет қаралды 52 М.
Async Rust Is A Bad Language | Prime Reacts
28:46
ThePrimeTime
Рет қаралды 87 М.
Ever Noticed How "Weird" Modern TV and Film are?
12:32
Luke Smith
Рет қаралды 116 М.
How to Learn to Code FAST (Do This or Keep Struggling)
11:00
Andy Sterkowitz
Рет қаралды 691 М.
How I Wrote a Script that Cracks Code Automatically
16:53
Low Level Learning
Рет қаралды 64 М.
Main filter..
0:15
CikoYt
Рет қаралды 10 МЛН
#miniphone
0:16
Miniphone
Рет қаралды 3,5 МЛН
Хотела заскамить на Айфон!😱📱(@gertieinar)
0:21
Взрывная История
Рет қаралды 3,4 МЛН
cute mini iphone
0:34
승비니 Seungbini
Рет қаралды 3,6 МЛН