Beamer Class : Missing $ inserted, bad math environment, math mode should end wit $$












2














Hello guys first question and beginner in LaTeX,



the following code presents part of my thesis presentation. I have no idea what i did wrong. Checked for brackets and $-signs twice. Maybe i did something wrong without knowing? This frame is the one that breaks the presentation, despite yesterday everything worked fine. Hope someone can help me.



The errors:



Missing $ inserted. end{frame}
Display math should end with $$. end{frame}
Missing $ inserted. end{frame}
Missing $ inserted. end{frame}
Bad math environment delimiter. end{frame}
You can't use 'eqno' in internal vertical mode. end{frame}´
Missing $ inserted. end{frame}
Display math should end with $$. end{frame}
Undefined control sequence. end{frame}
Undefined control sequence. end{frame}


The code:



documentclass [draft=on,t,compress,11pt,xcolor=dvipsnames]{beamer}
usetheme{default}
usepackage{amsmath}
usepackage{tikz, graphicx}
usepackage{lmodern} % <--- those two packages help when you use
usepackage[T1]{fontenc} % the default font LaTeX font

begin{document}

begin{frame}{Explanation of the Papers Regression Function for Modern
versus Traditional Manufacturing }

vspace{-1cm}
begin{equation}
%begin{multline}

ln(wage_{jn}) =beta_1 S_n+beta_2 x I^{M}_j+gamma_1h_n+gamma_2h_n x
I^{M}_j+delta_1boldsymbol{X}_n+delta_2boldsymbol{X}_n x
I^{M}_j+alpha_j\
+alpha_n +xi_jn

%end{multline}
end{equation}



vspace{+0.5cm} begin{itemize}
item{ $ln(wage_{jn})$ = Proxy for firm productivity.}
item{$S_n$ = Represents proxies for knowledge elites in location n.}
item {$I^{M}_j$ = Indicator variable that takes on value 1 if sector j is
glqq modern grqq.}
item{$h_n$ = Denotes proxies for average human capital, such as literacy
and schooling.}
item{$boldsymbol{X}_n$ = Vector of control variables.}
item{ $alpha_j$ and $alpha_n$ = Sector fixed effects ($alpha_j$) and
location fixed effects ($alpha_n$).}
item{$xi_n$ = Error term.}
end{itemize}

end{frame}


end{document}









share|improve this question
























  • Don't use empty lines inside of equations
    – samcarter
    Dec 12 '18 at 11:13










  • Tried that but didn't helped. The equation is to long for the frame and neither split nor multline helped to fix that. Only by adding this two empty lines the code compiled in a presentable format.
    – mugdi
    Dec 12 '18 at 11:17








  • 1




    You will also need to use some package that defines glqq and grqq
    – samcarter
    Dec 12 '18 at 11:21






  • 1




    I think you should write xi_{jn} instead of xi_jn. Also, ln(text{wage})_{jn} looks better than ln(text{wage}_{jn}).
    – Mico
    Dec 12 '18 at 14:52








  • 1




    Also, instead of beta_2 x I^{M}_j, shouldn't it be beta_2 S_n x I^{M}_j? Optional: replace x with times.
    – Mico
    Dec 12 '18 at 15:25


















2














Hello guys first question and beginner in LaTeX,



the following code presents part of my thesis presentation. I have no idea what i did wrong. Checked for brackets and $-signs twice. Maybe i did something wrong without knowing? This frame is the one that breaks the presentation, despite yesterday everything worked fine. Hope someone can help me.



The errors:



Missing $ inserted. end{frame}
Display math should end with $$. end{frame}
Missing $ inserted. end{frame}
Missing $ inserted. end{frame}
Bad math environment delimiter. end{frame}
You can't use 'eqno' in internal vertical mode. end{frame}´
Missing $ inserted. end{frame}
Display math should end with $$. end{frame}
Undefined control sequence. end{frame}
Undefined control sequence. end{frame}


The code:



documentclass [draft=on,t,compress,11pt,xcolor=dvipsnames]{beamer}
usetheme{default}
usepackage{amsmath}
usepackage{tikz, graphicx}
usepackage{lmodern} % <--- those two packages help when you use
usepackage[T1]{fontenc} % the default font LaTeX font

begin{document}

begin{frame}{Explanation of the Papers Regression Function for Modern
versus Traditional Manufacturing }

