Showing posts with label LaTeX. Show all posts
Showing posts with label LaTeX. Show all posts

Sunday, July 19, 2009

LaTeX: Keeping capitals in bibliography

The bibtex was removing capital letters from paper reference that I wanted to keep. It took me a little bit to figure out a solution. But I think it might be useful, so I post it below. First I present the original bibtex entry:

@INPROCEEDINGS{
(...)
TITLE = "ION Framework - A Simulation Environment for Worlds with Virtual Agent",
(...)
}

The result was:
(...) Ion framework - A simulation environment for worlds with virtual agents (...)

The solution was to add brackets to the field as shown below:

@INPROCEEDINGS{
(...)
TITLE = "{ION Framework - A Simulation Environment for Worlds with Virtual Agent}",
(...)
}

And it worked fine:
(...) ION framework - A simulation environment for worlds with virtual agents (...)

Thursday, December 04, 2008

LaTeX equation editor

I've been using a very useful tool for writing equations in LaTeX. Although it is quite easy to found on the internet, I notice that some of my colleagues did not know about it. Thus, I thought it might be a good idea to publicise it here.

So, if you're using LaTeX you should give a look at the LaTeX equation editor. It is simple, fast, and accurate. And you do not need to install anything, it runs on your web browser.

Wednesday, December 03, 2008

Writing a number set in LaTeX

I needed to write the formal notation of a multi-dimensional dataset in my PhD dissertation. Since I'm using LaTeX and this dataset consists on a real number set I just have to use the mathbb font, provided by amsfonts or amssymb packages.

Thus, providing that the proper packages were included in the preamble of the document, I just had to use, in math mode:

\mathbb{R}^n


to obtain:

Tuesday, September 25, 2007

Supressing page breaks in LaTeX

I wanted to keep together a paragraph and following quote on a document written in LaTeX. However, the \nopagebreak command does not work properly in this case. Indeed, \nopagebreak does not suppress the page breaks that are deliberately inserted around environments like {quote}. The solution was enclosing the text I want to keep in the same page within {samepage} environment. Something like this:

\begin{samepage}
Lorem ipsum dolor sit amet, consectetuer adipiscing elit:
\begin{quote}
Quisque leo.
\end{quote}
\end{samepage}