Hot answers tagged

6

pdfcrop that is part of Tex Live, can crop multi-page pdf automatically, and create a new pdf with all the pages cropped. You can then simply use includgraphics to read each page, or read all pages at once. I do the cropping in makefile, which does all the pre-processing and then calls latex. But you can do it from inside Latex as well ...


6

Short answer: No this is not possible Long answer: You might try what @samcarted suggested and just copy and paste everying and add the formatting manually. Alternatively you could mix the old and the new slides/pages together by using pdfpages (not sure whether you're using beamer or article or something else, but the example should translate to other ...


2

The media9 package should be used instead of the obsolete movie15, as in the example below. Here is a JavaScript that cycles through the predefined views. The view changes every 5 seconds. As requested, the toolbar Play/Pause button can be used to pause/resume the animation. For further info about 3D JavaScript, see here. var time=0; var curViewIdx=0; ...


2

You have to enclose each “page” in an environment: \documentclass[multi,crop,border=2]{standalone} \standaloneenv{my} \begin{document} \begin{my} Test1 \end{my} \begin{my} Test2 \end{my} \end{document}


2

I think this is what you want: \documentclass{article} \usepackage{xparse} \usepackage{hyperref} \DeclareExpandableDocumentCommand{\foo}{smm}{% \texorpdfstring {\IfBooleanTF{#1}{\textsf}{\textit}{#2}--#3} {#2-#3}% } \begin{document} \section{This is \foo{A}{B}} \section{This is \foo*{A}{B}} \end{document}


2

PDF/A is a standard for long-time archiving. It requires that all resources are embedded like fonts and color profiles. Also it restricts the language features. Advanced features like transparency or interactive features (JavaScript, some annotations, ...) are forbidden, which might be displayed differently in different viewers. A reasonable algorithm would ...


2

The start macro \exercise is patched to catch the optional argument. hyperref already sets an anchor for the numbered exercise. The bookmark uses this anchor directly. Package bookmark is added to implement the previous point. Also the bookmarks are updated faster. Full example file: \documentclass[a4paper]{scrartcl} \usepackage[T1]{fontenc} ...


2

From the PDF/A rules: Transparent objects and layers (Optional Content Groups) are not permitted. Link Try using a different cropping tool that removes the margins rather than moving them to an Alpha layer for transparency.


2

I extend Chris H's answer: I extented the pdfcolorsplit.py script with an option -r to reassemble all split parts again into a final pdf, by converting all b/w parts to grayscale before reassembling: use like (-p option worked the best) : ./pdfcolorsplit.py -p -v -s -r Report.pdf The code is here: #!/usr/bin/env python # Python 2 and 3 compatible. # ...


1

This answer makes use of the graphicx package and its \rotatebox command. The MWE below also makes use of the more common \documentclass{article} for a wider audience with TeX.SE users. N.B. This is untested with the \documentclass{svjour3} and other code from the MWE in your question. But I do not see any reason as to why it should fail. Rotated Matrix ...


1

Thérèse explained what happens (see comment and question's update section). The font doesn't have the simple parenthesis. A workaround I used for this: defined an english (the main language of the document) parenthesis with \textenglish to force the parenthesis from the Unicode Block "Basic Latin" LEFT PARENTHESIS (U+0028) and RIGHT PARENTHESIS (U+0029) to ...


1

I've played with the EPS file you linked in the comment above. As you said, after conversion the white grid is showing up in the PDF and even in the PNG after using convert -density 300x300 branin.eps branin.png The only thing I know to get rid of the grid is to convert to a very high resolution PNG and then scale the PNG down. The white grid gets ...


1

For the ease of reading, any good typesetting software will make use of Ligatures. Means, it merges letters to simplify reading the text: (Source: Wikipedia) Since these composite-characters are not recognized by your text-editor software where you paste it, it (apparently) replaces them by line-breaks. If you're lucky, you might be able to use the ...



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