TeX capacity exceeded with single "tikzpicture" node.

Issue #22 resolved
Ricardo Tubío-Pardavila created an issue

When adding a single "tikzpicture" node to the main document using this template, the following error occurs when compiling with pdflatex:

TeX capacity exceeded, sorry [grouping levels=255].

The main file is the following:

\documentclass[25pt, a0paper, landscape, margin=10mm, innermargin=15mm, 
blockverticalspace=15mm, colspace=15mm, subcolspace=8mm]{tikzposter} 

\usepackage{xcolor} % Allows the definition of hex colors
% Colors for links, text and headings
\definecolor{blackRubber}{HTML}{31312E}
\definecolor{CoolBlue}{rgb}{0.2,0.4,0.67}
\definecolor{CPGreen}{rgb}{0.0118,0.384,0.1569}
\definecolor{linkcolor}{HTML}{506266} % Blue-gray color for links
\definecolor{shade}{HTML}{F5DD9D} % Peach color for the contact information box
\definecolor{text1}{HTML}{2b2b2b} % Main document font color, off-black
\definecolor{headings}{HTML}{701112} % Dark red color for headings
\definecolor{CoolPaleBlue}{rgb}{0.4,0.6,0.67}
\definecolor{CoolPaleGrey}{rgb}{0.67,0.73,0.73}

\definecolorstyle{myColorStyle} {
    \colorlet{colorOne}{CPGreen}
    \colorlet{colorTwo}{CPGreen}
    \colorlet{colorThree}{blackRubber}
}{
    % Background Colors
    \colorlet{backgroundcolor}{white}
    \colorlet{framecolor}{white}
    % Title Colors
    \colorlet{titlefgcolor}{white}
    \colorlet{titlebgcolor}{colorOne}
    % Block Colors
    \colorlet{blocktitlebgcolor}{colorTwo!50}
    \colorlet{blocktitlefgcolor}{black}
    \colorlet{blockbodybgcolor}{colorTwo!50}
    \colorlet{blockbodyfgcolor}{black}
    % Innerblock Colors
    \colorlet{innerblocktitlebgcolor}{white}
    \colorlet{innerblocktitlefgcolor}{black}
    \colorlet{innerblockbodybgcolor}{white}
    \colorlet{innerblockbodyfgcolor}{black}
    % Note colors
    \colorlet{notefgcolor}{black}
    \colorlet{notebgcolor}{white}
    \colorlet{notefrcolor}{white}
}

\usecolorstyle{myColorStyle}
\usetitlestyle{Wave}
\useblockstyle{Minimal}

\usepackage{avant}
\renewcommand*\familydefault{\sfdefault}
\usepackage[T1]{fontenc}

\title{Project\\\\ Description}
\author{Multiple Authors} 
\institute{Somewhere} 

\usepackage{hyperref}
\hypersetup
{
    citecolor=colorOne,
    colorlinks=true,
    urlcolor=colorOne,
    filecolor=colorOne,
    linkcolor=colorOne,
    pdftitle={My Project},
    pdfauthor={Ricardo},
    pdfmenubar=false,
    pdftoolbar=false,
    bookmarks=false,
    pdfnewwindow=true,
    pdfpagemode=FullScreen,
}

\begin{document} 
\maketitle 

    \begin{tikzpicture}{overlay, remember picture}

        \draw (current page.north east) node (__cp_seal)
            [
                anchor=north east,
                opacity=0.125,
            ]
        {\includegraphics[width=0.25\paperwidth]
            {images/calpoly-seal.png}};

    \end{tikzpicture}

\end{document}

Comments (5)

  1. Elena Botoeva

    I would say that you either need to wrap any tikzpicture by a block, e.g.,

    \block{Block Title}{your tikzpicture code}
    

    Or you remove the tikzpicture environment. You don't need to remember anything, as the poster is one big tikzpicture. That is:

    \begin{document} 
    \maketitle
    
        \draw (current page.north east) node (__cp_seal)
            [
                anchor=north east,
                opacity=0.125,
            ]
        {\includegraphics[width=0.25\paperwidth]{images/calpoly-seal.png}};
    
    \end{document}
    
  2. Ricardo Tubío-Pardavila reporter

    Yes, it did. In fact, I am sorry because I forgot to report back the result of your solution.

  3. Log in to comment