background preloader

Natbib reference sheet

Natbib reference sheet
Reference sheet for natbib usage(Describing version 7.0b from 2002/02/27) For a more detailed description of the natbib package, LATEX the source file natbib.dtx. Overview The natbib package is a reimplementation of the LATEX \cite command, to work with both author-year and numerical citations. It is compatible with the standard bibliographic style files, such as plain.bst, as well as with those for harvard, apalike, chicago, astron, authordate. Loading Load with \usepackage[options]{natbib}. Replacement bibliography styles I provide three new .bst files to replace the standard LATEX numerical ones: plainnat.bst abbrvnat.bst unsrtnat.bst Basic commands The natbib package has two basic citation commands, \citet and \citep for textual and parenthetical citations, respectively. Multiple citations Multiple citations may be made by including more than one citation key in the \cite command argument. Numerical mode These examples are for author-year citation mode. Suppressed parentheses Partial citations Related:  LaTeX

xetex - I am new to TeX. Should I use LaTeX, XeLaTeX, ... Bibliography and citation style The default bibliography [\bibliographystyle{plain}] and citation [ \cite ] styles in latex are not used very commonly used nowadays. After doing a small search on the web and reading some documentation I have found some useful packages which help format the bibliography entries and the citations to the authors in the " author( year) " instead of the " [1] " fromat. Note that all the packages I will use are already in the unix servers in the Statistics Dept ( Pennstate). Citation Style In LaTeX, one can use a number of different bibliography styles. This is how the LaTeX-source might look like: Reference to a paper in proceedings [1], to an article [2], and to a book [3]. References Reference to a paper in proceedings [2], to an article [3], and to a book [1]. Reference to a paper in proceedings [FSC93], to an article [LBG80], and to a book [Abu90]. Reference to a paper in proceedings [Fanty et al., 1993], to an article [Linde et al., 1980], and to a book [Abut, 1990]. \begin{document} Usage

LaTeX/Bibliography Management For any academic/research writing, incorporating references into a document is an important task. Fortunately, LaTeX has a variety of features that make dealing with references much simpler, including built-in support for citing references. However, a much more powerful and flexible solution is achieved thanks to an auxiliary tool called BibTeX (which comes bundled as standard with LaTeX). BibTeX provides for the storage of all references in an external, flat-file database. Embedded system[edit] If you are writing only one or two documents and aren't planning on writing more on the same subject for a long time, maybe you don't want to waste time creating a database of references you are never going to use. LaTeX provides an environment called thebibliography that you have to use where you want the bibliography; that usually means at the very end of your document, just before the \end{document} command. \begin{thebibliography}{9} \end{thebibliography} OK, so what is going on here? @article

Night Walker: Latex: \headheight is too small You never know what you will meet when you use Latex, luckily, we can search Google or Yahoo to find the answer. However, it cannot help all the times. There is a problem you may come across using package fancyhdr: Package Fancyhdr Warning: \headheight is too small (12.0pt):Make it at least 14.49998pt.We now make it that large for the rest of the document. It was not easy to find the answer via either Google or Yahoo. Here is the solution. \setlength{\headheight}{15pt} in the preamble, i.e. before \begin{document}.Tips: \headheight defines the height of the header.

Computer Science | Video Courses on Academic Earth In its purest form, computer science is the research and development of technology that solves specific problems. Computer science has brought the world smart phones, GPS systems, the gaming industry and tablet computing, along with technological developments that assist government, industry and medicine. In addition to creating new technology, computer scientists also make improvements to existing technology and study the ways computers can make our lives easier. As with any branch of science, computer scientists perform research that establishes new information. This research begins with known mathematical algorithms and computer theory, and strives to constantly redefine what technology can do for us. Exploring fundamental questions about computation is the first step toward designing the hardware, software and complex network systems that we rely upon. Sample Courses During the first two years of a standard 4-year program, students focus on the basics: Possible Specializations Master’s

RefWorks with LaTeX and BibTeX - RefWorks at MIT What is LaTeX? LaTeX is a typesetting program that takes a plain text file with various commands in it and converts it to a formatted document based on the commands that it has been given. The source file for the document has a file extension of .tex. It is widely used at MIT for theses and other technical papers due to its prowess with mathematical and foreign characters. What is BibTeX? BibTex is a bibliographic tool that is used with LaTeX to help organize the user's references and create a bibliography. How do I export from RefWorks to BibTeX? Log into RefWorks on your web browser. A text file containing information for each of your references should appear (if it doesn't, click Download It). To link the bibliography file that you just downloaded to your document, you need to enter two commands: How do I cite references in my document? How can I correct errors I encounter when running BibTeX on my bibliography file? BibTeX has a 5000 character limit for each field.

BibTeX: How to cite a website With the increasing importance of the internet for scientific research, need increases for properly citing online resources. Unfortunately, when the main LaTeX citation machinery BibTeX was created, this was not to be foreseen; this is why there is to date no canonical way to cite, say, a website. Different workarounds have emerged, using for example some trickery with the @MISC type (see below), but the right way™ hasn't been found yet. This could change with the advent of biblatex. Its new entry type @ONLINE is supposed to contain references to web resources and doesn't give room for confusion anymore. and the LaTeX file\documentclass{article} \usepackage{biblatex}\bibliography{test.bib} \title{BibTeX Website citatations with the \textsf{biblatex}~package}\date{} \begin{document} \end{document} one gets a nicely typeset list of references. Note that there are plenty of more options and entry types in the biblatex package, such as (the currently unused) @AUDIO and @VIDEO. \usepackage{url} and

