# Italics in LaTeX (e. g. when using Tikz)

\bfseries is for bolding but what is for italics in tikz?

Example where italics needed for "Not SP graph".

\begin{tikzpicture}[scale=1]
\tikzstyle{every node}=[draw, circle, fill=white, inner sep=0pt,minimum size=0pt]

\draw (0,0) node(in){in}--(1,0) node{}--(2,0) node(b){b}--(5,0) node(e){e}--(6,0) node{}--(7,0) node(out){out};
\node[rectangle,font=\bfseries] at (3.5,-1.7) {Not SP graph};

\end{tikzpicture}

-

The font styles in your document are defined by the class document or by a package or by you in the preamble or in your document. The font style used in the environment tikzpicture is the font style defined when you enter in the picture. You can change the style in the part of text in a node with font= ...

Dimensions like 1em will be with respect to the font used outside the node (usually the font that was in force when the picture started)

Like David wrote finally the font styles are defined in latex and Tikz do not change anything.

-

\itshape is the command for italics (this and \bfseries are unrelated to tikz)

-
Where are the font styles defined? – hhh Mar 15 at 20:25
@hhh they are defined in latex – David Carlisle Mar 15 at 20:26
Thank you, found a manual here. – hhh Mar 15 at 20:27