Code: Select all
\newcommand{\indicator}[1]{\mathbbm{1}{\left( {#1} \right) }}
\tau_k 1{\hskip -2.5 pt}\hbox{I}{(x $-$ X_c^{*} = n)}
Is $-$ the best way to produce the minus sign?
Code: Select all
\newcommand{\indicator}[1]{\mathbbm{1}{\left( {#1} \right) }}
\tau_k 1{\hskip -2.5 pt}\hbox{I}{(x $-$ X_c^{*} = n)}
NEW: TikZ book now 40% off at Amazon.com for a short time.
Code: Select all
x - X_c^{*} = n
Code: Select all
\usepackage{tabularx}
\noindent\llap{$-$}2.93\rlap{***}
Code: Select all
\usepackage[T1]{fontenc}
\usepackage{mathptmx}
\usepackage[scaled]{helvet}
\usepackage[font=large,labelfont=bf,tableposition=top,textfont=bf]{caption}
\usepackage{amsmath,natbib,numlscape,varwidth}
\usepackage{hyperref}
\hypersetup{colorlinks=true, linkcolor=red, citecolor=blue, urlcolor=blue, urlbordercolor = {0 1 1}}
ymax = 0.05,
ymin = -0.05,
ytick = {-0.05, -0.04, ..., 0.05}
Stefan_K wrote:In the second line, the definition of the first line is not used.
The second line requires math mode. And if it's in math mode, $...$ is not necessary, you can directly write
StefanCode: Select all
x - X_c^{*} = n
Stefan_K wrote:amsmath is generally recommendable. That's not what I mean by math mode.
When writing text or symbols in TeX, you can beIn math mode, - is a minus. In text mode, - is a dash, -- a wider dash, and --- an even more wider dash.
- in text mode: usually letters are upright
- or in math mode: usually letters are italic (variables), and you can use symbols.
Just make sure, that you are in math mode, when you would like to write a minus. Either you already are, such as in displaymath, equation, or array enviropnments, or within $...$ (which is inline math), or, in text, open math mode for it and write $-$. Usually, a minus is not alone, so the complete expression should be written in math mode, such as $-2.93$ or $-x$.
Stefan
Code: Select all
@ARTICLE{lastname,
author= {Author Name},
title= {Title},
journal= {Journal},
year= {2002},
volume= {17},
number= {3},
pages= {1093-1119},
}
Stefan_K wrote:amsmath is generally recommendable. That's not what I mean by math mode.
Stefan
NEW: TikZ book now 40% off at Amazon.com for a short time.