Tag Info

Hot answers tagged

11

This is perhaps one of the cases where the new primitive \pdfinterwordspaceon can be useful. If I run \documentclass{article} \pdfinterwordspaceon \usepackage{libertine} \usepackage{lipsum} \setlipsumdefault{1} \begin{document} \lipsum \end{document} and save to text from Adobe Reader, the spaces show.


5

Just to ease you to choose the better font conveniently. Apparently, I have made it several decades ago, here (click). \documentclass[preview,border=12pt,multi]{standalone} \usepackage{filecontents} \begin{filecontents*}{template.tex} \documentclass[preview,border=12pt,12pt]{standalone} \usepackage[T1]{fontenc} \usepackage{\fonttouse} ...


4

Usually the file name of included images is lost and not available in the PDF file. The only exception are included PDF files via pdfTeX or LuaTeX. These compilers include the PDF files as XForm objects with the addition of the following keys: /PTEX.FileName (./tiger.pdf) /PTEX.PageNumber 1 /PTEX.InfoDict 6 0 R With a PDF library, the file name can be ...


2

If you really want to add them to a PDF file, such as for legal documents, these tricks might work for you. Add page numbers to a doc first convert with pdf2ps and back with ps2pdf to fix xref table (Problem, this rasterizes. Somehow pass -dNoVerifyXref thru pspdftool to gs?) pspdftool 'number(start=1, size=20, x=550 pt, y=10 pt)' test-bar.pdf ...


2

You can try \documentclass{standalone} \usepackage{color} \usepackage{graphicx} \begin{document} \input{Colors.pdf_tex} \end{document} EDIT: To address the problem with objects outside the pdf, you could define the size of the resulting pdf. But I am afraid, the numbers have to be adjusted for each figure. \documentclass{standalone} ...


2

use a greater coordinate system for pspicture. With \psframebox you can make the area which TeX seas visible: \documentclass{article} \usepackage{pst-plot} \begin{document} \psframebox*[fillcolor=black!20,fillstyle=solid]{% \begin{pspicture}(-0.5,-0.5)(5.5,5.5)%%%%%%%%%% \psgrid[gridcolor=red,subgridcolor=green, gridlabels=0](0,0)(5,5) ...


2

I'm experimenting with ocg-p. This is what I got so far: \documentclass[]{minimal} \usepackage{ocg-p} \usepackage{xcolor} \definecolor{testcol}{cmyk}{0,0,0.5,0} \begin{document} regular text % \begin{ocg}{layer name}{layer id}{initial visibility} \begin{ocg}[printocg=never]{Background}{1}{1} \colorbox{testcol}{text on Background layer} \end{ocg} regular ...


2

Use \usepackage[T1]{fontenc} \usepackage{kpfonts} \usepackage[utf8]{inputenc}


1

I identified 2 problems in your MWE: As @Paul Gessler said, in \bibliographystyle{style}, "style" is not a valid bibliography style. To read more about the different bibliography styles, check the link he provided or this one. I couldn't compile your literature.bib file, because the last element in the bibitem has a colon at the end (" url = ...


1

Let me check if I understood the question. You want to have two separate files containing paragraphs separated by blank lines, as in standard latex, and you want those files to be paragraph-synced as if you wrote \ParallelLText{} or \ParallelRText{} around of them? If so, the only solution which came to my mind is to use Luatex to read those files, split ...



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