\documentclass{beamer} \usepackage{graphics} \mode&lt;presentation&gt; { \usepackage{breqn} \usetheme{Frankfurt} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb}     \begin{align*}            \bar{v}\sim {|\Omega|\over 4\epsilon DN}\left[1+{\epsilon\over \pi}\log\left(\frac{2}{\epsilon}\right)+\frac{\epsilon}{\pi}\left(-\frac{9N}{5}+2(N-2)\log 2\\+\frac{3}{2}+\frac{4}{N}\mathcal{H}(x_1,\dots,x_N)\right)\right]         \end{align*}   Issue is \right is not working. I mean on right hand side bracket is closing. How do I resolve it. Thanks.
10375
I have a very long equation that must be separated into two lines, and it has several pairs of nesting \left \right delimiters. Unfortunately, it seems that they need to be on the same line in order for them to work.  Also I'm using the align environment because I need the aligning functionality. Is there a way to have the size of delimiters automatically adjusted over multiple lines?
72070
The following MWE shows the problem:  \documentclass{article} \usepackage{amsmath} \usepackage[lite]{mtpro2} \usepackage{refcheck}  \begin{document} \begin{align}   a &amp; \leq b \end{align} \end{document}   And I get a ! Missing $ inserted.. The problem disappears when refcheck is not used, or when mtpro2 is not used.  Does anyone sees a way to use both packages simultaneously?  Also an input such as  \documentclass{article} \usepackage{amsmath} \usepackage[lite]{mtpro2}  \begin{document} Braces \{in text\} \end{document}   produces the same error.
99858
I did a commutative diagram with tikz in the article class and everything works. The next code is the MWE in article class.  \documentclass{article}  \usepackage{tikz} \usetikzlibrary{matrix}  \begin{document} \begin{center} \begin{tikzpicture}   \matrix(m)[matrix of math nodes,row sep=2em,column sep=4em,minimum width=2em]   { A &amp; B \\     C &amp; D \\};   \path[-stealth]     (m-1-1) edge node [above] {e} (m-1-2) edge node [left] {f} (m-2-1)     (m-1-2) edge node [right] {g} (m-2-2)     (m-2-1) edge node [below] {h} (m-2-2); \end{tikzpicture} \end{center} \end{document}   But, when I copy the code in a Beamer document, something is wrong, as the following code.  \documentclass{beamer}  \usepackage{tikz} \usetikzlibrary{matrix}  \begin{document} \begin{frame} \begin{center} \begin{tikzpicture}   \matrix(m)[matrix of math nodes,row sep=2em,column sep=4em,minimum width=2em]   { A &amp; B \\     C &amp; D \\};   \path[-stealth]     (m-1-1) edge node [above] {e} (m-1-2) edge node [left] {f} (m-2-1)     (m-1-2) edge node [right] {g} (m-2-2)     (m-2-1) edge node [below] {h} (m-2-2); \end{tikzpicture} \end{center} \end{frame} \end{document}   Any idea? Am I doing something wrong?
53354
\documentclass[english]{article} \usepackage[T1]{fontenc} \usepackage[latin9]{inputenc} \usepackage{babel} \begin{document} % ... \[ \begin{array}{ccccc} x(1) &amp; = &amp; \frac{x(0)}{1} &amp; = &amp; x(0)\\ x(2) &amp; = &amp; \frac{x(1)}{2} &amp; = &amp; \frac{x(0)}{2}\\ x(3) &amp; = &amp; \frac{x(2)}{3} &amp; = &amp; \frac{x(0)}{2.3}\\ x(4) &amp; = &amp; \frac{x(3)}{4} &amp; = &amp; \frac{x(0)}{4!}\\  &amp;  &amp;  &amp;  &amp; \vdots\\ x(n) &amp; = &amp; \frac{x(n-1)}{n} &amp; = &amp; \frac{x(0)}{n!} \end{array} \] % ... \end{document}   Because of the fractions in the array cells, array elements are vertically too close to each other, they are literally touching to each other. Also the horizontal spacing is too much as you see in the image (screen shot from the output PDF file).  How do I make these cell-spacings look better?
35764
I am trying to mimic our institute's PPt-template for presentation foils using the beamer-class. The corporate quidelines prescribe the use of Helvetica as the main font. However, package helvet does not provide a good mathematical font. Therefore I want to replace it with the math font from the cmbright package:  \documentclass{beamer}  \usepackage{lmodern} \usepackage[T1]{fontenc}  %main font Helevtica \renewcommand{\familydefault}{\sfdefault} \usepackage{helvet}  %prevent beamer from meddling with math fonts \usefonttheme{professionalfonts}  %following lines borrowed from cmbright.sty \DeclareSymbolFont      {operators} {OT1}{cmbr}{m}{n} \DeclareSymbolFont        {letters} {OML}{cmbrm}{m}{it} \SetSymbolFont      {letters}{bold} {OML}{cmbrm}{b}{it} \DeclareSymbolFont        {symbols} {OMS}{cmbrs}{m}{n} \DeclareMathAlphabet{\mathit} {OT1}{cmbr}{m}{sl} \DeclareMathAlphabet{\mathbf} {OT1}{cmbr}{bx}{n} \DeclareMathAlphabet{\mathtt} {OT1}{cmtl}{m}{n} \DeclareMathAlphabet{\mathbold}{OML}{cmbrm}{b}{it} \DeclareMathSymbol{\alpha}{\mathalpha}{letters}{11} \DeclareMathSymbol{\beta}{\mathalpha}{letters}{12} \DeclareMathSymbol{\gamma}{\mathalpha}{letters}{13} \DeclareMathSymbol{\delta}{\mathalpha}{letters}{14} \DeclareMathSymbol{\epsilon}{\mathalpha}{letters}{15} \DeclareMathSymbol{\zeta}{\mathalpha}{letters}{16} \DeclareMathSymbol{\eta}{\mathalpha}{letters}{17} \DeclareMathSymbol{\theta}{\mathalpha}{letters}{18} \DeclareMathSymbol{\iota}{\mathalpha}{letters}{19} \DeclareMathSymbol{\kappa}{\mathalpha}{letters}{20} \DeclareMathSymbol{\lambda}{\mathalpha}{letters}{21} \DeclareMathSymbol{\mu}{\mathalpha}{letters}{22} \DeclareMathSymbol{\nu}{\mathalpha}{letters}{23} \DeclareMathSymbol{\xi}{\mathalpha}{letters}{24} \DeclareMathSymbol{\pi}{\mathalpha}{letters}{25} \DeclareMathSymbol{\rho}{\mathalpha}{letters}{26} \DeclareMathSymbol{\sigma}{\mathalpha}{letters}{27} \DeclareMathSymbol{\tau}{\mathalpha}{letters}{28} \DeclareMathSymbol{\upsilon}{\mathalpha}{letters}{29} \DeclareMathSymbol{\phi}{\mathalpha}{letters}{30} \DeclareMathSymbol{\chi}{\mathalpha}{letters}{31} \DeclareMathSymbol{\psi}{\mathalpha}{letters}{32} \DeclareMathSymbol{\omega}{\mathalpha}{letters}{33} \DeclareMathSymbol{\varepsilon}{\mathalpha}{letters}{34} \DeclareMathSymbol{\vartheta}{\mathalpha}{letters}{35} \DeclareMathSymbol{\varpi}{\mathalpha}{letters}{36} \DeclareMathSymbol{\varrho}{\mathalpha}{letters}{37} \DeclareMathSymbol{\varsigma}{\mathalpha}{letters}{38} \DeclareMathSymbol{\varphi}{\mathalpha}{letters}{39} \let\upDelta\Delta \let\upOmega\Omega \let\upGamma\Gamma \let\upTheta\Theta \let\upLambda\Lambda \let\upXi\Xi \let\upPi\Pi \let\upSigma\Sigma \let\upUpsilon\Upsilon \let\upPhi\Phi \let\upPsi\Psi  %doesn't seem to have an effect %\DeclareMathSizes{12}{12.5}{10}{10}  \begin{document} \begin{frame}  Some Math E$E$ \end{frame} \end{document}   This works quite well, except that the math letters are somewhat smaller than the normal Helvetica text. Is there a way to scale the fontsize, say by 1.1, if the typesetter is in math mode?
59222
The following MWE:  \documentclass{article}  \usepackage{amsmath}  \begin{document}  \[ \begin{split} a &amp;= b \\ c &amp;= d \end{split} \]  \end{document}   compiles fine with pdflatex, but when I run make4ht on it, I get the following error:  ! Package amsmath Error: \begin{split} won't work here.  See the amsmath package documentation for explanation. Type  H &lt;return&gt;  for immediate help.  ...                                                l.7 \[ \begin{split} a &amp;= b \\ c &amp;= d \end{split}                                                   \]   Is this an incompatibility of tex4ht? Is there an easy way to deal with this? I could just use align* in this instance, but there is a reason that I want to use split instead.
112245
The following example works as expected:  \documentclass{article} \usepackage[table]{xcolor} \usepackage{makecell, multirow}     \renewcommand\theadfont{\normalsize\bfseries\color{white}}     \renewcommand{\theadgape}{} \usepackage{hhline}  \begin{document} \centering     \setlength\arrayrulewidth{2pt}     \arrayrulecolor{yellow}     \def\clinecolor{\hhline{&gt;{\arrayrulecolor{yellow}}--%                             &gt;{\arrayrulecolor{gray}}-}}     \setlength\extrarowheight{2pt} \begin{tabular}{ c | c | c }%     \rowcolor{gray} \multicolumn{2}{c|}{\thead{AAA -- BBBB}}    &amp;                                   \\     \clinecolor     \rowcolor{gray} \color{white} AAA   &amp;   \color{white} BBB   &amp;   \multirow{-2}{*}{\thead{CCC}}   \\     \hhline{&gt;{\arrayrulecolor{yellow}}-|-|-}     \rowcolor{gray!25} aaa                 &amp;   bbb                 &amp;   ccc                             \\     \hline     \rowcolor{gray!25} ddd             &amp;   eee                 &amp;   fff     \end{tabular} \end{document}     But the following not:  \documentclass[xcolor=table]{beamer} \usepackage{makecell, multirow}     \renewcommand\theadfont{\normalsize\bfseries\color{white}}     \renewcommand{\theadgape}{} \usepackage{hhline}  \begin{document} \begin{frame} \frametitle{test} \centering     \setlength\arrayrulewidth{2pt}     \arrayrulecolor{yellow}     \def\clinecolor{\hhline{&gt;{\arrayrulecolor{yellow}}--%                             &gt;{\arrayrulecolor{gray}}-}}     \setlength\extrarowheight{2pt} \begin{tabular}{ c | c | c }%     \rowcolor{gray} \multicolumn{2}{c|}{\thead{AAA -- BBBB}}    &amp;                                   \\     \clinecolor     \rowcolor{gray} \color{white} AAA   &amp;   \color{white} BBB   &amp;   \multirow{-2}{*}{\thead{CCC}}   \\     \hhline{&gt;{\arrayrulecolor{yellow}}-|-|-}     \rowcolor{gray!25} aaa                 &amp;   bbb                 &amp;   ccc                             \\     \hline     \rowcolor{gray!25} ddd             &amp;   eee                 &amp;   fff                             \\     \hhline{|-|-|-|}     \end{tabular} \end{frame} \end{document}     Why are the in beamer rules so strangely misplaced? Is there some workaround?
47536
The beamer command \alt&lt;*overlay specification*&gt;{foo}{bar} will insert foo if the current slide is within the given overlay specification, and bar otherwise.  It's equivalent to   \only&lt;*overlay specification*&gt;{foo}\only&lt;*complementary overlay specification*&gt;{bar}   Here is a sample document using it:  \documentclass{beamer} \begin{document} \begin{frame} \begin{align*} y &amp;= \frac{(x^2+1)\sqrt{x+3}}{x-1} \\ \ln y &amp;= \ln (x^2+1) + \frac{1}{2} \ln(x+3) - \ln(x-1) \\ \frac{1}{y} \frac{dy}{dx}       &amp;= \frac{2x}{x^2+1} + \frac{1}{2(x+3)} - \frac{1}{x-1} \end{align*} So \[ \begin{split} \frac{dy}{dx} &amp;= \left(\frac{2x}{x^2+1} + \frac{1}{2(x+3)} - \frac{1}{x-1} \right) \alt&lt;2&gt;{\frac{(x^2+1)\sqrt{x+3}}{x-1}}{y} \end{split} \] \end{frame} \end{document}   This is very useful and saves typing.  But if one of the alternatives is larger than the other, it leads to jiggling slides.    What I would like is a overlay-specification-aware command \altvisible that would take the same amount of space on each slide.  So it would have to insert a box as big as the bigger of the two, and then set the correct material.  So the above document with \altvisible instead of \alt would not jiggle.  Any takers?
35573
\begin{tabular}{|l|l|l|} \hline Column A &amp; Column B \\  \begin{math} x &amp; y \\ \end{math}  \end{tabular}   This won't let me compile and gives a lot of errors, how do I enable math mode in a table without using $ on everything?
11664
I am just curious that the following format looks good to you or not? The preamble I used is just   \documentclass[12pt,a4paper]{article}  \usepackage{amsmath} \usepackage{amsthm} \usepackage{amssymb}   I don't feel it's so good because the first paragraph has no indent but the second does. If the first paragraph is much longer, than it's fine. But if not, it looks strange. Should I leave it, or you have suggestions for this?
91366
I am a new user of LaTeX (TeXstudio). I am making a lecture presentation in TeXstudio. I want to make the same design of my presentation which is attached below.  Thanks in advance  Code:  \documentclass[handout,t]{beamer} \usepackage{graphicx,url} \usepackage[brazil]{babel}    \usepackage[utf8]{inputenc} \batchmode \usepackage{pgfpages} \usepackage{amsmath,amssymb,enumerate,epsfig,bbm,calc,color,ifthen,capt-of} \usetheme{Berlin}  \usecolortheme{senac}     Error Massage : File `beamercolorthemesenac.sty' not found. \usecolortheme{senac}
71656
\documentclass{article} \usepackage{amsmath} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \begin{document}     \begin{align}         \hat{\alpha} &amp;= \begin{cases}                       \tan^{-1}\frac{\hat{\alpha_1}}{\hat{\alpha_2}},  \,    &amp;\text{if }  \hat{\alpha_1}&gt;0 \, \hat{\alpha_2}&gt;0 \\                      \tan^{-1}\frac{\hat{\alpha_1}}{\hat{\alpha_2}}+\pi,  \,  &amp;\text{if }  \hat{\alpha_1}&lt;0 \\                      \tan^{-1}\frac{\hat{\alpha_1}}{\hat{\alpha_2}}+2\pi,   \, &amp;\text{if  }\hat{\alpha_2}&lt;0 \,  \hat{\alpha_1} &gt;0 \\                      \text{undefined}, &amp; \hat{\alpha_2}=0 \, \hat{\alpha_1}=0                 \end{cases}      \end{align}  \end{document}   I need to numbering of this cases but when i put align code , the file not compiling because \par .... what is wrong please help me i attempt every probability to solve this
94562
\documentclass{beamer}  \usepackage{subfig}  \begin{document}  test  \end{document}   returns undefined control sequence \@@magyar@captionfix  (It was not so in January; I am on fully updated pretest)
63545
My MWE:  \documentclass{report}  \usepackage{amsmath}  \begin{document}  \begin{align} y &amp;= a \\ =&amp; -2c_1\bar{z}_1^2 + 2\bar{z}_1\bar{z}_2 + 2\bar{z}_2 \left ( -\bar{z}_1 -c_2z_2 - \frac{3\epsilon}{2}\bar{z}_2 -\sigma_{2,1}\cos(x_1)\Delta x_1 \notag \right. \\ \left. &amp;- \sigma_{2,2}\Delta x_2 -\sigma_{2,3} \Delta u +c_2 \chi_2 \vphantom{\frac{1}{1}} \right ) - 2\gamma \sigma_{2,1}^2\cos^2(x_1) \Delta x_1^2 - \gamma \sigma_{2,2}^2 \Delta x_2^2   - 2\gamma \sigma_{2,3}^2 \Delta u^2 \end{align}  \end{document}   The error I get:  Extra }, or forgotten \right.   The expected result:
25158
Using the lmodern package, I had the typical font size issues in math mode: for example the sums were not large enough in some of my equations. To solve this I followed egreg's answer to the following question:   The solution works for the sums but now my brackets are not scaled correctly anymore. Making a minimal working example I noticed that the issue is related to the fourier package. So I suppose there are incompatibilities somewhere. I know fourier has incompatibilities with other math fonts packages such as mathptmx, in my case it might be related to lmodern. Is it possible to use fourier and lmodern and avoid the scaling issues I have with my equations?  MWE:  \documentclass[a4paper, 12pt, twoside,openright]{report} \usepackage{lmodern} \usepackage[upright]{fourier}  % declare `cmex` to be arbitrary scalable \DeclareFontShape{OMX}{cmex}{m}{n}{   &lt;-7.5&gt; cmex7   &lt;7.5-8.5&gt; cmex8   &lt;8.5-9.5&gt; cmex9   &lt;9.5-&gt; cmex10 }{}  \SetSymbolFont{largesymbols}{normal}{OMX}{cmex}{m}{n} \SetSymbolFont{largesymbols}{bold}  {OMX}{cmex}{m}{n}  \usepackage{amsmath} \usepackage{amssymb} \usepackage{bm}  \begin{document}     \begin{equation}     U_{qq} = \sum_{i &lt; j \leq N_m} q_i q_j \left[ \sideset{}{'}\sum_{\bm{n}} \frac{\text{erfc}(\alpha \lvert\bm{r}_{ij} + L\bm{n}\rvert)}{\lvert\bm{r}_{ij} + L\bm{n}\rvert} + \frac{1}{\pi L} \sum_{\bm{n} \not= 0} \frac{1}{n^2} \exp(- \frac{\pi^2 n^2}{\alpha^2 L^2} + \frac{2 \pi i}{L} \bm{n} \cdot \bm{r}_{ij}) \right]     \end{equation} \end{document}   Result with fourier:   Result without fourier:
19835
How do I align an image to centre?  In a beamer presentation I have a 2-3 items on a slide followed by an image. The image is not wide enough to cover whole slide, so it leaves around 30% space from right. How do I adjust it to leave enough space on both sides?  \begin{frame} \frametitle{Outlook} \begin{itemize} \item apps \item apps \item apps \includegraphics[scale=0.3]{P2P}     \end{itemize} \end{frame}
47095
this is my first time using beamer.  I copied a template from the sharelatex page on Beamer  Which works, and \begin{itemize} shows bullets     But after adding a few more packages that I need, all the bullets are gone!    What is going on and how can I fix this?  \documentclass{beamer}  \usepackage[utf8]{inputenc}    \usepackage{amsmath}  \usepackage{amsthm}     %Theorem Environment  \usepackage{amssymb}  \usepackage{multirow}  \usepackage{cancel}  \usepackage{amsfonts}  \usepackage{graphicx}  \usepackage{subfigure}  \usepackage{upgreek}     \usepackage{mathtools}  \usepackage{thmtools}  \usepackage{enumitem}       %Information to be included in the title page: \title{Sample title} \author{Anonymous} \institute{ShareLaTeX} \date{2014}  \begin{document}    \frame{\titlepage}    \begin{frame}  \frametitle{Sample frame title}  \begin{itemize} \item  This is a text in first frame.  \item This is a text in first frame. \item This is a text in first frame.  \end{itemize}  \end{frame}  \end{document}