Tag Info

New answers tagged

-9

You'll find online outlets which usually good concession also , you can purchase these really affordable as associated on the in the store boutiques. Therefore, make certain trend by means of websites in order to look out for a range of really unpaid discount rates. After you pay for all these tennis shoes via a online store, you should stumble on various ...


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 ...


0

Upon further reading, I just found a solution here. Install the cmssuper package. It will install T1-compatible versions of the Computer Modern fonts. No need to import anything more or to change the document. Now with \usepackage[T1]{fontenc} the output looks like:


3

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} ...


0

I think I found a solution, but it is only possible when your first page is not a full text page. Saving the first page of the pdf as a figure and adding it in solves the problem. \onecolumn \begin{appendices} \chapter{Appendix A} \label{ApA} \begin{figure}[ht!] \centering ...


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 ...


3

Since you (essentially) want randomly coloured page backgrounds at displaytime of a PDF, this is only doable with JavaScript. As pointed out in the comments OCGs will help. I wouldn't be surprised if this is already solved in ConTeXt. :-)


0

Adding the following to the .vimrc fixes it: let g:Tex_ViewRule_pdf='evince 2>/dev/null' This redirects evince's error stream to the "black hole" device file.


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}


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 ...


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 ...


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. ...


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 ...


0

Evince also has an overview page for that which uses the dbus script from the gedit latex plugin. https://help.gnome.org/users/evince/stable/synctex-editors.html


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

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.


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).


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} ...


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 ...


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


2

My first thought was to use the I/O file operations, e.g. \write or \immediate\write, but it faced a known problem with floating objects and their behavior. I had also problem around floating objects with own counter when there was no \global prefix. I rather used cross-references directly where a protected write is ensured. I can offer you this solution ...


1

There is also slider which is designed to be lightweight and specialised. It is designed to allow the use of notes on a second screen etc. Since it is relatively new, it may be worth watching even if a feature you need isn't yet currently implemented. (It has changed quite a lot since I started playing with it.)


2

The sad answer is, that situation is unchanged from about two years ago, the time Joseph Wright answered the linked question Using SyncTeX with Adobe Acrobat Reader. As hugovdberg writes inverse search would only be possible if Adobe would implement the SyncTeX feature, but this was until now not the case.


1

Use \addcontentsline{toc}{chapter}{entry text in the index} does the trick.


6

The information entries are written when the first page is shipped out. The report class uses the titlepage environment in \maketitle, which puts the title on the page and starts a new page. The best is to set the entries earlier, e.g. in the preamble.


5

I found that the --verbose flag will output the bounding box used at each step. Since this was a "growing" animation, the last page is the largest. So to get them all the same size, I ran pdfcrop with --verbose and extracted this output: %%HiResBoundingBox: 48.000022 299.872046 624.124950 420.127932 and then fed that to a second run of pdfcrop, ...


0

The tocdepth counter has (except if some package fiddles with the sectioning commands and changes the default behavior) no bearing on what gets written to the .toc file. However, it does have (by default) an influence, under the hyperref regime, on what makes its way to the pdf bookmarks. Thus your original problem could also be solved by modifying ...



Top 50 recent answers are included