Tell me more ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I am wondering why the mathematic lines and the text in the first minipage are not aligned the same.

I would prefer the text part (below the first math part, equation (89)) to extend to the place where the first line of the equation 89 is located. enter image description here

Could you help me please?

The code:

\documentclass[a4paper,12pt, reqno]{amsbook}
\usepackage[overlay]{textpos}
\usepackage{graphicx}
\graphicspath{F:/(some path here)/pdfs/}
\usepackage{setspace}
\usepackage{caption}
\usepackage{bm}
\usepackage{cancel}

\newcommand{\e}{\mathbf{e}}
\newcommand{\parn}[1]{\left({#1}\right)}
\newcommand{\p}{\partial}
\newcommand{\strain}{\bm{\varepsilon}}
\newcommand{\brak}[1]{\left[{#1}\right]}
\newcommand{\bff}[1]{\mathbf{#1}}


\begin{document}
\frontmatter
\mainmatter
\noindent
\begin{minipage}[t]{\textwidth}
\begin{minipage}[t]{.58\textwidth}% [t] means top
 Then nabla is applied from the left
{\small\begin{align}
\nabla\times\strain\times\nabla &= \parn{\e_1\p_1 + \e_2\p_2 + \e_3\cancel{\p_3}}\times\brak{x_2\e_1\e_3+x_1\e_2\e_3}\notag\\
&=\p_1\parn{x_1}\e_3\e_3 - \p_2\parn{x_2}\e_3\e_3 = \bff{0}\quad \surd
\label{eq:}
\end{align}}
Michell-Cesaro formula; which is a path integral; is path independent for compatible strain fields therefore we take the simplest integration path\;(Fig. 6)
\end{minipage}%<- This is obligate
\hspace{0pt}
\begin{minipage}[t]{.4\textwidth}%
\vspace{0pt}%<- Fake line
\captionsetup{font=scriptsize}
\centering
\includegraphics[width=0.7\textwidth]{sol10c.pdf}%[width=0.48\textwidth]
\captionof{figure}{Inetgration path.}
\label{fig:digraph}
\end{minipage}
\end{minipage}
\end{document}
share|improve this question
One does not need textpos package here. And the X_1 in the image should be neglected. – Vahid Nov 24 '12 at 16:25
What "text part" are you referring to and which "mathematic line"? There two of each... including an image! – Werner Nov 24 '12 at 16:27
Please, make a compilable example: nobody knows what \strain and \parn mean. On the other hand it simply seems that the first line in equation 89 is overfull and the unique remedy I see is to make more room for it by enlarging the minipage. – egreg Nov 24 '12 at 16:36
What are \strain, \parn, \p, \e, \brak? How are they defined or what package provides them? – Gonzalo Medina Nov 24 '12 at 16:36
1  
@Vahid Why don't you try to compile your example before submitting it? It doesn't compile because some packages are missing. – egreg Nov 24 '12 at 16:43
show 6 more comments

closed as too localized by egreg, Kurt, Martin Schröder, Stefan Kottwitz Nov 24 '12 at 18:26

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, see the FAQ.