vspace{-1cm}
begin{equation}
%begin{multline}

ln(wage_{jn}) =beta_1 S_n+beta_2 x I^{M}_j+gamma_1h_n+gamma_2h_n x
I^{M}_j+delta_1boldsymbol{X}_n+delta_2boldsymbol{X}_n x
I^{M}_j+alpha_j\
+alpha_n +xi_jn

%end{multline}
end{equation}



vspace{+0.5cm} begin{itemize}
item{ $ln(wage_{jn})$ = Proxy for firm productivity.}
item{$S_n$ = Represents proxies for knowledge elites in location n.}
item {$I^{M}_j$ = Indicator variable that takes on value 1 if sector j is
glqq modern grqq.}
item{$h_n$ = Denotes proxies for average human capital, such as literacy
and schooling.}
item{$boldsymbol{X}_n$ = Vector of control variables.}
item{ $alpha_j$ and $alpha_n$ = Sector fixed effects ($alpha_j$) and
location fixed effects ($alpha_n$).}
item{$xi_n$ = Error term.}
end{itemize}

end{frame}


end{document}









share|improve this question
























  • Don't use empty lines inside of equations
    – samcarter
    Dec 12 '18 at 11:13










  • Tried that but didn't helped. The equation is to long for the frame and neither split nor multline helped to fix that. Only by adding this two empty lines the code compiled in a presentable format.
    – mugdi
    Dec 12 '18 at 11:17








  • 1




    You will also need to use some package that defines glqq and grqq
    – samcarter
    Dec 12 '18 at 11:21






  • 1




    I think you should write xi_{jn} instead of xi_jn. Also, ln(text{wage})_{jn} looks better than ln(text{wage}_{jn}).
    – Mico
    Dec 12 '18 at 14:52








  • 1




    Also, instead of beta_2 x I^{M}_j, shouldn't it be beta_2 S_n x I^{M}_j? Optional: replace x with times.
    – Mico
    Dec 12 '18 at 15:25
















2












2








2







Hello guys first question and beginner in LaTeX,



the following code presents part of my thesis presentation. I have no idea what i did wrong. Checked for brackets and $-signs twice. Maybe i did something wrong without knowing? This frame is the one that breaks the presentation, despite yesterday everything worked fine. Hope someone can help me.



The errors:



Missing $ inserted. end{frame}
Display math should end with $$. end{frame}
Missing $ inserted. end{frame}
Missing $ inserted. end{frame}
Bad math environment delimiter. end{frame}
You can't use 'eqno' in internal vertical mode. end{frame}´
Missing $ inserted. end{frame}
Display math should end with $$. end{frame}
Undefined control sequence. end{frame}
Undefined control sequence. end{frame}


The code:



documentclass [draft=on,t,compress,11pt,xcolor=dvipsnames]{beamer}
usetheme{default}
usepackage{amsmath}
usepackage{tikz, graphicx}
usepackage{lmodern} % <--- those two packages help when you use
usepackage[T1]{fontenc} % the default font LaTeX font

begin{document}

begin{frame}{Explanation of the Papers Regression Function for Modern
versus Traditional Manufacturing }

vspace{-1cm}
begin{equation}
%begin{multline}

ln(wage_{jn}) =beta_1 S_n+beta_2 x I^{M}_j+gamma_1h_n+gamma_2h_n x
I^{M}_j+delta_1boldsymbol{X}_n+delta_2boldsymbol{X}_n x
I^{M}_j+alpha_j\
+alpha_n +xi_jn

%end{multline}
end{equation}



vspace{+0.5cm} begin{itemize}
item{ $ln(wage_{jn})$ = Proxy for firm productivity.}
item{$S_n$ = Represents proxies for knowledge elites in location n.}
item {$I^{M}_j$ = Indicator variable that takes on value 1 if sector j is
glqq modern grqq.}
item{$h_n$ = Denotes proxies for average human capital, such as literacy
and schooling.}
item{$boldsymbol{X}_n$ = Vector of control variables.}
item{ $alpha_j$ and $alpha_n$ = Sector fixed effects ($alpha_j$) and
location fixed effects ($alpha_n$).}
item{$xi_n$ = Error term.}
end{itemize}

end{frame}


end{document}









share|improve this question















Hello guys first question and beginner in LaTeX,



