Tag Info

Hot answers tagged

12

Thank you all for your help and suggestions. Here is what I found which helped with my problem. I had a braille font installed, but it was not the correct braille font for the printer I was using, ViewPlus Tiger Cub. After installing the Tiger Software Suite (TSS), many braille fonts were added as system fonts. I was told at work that I needed to use the ...


11

Big chars (characters with more than 8 bits) of LuaTeX/XeTeX are not yet fully supported. Workaround: \documentclass{article} \usepackage{fontspec} \usepackage{accsupp} \usepackage{tikz}%\usepackage{pgfmath} \usepackage{stringenc} \usepackage{pdfescape} \makeatletter \newcommand*{\BeginAccSuppUnicode}[1]{% \EdefSanitize\asu@str{#1}% \edef\asu@str{% ...


5

Add the xcolor package to your preamble \usepackage{xcolor}% http://ctan.org/pkg/xcolor and use \pdftooltip{\textcolor{blue}{CD}}{Compact disk} Here is a complete, minimal working example: \documentclass{article} \usepackage{pdfcomment,xcolor} \begin{document} This is \pdftooltip{\textcolor{blue}{CD}}{Compact disk}. \end{document}


4

You should almost never specify natwidth and natheight (especially for pdf files) but if you do specify them they should Be lengths ie have units 10in or 5cm or whatever. If you omit the units it defaults to bp for compatibility with BoundingBox syntax. The intention of those keys was to tell (classic) LaTeX the size of image files that it could not read. ...


4

Example based on OCGs and JavaScript (pdflatex, AdobeReader required). Background colour is randomly chosen at display time. \documentclass{beamer} \usepackage{multido} \usepackage{animate} %defines \@anim@newocg \makeatletter \let\newocg\@anim@newocg \def\lastOCGobj{\@anim@curocg} \makeatother %JavaScript action to be executed on page open event ...


4

Use \usepackage{capt-of} and then: as illustrated in this example \begin{center} \includegraphics[scale=0.6]{sharpideq2.pdf} \captionof{figure}{Blah blah} \end{center} For the same reason \documentclass[11 pt,a4paper,oneside,openany, notitlepage]{article} \usepackage{graphicx} \usepackage{xcolor} \usepackage{amsmath, amssymb} \usepackage{amsthm} ...


3

You can only control, the page contents and show the number of pages there: Example with zref-abspage: \documentclass{book} \usepackage{zref-abspage} \makeatletter \AtBeginDocument{% \newcommand*{\mainpages}{}% \edef\mainpages{% \zref@ifrefundefined{afterlastmain}{??}{% \the\numexpr\zref@extractdefault{afterlastmain}{abspage}{1}-1\relax ...


2

You might like the standalone class for this: % arara: pdflatex % !arara: indent: {overwrite: yes} \documentclass[varwidth]{standalone} \usepackage[percent]{overpic} \begin{document} \centering \begin{overpic}[width=0.49\textwidth]{example-image-a} \put(50,26){\textbf{A}} \end{overpic} \begin{overpic}[width=0.49\textwidth]{example-image-b} ...


2

You need T1 font encoding for languages that use a latin alphabet with diacritics. Diacritics are used in English in exceptional cases, generally borrowed from foreign languages, so the Computer Modern fonts have no accented letters, and your .pdf displays bitmap fonts, that have no antialiasing. You need to use type 1 fonts, and the recommended fonts are ...


2

I also wanted to delete the annoying "xdvipdfmx (0.x.x)" and here is a solution for windows users (only TeX Live!): Be careful you have to patch the executable, do it on your own risk and make an backup of the file first. Get a Hex-Editor (I'm using the freeware CFF Explorer). Assuming your using it too, open the file xdvipdfmx.exe, go to "Hex Editor" and ...


2

Strictly technically speaking, yes, PDF (beginning from version 1.3) supports alternate images (eventually from remote resources) with different resolutions and colour spaces in order to let the PDF viewer choose which version to use depending on the destination device (screen, colour printer, grayscale printer). Certain substandards (e.g. PDF/A) might not ...


2

Check if inkscape can access the font used by pdftex. Try a lower version of pdf (pdftex command \pdfminorversion ). See what happens when you convert .pdf to .svg with gsview (menu edit--convert to vector format) or get pstoedit and say pstoedit -f plot-svg <input-file> <output-file> (from inkscape wiki).


2

I believe the problem may be that Inkscape currently imports text from PDF "as text", replacing fonts by fonts available to inkscape. If this is the origin of your problem, one approach can be to install Latex fonts for Inkscape. You can follow instructions on http://typethinker.blogspot.fr/2008/06/integrating-inkscape-graphics-in-latex.html.


1

The idea is to overlay a thicker line over the two joined lines. \documentclass{standalone} \usepackage{mathtools} \newsavebox{\mybox} \newlength{\mywidth} \newlength{\myheight} \newlength{\myline} \newlength{\myoffset} \newcommand{\mysqrt}[1]% {\setlength{\myline}{.1ex}% \addtolength{\myline}{.06pt}% \setlength{\myoffset}{.9em} ...


1

Most solutions rasterize the PDF-file resulting in large files. In my case, inkscape failed because some characters are missing (ligatures like ff, fl). Acroread worked in one case, the other failed because of a wrong bounding box. My solution was, to use the document viewer (Ubuntu 13.10) and to print the document into a file with the Postscript-option ...


1

I found this solution to be very easy: http://nerdytales.blogspot.com/2009/01/embedding-fonts-in-pdf-using.html The issue perhaps is the pdf figures which included fonts that are not embedded. You may reprint your pdf file using "Adobe PDF" while setting the "Properties"-> "Default Settings" to PDF/A-1 (mine had two, I chose PDF/A-1B:2005(RGB)). Then the ...


1

Okay so I wrote a first draft of a working pipeline. As per @ChristianH's suggestion, I used pdfcomment For the script, I used: pdfminer to read the PDF annotations pdfrw to write the selected pages The code is here: https://gist.github.com/ivanistheone/219dad11a30efef82b7e


1

use subfigure ! How about this code : \usepackage{graphicx} \usepackage{caption} \usepackage{subcaption} \begin{figure} \centering \begin{subfigure}[b]{0.5\textwidth} \includegraphics[width=\textwidth]{pic1} \end{subfigure} \begin{subfigure}[b]{0.5\textwidth} ...



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