Tag Info

Hot answers tagged

6

For this kind of things you need \begingroup .. \endgroup. If you use {..} LaTeX treats it as a \mathord{..}. So this should do \begingroup\color{ocre}-b\endgroup May be you prefer a macro; I don't know if this has any big disadvantages, though. \newcommand\mathcolor[2]{\begingroup\color{#1}#2\endgroup} .. a \mathcolor{ocre}{- b}


5

what is happening when -b is put inside braces is that the minus is being interpreted as a unary rather than a binary minus, since it has nothing (as detectable by tex) on its left side. to remedy that, it's sufficient to insert an empty group, {}, to its left: \documentclass{article} \usepackage{amsmath} \usepackage{xcolor} ...


4

You should use XeTeX or luaTeX and your font should support Bengali. I have used Mukti Narrow (I had issues with Free Serif, whitout fontspec package): \documentclass{article} \font\beng="Mukti Narrow Bold:script=beng" \begin{document} This is Bengali: {\beng পারে} \end{document} This is an example from ieeetran class, which works just fine: ...


4

Very simple: replace \textwidth with \linewidth. I took the opportunity to improve the vertical spacing of the rows of the table, and to propose a solution without vertical rules, that looks better, in the opinion of many: \documentclass{ieeetran} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage{lipsum} ...


3

The answer by Adobe does solve the problem to some extent but is not quite effective. Especially when one sub numbering follows another, only the equation counter is incremented but the internal sub-counter is not incremented. \documentclass{IEEEtran} \begin{document} Numbered equation: \begin{IEEEeqnarray}{rCl} a & = & b \;. \label{eq:tTy} ...


2

You can get this: \documentclass[conference]{IEEEtran} \usepackage{tabularx,lipsum} \begin{document} \lipsum[1-2] \begin{table}[h] \renewcommand{\arraystretch}{1.2} \caption{A table} \begin{tabularx}{\linewidth}{|l|X|} \hline \multicolumn{1}{|c|}{\textbf{Term}} & \multicolumn{1}{c|}{\textbf{Description}} \\ \hline \hline key1 & A very long text. ...


1

The problem you're encountering arises because you are mixing-and-(mis)matching two different methods for creating a bibliography. First, the template you're using (from http://thesai.org/Home/Downloads/) provides the following, already-compiled thebibliography environment: \begin{thebibliography}{1} \bibitem{IEEEhowto:kopka} H.~Kopka and P.~W. Daly, ...



Only top voted, non community-wiki answers of a minimum length are eligible