You are on page 1of 2

xspace.

sty - nh ngha cc lnh khng dnh vo t sau


Nguyn Hu in Khoa Ton - C - Tin hc HKHTN H Ni, HQGHN

Gii thiu gi lnh

Kt thc lnh l mt du trng hoc cc k hiu khng phi ch ci. Khi lnh g chung vi vn bn s c kt qu dnh vo nhau nh

\newcommand{\gb}{Great Britain} \gb is a very nice place to live.\\ \gb, a small island off the coast of France.\\ \gb\footnote{The small island off the coast of France.} is a very nice place to live. \gb is a \gb{} is {\gb} is \gb\ is

Great Britainis a very nice place to live. Great Britain, a small island off the coast of France. Great Britaina is a very nice place to live. Great Britainis a Great Britain is Great Britain is Great Britain is
a

The small island off the coast of France.

Dng u tin v cui cng c t sau lnh dnh vo nhau. Nhng ch khc phi c du , du {..},...

Thay i nh ngha

1. Dng gi lnh \usepackage{xspace} v lnh \xspace

\newcommand{\gbx}{Great Britain\xspace} \gbx is a very nice place to live.\\ \gbx, a small island off the coast of France.\\ \gbx\footnote{The small island off the coast of France.} is a very nice place to live. \gbx is a \gbx{} is {\gbx} is \gbx\ is 2. Nhiu ng dng khc

Great Britain is a very nice place to live. Great Britain, a small island off the coast of France. Great Britain a is a very nice place to live. Great Britain is a Great Britain is Great Britain is Great Britain is
a

The small island off the coast of France.

http://nhdien.wordpress.com - Nguyn Hu in

\newcommand{\emphtest}{\emph{Test}\xspace}% \newcommand{\emtest}{{\em Test}\xspace}% \newcommand{\noemphtest}{Test\xspace}% \begin{flushright} Try this \emph{Test}, for example.\\ Try this \emphtest, for example.\\ Try this \emtest, for example.\\ Try this Test, for example.\\ Try this \noemphtest, for example. \end{flushright} Try this Test, Try this Test , Try this Test, Try this Test, Try this Test, for for for for for example. example. example. example. example.

You might also like