 Hey, how's it going everybody? My name is John Hammond and in this video I want to start talking a little bit about latech. So latech is a really really cool thing It's a small language It is it is I guess you can consider it a programming language Because you can actually run system commands and stuff like that if you get into that But it is a document preparation system for a high quality type setting. It's used for cool pretty beautiful professional documents and really any kind of any kind of publishing So you can get a lot more information about it online obviously But let's get to writing some of it I'm of course going to be doing everything in sublime text because that is my weapon of choice and Sublime text is awesome because you can find a package that will make latech writing really really easy for you We can control shift P to get the command paled up and then install a package The one that I want is latech tools and And then and now that it's been installed we should be able to build and create latex latex documents within sublime text extremely easily Extremely easily. So I'm gonna make a directory called latex tutorials And just in there I'll just put all of the tutorials and the things that we actually write in that code So I'll put that in latex tutorials. It can be zero zero zero one. Hello world and I'll latex documents and with a dot tx or tech file extension. So the syntax for it is Interesting we use it backslash to note things that we actually want latex the language to set up and build for us So in this case, we're specifying a document class. That's the first thing we always need Files for release. I don't really care about that. Thank you though and Well, this will always be represented of the structure and the skeleton of a basic latech article or document So the syntax for that in this case is an article That's probably what you'll see most commonly I'm sure there are other settings for the document class But that really builds and sets up the page for us now to actually create the document We need what's called a latech environment and those the syntax for that is a backslash begin to note that We want something that's actually a late-tech environment there and it follows that same structure of a backslash Command name and then any arguments that we kind of give that will be passed in within these curly braces here And we'll begin Document is the name of the environment you want to use that's will always be passed into the arguments for that begin clause And then we'll end that document as well Now anything that we supply inside here is actually just going to be passed in like information The actual contents of our documents, so I'll say hello world just like that if I control B to build it boom We get this nice little engine that's building our PDF for us and it creates a document really really simple Doesn't have anything in it right now other than that simple hello world that we just created Extremely easy right super simple stuff So a lot less information the stuff that I'm going to be drawing on it comes from the learn latex stuff It's available online. So learn latex. It's latex hyphen tutorial calm You can read the tutorial and it'll bring you through some awesome stuff Kind of a good guide for learning really interesting stuff in latex But latex itself is pretty simple and pretty easy it goes through syntax kind of just like what I just did and then you can Actually do other stuff and get a more get a little bit more in-depth in the environment and of the other Conceptual stuff behind latex another thing they show off is a title page and we can totally set that up as well we can say title Welcome to latex and Looks like it takes syntax for date which it should give us by default. I think in the author in this case can be Myself and now we can do make title. We can run that within our document environment Just like they're doing in the demonstration over here. I don't know if you can see that that well I'll blow that up for you Run this now control B and we get our title Welcome to latex My myself was the author and it does generate the date for us although we can specify it Because it'll just take the current day that you build this as it we can specify at any time else like it should be 2015 326 I don't care if I run this it gives us a date that we specify not bad But let's use it the current day That's pretty much it They actually use a new page because you can see in the PDF that I've just generated the document is still within the title Right there, but if we wanted to specify a new page Just like they do now when we control B to display this we get welcome to latex John Hammond Hello world on a separate page in our PDF file It's pretty much all that they cover they actually oh, okay They do remove that Those page numbers. I didn't know if I want to show that off to you, but we certainly can if it's in the latex I'll just do a little demonstration. You'll notice in our latex document, we have a page number here plus It's just fine this title page as our first page, but that's not really what we want If it's a title page, it shouldn't have a a number there so we can remove page numbering We can have it go away Temporarily for this page we can have it gobble and now Because we've ran that setting there are no page numbers in our document but if we wanted to turn it back on or right after our title page just like they do in the Explanation over there we can pass an Arabic and that will just represent The actual Roman sorry Arabic numbers one etc etc build this one Now our title page does not have a page number But our next page does have a page number simple stuff if we wanted to we can set this up outside I Think it's page numbering empty. I think that's it. Nope. I'm wrong. Let's see what that is a Little bit of research. How to suppress page numbers. Okay. It looks like it's page style Is it this page style or is it just entirely page style? Okay page style outside of the environment Apparently does not work, huh? This page style doesn't do anything at all. Oh, okay. They're showing off page numbering gobble Okay, it looks like they're going through the same understanding that we are within the latex document regardless We don't have to worry about that one. We can just use the page style or page numbering Syntax to gobble to get rid of a page numbering and then Arabic to turn it back on or we could just leave it off Just like anything else in sublime text. You can of course supply a comment with control forward slash so if I want to comment out all the stuff like a control forward slash and a comment in latex It's just a percent sign For a single line comment sure Okay, cool. Thanks for watching guys simple stuff a little bit of latex Really just learning the syntax and putting it all together, but it's easy, right? You just got to know the syntax and how to set it all together Thanks for watching guys. Hope to see you in the next tutorial. We do more interesting stuff