Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to disable text on the title page #378

Open
wouterla opened this issue Feb 15, 2024 · 0 comments
Open

Option to disable text on the title page #378

wouterla opened this issue Feb 15, 2024 · 0 comments

Comments

@wouterla
Copy link

It would be helpful for me to be able to have a cover/title page that has just the 'background' full-page image.

I was trying to insert a designed cover page for my book, and had trouble doing that. The easiest way is just to set the background image for the title page, but in that case the title and author (etc) are superposed over the image, of course.

It was easy enough to add an if statement in the template, like:

$if(titlepage-background)$
% The titlepage with a background image has other text spacing and text size
{
  $if(titlepage-text)$ {
    \setstretch{2}
    \vfill
    \vskip -8em
    \noindent {\huge \textbf{\textsf{$title$}}}
    $if(subtitle)$
    \vskip 1em
    {\Large \textsf{$subtitle$}}
    $endif$
    \vskip 2em
    \noindent {\Large \textsf{$for(author)$$author$$sep$, $endfor$} \vskip 0.6em \textsf{$date$}}
    \vfill
  }
  $endif$
}

I'm not sure if something like that would be welcome for the template, but for me it was useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant