[pstricks] layout for a book

Christian Hoffmann christian at lehrer-hoffmann.de
Sun Feb 13 16:19:49 CET 2011


Try this:

\documentclass{article}
\usepackage{fancybox}
\usepackage{pstricks}
\usepackage{pst-grad}

\psset{linestyle=none,gradbegin=gray,gradend=lightgray}
\fancypage{\psframebox[fillcolor=white,fillstyle=solid,linestyle=none]}{\psframebox[fillstyle=gradient,linestyle=none]}

\begin{document}
\section{Blabla}
Gaga
\end{document}


Greetings

Christian


Am 13.02.2011 14:05, schrieb Pau:
> Hello,
>
> thanks everybody!!!
>
> First of all, Carsten, vielend Dank; I was using custom old files.
> With texlive it's compiling just perfectly fine!
>
> This is getting very close... Now there's the frame around the page
> but how could I add that watermark in the frame?
>
> Also, note that rather than the cover page I am interested in the content pages:
>
> http://www.pragma-ade.com/general/magazines/mag-0001.pdf
>
> Notice how the frame is empty on the left for even pages and on the
> right for odd pages.
>
> The page numbering goes also to the frame. How to do those two things?
>
> I was not expecting as much help as I got from you guys, thanks a lot!
>
> Pau
>
> 2011/2/13 Herbert Voss<Herbert.Voss at fu-berlin.de>:
>> Am 12.02.2011 22:49, schrieb Pau:
>>
>>> I am trying to set up something similar to this
>>>
>>> http://www.pragma-ade.com/general/magazines/mag-0001.pdf
>>>
>>> but with latex... I guess that pstricks is the way, but... how???
>> see also
>> http://tug.org/PSTricks/main.cgi?file=Examples/Logos/logos#bookcover
>>
>> \documentclass[dvips,a4paper]{article}
>> \usepackage[T1]{fontenc}
>> \usepackage{libertine}
>> \usepackage[margin=0pt]{geometry}
>> \usepackage{pst-text}
>> \usepackage{blindtext}
>> \usepackage[english]{babel}
>> \DeclareFixedFont{\bigLib}{T1}{fxb}{b}{n}{4.5cm}
>> \parindent=0pt
>> \begin{document}
>>
>> \begin{pspicture}(\paperwidth,\paperheight)
>> \pspolygon[dimen=outer,linecolor=black!70,linewidth=15mm](0,0)(\paperwidth,0)%
>>   (\paperwidth,\paperheight)(0,\paperheight)
>> \rput(0.5\paperwidth,0.9\paperheight){%
>>   \pscharpath[fillstyle=solid,fillcolor=blue!40]{\bigLib This Way}}
>> \rput[rb](0.9\paperwidth,0.6\paperheight){%
>>   \minipage{0.7\linewidth}\raggedleft\huge
>> ConTEXt magazine \#1\\
>> Februari 2003\\
>> Hiding parts of section titles\\
>> Hans Hagen\\
>> PRAGMA ADE
>> \endminipage}
>> \rput[rb](0.9\paperwidth,0.1\paperheight){%
>>   \minipage{0.7\linewidth}t\blindtext\endminipage}
>> \end{pspicture}
>>
>> \end{document}
>>
>> Herbert
>> _______________________________________________
>> PSTricks mailing list
>> PSTricks at tug.org
>> http://tug.org/mailman/listinfo/pstricks
>> archive: http://www.tug.org/pipermail/pstricks/
>>
> _______________________________________________
> PSTricks mailing list
> PSTricks at tug.org
> http://tug.org/mailman/listinfo/pstricks
> archive: http://www.tug.org/pipermail/pstricks/



More information about the PSTricks mailing list