Math & ScienceSpace between Results

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
21did21
Posts: 58
Joined: Thu Sep 08, 2011 12:27 pm

Space between Results

Post by 21did21 »

hello world,

i have one easy question for you. I my latex document i use this type of equations:

Code: Select all

\begin{equation}
\alpha=\sqrt{2} \rm{ and } \beta=\sqrt{3}
\end{equation}
with this i have a problem: le word "and" is between my results without spaces. it is glued to those it.
in other word, the spaces are not taked into account...

So, how i can insert space between this two results with the word "and" and without this word ?

thanks in advance for your help
Last edited by 21did21 on Wed Oct 19, 2011 10:01 am, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Space between Results

Post by localghost »

Code: Select all

\documentclass[11pt]{article}
\usepackage[T1]{fontenc}
\usepackage{mathtools}   % loads »amsmath«

\begin{document}
  \begin{equation}
    \alpha=\sqrt{2} \text{ and } \beta=\sqrt{3}
  \end{equation}
\end{document}

Thorsten
21did21
Posts: 58
Joined: Thu Sep 08, 2011 12:27 pm

Space between Results

Post by 21did21 »

thanks for your help (but i haven't use this package because it don't compil...)

i have used:

Code: Select all

\documentclass[a4paper,12pt]{book} 
\pagestyle{plain}                 
\usepackage[latin1]{inputenc}   
\usepackage[section]{placeins} 
\usepackage[T1]{fontenc}       
\usepackage[french]{babel}   
\usepackage[french]{minitoc}   
\usepackage{amsmath}           
\usepackage{graphicx}          
\usepackage{soul}              
\usepackage{color}            
\usepackage[top=2.9cm, bottom=2.9cm, left=2.9cm, right=2.9cm]{geometry} 
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Space between Results

Post by localghost »

21did21 wrote:thanks for your help (but i haven't use this package because it don't compil...)
Show a complete but minimal example which doesn't compile and not just a document preamble.
Post Reply