bibtex - URL of cited web site in bibliography Detexify LaTeX handwritten symbol recognition Want a Mac app? Lucky you. The Mac app is finally stable enough. See how it works on Vimeo. Download the latest version here. Restriction: In addition to the LaTeX command the unlicensed version will copy a reminder to purchase a license to the clipboard when you select a symbol. You can purchase a license here: Buy Detexify for Mac If you need help contact What is this? Anyone who works with LaTeX knows how time-consuming it can be to find a symbol in symbols-a4.pdf that you just can't memorize. How do I use it? Just draw the symbol you are looking for into the square area above and look what happens! My symbol isn't found! The symbol may not be trained enough or it is not yet in the list of supported symbols. I like this. You could spare some time training Detexify. The backend server is running on Digital Ocean (referral link) so you can also reduce my hosting costs by using that referral link. Why should I donate? Hosting of detexify costs some money. No. Yes.

LaTeX table of contents, list of figures/tables and some customizations | texblog I wrote a somewhat short post on list of figures and list of tables a few years ago. Nevertheless, it gets quite a bit of traffic, possibly due to the large number of comments. For that reason, I decided to put together another, more informative post on the same topic that includes table of contents. I use the following common abbreviations throughout the post: toc: table of contentslof: list of figureslot: list of tables Topics Creating content lists, the basic commands Creating content lists in LaTeX documents is straight forward. Depending on the document-class employed, page-breaks are added between toc, lof, and lot. Controlling the depth of content added to toc Depending on the size of your document (length of chapters, sections, etc.), you might want to increase or decrease the level of headings added to toc. In the following example all headings are added to toc (level: 5): Adding lof/lot to toc Lists of figures and tables are not automatically added to the table of contents. Related

Side-by-side content in beamer presentations « LaTeX Matters There are two ways (and possibly more) to place content side-by-side in a beamer presentation, the columns and the minipage environments. The first is a beamer-specific environment and is therefore only available in a beamer presentation. Whereas the latter has other applications and is available in all document-classes. General considerations In any LaTeX document, there is a predefined width available for text, \textwidth. The columns environment The columns environment is only available in the beamer document-class and might therefore be lesser known. Basic command structure: And here is a complete minimal working example: The minipage environment I wrote an article on the minipage environment quite some time ago. The command is used as follows: Below is a complete minimal working example: Final note Even though there are differences, I don’t know of any advantage of one method over the other when placing content side-by-side. Like this: Like Loading...

Top four LaTeX mistakes Here are four of the most common typesetting errors I see in books and articles created with LaTeX. 1) Quotes Quotation marks in LaTeX files begin with two back ticks, ``, and end with two single quotes, ''. The first “Yes” was written as ``Yes.'' in LaTeX while the one with the backward opening quote was written as "Yes." 2) Differentials Differentials, most commonly the dx at the end of an integer, should have a little space separating them from other elements. The first integral was written as \int_0^1 f(x) \, dx while the second forgot the , and was written as \int_0^1 f(x) dx The need for a little extra space around differentials becomes more obvious in multiple integrals. The first was written as dx , dy = r , dr \, d\theta while the second was written as dx dy = r dr d\theta 3) Multi-letter function names The LaTeX commands for typesetting functions like sin, cos, log, max, etc. begin with a backslash. The first example above was written as \log e^x = x and the second as log e^x = x Related posts:

The font - Thesis in LaTeX At the beginning of the thesis typesetting I used only one typeface — default LaTeX font, computer modern roman (CMR; see also Latin Modern): \usepackage[T1]{fontenc} After several months of working with 11pt CMR both on screen and paper, I have decided to look for some alternative, because CMR text appeared to me too "light". \usepackage[T1]{fontenc}\usepackage[bitstream-charter]{mathdesign} Compared to other fonts, one of the things I really like in Charter is its good scalabilitybut I would not say this about bold Charter, at leastscalability of particular characters on screen. The only thing I could complain about Charter is its "fancy" appearance of math :) which I did not like at all: I was looking for some alternative for the math typesetting (i.e., text placed between $ characters, and in the equation environment) and finally decided to stay with the original CMR version of the math: \usepackage[T1]{fontenc}\usepackage{charter}\usepackage[expert]{mathdesign} Greek "mu" story Headings

Integrating Inkscape graphics in LaTeX Getting good-looking diagrams and figures into a LaTeX document can be tricky. My favourite software (and I think it ought to be anyone's favourite) for drawing such figures is Inkscape. This post explains how to get text in the proper font into Inkscape, how to put equations into Inkscape drawings, and how to get those drawings out of Inkscape and into your LaTeX document. It is a good idea to use the latest version of Inkscape, because the program is rapidly being improved all the time. LaTeX font in Inkscape To make your figure look good in its environment, you can use the same font family that the surrounding body text uses. Installing fonts As Computer Modern is written in the METAFONT format, it cannot be directly used in Inkscape. The BaKoMa font bundle provides the Computer Modern font in these and some more formats. Windows Open up Fonts in the Control Panel and drag-and-drop all files from the ttf directory into here. Ubuntu Linux Creating the figure Or, almost seamlessly.