Tag Info

Hot answers tagged

70

Here is a poor man's solution! Cover and title pages should ideally be designed by a graphics artist, as most of us are really challenged in this area! (If you have not watched this brilliant TED Talk by Book Cover Designer Chip Kidd, I advise you to watch it as you can gain a lot of insight into book cover design). The code follows: \documentclass{book} ...


54

Create an own document (1 or 4 pages) for your cover and then merge it with the other document with the package pdfpages. Examples of book covers. For more detailed workaround, see Creating Book Covers using PSTricks. You will be guided how to create a book cover as shown above. For my own cover I use a template: On this I put all text frames and ...


41

You can use xcoffins package from LaTeX 3 project. This example is inspired by work of Jan Tschichold \documentclass{article} \usepackage[a4paper,margin=5pt]{geometry} \usepackage[T1]{fontenc} \usepackage{times,multicol,graphicx} \usepackage{xcoffins} \usepackage{times,color} \newcommand\cbox[2][.8]{{\setlength\fboxsep{0pt}\colorbox[gray]{#1}{#2}}} ...


21

For graphic layout tasks such as this, I reach for a full-page pspicture: \documentclass[letterpaper]{article} \usepackage[centering,width=8.5in,height=11in]{geometry} \usepackage{pstricks} \pagestyle{empty} \begin{document} \psset{unit=1in} \begin{pspicture}(8.5,11)% use your page size \rput[b](3.5,8){\parbox{5in}{\begin{flushright} ...


20

You can of course redefine the \maketitle macro to acquiesce to your design wishes. But as Martin has mentioned in a comment, the cover title is actually a later addition to a book. \maketitle is not the way to do this. The KOMA documentation says the following: A cover is actually something that should be created in a separate document. The cover ...


19

I think the KOMA documentation puts it very nicely, when describing which title is created using \maketitle and how it differs from the book cover: A cover is actually something that should be created in a separate document. The cover often has a very individual format. It can also be designed with the help of a graphics or DTP program. A separate ...


19

Book covers, and title pages, should be individually designed --- the \maketitle macro is not of much help. On CTAN there is a document of mine showing a range of title page designs that could be adapted for book covers: Some Examples of Title Pages. If you have TeX Live then texdoc titlepages should bring it up as well. Here is, hopefully, an example ...


17

Write your document in this way: \documentclass[10pt]{article} \usepackage[a4paper]{geometry} % Use A4 paper margins \usepackage[english]{babel} \usepackage{xcolor} % Required for specifying custom colors \usepackage{fix-cm} % Allows increasing the font size of specific fonts beyond LaTeX default specifications \usepackage{eso-pic,graphicx} ...


16

The problem is due to your setting of the baseline skip, that is too small, so in one case it makes the \lineskip glue to come into action. Indeed, if you say \vspace*{9pt} before "E. M. Forster" you get almost perfect alignment, as the difference of a bit less than 0.025pt is very tiny; the default value of \lineskip is exactly 1pt. The descender in ...


14

You could use TikZ for this. By supplying the overlay, remember picture options to the tikzpicture, you can access the current page node to position objects relative to the whole page. The words can be supplied to a foreach loop, separated by commas. The current position in the list is available as \count. To achieve relatively even distribution across the ...


11

You can use the combine class to merge the individual lectures into one single document. The "master" file would look like this: \documentclass[a4paper,11pt]{combine} \usepackage[nomauthor]{combinet} \usepackage[english]{babel} \usepackage{amsmath,amssymb} \usepackage{cancel} \title{Discrete Mathematics} \author{Alec Taylor} \begin{document} \maketitle ...


10

One option using the best of two worlds: \documentclass{article} \usepackage{pst-all} \usepackage{auto-pst-pdf}% for running it with pdflatex -shell-escape \usepackage{pst-light3d} \usepackage{tikz} \usepackage{lmodern} \usetikzlibrary{backgrounds} \pgfdeclarelayer{background} \pgfdeclarelayer{foreground} \pgfsetlayers{background,main,foreground} ...


9

\documentclass{article} \usepackage{color,graphicx} \newcommand{\whitebox}{\hfill\textcolor{white}{\rule[1mm]{1.8mm}{2.8mm}}\hfill} \newcommand{\filmbox}[1]{% \setlength{\fboxsep}{0pt}% \colorbox{black}{% \begin{minipage}{3.2cm} \rule{0mm}{4.8mm}\whitebox\whitebox\whitebox\whitebox\whitebox% ...


9

Here is one attempt but if you are in a hurry use a WYSIWYG software. \documentclass[tikz]{standalone} \usepackage{fontspec} \setmainfont{Myriad Pro Bold} \usetikzlibrary{calc} \def\myhbleed{10mm} \def\myvbleed{10mm} \begin{document} \begin{tikzpicture} % Left page \node[anchor=south west,inner sep=0,outer sep=0,minimum height=297mm+\myvbleed,minimum ...


9

As always I want to recommend Inkscape which with some meddling can export PDF's that you run through LaTeX and get the best of two worlds.


9

You can wrap the code of your title page between \begin{titlepage} and \end{titlepage} right after your \begin{document}.


8

The current page node of TikZ is very helpful: Code \documentclass[parskip]{scrbook} \usepackage{tikz} \usetikzlibrary{calc,shadows} \usepackage{lipsum} \usepackage{lmodern} \begin{document} \thispagestyle{empty} \begin{tikzpicture} [ overlay, remember picture, mynode/.style={left,fill=yellow!10,general shadow={shadow scale=1, shadow ...


6

The source code for the title page from the The TikZ & PGF Manual might be interesting. Also, the source code for cover graphic from another version of the title page is available. Although these are specifically used as title pages, with some study of the source code, similarly inspired designs could be used in the design of a book cover.


6

Since moderncv internally loads fancyhdr, I defined a myfancy page style to produce the desired header. I used TikZ to produce the green rule in the letter. In my opinion, the shape for the green line you suggest in the letter seems not too good; I replaced it with a straight line (this looks a little better, but perhaps no rule at all is the best?). I ...


6

You can use geometry: \documentclass[12pt, a4paper, titlepage, twoside, openright]{book} \usepackage[pass]{geometry} \usepackage{graphicx} %Figures management \linespread{1.2} \begin{document} \newgeometry{margin=2cm} \begin{titlepage} \linespread{1} \centering {\Large\scshape Alma Mater Studiorum $\cdot$ Universit\`a di Bologna} ...


6

Here is a solution based on egreg's answer, adapted to display text. (CW because I hardly did any work, the credit goes to egreg.) The main document stays exactly the same. Here's my text version of the fillwithnumbers.tex: \documentclass{article} \usepackage[a4paper]{geometry}% A4 paper %\usepackage[letterpaper]{geometry} % letter paper, also change ...


6

Are you satisfied with including the image your way? If you want to use the formatting (esp. the margins) of your pdf-file consider the use of \includepdf from pdfpages \cleardoublepage lets you start on the next odd page number This way it works: \documentclass[twoside]{scrbook} %\usepackage{graphicx} \usepackage{pdfpages} \listfiles \begin{document} ...


6

Too long for a comment: Importing the downloaded file into a non-UTF8 editor (like TeXnicCenter 1.0), reveals: The first character could be the cause of the problem - called a Byte Order Mark. Even importing this into LyX 2.0.4 adds the following into the preamble (Document > Settings > LaTeX Preamble): which you'll have to remove. Either remove this ...


5

There is a special package to include pdfs as pages in your document. It is called "pdfpages". Read more about that here: http://stackoverflow.com/questions/2739159/inserting-a-pdf-file-in-latex It may be a bit more tricky if you want the page to be numbered, and the numbering is not part of the original pdf. Please answer if this is the case - then, we can ...


5

Without knowing the class you're using, here's an attempt. \documentclass[a4paper]{book} \usepackage[pass,showframe]{geometry} % showframe is just for the example \usepackage{kantlipsum} % just for the example \begin{document} \frontmatter \begin{titlepage} \newgeometry{margin=3cm} \centering \vspace*{\stretch{2}} \Large The Title of my Thesis ...


5

I have used the book class but it should work for your class too. \documentclass{book} \usepackage{xcolor} \usepackage{graphicx} \usepackage{afterpage} \usepackage[a4paper,margin=1in]{geometry} \begin{document} \newgeometry{centering,top=0in} \begin{titlepage} \pagecolor{gray} \afterpage{\pagecolor{white}} %Cover image \centering ...


5

All you need is the overlay option for textpos: \documentclass[11pt]{article} \usepackage[hmargin=0.5cm,bmargin=2.3cm,tmargin=2cm,centering]{geometry} \usepackage[contents= ,color=white,scale=1,opacity=1,angle=0]{background} \usepackage{graphicx} \usepackage{amssymb} %\usepackage{xcolor} \usepackage{here} \usepackage{framed} \usepackage{multicol} ...


4

AN example for my university: \documentclass[english,ngerman,parskip=half]{scrartcl} \usepackage[T1]{fontenc} \usepackage{libertine} \usepackage{microtype} \usepackage[utf8]{inputenc} \usepackage{babel} \usepackage{graphicx} \usepackage{xcolor} \begin{document} \begin{titlepage} \vspace*{-3cm} ...


4

First of all, you can encolose the title page in a titlepage environment so the document class deals with it in a proper way. Then you can set the distances between text blocks in a relative way to each other (by using the \stretch command), so if you are required to change the paper size (university policies with respect to thesis formatting can be very ...


4

You almost had it; just use the patch for redefining \thefootnote to do nothing. I've reduced the MWE to a real MWE. \documentclass[11pt,titlepage]{article} \usepackage{etoolbox} \patchcmd{\maketitle}{\let\footnoterule\relax}{\def\thefootnote{}}{}{} \usepackage{hyperref} \begin{document} \author{Me \and Another Person\thanks{Some Thanks}} \date{First ...



Only top voted, non community-wiki answers of a minimum length are eligible