已编辑

已编辑

我想在海报上将几个单词设为斜体/强调。我尝试过\textit{State}、、\it{State}{\itshape State},但\emph{State}都不起作用。我\usepackage{garamond}在序言中使用。我不知道这是否影响了它。请帮忙。

以下是文件的部分内容:

谢谢!以下是文件:

\documentclass[landscape,custom]{sciposter}
\usepackage[all,poly]{xy}
\usepackage{epsfig}
\usepackage{amsmath,amsfonts,graphpap,setspace}
\usepackage{amssymb,amsthm}
\usepackage{multicol}
\usepackage{tikz}
\usetikzlibrary{shapes,decorations,backgrounds}
\usetikzlibrary{plotmarks}

\theoremstyle{plain}
\newtheorem{thm}{Theorem}
\newtheorem{prop}[thm]{Proposition}
\newtheorem{lem}[thm]{Lemma}
\newtheorem{cor}[thm]{Corollary}
\newtheorem{problem}[thm]{Problem}
\newtheorem{alg}[thm]{Algorithm}
\newtheorem{conj}{Conjecture}
\theoremstyle{definition}
\newtheorem{defn}[thm]{Definition}
%\newtheorem*{remark}{Remark}
\newtheorem{exmp}[thm]{Example}
\definecolor{BoxCol}{rgb}{0,.44,.53}
\definecolor{SectionCol}{rgb}{1,1,1}

\usepackage{garamond}

\bibliographystyle{plain}

\title{Predicting the Future of Coral Reefs: A Simulation Approach}
\author{Chelsey Beese}
\institute{Department of Mathematics and Statistics}
\date{}
\leftlogo[1.5]{CCU}
\conference{{\bf Math 490}}

\setlength{\parindent}{2em}
\setlength{\parskip}{2ex}
\setlength{\topsep}{2ex}

\begin{document}

\maketitle

\begin{multicols}{3}

\section{Model Set Up and Initialization}

The spatial domain consists of a 2500 by 2500 grid of $1 \mbox{ cm}^2$ 
regular hexagonal cells covering a total area of $625 \mbox{ m}^2$.
Each cell is inhabited by a single organism, denoted by the
%HERE'S WHERE I WANT THE ITALICS%
\texit{cell state}, which can vary over time based on stochastic rules and
the inhabitants of neighboring cells. Cell states are updated on a yearly
basis. The cell size reflects the approximate size of a single coral polyp
rather than imposing an unnatural scale on the system \cite{Soong1993}.
Corals are colonial organisms composed of a group of individual fleshy
polyps that are connected by a layer of thin connective tissue and secrete
a common calcareous skeleton. Therefore, a single organism can span
multiple cells.

\end{multicols}

\end{document}

抱歉大家,我对这一切真的很陌生!

答案1

通过进行以下两项编辑,我设法使您的代码正常工作:

  1. 我找不到该garamond包,但是我设法找到并使用该ebgaramond包。
  2. 正如@Werner 指出的那样,您的意思是使用命令\textit而不是拼写错误\texit

完整代码如下:

\documentclass[landscape,custom]{sciposter}
\usepackage[all,poly]{xy}
\usepackage{epsfig}
\usepackage{amsmath,amsfonts,graphpap,setspace}
\usepackage{amssymb,amsthm}
\usepackage{multicol}
\usepackage{tikz}
\usetikzlibrary{shapes,decorations,backgrounds}
\usetikzlibrary{plotmarks}

\theoremstyle{plain}
\newtheorem{thm}{Theorem}
\newtheorem{prop}[thm]{Proposition}
\newtheorem{lem}[thm]{Lemma}
\newtheorem{cor}[thm]{Corollary}
\newtheorem{problem}[thm]{Problem}
\newtheorem{alg}[thm]{Algorithm}
\newtheorem{conj}{Conjecture}
\theoremstyle{definition}
\newtheorem{defn}[thm]{Definition}
%\newtheorem*{remark}{Remark}
\newtheorem{exmp}[thm]{Example}
\definecolor{BoxCol}{rgb}{0,.44,.53}
\definecolor{SectionCol}{rgb}{1,1,1}

\usepackage{ebgaramond}

\bibliographystyle{plain}

\title{Predicting the Future of Coral Reefs: A Simulation Approach}
\author{Chelsey Beese}
\institute{Department of Mathematics and Statistics}
\date{}
%\leftlogo[1.5]{CCU}
\conference{{\bf Math 490}}

\setlength{\parindent}{2em}
\setlength{\parskip}{2ex}
\setlength{\topsep}{2ex}

\begin{document}

\maketitle

\begin{multicols}{3}

\section{Model Set Up and Initialization}

The spatial domain consists of a 2500 by 2500 grid of $1 \mbox{ cm}^2$ 
regular hexagonal cells covering a total area of $625 \mbox{ m}^2$.
Each cell is inhabited by a single organism, denoted by the
%HERE'S WHERE I WANT THE ITALICS%
\textit{cell state}, which can vary over time based on stochastic rules and
the inhabitants of neighboring cells. Cell states are updated on a yearly
basis. The cell size reflects the approximate size of a single coral polyp
rather than imposing an unnatural scale on the system \cite{Soong1993}.
Corals are colonial organisms composed of a group of individual fleshy
polyps that are connected by a layer of thin connective tissue and secrete
a common calcareous skeleton. Therefore, a single organism can span
multiple cells.

\end{multicols}

\end{document}

已编辑

回复您的评论,您是对的,我没有意识到该类sciposter默认使用无衬线字体系列。

以下 MWE 能够覆盖默认字体系列ebgaramond

\documentclass{sciposter}

\renewcommand{\familydefault}{\rmdefault}
\usepackage{ebgaramond}

\begin{document}

This is a test.

\end{document}

以下是我删减过的正确编辑代码:

\documentclass[landscape,custom]{sciposter}

\renewcommand{\familydefault}{\rmdefault}
\usepackage{ebgaramond}

\bibliographystyle{plain}

\title{Predicting the Future of Coral Reefs: A Simulation Approach}
\author{Chelsey Beese}
\institute{Department of Mathematics and Statistics}
\date{}
%\leftlogo[1.5]{CCU}
\conference{{\bf Math 490}}

\setlength{\parindent}{2em}
\setlength{\parskip}{2ex}
\setlength{\topsep}{2ex}

\begin{document}

\maketitle

\begin{multicols}{3}

\section{Model Set Up and Initialization}

The spatial domain consists of a 2500 by 2500 grid of $1 \mbox{ cm}^2$ 
regular hexagonal cells covering a total area of $625 \mbox{ m}^2$.
Each cell is inhabited by a single organism, denoted by the
%HERE'S WHERE I WANT THE ITALICS%
\textit{cell state}, which can vary over time based on stochastic rules and
the inhabitants of neighboring cells. Cell states are updated on a yearly
basis. The cell size reflects the approximate size of a single coral polyp
rather than imposing an unnatural scale on the system \cite{Soong1993}.
Corals are colonial organisms composed of a group of individual fleshy
polyps that are connected by a layer of thin connective tissue and secrete
a common calcareous skeleton. Therefore, a single organism can span
multiple cells.

\end{multicols}

\end{document}

相关内容