the following code presents part of my thesis presentation. I have no idea what i did wrong. Checked for brackets and $-signs twice. Maybe i did something wrong without knowing? This frame is the one that breaks the presentation, despite yesterday everything worked fine. Hope someone can help me.



The errors:



Missing $ inserted. end{frame}
Display math should end with $$. end{frame}
Missing $ inserted. end{frame}
Missing $ inserted. end{frame}
Bad math environment delimiter. end{frame}
You can't use 'eqno' in internal vertical mode. end{frame}´
Missing $ inserted. end{frame}
Display math should end with $$. end{frame}
Undefined control sequence. end{frame}
Undefined control sequence. end{frame}


The code:



documentclass [draft=on,t,compress,11pt,xcolor=dvipsnames]{beamer}
usetheme{default}
usepackage{amsmath}
usepackage{tikz, graphicx}
usepackage{lmodern} % <--- those two packages help when you use
usepackage[T1]{fontenc} % the default font LaTeX font

begin{document}

begin{frame}{Explanation of the Papers Regression Function for Modern
versus Traditional Manufacturing }

vspace{-1cm}
begin{equation}
%begin{multline}

ln(wage_{jn}) =beta_1 S_n+beta_2 x I^{M}_j+gamma_1h_n+gamma_2h_n x
I^{M}_j+delta_1boldsymbol{X}_n+delta_2boldsymbol{X}_n x
I^{M}_j+alpha_j\
+alpha_n +xi_jn

%end{multline}
end{equation}



vspace{+0.5cm} begin{itemize}
item{ $ln(wage_{jn})$ = Proxy for firm productivity.}
item{$S_n$ = Represents proxies for knowledge elites in location n.}
item {$I^{M}_j$ = Indicator variable that takes on value 1 if sector j is
glqq modern grqq.}
item{$h_n$ = Denotes proxies for average human capital, such as literacy
and schooling.}
item{$boldsymbol{X}_n$ = Vector of control variables.}
item{ $alpha_j$ and $alpha_n$ = Sector fixed effects ($alpha_j$) and
location fixed effects ($alpha_n$).}
item{$xi_n$ = Error term.}
end{itemize}

end{frame}


end{document}






beamer math-mode






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 12 '18 at 11:15









egreg

709k8618823165




709k8618823165










asked Dec 12 '18 at 11:07









mugdi

112




112












  • Don't use empty lines inside of equations
    – samcarter
    Dec 12 '18 at 11:13










  • Tried that but didn't helped. The equation is to long for the frame and neither split nor multline helped to fix that. Only by adding this two empty lines the code compiled in a presentable format.
    – mugdi
    Dec 12 '18 at 11:17








  • 1




    You will also need to use some package that defines glqq and grqq
    – samcarter
    Dec 12 '18 at 11:21






  • 1




    I think you should write xi_{jn} instead of xi_jn. Also, ln(text{wage})_{jn} looks better than ln(text{wage}_{jn}).
    – Mico
    Dec 12 '18 at 14:52








  • 1




    Also, instead of beta_2 x I^{M}_j, shouldn't it be beta_2 S_n x I^{M}_j? Optional: replace x with times.
    – Mico
    Dec 12 '18 at 15:25




















  • Don't use empty lines inside of equations
    – samcarter
    Dec 12 '18 at 11:13










  • Tried that but didn't helped. The equation is to long for the frame and neither split nor multline helped to fix that. Only by adding this two empty lines the code compiled in a presentable format.
    – mugdi
    Dec 12 '18 at 11:17








  • 1




    You will also need to use some package that defines glqq and grqq
    – samcarter
    Dec 12 '18 at 11:21






  • 1




    I think you should write xi_{jn} instead of xi_jn. Also, ln(text{wage})_{jn} looks better than ln(text{wage}_{jn}).
    – Mico
    Dec 12 '18 at 14:52








  • 1




    Also, instead of beta_2 x I^{M}_j, shouldn't it be beta_2 S_n x I^{M}_j? Optional: replace x with times.
    – Mico
    Dec 12 '18 at 15:25


















Don't use empty lines inside of equations
– samcarter
Dec 12 '18 at 11:13




Don't use empty lines inside of equations
– samcarter
Dec 12 '18 at 11:13












Tried that but didn't helped. The equation is to long for the frame and neither split nor multline helped to fix that. Only by adding this two empty lines the code compiled in a presentable format.
– mugdi
Dec 12 '18 at 11:17






