如何使节点尺寸更大?
\begin{tikzpicture}
\node [left,ultra thick] at (0,6) {$V_i$};
\node [left,ultra thick] at (0,3) {$V_f$};
\end{tikzpicture}
答案1
使用:minimum size=4cm
您可以增加节点的大小:
\documentclass[a4paper,12pt]{article}
\usepackage{tikz,mathtools}
\begin{document}
\begin{tikzpicture}
\node [left,minimum size=4cm] at (0,6) {$V_i$};
\node [left,minimum size=4cm] at (0,3) {$V_f$};
\end{tikzpicture}
\end{document}
如果问题是增加字符的大小,那么您可以添加\large
、\Huge
等,如以下代码所示:
\documentclass[a4paper,12pt]{article}
\usepackage{tikz,mathtools}
\begin{document}
\begin{tikzpicture}
\node [left,minimum size=4cm] at (0,6) {\large{$V_i$}};
\node [left,minimum size=4cm] at (0,3) {\Huge{$V_f$}};
\end{tikzpicture}
\end{document}