Math & Science ⇒ because, therefore
because, therefore
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
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
because, therefore
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}
-
- Posts: 90
- Joined: Fri Nov 06, 2009 7:29 am
because, therefore
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
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