# Tag Info

15

Here is an example using the previously defined \tooltip command. Some user macros from the Acro package needed to be redefined to insert the tooltips only after first use: For Acronyms in black and non-draggable tip boxes use \def\ac#1{\acifused{#1}{\tooltip*[black]{\acs{#1}}{\acl{#1}}}{\acorig{#1}}} ...

11

Package hyperref Package hyperref supports the setting of arbitrary keys in the PDF information dictionary (see manual): \documentclass{article} \usepackage{hyperref} \hypersetup{ pdfinfo={ RecordOffice={my office}, AccessionNumber={42}, } } \begin{document} Hello World. \end{document} However, these keys are not standardized, thus most ...

10

I usually provide registration forms for our workshops in pdf format and also latex code to fill in data: Let us first have a sample Registration form (paper size-letterpaper): First page (form-0): Second page (form-1): Now the code: \documentclass[letterpaper]{article}% ensure identical page size \usepackage[charter]{mathdesign} ...

9

Your "polyglot" is not a valid PDF file. A canonical PDF file starts with the PDF header (%PDF-1.x). However Acrobat Reader and some other PDF viewers are less strict, from the implementation notes in the PDF specification: 3.4.1, "File Header" 13. Acrobat viewers require only that the header appear somewhere within the first 1024 bytes of the ...

8

The code below adds a tooltip property to acronyms that allows to specify the hover text for an acronym if it should differ from the long form. If not specified the long form is used. The code takes care that the tooltips are inserted for the short forms and the alternative forms but not on first use and not in the list of acronyms. This is done by ...

7

There is also pdfx package. Here you have to add metadata as a separate .xmp file. \documentclass{article} \usepackage{lipsum} \usepackage[a-1b]{pdfx} \usepackage{filecontents} \begin{filecontents*}{\jobname.xmpdata} \Keywords{pdfTeX\sep PDF/X-1a\sep PDF/A-b} \Title{Sample LaTeX input file} \Author{LaTeX project team} \Org{TeX Users Group} ...

6

This way should work: \documentclass{moderncv} % other stuff here \ifx\conditionmacro\undefined \immediate\write18{% pdflatex --jobname="cv-pt" "\gdef\string\conditionmacro{1}\string\input\space\jobname" }% \immediate\write18{% pdflatex --jobname="cv-pt-web" "\gdef\string\conditionmacro{2}\string\input\space\jobname" }% ...

5

I have done this a few times, since my handwriting is soooo bad. I mostly use the textpospackage, lpic was also very helpful. Here's an example for a body organ donation passport: donation a template to fill the Deutsche Bahn railroad form: deutschebahn a contract for a used bike, which uses the lpic package: bike Here's the code for the last one. It ...

5

Many commands that works via unexpandable stuff (assignments, catcode changes, ...) do not work in bookmarks. A PDF viewer is not TeX and does not understand the TeX language. Package hyperref provides \texorpdfstring to provide different code for the normal case and the bookmark case: \documentclass{article} \usepackage{listings} \usepackage{hyperref} ...

5

As tohecz suggested, eliminating spaces from the filename solves this problem. Once the file is named appropriately, the code compiles fine: If the problem persisted, the best strategy to start with would be to drop to the command line so that you can compile in NOT non-stop mode. That would hopefully tell you what the error is and/or where it is rather ...

4

Don't use sidewaysfigure within landscape - it will turn your figure twice. A regular figure should suffice: \documentclass{article} \usepackage{rotating} \usepackage{pdflscape} \begin{document} \begin{landscape} \begin{figure} \centering \includegraphics{image} \caption{caption} \label{fig:label} \end{figure} \end{landscape} \end{document}

4

With respect to the problem, first consider that the figure environment is a float, that mean that it can stay here, or float freely to the top, to the bottom, or jump to the next page or the last page, according to complex rules. See What are penalties and which ones are defined? and How to influence the position of float environments like figure and table ...

4

There is the option to "optimize expensive commands away" when externalizing stuff. Since the includepdf statement is irrelevant for externalize, we could optimize it away - and your example compiled fine. To be more precise: I moved \usepackage{pdfpages} before the externalize call and configured includepdf as "remove away": \documentclass{scrbook} ...

4

4

I have no experience with TikZ. But, if the TikZ can produce SVG/JPEG/GIF, I am pretty sure you can easily import it to Microsoft Word and emboss it through Tiger Embosser. I am familiar with Tiger embosser and I don't think they are 60dpi (i believe they are 20dpi). Is the student capable of reading Nemeth Braille? Feel free to contact me if you need any ...

3

As far as I can tell PDF can also have rectangular shaped pages. Everything beyond must be done by cutting the paper after printing it. For a shape like the one in your question this won’t be cheap since the cutting die must be made especially for a single project. For digital documents: If you deliver a complex shaped page the user will see it on a ...

3

You can control the bookmark depth just like you can the ToC depth using the bookmarksdepth key-value: \usepackage{hyperref}% http://ctan.org/pkg/hyperref \hypersetup{bookmarksdepth=3} bookmark also adapts this so you can use \usepackage{bookmark}% http://ctan.org/pkg/bookmark \bookmarksetup{depth=3}

3

You can go back to your old computer and copy them to your external hard drive but try and change their extension from .tex to .txt in case they appear that way. Don't do that in the originals but in copies. There wouldn't be any problem but just in case. As it is already mentioned in the comments .tex files are simple text files.

2

At least TeX is smart... an empty document (no resulting content within the document environment) leads to no output pages, as mentioned in your .log: No pages of output. To see whether the installation or setup is fine, consider a less minimal document: \documentclass{article} \begin{document} Test \end{document}

2

If you do not mind using a second file to create the document, you can use something like the following. This assumes that mypresentation-h.pdf is your beamer presentation created in handout mode. \documentclass[a4paper]{article} \usepackage{pdfpages} \includepdfset{pages=-,nup=2x3,frame,noautoscale=false,delta=5mm ...

2

You can change the default.latex template in order to allow horizontal and vertical scaling. Get the template: pandoc -D latex > mytemplate.latex Find the section $if(graphics)$ . . . $endif$ and replace its content with: \usepackage{graphicx} % Redefine \includegraphics so that, unless explicit options are % given, the image width will not exceed ...

2

the syntax \begin{frame}[fragile] comes from beamer and it does not make a visible frame box around the content, a "frame" in beamer is one slide of the presentation. But it seems you are not using beamer (you should always post a complete small document so we don;t have to guess) in which case you are using the standard latex \frame command which is ...

1

The package rotating (described on LaTeX WikiBooks and CTAN) provides several environments (including sidewaysfigure and sidewaystable) enabling you to have a float on its own page rotated with respect to the normal headers and page numbering. The figure and caption are both rotated 90 degrees. These environments do force the float to its own page, ...

1

Pandoc provides different backend. If you are using ConTeXt, just add \setupexternalfigures[factor=fit] to your preamble and figures that are greater that the pagewidth will be automatically scaled to the page width. If you want to scale all figures to 40% of their original size, add \setupexternalfigures[scale=400]

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