Tried that but didn't helped. The equation is to long for the frame and neither split nor multline helped to fix that. Only by adding this two empty lines the code compiled in a presentable format.
– mugdi
Dec 12 '18 at 11:17






1




1




You will also need to use some package that defines glqq and grqq
– samcarter
Dec 12 '18 at 11:21




You will also need to use some package that defines glqq and grqq
– samcarter
Dec 12 '18 at 11:21




1




1




I think you should write xi_{jn} instead of xi_jn. Also, ln(text{wage})_{jn} looks better than ln(text{wage}_{jn}).
– Mico
Dec 12 '18 at 14:52






I think you should write xi_{jn} instead of xi_jn. Also, ln(text{wage})_{jn} looks better than ln(text{wage}_{jn}).
– Mico
Dec 12 '18 at 14:52






1




1




Also, instead of beta_2 x I^{M}_j, shouldn't it be beta_2 S_n x I^{M}_j? Optional: replace x with times.
– Mico
Dec 12 '18 at 15:25






Also, instead of beta_2 x I^{M}_j, shouldn't it be beta_2 S_n x I^{M}_j? Optional: replace x with times.
– Mico
Dec 12 '18 at 15:25












1 Answer
1






active

oldest

votes


















6














The main problem: You must not have empty lines within equation



Some further comments:




  • you don't need usetheme{default}, as the name says it is loaded by default


  • you don't need usepackge{graphicx} with beamer


  • to split your equation over multiple lines, you can for example use begin{split}...end{split}


  • are you misusing x for multiplication?


  • the syntax for items is item text (without {})


  • glqq and grqq are not defined in your code.


  • use ln for logarithm (Thanks to @Mico for spotting this!)





 documentclass[draft=on,t,compress,11pt,xcolor=dvipsnames]{beamer}
%usetheme{default}
usepackage{amsmath}
usepackage{tikz}%, graphicx}
usepackage{lmodern} % <--- those two packages help when you use
usepackage[T1]{fontenc} % the default font LaTeX font

begin{document}

begin{frame}
frametitle{Explanation of the Papers Regression Function for Modern versus Traditional Manufacturing}

begin{equation}
begin{split}
ln(text{wage}_{jn}) =beta_1 S_n+beta_2 times I^{M}_j+gamma_1h_n+gamma_2h_n times I^{M}_j+delta_1boldsymbol{X}_n+\
delta_2boldsymbol{X}_n times I^{M}_j+ alpha_j +alpha_n +xi_jn
end{split}
end{equation}

begin{itemize}
item $ln(text{wage}_{jn})$ = Proxy for firm productivity.
item $S_n$ = Represents proxies for knowledge elites in location n.
item $I^{M}_j$ = Indicator variable that takes on value 1 if sector j is ``modern''.
item $h_n$ = Denotes proxies for average human capital, such as literacy and schooling.
item $boldsymbol{X}_n$ = Vector of control variables.
item $alpha_j$ and $alpha_n$ = Sector fixed effects ($alpha_j$) and location fixed effects ($alpha_n$).
item$xi_n$ = Error term.
end{itemize}

end{frame}

end{document}


enter image description here






share|improve this answer























  • Thanks for the great comment. Fixed everything the way you said and it works perfect. PS: The authors of the paper used x as a connection indicator of two variables. Questioned myself if this is a good way to state things but since it is published in one of the main economic journals, this seems to be on purpose.
    – mugdi
    Dec 12 '18 at 11:41








  • 1




    +1. Do write ln to denote the natural-logarithm operator, though.
    – Mico
    Dec 12 '18 at 14:36








  • 1




    @Mico Fixed! Thanks for spotting this!
    – samcarter
    Dec 12 '18 at 14:38










  • Don't forget the ln in the first list item...
    – Mico
    Dec 12 '18 at 14:47






  • 1




    Thanks a lot to both of you. Especially @Mico might saved my ass by the comment of the beta_2 S_n. Definitly forget this!
    – mugdi
    Dec 12 '18 at 15:58













Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f464501%2fbeamer-class-missing-inserted-bad-math-environment-math-mode-should-end-wi%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









6














The main problem: You must not have empty lines within equation



