Tag Info

New answers tagged

1

Problem solved: It was a printing error: Here is the fix: Under Ubuntu 14.04 (Linux), if you have the final pdf which latex creates for you; If you print it, after you press Crtl. + P, you have to: Page handling -> page scaling -> NO SCALING


2

Not really What you want is only doable with Portable Job Tickets. There is currently no software support for creating them (although that may be possible with LuaTeX) and only high-end printers (or print shops) will handle them.


2

You need to add \usepackage{mathptmx} to use Times fonts. Here is the table that shows the default fonts in the LaTex installation. This video also shows you how to change the fonts to avoid the light print quality issue. https://www.youtube.com/watch?v=21JqdJq5yeU


0

In Excel, Page Setup, uncheck Center on Page - Vertically. Sheet will justify to the top.


1

Expanding my comment into an answer: Any raster objects in a PDF are put inside a container so they appear vectorized, since PDF is natively a vector format. So from the point of view of graphicx, the image is already vectorized, even though it's technically not, only encapsulated by a vector format. The only way to get interpolation in a PDF would be to ...


1

Here is another suggestion using the package scrlayer to define a special pagestyle for included pdfs. \documentclass[a4paper]{book} \usepackage{pdfpages} \usepackage{xcolor} \usepackage{scrlayer} \newcommand{\pdfpagestext}{} \colorlet{pdfpagescolor}{purple} % define new layers \DeclareNewLayer[ foreground, oddpage, voffset=1cm,% distance from top ...


1

Option clash for package graphicx means you have already loaded the graphicx package with other options. If you use pdfpages, you don't have to load graphicx by yourself, as it gets loaded by the package.


1

I finally found the answer! I was using a multi-file latex (each chapter in a separate tex) and I needed to define my template.tex (the template.tex contains all the \usepackage commands and all the \include) as Master Document. This was done by opening the template.tex file with texmaker and then options-> define current document as "Master Document".


4

The default mode of TeXShop is using pdflatex for producing the final output. Nowadays (almost) nobody uses DVI as the final format, but PDF. Sometimes DVI files are used as intermediate steps (particularly if PSTricks is necessary). When there's no need for a DVI file (as intermediate step or as final format) it's faster to output directly to PDF; take ...


0

It is not Preview.app, of course, but TeXShop.app (comes with MacTex) can be used as a standalone previewer with the external editor of your choice (e.g. joe). In that case, it can be configured to automatically update, and you can tell TeXShop about your editor by configuring the preferences. When using an external editor, tick 'Automatic Preview Update' in ...


1

Another alternative is using pdf2svg, as indicated here: Launchpad Bug Report. In Ubuntu, you can install it as sudo apt-get install pdf2svg My overarching goal in reading this post was to be able to edit the raw paths of the PDF in Inkscape, so this accomplishes my goal quite well. EDIT: As a succinct command, you can add the following command: ...


1

A simple C++ program using Qt4 and Poppler would do the trick. I quickly sketched it up and tested it on some PDFs. I think one could tweak it a lot to make it more robust against weird links like mailto: -protocol and other ports. And of course Output formatting can be better, if you need to parse it afterwards, but it does the trick #include ...


2

Install curl (assuming you use apt-get to install packages) : sudo apt-get install curl and do the following for pdf files: cat document.pdf | grep -ao '[a-zA-Z]\+://[a-zA-Z.-]*[^)]\+' | while read LINE; do curl -o /dev/null --silent --head --write-out '%{http_code}' "$LINE"; echo " $LINE"; done and do the following for tex files : cat myfile.tex ...


4

The T2A encoding idea predates PDF and Unicode support; in order to save a slot and accommodate as many languages as possible, the CYRILLIC SMALL LETTER BYELORUSSIAN-UKRAINIAN I and its uppercase variant are rendered using the Latin i and I present in the encoding table. There's nothing glyphtounicode can do about it, because the letter that's output is the ...


7

The choice of inter-letter kerns is not done by TeX but by the font designer, Although in your case you are using Computer Modern so the font designer and the designer of TeX are the same person. You can see which kerns have been added by adding \showoutput to your document. ...\hbox(6.83331+1.94444)x345.0, glue set 259.69434fil ....\hbox(0.0+0.0)x15.0 ...


2

In most typefaces, letterforms with angled bottoms such as 'V' extend somewhat below the baseline, because the narrow point appears shorter to the eye than it really is. Your manual kerning is very overdone. Remember that kerning is done to make the text 'look right', whatever that may mean, rather than to conform to some mathematically precise spacing ...


1

Here's a link to the template that I use. I generate both an A4 sized document and a 'Kindle sized' one when I compile my document. I've got some macros in there for reformatting columns and margin paragraphs in there too: https://github.com/Todd-Davies/latex-template I also wrote a blog post on it a while ago (now slightly out of date): ...


0

I verified the first part of my concept based on the link Steven (@steven-b-segletes) provided in his comment. Here is a short, working example for A4 sized pdf as a background (don't mind the coordinates...): \documentclass[finnish,a4paper,11pt]{article} \usepackage[a4paper]{geometry} \usepackage{setspace} \usepackage[utf8]{inputenc} \usepackage{graphicx} ...


0

TeXShop is a Mac OS X (La)TeX editor with its own integrated PDF-viewer, which allows source-preview synchronization. I'm quite happy with it.



Top 50 recent answers are included