如何处理?
\documentclass[25pt, a1papper, portrait]{tikzposter}
\usepackage[utf8]{inputenc}
\title{\parbox{\linewidth}{\centering dsfds sdfsfd}}
\author{fdssfa}
\date{\today}
\institute{fsdfs sdfdsfds}
\usepackage{blindtext}
\usepackage{comment}
\usetheme{Desert}
\defineblockstyle{MyBlock}{% define a custom style for a block
titlewidthscale=0.8, bodywidthscale=1, titlecenter,
titleoffsetx=0pt, titleoffsety=0pt, bodyoffsetx=0pt, bodyoffsety=15mm,
bodyverticalshift=15mm, roundedcorners=22, linewidth=5pt,
titleinnersep=8mm, bodyinnersep=8mm
}{
\draw[rounded corners=\blockroundedcorners, inner sep=\blockbodyinnersep,
line width=\blocklinewidth, color=black,
top color=titlebgcolor!90, bottom color=titlebgcolor!20!white,
%fill=blockbodybgcolor
]
(blockbody.south west) rectangle (blockbody.north east); %
\ifBlockHasTitle%
\draw[rounded corners=\blockroundedcorners, inner sep=\blocktitleinnersep,
top color=titlebgcolor!90, bottom color=titlebgcolor!20!white,
line width=\blocklinewidth, color=black, %fill=blocktitlebgcolor
]
(blocktitle.south west) rectangle (blocktitle.north east); %
\fi%
}
\newcommand\myblock[3][MyBlock]{\useblockstyle{#1}\block{#2}{#3}\useblockstyle{Basic}}
\begin{document}
\useblockstyle{Basic}
\maketitle
\block{Introduction}
{
\blindtext
}
\begin{columns}
\column{0.4}
\myblock{Objectives}{% use custom block to define the objectives
\blindtext \vspace{2cm}
}
\column{0.6}{
\block{Something else}{Here, \blindtext \vspace{4cm}}
\note[
targetoffsetx=-9cm,
targetoffsety=-6.5cm,
width=0.5\linewidth
]
{e-mail \texttt{[email protected]}}}
\end{columns}
\begin{columns}
\column{0.5}
\block{A figure}
{
\begin{tikzfigure}
\end{tikzfigure}
}
\column{0.5}
\block{Description of the figure}{\blindtext}
\end{columns}
\block[titleleft,titleoffsetx=2em,titleoffsety=1em,bodyoffsetx=2em,
bodyoffsety=1em,titlewidthscale=.6, bodywidthscale=.8, roundedcorners=14,
linewidth=8mm, bodyinnersep=4em, titleinnersep=2em]
{Sample Block}{Text\\Text\\Text Text}
\end{document}
答案1
作者提供了一些方便且简短的命令。也许你应该考虑保留徽标,因为它是该项目的一个很好的广告。但是你在这里:
% arara: pdflatex
\documentclass{tikzposter}
\tikzposterlatexaffectionproofoff
\begin{document}
Hello World!
\end{document}
该命令可以在当前文档的第 4 页找到。