i want to include verticale dot between two equations like in the picture below

enter image description here

here is the code i used for the equations

  \tilde{\pi}_{t}-\theta \tilde{\pi}}_{t-1}
= \frac{(1-\zeta\beta)(1-\zeta)}{\zeta}\left(\widetilde{mc}_{t}+\tilde{v_{t}}\right)+\beta \left(E_{t}\tilde{\pi}_{t+1}-\theta\tilde{\pi}}_{t}\right)
= \frac{\theta}{1+\beta\theta}\tilde{\pi}_{t-1}+\frac{\beta {1+\beta\theta}E_{t}\tilde{\pi}_{t+1}+\frac{(1-\zeta\beta)(1 \zeta) {\zeta(1+\beta\theta)}\left(\widetilde{mc}_{t}+\tilde{v_{t}}\right)
  • There is a macro \vdots. – Steven B. Segletes Dec 8 '16 at 9:49
  • i want the dot between the Leftrightarrow – haithem Dec 8 '16 at 9:54
  • 3
    While code snippets are useful in explanations, it is always best to compose a fully compilable MWE that illustrates the problem including the \documentclass and the appropriate packages so that those trying to help don't have to recreate it. – Peter Grill Dec 8 '16 at 10:01
  • 1
    Please don't post incorrect code in your questions. Post the code that you actually used (copy and paste). – Piet van Oostrum Dec 8 '16 at 10:18

Here is something that works: (Note: I had to correct your code).




 &  \tilde{\pi}_{t}-\theta \tilde{\pi}_{t-1}
=\frac{(1-\zeta\beta)(1-\zeta)}{\zeta}\left(\widetilde{mc}_{t}+\tilde{v_{t}}\right)+\beta \left(E_{t}\tilde{\pi}_{t+1}-\theta\tilde{\pi}_{t}\right)\\
 & {}\Leftrightarrow\\
 & \ \vdots \\
 & \Leftrightarrow\\
 & \tilde{\pi}_{t}
=\frac{\theta}{1+\beta\theta}\tilde{\pi}_{t-1}+\frac{\beta}{1+\beta\theta}E_{t}\tilde{\pi}_{t+1}+\frac{(1-\zeta\beta)(1- \zeta)} {\zeta(1+\beta\theta)}\left(\widetilde{mc}_{t}+\tilde{v_{t}}\right)


enter image description here


mathtools has a macro for this, but it makes some assumptions that are not valid here.


\usepackage{lipsum} % just for the example



\lipsum*[2]% just to see the equations in context
&  \tilde{\pi}_{t}-\theta \tilde{\pi}_{t-1} = 
   \beta (E_{t}\tilde{\pi}_{t+1}-\theta\tilde{\pi}_{t}) \\
&  {\Leftrightarrow} \\
&  \vdotsin{\Leftrightarrow} \\
&  {\Leftrightarrow} \\
&  \tilde{\pi}_{t} = 
\lipsum[3] % just to see the equation in context


enter image description here

A few points to note:

  1. Never ever put two consecutive displayed equations; amsmath provides plenty of resources for complex alignments.

  2. Avoid \left and \right when they're not necessary (which doesn't happen often); in your code they weren't.

  3. Be consistent with the tilde: you were using both \tilde{\pi}_{t} and \tilde{v_{t}}; it's the first always or, if you want the tilde to cover also the subscript, \widetilde{v_{t}}.

  4. In this particular case where the alignment is at the left, \Leftrightarrow must be braced, or it would be shifted to the right.

  • that's genius ,Thank you for clarifying this – haithem Dec 8 '16 at 12:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.