我创建了一个新的命令来绘制蒂克兹图像,我想将其插入到与部分标题页。
我现在在页面上有这张图片部分标题页我想要的是防止在调用导致 tikz 代码执行的命令时发生分页符。
编辑 1_________________________________________________________
\documentclass[a4paper,14pt,twoside,reqno]{extbook}
\usepackage[margin=28mm
]{geometry}
\usepackage{amsmath,amssymb,amsthm,mathpazo}
\usepackage[latin1]{inputenc}
\usepackage[english]{babel}
\usepackage{cite}
\usepackage{times}
\usepackage[usenames]{color}
\usepackage[dvipsnames]{xcolor}
\usepackage{pstricks}
\usepackage{tikz, ifthen, bclogo}
\usepackage{pst-poly}
\usepackage{pst-all}
\usetikzlibrary{decorations.fractals,calc} \usetikzlibrary{arrows,calc,patterns,shadows,petri,decorations.markings,shapes,trees}
\usetikzlibrary{decorations.pathmorphing}
\usetikzlibrary{lindenmayersystems}
\usepackage{latexsym, graphicx}
\usepackage[thicklines, makeroom]{cancel}
\usepackage{wasysym}
\usepackage{stmaryrd, scalerel, stackengine}
\usepackage{pifont}
\usepackage{calligra}
\usepackage{fontawesome5}
\usepackage{mathtools}
\usepackage{titlesec}
\usepackage{underoverlap}
\usepackage{theorem}
\usepackage{secdot}
\usepackage{empheq}
...................
编辑 2:最小工作示例 ________________________________________
\documentclass[a4paper,14pt,twoside,reqno]{extbook}
\usepackage[margin=28mm
]{geometry}
\usepackage{amsmath,amssymb,amsthm,mathpazo}
\usepackage[english]{babel}
\usepackage{titlesec}
\usepackage{tocloft, etoolbox}
\usepackage{tikz, ifthen, bclogo}
%______________<<< tikz example >>>_________________
\newcommand{\geo} {
\usetikzlibrary {shapes.geometric}
\begin{tikzpicture}
\node (start) [draw,shape=ellipse] {};
\foreach \angle in {-180, -178, ..., 180}
\draw (node cs:name=start,angle=\angle)
.. controls +(\angle:5cm) and +(0,0) .. (0,5);
\end{tikzpicture}
}
% -------------------------------------oOo-------------------------------------
\begin{document}
\pagestyle{plain}
\newpage
\begin{center}
\geo
\end{center}
\part{Sequences $ \& $ Series.}
\end{document}