首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >f1000Research日志中的“案例”命令

f1000Research日志中的“案例”命令
EN

Stack Overflow用户
提问于 2022-06-03 07:44:05
回答 1查看 24关注 0票数 1

我正在用F1000journal模板写论文。当我想使用"cases“来定义一个分段函数时,它显示了类似于表的东西。下面是f1000research链路,这些是模板的命令部分

代码语言:javascript
复制
\documentclass[10pt,a4paper]{article}
\usepackage{f1000_styles}

%% Default: numerical citations
\usepackage[numbers]{natbib}

%% Uncomment this lines for superscript citations instead
% \usepackage[super]{natbib}

%% Uncomment these lines for author-year citations instead
% \usepackage[round]{natbib}
% \let\cite\citep

\begin{document}
\pagestyle{fancy}

我正在写下面的方程式

代码语言:javascript
复制
f(n) = \begin{cases}
  n/2  & n \text{ is even} \\
  3n+1 & n \text{ is odd}
\end{cases}

EN

回答 1

Stack Overflow用户

发布于 2022-06-03 19:33:07

问题似乎在于模板设置的行颜色。

代码语言:javascript
复制
\documentclass[10pt,a4paper]{article}

\usepackage{f1000_styles}
%% Default: numerical citations
\usepackage[numbers]{natbib}

%% Uncomment this lines for superscript citations instead
% \usepackage[super]{natbib}

%% Uncomment these lines for author-year citations instead
% \usepackage[round]{natbib}
% \let\cite\citep

\rowcolors{2}{}{}

\begin{document}
\pagestyle{fancy}


\begin{equation}
f(n) = \begin{cases}
  n/2  & n \text{ is even} \\
  3n+1 & n \text{ is odd}
\end{cases}
\end{equation}

\end{document}

票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/72486287

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档