Math & ScienceEquation

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
ubuntu2014
Posts: 29
Joined: Mon Oct 06, 2014 12:42 am

Equation

Post by ubuntu2014 »

Actually, the formula was written in Microsoft Word's equation editor which simply does not match LaTeX code. I only have PDF access to that citing article. So, I could not post any kind of code. Since you requested, I am posting my attempt to write that formula in LaTeX.

My code :

Code: Select all

\documentclass{article}
\usepackage{amsmath}
\usepackage{changepage}
\usepackage[utf8]{inputenc}
\begin{document}
\begin{eqnarray}
\frac{s}{b}\sum Zr + \sum\left[\beta\exp\Bigg\{\left(\frac{r-r}{\rho}\right)\Bigg\}+n \beta\exp\Bigg\{\left(\frac{2-r}{\rho}\right)\Bigg\}+\frac{n}{2}\beta\exp\Bigg\{\left(\frac{\r}{\rho}\right)\Bigg\}\right]
\end{eqnarray}
\end{document}
Last edited by Stefan Kottwitz on Tue Mar 03, 2015 2:49 pm, edited 1 time in total.

Recommended reading 2024:

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

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

User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Equation

Post by Johannes_B »

I don't like the result at all, but here is a first suggestion:
ubuntuEquation.png
ubuntuEquation.png (15.89 KiB) Viewed 1972 times

Code: Select all

\documentclass{article}
\usepackage{amsmath}
\usepackage{changepage}
\usepackage[utf8]{inputenc}
\begin{document}
\begin{equation}
	=\frac{s}{b}\sum Zr +
	\sum
	\left[\begin{array}{l@{\quad+\quad}l}
			\beta\exp\bigg\{\left(\frac{r-r}{\rho}\right)\bigg\}
			&n \beta\exp\bigg\{\left(\frac{2-r}{\rho}\right)\bigg\}\\
	&\frac{n}{2}\beta\exp\bigg\{\left(\frac{r}{\rho}\right)\bigg\}
\end{array}\right]
\end{equation}
\end{document}
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Post Reply