Пікірлер
@hanibelsanibel4822
@hanibelsanibel4822 3 ай бұрын
Thx ..❤❤ all love for you teacher from algeria north of africa
@joshuarusitovski
@joshuarusitovski Жыл бұрын
how could you bold certain lines that you are drawing?
@thabsor
@thabsor 2 жыл бұрын
thanks man!
@adrianwolf1265
@adrianwolf1265 2 жыл бұрын
Thank you, aint no one else show the multicolumn stacked side by side like you did.
@CanDoSo_org
@CanDoSo_org 2 жыл бұрын
Thanks, TJR. I am struggling in fitting a big table on one page. Could you please show us how to do it?
@tjr1252
@tjr1252 2 жыл бұрын
Hi Reddy, you could try the resizebox option, here is an example: \begin{table} \centering esizebox{\columnwidth}{!}{% \begin{tabular}{r|lll} \multicolumn{1}{r}{} & \multicolumn{1}{l}{Heading 1} & \multicolumn{1}{l}{Heading 2} & \multicolumn{1}{l}{Heading 3} \\ \cline{2-4} Row 1 & Cell 1,1 & Cell 1,2 & Cell 1,3 \\ Row 2 & Cell 2,1 & Cell 2,2 & Cell 2,3 \end{tabular}% } \end{table} You can see the tabular environment is within the esizebox{X}{Y} environment where X is the width option and Y is the height option. The features in the example set X=\columnwidth which will make the table span the entire width of the page. Y=! will make it so that the height scales with the width so you only need to set one and your original proportions will be kept. Otherwise, you could customize both to your liking e.g. esizebox{3cm}{2cm}. I hope that helps!
@CanDoSo_org
@CanDoSo_org 2 жыл бұрын
@@tjr1252 Many thanks, TJR.😁
@laiqzada8167
@laiqzada8167 2 жыл бұрын
I think your Master research on the graph theory.
@tomasito_2021
@tomasito_2021 3 жыл бұрын
Nice video. i would like to know how to use the 'belongs to' symbol on latex
@tjr1252
@tjr1252 3 жыл бұрын
If you are talking about the set relation 'belongs to' then you can use \in for example try $x \in A$.
@tomasito_2021
@tomasito_2021 3 жыл бұрын
@@tjr1252 Thanks
@Jake-om9no
@Jake-om9no 3 жыл бұрын
More than grateful!
@Jake-om9no
@Jake-om9no 3 жыл бұрын
very grateful!
@seddargroup2960
@seddargroup2960 3 жыл бұрын
Hi TJR . Thanks for making this video. A quick question though. How do you make a table of 4 columns where the first column is single but the other three are multi-columns with two smaller columns within each? I hope the question is clear enough... thanks.
@tjr1252
@tjr1252 3 жыл бұрын
I don't really understand what you mean by "the other three are multi-columns with two smaller columns within each?" Do you mean you want a row that spans the last 3 columns but not the first?
@joaopedrodabarradeoliveira3089
@joaopedrodabarradeoliveira3089 3 жыл бұрын
Thanks so so much. You helped me a lot. I have looked for a explanation about tables like yours a so time... Thanks again
@ginarose8038
@ginarose8038 3 жыл бұрын
What are the packages we need to add for multi column command?
@tjr1252
@tjr1252 3 жыл бұрын
From my understanding you don't need to include any packages for multicolumn. I can run the table (after removing the colors) with only: \documentclass[11pt]{article} \begin{document} \begin{center} \setlength{\tabcolsep}{1cm} enewcommand{\arraystretch}{1.5} \begin{tabular}{|c|c|c|p{3cm}|} \hline \multicolumn{4}{|c|}{Title of the table}\\ \hline \multicolumn{2}{|c|}{Category 1} & \multicolumn{2}{c|}{Category 2} \\ \hline \tiny A & B & C & Longer text here Longer text hereLonger text hereLonger text hereLonger text hereLonger text here \\ \hline E & F & G & H\\ \hline I & J & K & L\\ \hline M & N & O & P\\ \hline \end{tabular} \end{center} \end{document} If this code doesn't work for you then it could be that you don't have the full version of Latex installed.
@ginarose8038
@ginarose8038 3 жыл бұрын
@@tjr1252 Thank you so much for the reply!
@chezbetty9200
@chezbetty9200 3 жыл бұрын
This is very mathy
@chaitanyatuckley4666
@chaitanyatuckley4666 3 жыл бұрын
Thanks a lot.
@غيثالخضيري-ه3ث
@غيثالخضيري-ه3ث 3 жыл бұрын
Awesome video
@adriennewelch5891
@adriennewelch5891 3 жыл бұрын
Hi, just wondering if this example of Latex file is available to download. Thanks
@henkyac1006
@henkyac1006 4 жыл бұрын
Hi genius. Can anybody answer why tikzpicture refuse to work with \usepackage{color, colortbl} and \begin{document}
@henkyac1006
@henkyac1006 4 жыл бұрын
I do not know how to work with tikzpicuter and colortbl
@tjr1252
@tjr1252 4 жыл бұрын
@@henkyac1006 I am able to compile a document with tikz, and \usepackage{color, colortbl} so it is probably some other issue. Make sure you don't have any other color packages as they typically will clash.
@henkyac1006
@henkyac1006 4 жыл бұрын
@@tjr1252 Thank you @TJR. I will try it tomorrow
@mkkwan
@mkkwan 4 жыл бұрын
Good vid, cheers.
@bigdave6952
@bigdave6952 4 жыл бұрын
thanks a lot bro. Make more programming videos if possible
@tjr1252
@tjr1252 4 жыл бұрын
Thanks for the comment! I have a series on the Maple program that I hope to make some time next year.
@bigdave6952
@bigdave6952 4 жыл бұрын
@@tjr1252 perfect :)
@Disha_art_diaries
@Disha_art_diaries 4 жыл бұрын
What if i don't want to change the fontstyle of theorem or want to put normal font of theorem???
@tjr1252
@tjr1252 4 жыл бұрын
For normal fonts in the theorem environment simply add the following to the preamble: \theoremstyle{definition}
@Disha_art_diaries
@Disha_art_diaries 4 жыл бұрын
@@tjr1252 but it doesn't work🙄
@tjr1252
@tjr1252 4 жыл бұрын
@@Disha_art_diaries Sorry about that, I forgot to mention that \theoremstyle{definition} has to be placed BEFORE the theorems are defined in the preamble. Example: \documentclass{article} \usepackage{amsthm} \theoremstyle{definition} ewtheorem{theorem}{Theorem} \begin{document} \begin{theorem} The text here should be in normal font. \end{theorem} \end{document} Does that work?
@Disha_art_diaries
@Disha_art_diaries 4 жыл бұрын
@@tjr1252 yes it's work😁😁 Thank U😇
@awniyakumar4672
@awniyakumar4672 4 жыл бұрын
Sir please make a video about how to insert mp3 and mp4 files in beamer document. With requirements of system, software etc. I use window 10
@tjr1252
@tjr1252 4 жыл бұрын
Hi, I tried to look into this but it seems very specific to the system and software you are using. I am on Mac so I can't really figure out what needs to be done on Windows. You might be able to find what you are looking for here: tex.stackexchange.com/questions/51632/embedding-sound-files-into-beamer-presentation-with-media9 Best of luck!
@brianmabua
@brianmabua 4 жыл бұрын
brilliant
@pongalplayer
@pongalplayer 4 жыл бұрын
Really awesome.. this is what i was looking for..superb..thanks
@hadjirasihem6361
@hadjirasihem6361 4 жыл бұрын
Thank you ,i have a question: what if we have a report? , i couldn't make a definition with the number of section
@tjr1252
@tjr1252 4 жыл бұрын
I am not sure I totally understand your question. But, to get the definitions to be numbered by section you just have to add the [section] option in the preamble where you create the definition environment. In other words, add this to your preamble: ewtheorem{definition}{Definition}[section] Hope that helps.
@mathematicsstatistics1636
@mathematicsstatistics1636 4 жыл бұрын
Thank you so much for the video. You create a good video and it continuing help people even after years!
@Jonathan-zj6to
@Jonathan-zj6to 4 жыл бұрын
good vid 👍
@drizzylmg752
@drizzylmg752 4 жыл бұрын
Just what I was looking for, thanks!
@dansaenak9097
@dansaenak9097 4 жыл бұрын
Why blour brother ????🙏🙏🙏🙏🙏
@eltonrodrigues5885
@eltonrodrigues5885 4 жыл бұрын
How do I merge and center texts in the table at the same time?
@tjr1252
@tjr1252 4 жыл бұрын
As a quick fix, just add \centering to the cell you want the text centered on. EX: \begin{tabular}{c|p{5cm}|c} A & \centering Longggggggggggggggggg centered text& B \end{tabular}
@RamadanElsharif
@RamadanElsharif 5 жыл бұрын
Thank you for this nice and quick video.
@aiyo4280
@aiyo4280 5 жыл бұрын
Great
@raydencreed1524
@raydencreed1524 5 жыл бұрын
I'm REALLY new to LaTeX. I'm working on a document about a particular topic in math that I'm interested in, and I need a table of values. I know how to format it and make it look how it's supposed to, but it's appearing at the top of the page instead of after the paragraph describing it on that same page. How can I make it appear after that paragraph instead of at the top of the page?
@tjr1252
@tjr1252 5 жыл бұрын
Good question! It is really simple, put your code for the table in between \begin{figure}[h] code for table \end{figure} The h in the bracket is an option that stands for "here" meaning that it will place the figure where it is in the tex file. Other options are t (top of page) and b (bottom of page). Fair warning though, you may have to play around with where the table is actually place in the tex file to get it to show up exactly where you want it. For example, if you place it below a paragraph too close to the end of the page it may show up on the next page etc. Just play around with it and you should find the solution. GOOD LUCK!
@raydencreed1524
@raydencreed1524 5 жыл бұрын
Thomas J. Rivera Thanks so much! Especially for replying so quickly.
@doaawagdy4535
@doaawagdy4535 5 жыл бұрын
but now its figure not table ,i need table and when putting [t] or any practices not implement the code as table
@arnasvysniauskas8447
@arnasvysniauskas8447 5 жыл бұрын
That's only a hypothesis, but maybe that r stands for radians and it's possible to use d for degrees
@leonhardeuler9839
@leonhardeuler9839 6 жыл бұрын
Interesting... I will watch the series
@Ybrahg21
@Ybrahg21 6 жыл бұрын
Hello do u know how to draw bending moment diagram ?
@tjr1252
@tjr1252 6 жыл бұрын
Hello Yibrah, could you be more specific? Do you have a functional form or example? If it is just a combination of linear functions it might be best to use look at the network video whereby you can create nodes and connect those nodes with straight lines.
@Ybrahg21
@Ybrahg21 6 жыл бұрын
@@tjr1252 Thanks Dear yes i have example M1=0 M2=153NM M3=-210Nm M4=0
@surajitdas2505
@surajitdas2505 6 жыл бұрын
great
@DharmendraYadav-js2bu
@DharmendraYadav-js2bu 6 жыл бұрын
Thanks For Video Sir, Very informative Video
@MrMangkokoo
@MrMangkokoo 6 жыл бұрын
you have mac with keynote included WHY DO YOU USE BEAMER??
@tjr1252
@tjr1252 6 жыл бұрын
Last I checked keynote doesn't have compatibility with LaTex ;)
@azmatullah2650
@azmatullah2650 6 жыл бұрын
How to change the text size in different cells of the table ?
@tjr1252
@tjr1252 6 жыл бұрын
Hi Azmat, Thanks for the question. The simplest answer is to add one of the following commands into the cell whose text size you want to change: \tiny \scriptsize \footnotesize \small \large \Large \huge \Huge this list goes from smallest to biggest text size. There are of course many other ways. Hope that helps!
@atchutram9894
@atchutram9894 6 жыл бұрын
How to refer them? We will need to refer lemmas and theorems.
@tjr1252
@tjr1252 6 жыл бұрын
Hi! Thank you for the very good question. For referencing you want to use the hyperref package as follows: Step 1: Add \usepackage{hyperref} to the preamble (the part before \begin{document}). Step 2: After you have created a theorem environment you can reference the theorem by adding \label{xxx} anywhere between \begin{theorem} and \end{\theorem}. Note that "xxx" can be anything you like and is what will be used to reference the theorem in the text with ef{xxx}. Also NOTE that you will have to compile the document twice to see the reference number. The first time it will show up as "??". Example: \begin{theorem}\label{pythagorus} $$ a^{2}+b^{2}=c^{2} $$ \end{theorem} Theorem ef{pythagorus} is the Pythagorean theorem. In this example I added the label tag to the theorem under the name pythagorus. Then I reference the theorem in the text with ef{pythagorus}. This will show up in the compiled pdf as the number associated with with the Theorem. This works for all theorem environments as well as figures. Finally, note that there is lots of customization you can do here (Google is your friend, try to search for some things). What I am currently using is: \usepackage{hyperref} \hypersetup{ colorlinks, linkcolor={blue}, citecolor={blue!50!black}, urlcolor={blue!80!black} } just add that to the preamble and you will see that it adds some nice features (like being able to click the reference number and jump to the theorem).
@LatinDanceVideos
@LatinDanceVideos 6 жыл бұрын
Won a new subscriber. Well done. Thanks.
@sebastiantapia3108
@sebastiantapia3108 6 жыл бұрын
how could you put a specific node distance? For example, I just need 2cm between node 1 and 2, keeping 3cm to the others nodes ? Greetings from Chile.
@tjr1252
@tjr1252 6 жыл бұрын
Hi Sebastian, you can control node distance in the following way: Step 1: add \usetikzlibrary{positioning} to the preamble (the part before \begin{document}). Step 2: When you make the first node using ode[draw] (n1) at (0,0) {}; you can place a node 3cm next to that node by using the code ode[draw] (n2) [right=2cm of n1] {}; I believe that this is the best solution to your problem whereby you would end up with a code like this \begin{tikzpicture} [node distance=1cm] ode[draw, shape=circle] (n1) at (0,0) {node 1}; ode[draw, shape=circle] (n2) [right=2cm of n1] {node 2}; ode[draw, shape=circle] (n3) [right=3cm of n2] {node 3}; ode[draw, shape=circle] (n4) [below=3cm of n1] {node 4}; \end{tikzpicture} You can further control the distance of all nodes by using the option in the above code [node distance=1cm]. There are many other options to satisfy your request (that is the beauty of LaTex) but this I believe is the simplest. If you have further questions, don't hesitate to ask.
@fatmabozkurt64
@fatmabozkurt64 6 жыл бұрын
Hello Thomas, Do you know how to draw intersection of two planes in 3D together with their normal vectors?
@tjr1252
@tjr1252 6 жыл бұрын
Hi Fatma, I am sorry but I don't not have the time currently to answer this question directly. One hint that might be able to get you started is to look at the code provided in the example of the link below and try to tailor it to your problem: tex.stackexchange.com/questions/427380/tikz-draw-a-3d-intersection-of-planes
@fatmabozkurt64
@fatmabozkurt64 6 жыл бұрын
Thank you, I figure out how to do that :)
@omtyfrast3486
@omtyfrast3486 7 жыл бұрын
What are the packages that you are using?
@tjr1252
@tjr1252 7 жыл бұрын
The only package you need for this video is tikz. It comes with the full version of Latex for both operating systems. Just put \usepackage{tikz} in your preamble and it should work.
@omtyfrast3486
@omtyfrast3486 7 жыл бұрын
Thank you!
@jiapanyu1544
@jiapanyu1544 7 жыл бұрын
I think the below right number shows which frame you're in, not which slide you are currently in. Frame is different from slide.
@tjr1252
@tjr1252 7 жыл бұрын
Hi Jiapan. I understand what you mean. If you want the beamer to count slide numbers as opposed to frame numbers just put: \setbeamertemplate{footline}[page number]{} in the preamble of your document. To change back to counting frames you just switch to \setbeamertemplate{footline}[frame number]{} Hope that helps.
@jiapanyu1544
@jiapanyu1544 7 жыл бұрын
Gotcha. Thank you!
@kevinschaaps9041
@kevinschaaps9041 8 жыл бұрын
Thank you for making this video!