Writing your research paper in Latex using texmaker 3.0.4 (Part 2)

This is the second part of my previous post on the same topic Writing your research paper in Latex using texmaker 3.0.4 : Some useful commands and tips. So here are the new tid-bits:

1. Sort Citations by Reference Number

If you are happen to be using a bib style other than ieeetr and need to sort citations then use the following in your premble –




The latter would format the list as [1–3] while the former gives [1, 2, 3]

2. BibTeX Style Examples

If you are confused about which bibtex style your publisher uses then you can search this style example archive.

3. Aligning on specific character for multiline equations with one equation number

Use the split environment with only one ampersand at the alignment point, which would be the equals sign for your case. So, for instance, your code would be:

   A + B &= C + D \\
   &= E + F  \\
   &= 3

So here the equation will align around the ‘=’ sign. And ‘\\’ splits the equations in separate lines.

4. Remove colon from table and figure name, making bold
The caption package provides a lot of functionality and I would recommend to use it. You get Figure x.x bold with


when you load the package.
Use the caption package with the labelsep=space option to remove colon.


5. How to break a long equation/Group equations under a single equation number

Use split environment provided by amsmath package.

F = \{F_{x} \in  F_{c} &: (|S| > |C|) \\
 &\quad \cap (\text{minPixels}  < |S| < \text{maxPixels}) \\
 &\quad \cap (|S_{\text{conected}}| > |S| - \epsilon) \}

6. Making a wide figure or table in a two-column document

Use the starred version * of the figure or table environment. This will usually flush the figure (or table) to the top of the following page, so there is not much control on placement. For table* and figure*, the only available options are t (top of next page) or p (end of document). b and h have been disabled on purpose, there is probably a strong typographical reason behind it.

Note that the table may appear one the next page instead of the current one. If you really need to control on what page the table is, you may have to move the table definition up in the source code.

Figure* Example:

\usepackage[showframe]{geometry}% http://ctan.org/pkg/geometry
\usepackage{lipsum}% http://ctan.org/pkg/lipsum
\usepackage{graphicx}% http://ctan.org/pkg/graphicx
  \caption{This is a tiger.}

Table* example:

\lipsum[1-10] % To create a random first page
[Location of the table in source code]
    1 & 2 & 3 \\
    4 & 5 & 6 \\
    7 & 8 & 9

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s