 Welcome back to the session on latex. In this session, we will learn to cite and style the references in our document. Whenever we write papers, articles, books, etc., we read a lot of material which could be in various forms. While using the ideas given in them, it is a practice to attribute in our document. For this, the first step is to create a bibliography that is a .bib file which would contain our references in bibtech format. Let us go to tech studio and create a .bib file. I click new, I save it as biblio.bib and I will click save. Let us go back to our slides. So, what goes in the bib file? Other citations. Some examples are in proceedings, article and book. Consider that you want to cite an article you would write at article, then in the curly brace followed by the key which you will use to cite in the document, then mention the details like title, author, journal, etc. Book on the other hand will have different set of details. Well, do not worry, you do not have to write all of this manually for citing it. We get the bibtech either using Google Scholar, ACM, IEEE or similar other sites. Let us look at it one by one. Let us say I am already on the ACM page viewing a paper called an elastic SQL, etc. Over here on the right, there is an option called bibtech. Let us click on it and there would be a pop-up which will display what needs to be put in the bib file in order to attribute it. Let us copy paste it in the bib file we just created. So, I copy this and in the bib file I will paste it. I click save. Same goes for other conferences as well, well but the most preferred way would be to search the intended reference on the Google Scholar that is scholar.google.in. Let us say my search query is database and I get these search results. See I want to cite principles of database systems by JDUlman. Over here there is a site option. Click on it, choose the bibtech format and the bibtech appears here. Let us copy paste this in the bib file we created. Let us save it. Well, sometimes you may want to cite only the URL for example, wikipedia. So, for that instead of at book or at article we write at MISA and we write the key as say wiki comma title equal to in curly brace we write wikipedia comma we want to cite the URL. So, we write how published equal to in double quotes we write slash URL and we write https colon slash slash en dot wikipedia dot org slash wiki slash wikipedia. Well, this is nothing but the URL of wikipedia. Let us save it and if you see the key of Ulman is Ulman 1984 principles, well you can change it in case you do not like it. So, we just write Ulman and if you see the key for this in proceedings is big. So, we just write the first word. Let us save it. Now, go back to our slides. Now that we have created a bib file we would need to go ahead with citing them in the document. The command is slash site and the key that we wrote then we need to mention the bibliography style and the bib file we created. The bibliography styles are plain, alpha, unsorted, ACM etcetera. I am switching to tech studio. In session number 34 I already have some content over here. So, we just scroll down and before the end document we write slash bibliography style we write plain and we say slash bibliography we write the file name which is biblio. Now let us build and run. Notice that the word references have appeared. Now, let us cite them. So, over here we write slash site the first reference for the database we write slash site old man and over here for the wiki link we write site wiki. Let us build and run. Notice that the references and the citations have appeared. Now, let us change the style to alpha. So, instead of plain we write ALPHA. Let us save it. Whenever we change bibliography style it is a good practice to clean the auxiliary files which latex has generated. So, we click tools and we say clean auxiliary files. It will delete the log files, auxiliary files, DBL etcetera. Let us click ok. Well now let us build and run. The style is changed to alphabets. It appears over here as well. Let us go back to our slides. Well, each conference like ACM, IEEE have their own latex templates. You would find them on their websites. You can find the IEEE template over here. Now, let us go back to tech studio and we add some random content slash lip sim 1 dash 2. Let us add it over here as well. Let us build and run. So, we have some content over here. Now, let us change the document class to IEEE trun and we write conference here. This is a style suggested by IEEE. Note that the IEEE trun dot cls file lies in the same directory as my session 34 dot tx. Let us change the bibliography style as well. So, instead of alpha we write IEEE trun. Let us clean the auxiliary files. So, we write tools, clean auxiliary files, click ok. Let us build and run. Well, this is the IEEE format. These would be the only steps needed to format the paper based on the conference style. So, using latex you can change the formatting of your papers, reports in a very short time and without any hassle. Research scholars actually consider this as a blessing. So, in this session we learnt to add references, change the bibliography style and format the paper in IEEE format. Thank you. Have a nice day.