
Com o código, consigo gerar a figura a seguir.
Não sei como aumentar o tamanho da seta e o tamanho do texto.
Quero manter o mesmo tamanho da figura. Apenas o tamanho da seta e do texto precisam ser aumentados para um tamanho que pareça limpo e fácil de ler.
O CÓDIGO:
\documentclass[tikz,border=50]{standalone}
\usepackage[printwatermark]{xwatermark}
\usepackage{xcolor}
\usepackage{tikz}
\usepackage{lipsum}
\usetikzlibrary{arrows}
\begin{document}
\begin{tikzpicture}[>=latex]
\draw [dashed, thick] circle [radius=4];
\draw [line width=1.0pt] (-18,-12) -- (18,-12) -- (18,12) -- (-18,12) -- (-18,-12);
\foreach \x in {18}{
\foreach \y in {-12,-11,...,12}{
\draw[line width=0.8pt] [->] ([xshift=\x cm]0.0,\y cm) -- ([xshift=\x cm]2.0,\y cm);
}
}
\foreach \x in {-18}{
\foreach \y in {-12,-11,...,12}{
\draw[line width=0.8pt] [->] ([xshift=\x cm]0.0,\y cm) -- ([xshift=\x cm]-2.0,\y cm);
}
}
\path (22,0) node {$\sigma^{\infty}_{x}$};
\path (-22,0) node {$\sigma^{\infty}_{x}$};
\end{tikzpicture}
\end{document}
Responder1
Use \usetikzlibrary{arrows.meta}
(em vez de arrows
) e coloque isso como a opção paratikzpicture
\begin{tikzpicture}[> = {Latex[scale=2.5]},font=\fontsize{40}{48}\selectfont]
Altere o tamanho da fonte e scale
como desejar. Mas certifique-se de que a fonte seja escalável, é melhor usar \usepackage{lmodern}
.
Código completo:
\documentclass[tikz,border=50]{standalone}
\usepackage[printwatermark]{xwatermark}
\usepackage{xcolor}
\usepackage{tikz}
\usepackage{lipsum}
\usetikzlibrary{arrows.meta}
\begin{document}
\begin{tikzpicture}[> = {Latex[scale=2.5]},font=\fontsize{40}{48}\selectfont]
\draw [dashed, thick] circle [radius=4];
\draw [line width=1.0pt] (-18,-12) -- (18,-12) -- (18,12) -- (-18,12) -- (-18,-12);
\foreach \x in {18}{
\foreach \y in {-12,-11,...,12}{
\draw[line width=0.8pt] [->] ([xshift=\x cm]0.0,\y cm) -- ([xshift=\x cm]2.0,\y cm);
}
}
\foreach \x in {-18}{
\foreach \y in {-12,-11,...,12}{
\draw[line width=0.8pt] [->] ([xshift=\x cm]0.0,\y cm) -- ([xshift=\x cm]-2.0,\y cm);
}
}
\path (22,0) node {$\sigma^{\infty}_{x}$};
\path (-22,0) node {$\sigma^{\infty}_{x}$};
\end{tikzpicture}
\end{document}