Archive

Archive for the ‘latex’ Category

Big O notation in latex

There are two possible ways to type the big O:

 

  1. $O(n\log{}n)$ % regular O
$\mathcal{O}(n\log{}n)$ % Open at top left
Ref: http://texblog.org/2014/06/24/big-o-and-related-notations-in-latex/
Categories: latex, Uncategorized

Force balancing your Last Bibliography Page

Force balancing your Last bibliography Page

 

use the flushend package. Just add

\usepackage{flushend}

in your preamble. It will then take care of the balancing for you. There is no need to add a special macro on the final page of the document.

Reference: http://tex.stackexchange.com/questions/49918/how-to-level-columns-in-bibliography

Categories: latex, Uncategorized

Write below symbols in latex

$\policy = \mathop{\cup}\limits_{a \in A} \policy_a$

in place of \cup use any latex command.

Categories: latex, Uncategorized

\includegraphics — file not found, even when in same directory

November 30, 2015 Leave a comment

It worked for me after I add these lines

 

\usepackage{epstopdf}
\epstopdfsetup{outdir=./}

Ref:

1. http://tex.stackexchange.com/questions/95617/includegraphics-file-not-found-even-when-in-same-directory/280905#280905

Categories: latex, Uncategorized

Keep letter case unchanging in Latex Bibtex

November 29, 2015 Leave a comment

To keep text case unchanged in bibtex  use {Text}.

Example,

@article{nist-abac-draft,
Author = {},
Journal = {NIST Special Publication},
Title = {Guide to attribute based access control ({ABAC}) definition and considerations},
Year = {2014}}

Categories: latex, Uncategorized