Some further comments:




  • you don't need usetheme{default}, as the name says it is loaded by default


  • you don't need usepackge{graphicx} with beamer


  • to split your equation over multiple lines, you can for example use begin{split}...end{split}


  • are you misusing x for multiplication?


  • the syntax for items is item text (without {})


  • glqq and grqq are not defined in your code.


  • use ln for logarithm (Thanks to @Mico for spotting this!)





 documentclass[draft=on,t,compress,11pt,xcolor=dvipsnames]{beamer}
%usetheme{default}
usepackage{amsmath}
usepackage{tikz}%, graphicx}
usepackage{lmodern} % <--- those two packages help when you use
usepackage[T1]{fontenc} % the default font LaTeX font

begin{document}

begin{frame}
frametitle{Explanation of the Papers Regression Function for Modern versus Traditional Manufacturing}

begin{equation}
begin{split}
ln(text{wage}_{jn}) =beta_1 S_n+beta_2 times I^{M}_j+gamma_1h_n+gamma_2h_n times I^{M}_j+delta_1boldsymbol{X}_n+\
delta_2boldsymbol{X}_n times I^{M}_j+ alpha_j +alpha_n +xi_jn
end{split}
end{equation}

begin{itemize}
item $ln(text{wage}_{jn})$ = Proxy for firm productivity.
item $S_n$ = Represents proxies for knowledge elites in location n.
item $I^{M}_j$ = Indicator variable that takes on value 1 if sector j is ``modern''.
item $h_n$ = Denotes proxies for average human capital, such as literacy and schooling.
item $boldsymbol{X}_n$ = Vector of control variables.
item $alpha_j$ and $alpha_n$ = Sector fixed effects ($alpha_j$) and location fixed effects ($alpha_n$).
item$xi_n$ = Error term.
end{itemize}

end{frame}

end{document}


enter image description here






share|improve this answer























  • Thanks for the great comment. Fixed everything the way you said and it works perfect. PS: The authors of the paper used x as a connection indicator of two variables. Questioned myself if this is a good way to state things but since it is published in one of the main economic journals, this seems to be on purpose.
    – mugdi
    Dec 12 '18 at 11:41








  • 1




    +1. Do write ln to denote the natural-logarithm operator, though.
    – Mico
    Dec 12 '18 at 14:36








  • 1




    @Mico Fixed! Thanks for spotting this!
    – samcarter
    Dec 12 '18 at 14:38










  • Don't forget the ln in the first list item...
    – Mico
    Dec 12 '18 at 14:47






  • 1




    Thanks a lot to both of you. Especially @Mico might saved my ass by the comment of the beta_2 S_n. Definitly forget this!
    – mugdi
    Dec 12 '18 at 15:58


















6














The main problem: You must not have empty lines within equation



Some further comments:




  • you don't need usetheme{default}, as the name says it is loaded by default


  • you don't need usepackge{graphicx} with beamer


  • to split your equation over multiple lines, you can for example use begin{split}...end{split}


  • are you misusing x for multiplication?


  • the syntax for items is item text (without {})


  • glqq and grqq are not defined in your code.


  • use ln for logarithm (Thanks to @Mico for spotting this!)





 documentclass[draft=on,t,compress,11pt,xcolor=dvipsnames]{beamer}
%usetheme{default}
usepackage{amsmath}
usepackage{tikz}%, graphicx}
usepackage{lmodern} % <--- those two packages help when you use
usepackage[T1]{fontenc} % the default font LaTeX font

begin{document}

begin{frame}
frametitle{Explanation of the Papers Regression Function for Modern versus Traditional Manufacturing}

begin{equation}
begin{split}
ln(text{wage}_{jn}) =beta_1 S_n+beta_2 times I^{M}_j+gamma_1h_n+gamma_2h_n times I^{M}_j+delta_1boldsymbol{X}_n+\
delta_2boldsymbol{X}_n times I^{M}_j+ alpha_j +alpha_n +xi_jn
end{split}
end{equation}

begin{itemize}
item $ln(text{wage}_{jn})$ = Proxy for firm productivity.
item $S_n$ = Represents proxies for knowledge elites in location n.
item $I^{M}_j$ = Indicator variable that takes on value 1 if sector j is ``modern''.
item $h_n$ = Denotes proxies for average human capital, such as literacy and schooling.
item $boldsymbol{X}_n$ = Vector of control variables.
item $alpha_j$ and $alpha_n$ = Sector fixed effects ($alpha_j$) and location fixed effects ($alpha_n$).
item$xi_n$ = Error term.
end{itemize}

