Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

\coloneqq from mathtools breaks across lines

541 views
Skip to first unread message

Aditya Mahajan

unread,
Dec 1, 2006, 9:03:52 PM12/1/06
to
Hi,

I use \coloneqq from mathtools to get properly centered := symbol.
However, I was surprised to find that a break can occur between the
colon and equal to sign. Here is a minimal example (look at the colon at the
end of the first line and = in the beginning of the second line)

\listfiles

\documentclass[letterpaper,12pt,abstracton,normalheadings,DIV12,tbtags]{scrartcl}

\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}

\usepackage{mathtools}

\begin{document}

\noindent channel with input $\mathcal Z$ and output $\mathcal Y$. The plant
function $f$, the design $(C,L,G)$, $C \coloneqq (c_1, \dots, c_T)$, $L
\coloneqq (l_1, \dots, l_T)$, $G \coloneqq (g_1, \dots, g_T)$ and the cost
$\rho$ are Borel measurable with respect to appropriate $\sigma$-algebras. The
objective is to choose a design $(C,L,G)$ that minimizes the total expected
cost under that design.

\end{document}

The listfiles output is

*File List*
scrartcl.cls 2004/01/07 v2.9p LaTeX2e KOMA document class
scrlfile.sty 2004/01/07 v2.9p LaTeX2e KOMA package
size12.clo 2005/09/16 v1.4f Standard LaTeX file (size option)
typearea.sty 2004/01/07 v2.9p LaTeX2e KOMA package
fontenc.sty
t1enc.def 2005/09/27 v1.99g Standard LaTeX file
inputenc.sty 2006/05/05 v1.1b Input encoding file
latin1.def 2006/05/05 v1.1b Input encoding file
mathtools.sty 2004/10/10 v1.01a mathematical typesetting tools (MH)
keyval.sty 1999/03/16 v1.13 key=value parser (DPC)
calc.sty 2005/08/06 v4.2 Infix arithmetic (KKT,FJ)
mhsetup.sty 2004/10/10 v1.0b programming setup (MH)
amsmath.sty 2000/07/18 v2.13 AMS math features
amstext.sty 2000/06/29 v2.01
amsgen.sty 1999/11/30 v2.0
amsbsy.sty 1999/11/29 v1.2d
amsopn.sty 1999/12/14 v2.01 operator names
***********

Any suggestions on how to prevent the linebreak between : and =?

--
Aditya Mahajan

Morten Høgholm

unread,
Dec 2, 2006, 4:41:33 AM12/2/06
to
On Sat, 02 Dec 2006 03:03:52 +0100, Aditya Mahajan <adi.m...@gmail.com>
wrote:

> Hi,
>
> I use \coloneqq from mathtools to get properly centered := symbol.
> However, I was surprised to find that a break can occur between the
> colon and equal to sign. Here is a minimal example (look at the colon at
> the
> end of the first line and = in the beginning of the second line)

[...]


> Any suggestions on how to prevent the linebreak between : and =?

\providecommand*\coloneqq{\mathrel{\vcentcolon\mkern-1.2mu=}}

Will fix in source
--
Morten

Aditya Mahajan

unread,
Dec 2, 2006, 1:36:45 PM12/2/06
to

Thanks, works perfectly.

> Will fix in source

Thanks,
Aditya

0 new messages