答案1
\rule[<raise>]{<width>}{<height>}
垂直线使用负号设置,<raise>
使其低于基线。第一和第三条线6cm
较高,而中间的一条线8cm
较高。
\documentclass{article}
\usepackage[margin=0.5in]{geometry}
\usepackage{lipsum}
\begin{document}
\thispagestyle{empty}
\setcounter{page}{0}
\mbox{}
\vfill
\begin{center}
\large Notes on
\LARGE\bfseries Algorithmic Complexity
\bigskip\bigskip
\rule[-3cm]{.4pt}{6cm}\quad
\rule[-4cm]{.4pt}{8cm}\quad
\rule[-3cm]{.4pt}{6cm}
\bigskip\bigskip
\large\mdseries Central Department of MscCSIT,
Tu, Kirtipur
\end{center}
\vfill
\mbox{}
\clearpage
\pagestyle{plain}
\section{Introduction}
\lipsum[1-10]
\end{document}
答案2
TikZ 解决方案:
我还展示了算法:
平均能量损失
\documentclass{article}
\usepackage{fontspec}
\setmainfont{Noto Serif}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[remember picture,overlay]
\node [yshift=6cm] at (current page.center) (t1) {\Large Notes On};
\node [yshift=5.3cm] at (current page.center) (t2) {\Large\bfseries Algorithmic Complexity};
\node [yshift=-6cm] at (current page.center) (b1) {\Large Tu, Kirtipur};
\node [yshift=-5.3cm] at (current page.center) (b2) {\Large Central Department of MscCSIT};
\node [yshift=4cm] at (current page.center) (a) {A};
\node [yshift=-4cm] at (current page.center) (b) {B};
\node [yshift=2cm,xshift=1.5cm] at (current page.center) (c) {C};
\node [yshift=-2cm,xshift=1.5cm] at (current page.center) (d) {D};
\node [yshift=2cm,xshift=-1.5cm] at (current page.center) (e) {E};
\node [yshift=-2cm,xshift=-1.5cm] at (current page.center) (f) {F};
\draw (a) edge (b);
\draw (c) edge (d);
\draw (e) edge (f);
\end{tikzpicture}
\newpage
\begin{tikzpicture}[remember picture,overlay]
\draw (current page.center) circle (6cm);
\draw (current page.center) circle (5.3cm);
\draw (current page.center) circle (4cm);
\draw (current page.center)[xshift=1.5cm] circle (2cm);
\draw (current page.center)[xshift=-1.5cm] circle (2cm);
\node [yshift=6cm] at (current page.center) (t1) {\Large Notes On};
\node [yshift=5.3cm] at (current page.center) (t2) {\Large\bfseries Algorithmic Complexity};
\node [yshift=-6cm] at (current page.center) (b1) {\Large Tu, Kirtipur};
\node [yshift=-5.3cm] at (current page.center) (b2) {\Large Central Department of MscCSIT};
\node [yshift=4cm] at (current page.center) (a) {A};
\node [yshift=-4cm] at (current page.center) (b) {B};
\node [yshift=2cm,xshift=1.5cm] at (current page.center) (c) {C};
\node [yshift=-2cm,xshift=1.5cm] at (current page.center) (d) {D};
\node [yshift=2cm,xshift=-1.5cm] at (current page.center) (e) {E};
\node [yshift=-2cm,xshift=-1.5cm] at (current page.center) (f) {F};
\draw (a) edge (b);
\draw (c) edge (d);
\draw (e) edge (f);
\draw [fill=red,opacity=0.4] (t1) circle (0.1cm);
\draw [fill=red,opacity=0.4] (t2) circle (0.1cm);
\draw [fill=red,opacity=0.4] (b1) circle (0.1cm);
\draw [fill=red,opacity=0.4] (b2) circle (0.1cm);
\draw [fill=red,opacity=0.4] (a) circle (0.1cm);
\draw [fill=red,opacity=0.4] (b) circle (0.1cm);
\draw [fill=red,opacity=0.4] (c) circle (0.1cm);
\draw [fill=red,opacity=0.4] (d) circle (0.1cm);
\draw [fill=red,opacity=0.4] (e) circle (0.1cm);
\draw [fill=red,opacity=0.4] (f) circle (0.1cm);
\end{tikzpicture}
\end{document}