end{frame}

end{document}


enter image description here






share|improve this answer























  • Thanks for the great comment. Fixed everything the way you said and it works perfect. PS: The authors of the paper used x as a connection indicator of two variables. Questioned myself if this is a good way to state things but since it is published in one of the main economic journals, this seems to be on purpose.
    – mugdi
    Dec 12 '18 at 11:41








  • 1




    +1. Do write ln to denote the natural-logarithm operator, though.
    – Mico
    Dec 12 '18 at 14:36








  • 1




    @Mico Fixed! Thanks for spotting this!
    – samcarter
    Dec 12 '18 at 14:38










  • Don't forget the ln in the first list item...
    – Mico
    Dec 12 '18 at 14:47






  • 1




    Thanks a lot to both of you. Especially @Mico might saved my ass by the comment of the beta_2 S_n. Definitly forget this!
    – mugdi
    Dec 12 '18 at 15:58
















6












6








6






The main problem: You must not have empty lines within equation



Some further comments:




  • you don't need usetheme{default}, as the name says it is loaded by default


  • you don't need usepackge{graphicx} with beamer


  • to split your equation over multiple lines, you can for example use begin{split}...end{split}


  • are you misusing x for multiplication?


  • the syntax for items is item text (without {})


  • glqq and grqq are not defined in your code.


  • use ln for logarithm (Thanks to @Mico for spotting this!)





 documentclass[draft=on,t,compress,11pt,xcolor=dvipsnames]{beamer}
%usetheme{default}
usepackage{amsmath}
usepackage{tikz}%, graphicx}
usepackage{lmodern} % <--- those two packages help when you use
usepackage[T1]{fontenc} % the default font LaTeX font

begin{document}

begin{frame}
frametitle{Explanation of the Papers Regression Function for Modern versus Traditional Manufacturing}

begin{equation}
begin{split}
ln(text{wage}_{jn}) =beta_1 S_n+beta_2 times I^{M}_j+gamma_1h_n+gamma_2h_n times I^{M}_j+delta_1boldsymbol{X}_n+\
delta_2boldsymbol{X}_n times I^{M}_j+ alpha_j +alpha_n +xi_jn
end{split}
end{equation}

begin{itemize}
item $ln(text{wage}_{jn})$ = Proxy for firm productivity.
item $S_n$ = Represents proxies for knowledge elites in location n.
item $I^{M}_j$ = Indicator variable that takes on value 1 if sector j is ``modern''.
item $h_n$ = Denotes proxies for average human capital, such as literacy and schooling.
item $boldsymbol{X}_n$ = Vector of control variables.
item $alpha_j$ and $alpha_n$ = Sector fixed effects ($alpha_j$) and location fixed effects ($alpha_n$).
item$xi_n$ = Error term.
end{itemize}

end{frame}

end{document}


enter image description here






share|improve this answer














The main problem: You must not have empty lines within equation



Some further comments:




  • you don't need usetheme{default}, as the name says it is loaded by default


  • you don't need usepackge{graphicx} with beamer


  • to split your equation over multiple lines, you can for example use begin{split}...end{split}


  • are you misusing x for multiplication?


  • the syntax for items is item text (without {})


  • glqq and grqq are not defined in your code.


  • use ln for logarithm (Thanks to @Mico for spotting this!)





 documentclass[draft=on,t,compress,11pt,xcolor=dvipsnames]{beamer}
%usetheme{default}
usepackage{amsmath}
usepackage{tikz}%, graphicx}
usepackage{lmodern} % <--- those two packages help when you use
usepackage[T1]{fontenc} % the default font LaTeX font

begin{document}

begin{frame}
frametitle{Explanation of the Papers Regression Function for Modern versus Traditional Manufacturing}

begin{equation}
begin{split}
ln(text{wage}_{jn}) =beta_1 S_n+beta_2 times I^{M}_j+gamma_1h_n+gamma_2h_n times I^{M}_j+delta_1boldsymbol{X}_n+\
delta_2boldsymbol{X}_n times I^{M}_j+ alpha_j +alpha_n +xi_jn
end{split}
end{equation}

