减号在乳胶配方中消失
minus disappears in the formula in latex
在最后一个公式中,我看不到-
符号。如何解决这个问题?非常感谢。
\documentclass[11pt, a4paper]{article}
\usepackage{graphicx,color}
\usepackage{epstopdf}
\usepackage{enumerate}
\usepackage[colorlinks,linkcolor=blue,citecolor=blue,urlcolor=blue,filecolor=blue]{hyperref}
\usepackage{array}
\usepackage{calc}
\usepackage{booktabs}
\usepackage{longtable}
\usepackage{tabularx}
\usepackage{appendix}
\usepackage{multirow}
\usepackage[table]{xcolor}
\usepackage{amsmath, amsfonts, amsthm, amssymb}
\usepackage{mathrsfs}
\usepackage{rotating}
\usepackage{bbm}
\usepackage{amsmath}
\usepackage{lmodern}
\newcommand{\etal}{{\sl et al. }}
\newcommand{\argmax}{\operatornamewithlimits{argmax}}
\newcommand{\iid}{\stackrel{\mathrm{iid}}{\sim}}
\newcolumntype{C}{>{\centering\arraybackslash}X}
\newcolumntype{R}{>{\raggedright\arraybackslash}X}
\newcolumntype{L}{>{\raggedleft\arraybackslash}X}
\newtheorem{proposition}{Proposition}
\newtheorem{definition}{Definition}
\newtheorem{corollary}{Corollary}
\newtheorem{lemma}{Lemma}
\newtheorem{theorem}{Theorem}[section]
\usepackage{blkarray}
\usepackage{pdflscape}
\usepackage{siunitx}
\renewcommand{\baselinestretch}{1}
\usepackage[authoryear,round]{natbib}
\newcommand{\vect}[1]{\boldsymbol{#1}}
%\pdfminorversion=4
% NOTE: To produce blinded version, replace "0" with "1" below.
\newcommand{\blind}{0}
% DON'T change margins - should be 1 inch all around.
\addtolength{\oddsidemargin}{-.5in}%
\addtolength{\evensidemargin}{-.5in}%
\addtolength{\textwidth}{1in}%
\addtolength{\textheight}{1.3in}%
\addtolength{\topmargin}{-.8in}%
\begin{document}
\begin{footnotesize}
\begin{longtable}
{ >{\raggedright\arraybackslash}p{1.5cm}
>{\raggedright\arraybackslash}p{12cm}}
\caption{Variable definition }
\label{tab:long}
\
\toprule
Variable & Definition \
\toprule
\endfirsthead
%\caption\[\]{Financial }\
% \multicolumn{5}{c}%
% {\tablename\ \thetable\ -- \textit{Continued from previous page}} \
\toprule
Variable & Definition \
\toprule
\endhead
\bottomrule
%\multicolumn{5}{r}{\textit{Continued on next page}} \
\endfoot
\bottomrule
\endlastfoot
Constituency Statute & The dummy is equal to one if the state s where firm $i$ incorporates has adopted constituency statute in year t; equal to zero if firm $i$’s incorporation state $s$ has not yet adopted its constituency statute in year $t$ but will adopt it sometime in later years, or firm $i$’s incorporation state $s$ has never passed constituency statute. \
Executive Horizon %& $Vested\,Equity_{t} = Unvested\,Equity_{t-1} + Equity\,Grant_{t}$ \
& $Vested\,Equity_{t} = Unvested\,Equity_{t-1} + Equity\,Grant_{t} − Unvested\,Equity_{t}$ \
\end{longtable}
\end{footnotesize}
\end{document}
一条错误信息会告诉你Unicode character − (U+2212) not set up for use with LaTeX. ...sted\,Equity_{t-1} + Equity\,Grant_{t} −
。如果您将 unicode 字符替换为普通 -
,您的代码将编译。 (或者,你可以使用像 lualatex 或 xelatex 这样的 unicode 感知引擎,但即使有一个普通的 -
也会更好......)
但是你永远不应该对 multi-letter 个单词使用数学模式,所有的字距调整都完全混乱了。您可以改用 \text{...}
。
\documentclass[11pt, a4paper]{article}
\usepackage{graphicx,color}
\usepackage{epstopdf}
\usepackage{enumerate}
\usepackage[colorlinks,linkcolor=blue,citecolor=blue,urlcolor=blue,filecolor=blue]{hyperref}
\usepackage{array}
\usepackage{calc}
\usepackage{booktabs}
\usepackage{longtable}
\usepackage{tabularx}
\usepackage{multirow}
\usepackage[table]{xcolor}
\usepackage{amsmath, amsfonts, amsthm, amssymb}
\usepackage{mathrsfs}
\usepackage{rotating}
\usepackage{bbm}
\usepackage{amsmath}
\usepackage{lmodern}
\newcommand{\etal}{{\sl et al. }}
\newcommand{\argmax}{\operatornamewithlimits{argmax}}
\newcommand{\iid}{\stackrel{\mathrm{iid}}{\sim}}
\newcolumntype{C}{>{\centering\arraybackslash}X}
\newcolumntype{R}{>{\raggedright\arraybackslash}X}
\newcolumntype{L}{>{\raggedleft\arraybackslash}X}
\newtheorem{proposition}{Proposition}
\newtheorem{definition}{Definition}
\newtheorem{corollary}{Corollary}
\newtheorem{lemma}{Lemma}
\newtheorem{theorem}{Theorem}[section]
\usepackage{blkarray}
\usepackage{pdflscape}
\usepackage{siunitx}
\renewcommand{\baselinestretch}{1}
\usepackage[authoryear,round]{natbib}
\newcommand{\vect}[1]{\boldsymbol{#1}}
%\pdfminorversion=4
% NOTE: To produce blinded version, replace "0" with "1" below.
\newcommand{\blind}{0}
% DON'T change margins - should be 1 inch all around.
\addtolength{\oddsidemargin}{-.5in}%
\addtolength{\evensidemargin}{-.5in}%
\addtolength{\textwidth}{1in}%
\addtolength{\textheight}{1.3in}%
\addtolength{\topmargin}{-.8in}%
\begin{document}
\begin{footnotesize}
\begin{longtable}
{ >{\raggedright\arraybackslash}p{1.5cm}
>{\raggedright\arraybackslash}p{12cm}}
\caption{Variable definition }
\label{tab:long}
\
\toprule
Variable & Definition \
\toprule
\endfirsthead
%\caption[]{Financial }\
% \multicolumn{5}{c}%
% {\tablename\ \thetable\ -- \textit{Continued from previous page}} \
\toprule
Variable & Definition \
\toprule
\endhead
\bottomrule
%\multicolumn{5}{r}{\textit{Continued on next page}} \
\endfoot
\bottomrule
\endlastfoot
Constituency Statute & The dummy is equal to one if the state s where firm $i$ incorporates has adopted constituency statute in year t; equal to zero if firm $i$’s incorporation state $s$ has not yet adopted its constituency statute in year $t$ but will adopt it sometime in later years, or firm $i$’s incorporation state $s$ has never passed constituency statute. \
Executive Horizon & $\text{Vested Equity}_{t} = \text{Unvested Equity}_{t-1} + \text{Equity Grant}_{t}$ \
& $\text{Vested Equity}_{t} = \text{Unvested Equity}_{t-1} + \text{Equity Grant}_{t} - \text{Unvested Equity}_{t}$ \
\end{longtable}
\end{footnotesize}
\end{document}
在最后一个公式-
符号。如何解决这个问题?非常感谢。
\documentclass[11pt, a4paper]{article}
\usepackage{graphicx,color}
\usepackage{epstopdf}
\usepackage{enumerate}
\usepackage[colorlinks,linkcolor=blue,citecolor=blue,urlcolor=blue,filecolor=blue]{hyperref}
\usepackage{array}
\usepackage{calc}
\usepackage{booktabs}
\usepackage{longtable}
\usepackage{tabularx}
\usepackage{appendix}
\usepackage{multirow}
\usepackage[table]{xcolor}
\usepackage{amsmath, amsfonts, amsthm, amssymb}
\usepackage{mathrsfs}
\usepackage{rotating}
\usepackage{bbm}
\usepackage{amsmath}
\usepackage{lmodern}
\newcommand{\etal}{{\sl et al. }}
\newcommand{\argmax}{\operatornamewithlimits{argmax}}
\newcommand{\iid}{\stackrel{\mathrm{iid}}{\sim}}
\newcolumntype{C}{>{\centering\arraybackslash}X}
\newcolumntype{R}{>{\raggedright\arraybackslash}X}
\newcolumntype{L}{>{\raggedleft\arraybackslash}X}
\newtheorem{proposition}{Proposition}
\newtheorem{definition}{Definition}
\newtheorem{corollary}{Corollary}
\newtheorem{lemma}{Lemma}
\newtheorem{theorem}{Theorem}[section]
\usepackage{blkarray}
\usepackage{pdflscape}
\usepackage{siunitx}
\renewcommand{\baselinestretch}{1}
\usepackage[authoryear,round]{natbib}
\newcommand{\vect}[1]{\boldsymbol{#1}}
%\pdfminorversion=4
% NOTE: To produce blinded version, replace "0" with "1" below.
\newcommand{\blind}{0}
% DON'T change margins - should be 1 inch all around.
\addtolength{\oddsidemargin}{-.5in}%
\addtolength{\evensidemargin}{-.5in}%
\addtolength{\textwidth}{1in}%
\addtolength{\textheight}{1.3in}%
\addtolength{\topmargin}{-.8in}%
\begin{document}
\begin{footnotesize}
\begin{longtable}
{ >{\raggedright\arraybackslash}p{1.5cm}
>{\raggedright\arraybackslash}p{12cm}}
\caption{Variable definition }
\label{tab:long}
\
\toprule
Variable & Definition \
\toprule
\endfirsthead
%\caption\[\]{Financial }\
% \multicolumn{5}{c}%
% {\tablename\ \thetable\ -- \textit{Continued from previous page}} \
\toprule
Variable & Definition \
\toprule
\endhead
\bottomrule
%\multicolumn{5}{r}{\textit{Continued on next page}} \
\endfoot
\bottomrule
\endlastfoot
Constituency Statute & The dummy is equal to one if the state s where firm $i$ incorporates has adopted constituency statute in year t; equal to zero if firm $i$’s incorporation state $s$ has not yet adopted its constituency statute in year $t$ but will adopt it sometime in later years, or firm $i$’s incorporation state $s$ has never passed constituency statute. \
Executive Horizon %& $Vested\,Equity_{t} = Unvested\,Equity_{t-1} + Equity\,Grant_{t}$ \
& $Vested\,Equity_{t} = Unvested\,Equity_{t-1} + Equity\,Grant_{t} − Unvested\,Equity_{t}$ \
\end{longtable}
\end{footnotesize}
\end{document}
一条错误信息会告诉你
Unicode character − (U+2212) not set up for use with LaTeX. ...sted\,Equity_{t-1} + Equity\,Grant_{t} −
。如果您将 unicode 字符替换为普通-
,您的代码将编译。 (或者,你可以使用像 lualatex 或 xelatex 这样的 unicode 感知引擎,但即使有一个普通的-
也会更好......)但是你永远不应该对 multi-letter 个单词使用数学模式,所有的字距调整都完全混乱了。您可以改用
\text{...}
。
\documentclass[11pt, a4paper]{article}
\usepackage{graphicx,color}
\usepackage{epstopdf}
\usepackage{enumerate}
\usepackage[colorlinks,linkcolor=blue,citecolor=blue,urlcolor=blue,filecolor=blue]{hyperref}
\usepackage{array}
\usepackage{calc}
\usepackage{booktabs}
\usepackage{longtable}
\usepackage{tabularx}
\usepackage{multirow}
\usepackage[table]{xcolor}
\usepackage{amsmath, amsfonts, amsthm, amssymb}
\usepackage{mathrsfs}
\usepackage{rotating}
\usepackage{bbm}
\usepackage{amsmath}
\usepackage{lmodern}
\newcommand{\etal}{{\sl et al. }}
\newcommand{\argmax}{\operatornamewithlimits{argmax}}
\newcommand{\iid}{\stackrel{\mathrm{iid}}{\sim}}
\newcolumntype{C}{>{\centering\arraybackslash}X}
\newcolumntype{R}{>{\raggedright\arraybackslash}X}
\newcolumntype{L}{>{\raggedleft\arraybackslash}X}
\newtheorem{proposition}{Proposition}
\newtheorem{definition}{Definition}
\newtheorem{corollary}{Corollary}
\newtheorem{lemma}{Lemma}
\newtheorem{theorem}{Theorem}[section]
\usepackage{blkarray}
\usepackage{pdflscape}
\usepackage{siunitx}
\renewcommand{\baselinestretch}{1}
\usepackage[authoryear,round]{natbib}
\newcommand{\vect}[1]{\boldsymbol{#1}}
%\pdfminorversion=4
% NOTE: To produce blinded version, replace "0" with "1" below.
\newcommand{\blind}{0}
% DON'T change margins - should be 1 inch all around.
\addtolength{\oddsidemargin}{-.5in}%
\addtolength{\evensidemargin}{-.5in}%
\addtolength{\textwidth}{1in}%
\addtolength{\textheight}{1.3in}%
\addtolength{\topmargin}{-.8in}%
\begin{document}
\begin{footnotesize}
\begin{longtable}
{ >{\raggedright\arraybackslash}p{1.5cm}
>{\raggedright\arraybackslash}p{12cm}}
\caption{Variable definition }
\label{tab:long}
\
\toprule
Variable & Definition \
\toprule
\endfirsthead
%\caption[]{Financial }\
% \multicolumn{5}{c}%
% {\tablename\ \thetable\ -- \textit{Continued from previous page}} \
\toprule
Variable & Definition \
\toprule
\endhead
\bottomrule
%\multicolumn{5}{r}{\textit{Continued on next page}} \
\endfoot
\bottomrule
\endlastfoot
Constituency Statute & The dummy is equal to one if the state s where firm $i$ incorporates has adopted constituency statute in year t; equal to zero if firm $i$’s incorporation state $s$ has not yet adopted its constituency statute in year $t$ but will adopt it sometime in later years, or firm $i$’s incorporation state $s$ has never passed constituency statute. \
Executive Horizon & $\text{Vested Equity}_{t} = \text{Unvested Equity}_{t-1} + \text{Equity Grant}_{t}$ \
& $\text{Vested Equity}_{t} = \text{Unvested Equity}_{t-1} + \text{Equity Grant}_{t} - \text{Unvested Equity}_{t}$ \
\end{longtable}
\end{footnotesize}
\end{document}