I have problems getting symbols for therefore, because, degree to work.
I tried the followinga nd got nowhere::
\documentclass[a4paper,12pt]{article}
\usepackage[latin1]{inputenc}
%\usepackage{babel}
%\usepackage{fontenc}
\usepackage{graphicx}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\begin{document}
\therefore x = y \\
\because z \neq x \\
In an equilateral triangle, all angles are equal to 60 \degree
\end{document}
Can someone help , please ?
partha
Math & Science ⇒ because, therefore
NEW: TikZ book now 40% off at Amazon.com for a short time.

because, therefore
Hi,
for the degrees issue, you can use something like the following:
Regarding the other two symbols, can you please post (a link to) an image showing how exactly those symbols should look like?
for the degrees issue, you can use something like the following:
Code: Select all
\documentclass[a4paper,12pt]{article}
\begin{document}
In an equilateral triangle, all angles are equal to $60^\circ$
\end{document}
1,1,2,3,5,8,13,21,34,55,89,144,233,...
-
- Posts: 90
- Joined: Fri Nov 06, 2009 7:29 am
because, therefore
Hi partha,
For therefore and because you have the right commands, just you have to be in math mode to use them. Also, \degree isn't a LaTeX command - to get a degree sign use $^\circ$, or you can make a degree command to put in your preamble like this:
Using these changes, your file will look like this:
Hope that helps
For therefore and because you have the right commands, just you have to be in math mode to use them. Also, \degree isn't a LaTeX command - to get a degree sign use $^\circ$, or you can make a degree command to put in your preamble like this:
Code: Select all
\newcommand{\degree}{\ensuremath{^\circ}}
Code: Select all
\documentclass[a4paper,12pt]{article}
\usepackage[latin1]{inputenc}
%\usepackage{babel}
%\usepackage{fontenc}
\usepackage{graphicx}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\newcommand{\degree}{\ensuremath{^\circ}}
\begin{document}
$\therefore x = y \\
\because z \neq x \\$
In an equilateral triangle, all angles are equal to 60\degree
\end{document}
Re: because, therefore
Thank you all, for guiding me to the correct answer.
I had to tweak the solutions suggested. Using math mode renders the text "In an equilateral ...." also in math mode and makes it look ugly. The line feeds are also lost. Also, \degree is not a valid command. The right one to use would be \textdegree.
The corrected code looks like this ::
\documentclass[a4paper,12pt]{article}
\usepackage[latin1]{inputenc}
%\usepackage{babel}
%\usepackage{fontenc}
\usepackage{graphicx}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\date{01.12.2009}
\begin{document}
% using a global displaymath environment causes the text ``In an equilateral...to'' to be displayed in math mode (looks ugly) and line breaks to disappear
\newcommand{\degree}{{^\circ}}
$ \therefore x = y $ \\
$ \because z \neq x $\\
In an equilateral triangle, all angles are equal to $60 \degree$ \\
In a right angled triangle there is one angle which is exactly 90 \textdegree
\end{document}
Thanks agin,
partha
I had to tweak the solutions suggested. Using math mode renders the text "In an equilateral ...." also in math mode and makes it look ugly. The line feeds are also lost. Also, \degree is not a valid command. The right one to use would be \textdegree.
The corrected code looks like this ::
\documentclass[a4paper,12pt]{article}
\usepackage[latin1]{inputenc}
%\usepackage{babel}
%\usepackage{fontenc}
\usepackage{graphicx}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\date{01.12.2009}
\begin{document}
% using a global displaymath environment causes the text ``In an equilateral...to'' to be displayed in math mode (looks ugly) and line breaks to disappear
\newcommand{\degree}{{^\circ}}
$ \therefore x = y $ \\
$ \because z \neq x $\\
In an equilateral triangle, all angles are equal to $60 \degree$ \\
In a right angled triangle there is one angle which is exactly 90 \textdegree
\end{document}
Thanks agin,
partha