- image prob.jpg (5.56 KiB) Viewed 5814 times
Text Formatting ⇒ To write a format of words
To write a format of words
I wish to write simply as described in figure.
NEW: TikZ book now 40% off at Amazon.com for a short time.

To write a format of words
I have used
\smash
but the equal to sign is occuring in next line.
Last edited by cgnieder on Thu Jul 25, 2013 3:54 pm, edited 1 time in total.
To write a format of words
There is nothing really special about the formula. The formula in the picture is wrong, though: whoever typeset it forgot to mark the
amsmath and
mathmode. Here's my proposal:
Regards
new
labels as text with amsmath's \text{}
. What you need is one of amsmath's multi-line environments (which are all explained both in 

Code: Select all
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{gather*}
s_{i_{\text{new}}}
= \frac
{a_k - a_1}
{b_{k_{\text{new}}} - b_{1_{\text{new}}}} \\
o_{i_{\text{new}}}
= a_k - s_{i_{\text{new}}} \cdot b_{k_{\text{new}}}
\end{gather*}
\end{document}
site moderator & package author
To write a format of words
There is one more problem regarding the symbol summ. How to write x,y under these symbols.
To write a format of words
I don't understand... simply use
Regards
\sum_{x,y}
!Regards
site moderator & package author
Re: To write a format of words
What about P ??? Had to use underset ???
To write a format of words
Code: Select all
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\[
\frac{\sum_{x,y} P_{x,y}^2}{\sum_{x,y}(P_{x,y}-\tilde{P}_{x,y})^2}
\]
\[
\frac{\sum\limits_{x,y} P_{x,y}^2}{\sum\limits_{x,y}(P_{x,y}-\tilde{P}_{x,y})^2}
\]
\end{document}
Regards
site moderator & package author
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
To write a format of words
The new question has been split to this topic. Please ask only follow-ups to the initial question here.
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10