New answers tagged

3

Greek letters can also be used in bookmarks: Unicode encoding is needed, because the 8-bit PDFDocEncoding does not contain all letter and symbols. This can be achieved by option unicode or pdfencoding=auto. Option psdextra redefines lots of math symbol commands to work within bookmarks. Example: \documentclass[12pt]{article} \usepackage[ ...


2

Dealing with parts with tocloft is always a pain. I can propose two patches for the book class and two alternative settings, depending on the desired alignment of chapter titles. No attempt in aligning part titles is done, because Roman numbers are too variable in width. First proposal The chapter titles are not aligned with each other if there are more ...


6

Here, I use standard features of the tocloft package. Note, however, that page 10 of the tocloft documentation indicates that \cftpartaftersnum DOES NOT WORK for the standard document classes. Thus, I cannot add an en-dash following the part number. EDITED to make the words "Partie" and "Chapitre" in small caps. EDITED to center the chapter's en-dash in ...


2

Floating environments for non-floating stuff is not the right choice here. Images can be easily imported enlarged and centered on the page via package pdfpages: \documentclass[10pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \usepackage{pdfpages} \usepackage{tikz} \usepackage{hyperref} \usepackage{bookmark} \pagestyle{empty} ...


0

As a workaround I got the idea to generate the pdf file without bookmarks first. After that one could include the generated pdf file in a new LaTeX document and than use the bookmark package with explicit page numbers. This method is also shown on this page. % Taken from http://michaelgoerz.net/notes/pdf-bookmarks-with-latex.html \documentclass{article} ...


2

refcheck needs to hook into \ref and other, related commands, which isn't possible anymore, if those commands are changed later on (and again) by hyperref and bookmarks: Solution: Load refcheck after bookmarks refcheck is one of the rare packages that must be loaded after hyperref etc. \documentclass[preprint,12pt, sort&compress]{elsarticle} ...


0

Ok, I've solved the problem with ¿ and ¡ using LuateX and fonts as Mathpazo and Helvet. The solution is very easy: For ¿ symbol: \textquestiondown For ¡ symbol: \textexclamdown And that's all



Top 50 recent answers are included