Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
ghostanime2001
Posts: 402 Joined: Fri May 20, 2011 9:41 am
Post
by ghostanime2001 » Sun Jun 12, 2011 9:19 am
How do I transfer the set of equations below the second figure to just below the two top equation blocks and directly adjacent to the figure for the second question?
Code: Select all
\documentclass[fleqn]{article}
\usepackage{fullpage}
\usepackage[left=1in,right=1in,top=1in,bottom=1in]{geometry}
\usepackage{graphicx}
\usepackage{amsmath}
\usepackage{floatflt}
\usepackage[makeroom]{cancel}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{xfrac}
\usepackage{siunitx}
\sisetup{%
output-decimal-marker={.},
load-configurations=abbreviations,
group-separator={,},
per-mode=fraction,
fraction-function=\sfrac}
\usepackage{fix-cm}
\pagestyle{empty}
\begin{document}
\begin{enumerate}
\item
\begin{minipage}[t]{2in}
$\begin{aligned}[t]
\Delta t&=\text{9.09 \cancel{hr}}\left(\dfrac{\text{60 \cancel{min}}}{\text{1 \cancel{hr}}}\right)\left(\dfrac{\text{60 s}}{\text{1 \cancel{min}}}\right)=\text{32,724 s} \\
\omega &=\text{?} \\
\omega &=\dfrac{\theta}{\Delta t}=\dfrac{\text{1.34 rad}}{\text{32,724 s}}=\text{\num{4.09e-5} rad/s}
\end{aligned}$
\end{minipage}
\item
\raisebox{1.85ex}{\parbox[t]{2in}{\null\includegraphics[width=\linewidth]{Diagram2}}}
\begin{minipage}[t]{4cm}
$\begin{aligned}[t]
d&=\text{328 m} \\
r&=6.18 \\
T&=\text{24 \cancel{h}}\left(\dfrac{\text{60 \cancel{min}}}{\text{1 \cancel{h}}}\right)
\end{aligned}$
\end{minipage}
$\begin{aligned}[t]
v_{1}&=\dfrac{2\pi r}{T} & v_{2}&=\dfrac{2\pi(r+d)}{T} \\
Tv_{1}&=2\pi r & Tv_{2}&=2\pi(r+d) \\
\dfrac{Tv_{1}}{2\pi}&=r & \dfrac{Tv_{2}}{2\pi}-d&=r \\
\end{aligned}$
\begin{align*}
\cfrac{Tv_{1}}{2\pi}&=\cfrac{Tv_{2}}{2\pi}-d \\
d&=\cfrac{Tv_{2}}{2\pi}-\cfrac{Tv_{1}}{2\pi} \\
d&=\cfrac{T}{2\pi}\left(v_{2}-v_{1}\right) \\
\dfrac{2\pi d}{T}&=\Delta v \\
\dfrac{2\pi(328)}{86,400}&=\Delta v
\end{align*}
\end{enumerate}
\end{document}
NEW: TikZ book now 40% off at Amazon.com for a short time.
Stefan Kottwitz
Site Admin
Posts: 10345 Joined: Mon Mar 10, 2008 9:44 pm
Post
by Stefan Kottwitz » Sun Jun 12, 2011 11:02 am
Alignment is hardly possible if you mix different environments, such as enumerate, minipage and aligned.
However, if you don't use enumerate and minipage, you can get numbering by using numbers of the math environments. Flushed left numbering and tag appearance could be customized. You could use a big align environment, for example. With \intertext (or \shortintertext from the mathtools package) you can even leave the environment for inserting text and resume.
Stefan
LaTeX.org admin
Stefan Kottwitz
Site Admin
Posts: 10345 Joined: Mon Mar 10, 2008 9:44 pm
Post
by Stefan Kottwitz » Mon Jun 13, 2011 1:37 am
Yes, of course, there is, using \vspace any other vertical spacing command, or a vertical space option to \\, depending on what is desired.
Stefan
LaTeX.org admin
Stefan Kottwitz
Site Admin
Posts: 10345 Joined: Mon Mar 10, 2008 9:44 pm
Post
by Stefan Kottwitz » Mon Jun 13, 2011 12:21 pm
Yes, that way the output can be made very similar or even better.
Stefan
LaTeX.org admin
ghostanime2001
Posts: 402 Joined: Fri May 20, 2011 9:41 am
Post
by ghostanime2001 » Mon Jun 13, 2011 7:56 pm
Can you show me an example by what you mean, since there is a zoo of commands lol