begin{itemize}
item $ln(text{wage}_{jn})$ = Proxy for firm productivity.
item $S_n$ = Represents proxies for knowledge elites in location n.
item $I^{M}_j$ = Indicator variable that takes on value 1 if sector j is ``modern''.
item $h_n$ = Denotes proxies for average human capital, such as literacy and schooling.
item $boldsymbol{X}_n$ = Vector of control variables.
item $alpha_j$ and $alpha_n$ = Sector fixed effects ($alpha_j$) and location fixed effects ($alpha_n$).
item$xi_n$ = Error term.
end{itemize}

end{frame}

end{document}


enter image description here







share|improve this answer














share|improve this answer



share|improve this answer








edited Dec 12 '18 at 14:49

























answered Dec 12 '18 at 11:29









samcarter

85.8k794275




85.8k794275












  • Thanks for the great comment. Fixed everything the way you said and it works perfect. PS: The authors of the paper used x as a connection indicator of two variables. Questioned myself if this is a good way to state things but since it is published in one of the main economic journals, this seems to be on purpose.
    – mugdi
    Dec 12 '18 at 11:41








  • 1




    +1. Do write ln to denote the natural-logarithm operator, though.
    – Mico
    Dec 12 '18 at 14:36








  • 1




    @Mico Fixed! Thanks for spotting this!
    – samcarter
    Dec 12 '18 at 14:38










  • Don't forget the ln in the first list item...
    – Mico
    Dec 12 '18 at 14:47






  • 1




    Thanks a lot to both of you. Especially @Mico might saved my ass by the comment of the beta_2 S_n. Definitly forget this!
    – mugdi
    Dec 12 '18 at 15:58




















  • Thanks for the great comment. Fixed everything the way you said and it works perfect. PS: The authors of the paper used x as a connection indicator of two variables. Questioned myself if this is a good way to state things but since it is published in one of the main economic journals, this seems to be on purpose.
    – mugdi
    Dec 12 '18 at 11:41








  • 1




    +1. Do write ln to denote the natural-logarithm operator, though.
    – Mico
    Dec 12 '18 at 14:36








  • 1




    @Mico Fixed! Thanks for spotting this!
    – samcarter
    Dec 12 '18 at 14:38










  • Don't forget the ln in the first list item...
    – Mico
    Dec 12 '18 at 14:47






  • 1




    Thanks a lot to both of you. Especially @Mico might saved my ass by the comment of the beta_2 S_n. Definitly forget this!
    – mugdi
    Dec 12 '18 at 15:58


















Thanks for the great comment. Fixed everything the way you said and it works perfect. PS: The authors of the paper used x as a connection indicator of two variables. Questioned myself if this is a good way to state things but since it is published in one of the main economic journals, this seems to be on purpose.
– mugdi
Dec 12 '18 at 11:41






Thanks for the great comment. Fixed everything the way you said and it works perfect. PS: The authors of the paper used x as a connection indicator of two variables. Questioned myself if this is a good way to state things but since it is published in one of the main economic journals, this seems to be on purpose.
– mugdi
Dec 12 '18 at 11:41






1




1




+1. Do write ln to denote the natural-logarithm operator, though.
– Mico
Dec 12 '18 at 14:36






+1. Do write ln to denote the natural-logarithm operator, though.
– Mico
Dec 12 '18 at 14:36






1




1




@Mico Fixed! Thanks for spotting this!
– samcarter
Dec 12 '18 at 14:38




@Mico Fixed! Thanks for spotting this!
– samcarter
Dec 12 '18 at 14:38












Don't forget the ln in the first list item...
– Mico
Dec 12 '18 at 14:47




Don't forget the ln in the first list item...
– Mico
Dec 12 '18 at 14:47




1




1




Thanks a lot to both of you. Especially @Mico might saved my ass by the comment of the beta_2 S_n. Definitly forget this!
– mugdi
Dec 12 '18 at 15:58






Thanks a lot to both of you. Especially @Mico might saved my ass by the comment of the beta_2 S_n. Definitly forget this!
– mugdi
Dec 12 '18 at 15:58




















draft saved

draft discarded




















































Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f464501%2fbeamer-class-missing-inserted-bad-math-environment-math-mode-should-end-wi%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

"Incorrect syntax near the keyword 'ON'. (on update cascade, on delete cascade,)

Alcedinidae

RAC Tourist Trophy