indigo40123 / NYCU-Thesis-Template

A NYCU thesis template
22 stars 7 forks source link

浮水印問題 #10

Open xueqinguan opened 1 year ago

xueqinguan commented 1 year ago

新的校徽,下載完圖片檔案後,學校有給用word怎麼做但沒有教latex。

https://web.lib.nycu.edu.tw/webdata/Theses/Thesis_mark.pdf

圖片大小跟刷淡有人有解嗎

xueqinguan commented 1 year ago

% Set the source of watermark \newcommand\BackgroundPicture{% \ifTHESISOPTIONwatermark % for draft mode: print "DRAFT" \ifTHESISOPTIONdraft \setlength{\@tempdimb}{.5\paperwidth}% \setlength{\@tempdimc}{.5\paperheight}% \setlength{\unitlength}{1pt}% \put(\strip@pt\@tempdimb,\strip@pt\@tempdimc){% \makebox(0,0){\rotatebox{45}{\textcolor[gray]{0.75}% {\fontsize{6cm}{6cm}\selectfont{DRAFT}}}}% }% \fi % for final mode: print the watermark specified by \watermark{} \ifTHESISOPTIONfinal \begin{tikzpicture}[remember picture, overlay] \node[opacity=0.3, inner sep=0pt, outer sep=0pt] at (current page.center) {\includegraphics[width=\textwidth,keepaspectratio]{\@watermark}}; \end{tikzpicture}% \fi \fi }

改成這樣浮水印就可以自動縮放且刷淡~