LaTeX forum ⇒ Page LayoutBoxes in tikzposter

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
User avatar
cgnieder
Site Moderator
Posts: 1988
Joined: Sat Apr 16, 2011 7:27 pm

Re: Boxes in tikzposter

Postby cgnieder » Fri Aug 28, 2015 10:54 pm

Manusch wrote:cgnieders version doesnt change anything


I beg to disagree! Of course I tested my suggestion before I posted it.

Compare for yourself (just click on the »open in writelatex« button):
  1. \documentclass[12pt, a2paper, portrait, margin=0mm, innermargin=10mm, titleinnersep=0mm,blockbodyinnersep=0mm, blocktitleinnersep=0mm, blockverticalspace=5mm, colspace=5mm, subcolspace=5mm]{tikzposter}
  2.  
  3. \usepackage[ngerman]{babel}
  4. %\usepackage[latin1]{inputenc}
  5.  
  6. \usetitlestyle{Envelope}
  7. \usebackgroundstyle{Rays}
  8. \useblockstyle{Envelope}
  9. \usecolorstyle{Spain}
  10.  
  11. \title{Titel}
  12. \author{Autor}
  13. \institute{Institut}
  14. \begin{document}
  15. \maketitle
  16. \begin{columns}
  17. \column{0.33}
  18.  
  19. \block{}{
  20. \small
  21. \section*{Before}
  22. TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT
  23. TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT
  24. TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT
  25. TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT
  26. TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT
  27. }
  28.  
  29. \makeatletter
  30. \renewcommand\section{%
  31. \@startsection
  32. {section}% name
  33. {1}% level
  34. {\z@}% indent
  35. {0ex \@plus -1ex \@minus -.2ex}% beforeskip, changed!
  36. {2.3ex \@plus.2ex}% afterskip
  37. {\normalfont\Large\bfseries}% style
  38. }
  39. \makeatother
  40.  
  41. \block{}{
  42. \small
  43. \section*{After}
  44. TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT
  45. TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT
  46. TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT
  47. TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT
  48. TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT
  49. }
  50.  
  51. \end{columns}
  52. \end{document}


Manusch wrote:\vplus{-3.5ex}

There is no \vplus command that I know of.

Manusch wrote:but the position of the text is no stranger than before...

I have no idea what that means…

Regards
Clemens
------------------------------
chemmacros · chemformula · leadsheets · xsim

Tags:

Manusch
Posts: 4
Joined: Fri Aug 28, 2015 6:52 pm

Postby Manusch » Sat Aug 29, 2015 3:00 pm

I posted a picture with the distances I spoke about.

distances.png
distances.png (26.21 KiB) Viewed 2400 times


How can I change these?
Last edited by Stefan Kottwitz on Sat Aug 29, 2015 3:19 pm, edited 1 time in total.
Reason: image from external flash-advertising site uploaded to forum

User avatar
Stefan Kottwitz
Site Admin
Posts: 9513
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Sat Aug 29, 2015 5:06 pm

Set bodyinnersep to a suitable value. Furthermore, \maketitle takes an option titletoblockverticalspace which you can adjust. Such as here, in your code:

  1. \documentclass[12pt, a2paper, portrait, margin=0mm, innermargin=10mm, titleinnersep=0mm,blockbodyinnersep=0mm, blocktitleinnersep=0mm, blockverticalspace=5mm, colspace=5mm, subcolspace=5mm,innermargin=10pt]{tikzposter}
  2.  
  3. \usepackage[english]{babel}
  4. %\usepackage[latin1]{inputenc}
  5.  
  6. \usetitlestyle{Envelope}
  7. \usebackgroundstyle{Rays}
  8. \useblockstyle{Envelope}
  9. \usecolorstyle{Spain}
  10.  
  11. \title{Titel}
  12. \author{Autor}
  13. \institute{Institut}
  14. \usepackage{blindtext}
  15. \newcommand{\mysection}[1]{\Large\textbf{#1}\par\smallskip}
  16.  
  17. \begin{document}
  18. \maketitle[titletoblockverticalspace=10pt]
  19. \begin{columns}
  20. \column{0.33}
  21.  
  22. \block[bodyinnersep=10pt]{}
  23. { \mysection{Aufgabenstellung}
  24. \blindtext
  25. }
  26. \end{columns}
  27. \end{document}


tikz-poster-distances.png
tikz-poster-distances.png (42.74 KiB) Viewed 2397 times


Stefan
Site admin


Return to “Page Layout”

Who is online

Users browsing this forum: No registered users and 1 guest