开发者

Latex Beamer: How is it possible to make piece of text in a frame in italics?

开发者 https://www.devze.com 2023-01-20 21:37 出处:网络
I am using Beamer in order to make a presentation. In one of the frames I want to write something like this:

I am using Beamer in order to make a presentation. In one of the frames I want to write something like this:

"Italics is like that"

I used a command \it of Beamer for doing this:

\it{Italics} is like that

Bu开发者_StackOverflowt as a result I get:

"Italics is like that"

Is it possible to make italics only a piece of text?


I believe you're looking for \textit{}.

Also, in the future, consider asking LaTeX questions on the TeX - LaTeX Stack Exchange site.


\it is a switch, it changes the font series starting from the point it was issued till the end of the current block. Therefore you have to enclose the block of text it should affect:

{\it Italics} is like that

Alternatively you can use \textit as suggested by gotgenes which only affects the text passed to the command within braces:

\textit{Italics} is like that.


What about \emph{text} ?

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号