需要方法来引用方程式

需要方法来引用方程式

我想使用一些东西,可能是 ab 或 (1) (2) 来显示哪个方程与表格的哪个部分相关。此外,能够在讨论中引用各种模型也很好。我查看了另一个帖子,但他们使用 /label{} 的提示不起作用。

\documentclass[twocolumn]{article}

\usepackage{booktabs, makecell, tabularx}
\renewcommand\theadfont{\normalsize}
\renewcommand\theadgape{}
\setcellgapes{2pt}
\newcolumntype{L}{>{\raggedright\arraybackslash}X}
\usepackage{caption}
\usepackage{textcomp}
\usepackage{graphicx}
\raggedbottom
\usepackage{amsmath,geometry}
\usepackage{rotating}
\usepackage{booktabs, makecell}
\usepackage[referable]{threeparttablex}
\usepackage{siunitx}
\usepackage[skip=1ex]{caption}
\usepackage{upquote}
\usepackage{balance}
\usepackage[lite]{mtpro2} % Times Roman math font

\begin{document}

$\text{CEO Salary} = 
  \beta_0 + 
  \beta_1\,\text{return} + 
  \beta_2\,\text{bonus} + 
  \beta_3\,\text{stock awards} + 
  \beta_4\,\text{option awards} +
  \beta_5\,\text{other compensation} 
  \beta_6\,\text{age} +
  \beta_7\,\text{age sq} +
  \beta_8\,\text{male} +
  \beta_9\,\text{industry} +
  \beta_{10}\,\text{volume} $ \label{eqn:first}

  $\text{Total Compensation} = 
  \beta_0 + 
  \beta_1\,\text{return} + 
  \beta_2\,\text{age} + 
  \beta_3\,\text{male} + 
  \beta_4\,\text{interaction term?} +
  \beta_5\,\text{industry} 
  \beta_6\,\text{volume} +
  \beta_7\,\text{age sq} +
  \beta_8\,\text{male} +
  \beta_9\,\text{industry} +
  \beta_{10}\,\text{volume} $ \label{eqn:second} 

\end{document}

答案1

结合方程和数组环境也许会给你一个答案:

\documentclass[twocolumn]{article}

\usepackage{booktabs, makecell, tabularx}
\renewcommand\theadfont{\normalsize}
\renewcommand\theadgape{}
\setcellgapes{2pt}
\newcolumntype{L}{>{\raggedright\arraybackslash}X}
\usepackage{caption}
\usepackage{textcomp}
\usepackage{graphicx}
\raggedbottom
\usepackage{amsmath,geometry}
\usepackage{rotating}
\usepackage{booktabs, makecell}
\usepackage[referable]{threeparttablex}
\usepackage{siunitx}
\usepackage[skip=1ex]{caption}
\usepackage{upquote}
\usepackage{balance}
\usepackage[lite]{mtpro2} % Times Roman math font

\begin{document}

\begin{equation}\label{eqn:first}
\begin{array}{rl}
&\text{CEO Salary} \\
=&\beta_0 + 
\beta_1\,\text{return}+
\beta_2\,\text{bonus}\\ 
& +\beta_3\,\text{stock awards}\\ 
& +\beta_4\,\text{option awards} \\
& +\beta_5\,\text{other compensation}\beta_6\,\text{age} \\
& +\beta_7\,\text{age sq} 
+\beta_8\,\text{male} \\
& +\beta_9\,\text{industry} 
+\beta_{10}\,\text{volume} 
\end{array}
\end{equation}

\begin{equation}\label{eqn:second}
\begin{array}{rl}
&\text{Total Compensation}\\
=&
\beta_0 + 
\beta_1\,\text{return}\\ 
& +\beta_2\,\text{age} 
+\beta_3\,\text{male} \\
& +\beta_4\,\text{interaction term?}\\
& +\beta_5\,\text{industry} 
\beta_6\,\text{volume}\\
& +\beta_7\,\text{age sq}
+\beta_8\,\text{male}\\
& +\beta_9\,\text{industry}
+\beta_{10}\,\text{volume}
\end{array}
\end{equation} 

\end{document}

它们充当

在此处输入图片描述

相关内容