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

Is there a way to make only 1 page landscape but the rest portrait? #173

Open
kojuka opened this issue Oct 6, 2021 · 1 comment
Open

Comments

@kojuka
Copy link

kojuka commented Oct 6, 2021

I have a 10 page document. I'd like to make 1 page landscape but keep the rest of the pages as portrait. I there anyway to do this?

@Gunyon
Copy link

Gunyon commented Oct 6, 2021

Hi. You can try to use @page :first if it's the first page that you want to have different orientation.

@page {
size: A4 portrait;
}

@page :first {
size: A4 landscapep;
}

Otherwise you can create them separately and then merge with some merge pdf tool.

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

2 participants