
Con el código, puedo generar la siguiente figura.
No sé cómo aumentar el tamaño de la flecha y el tamaño del texto.
Quiero mantener el mismo tamaño de la figura. Sólo es necesario aumentar el tamaño de la flecha y el tamaño del texto a un tamaño que se vea ordenado y fácil de leer.
EL 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}
Respuesta1
Utilice \usetikzlibrary{arrows.meta}
(en lugar de arrows
) y ponga esto como opción paratikzpicture
\begin{tikzpicture}[> = {Latex[scale=2.5]},font=\fontsize{40}{48}\selectfont]
Cambia el tamaño de fuente y scale
como desees. Pero asegúrese de que la fuente sea escalable; es mejor utilizarla \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}