Tag Info

Hot answers tagged

4

Here's a quick bash script to check for instances of RGB colors: #!/bin/sh pdftops $1.pdf -eps $1.eps status=$(grep -o "RGB" $1.eps | wc -l) echo "$status instance(s) of RGB colorspaces found in file $1.eps" exit $status And a .bat version for Windows: @echo off pdftops %1.pdf -eps %1.eps type %1.eps | find "RGB" /c > __my%1.tmp set /p ...


3

You need to use the fontspec-package: \documentclass{article} \usepackage{fontspec} \setmainfont{<your font name>} \begin{document} This text should be set in your new wonder-font \end{document} You need the font installed on your system, so no harm done there.


2

use always the optional argument when attaching a file: \PassOptionsToPackage{colorlinks}{hyperref} \documentclass{article} \usepackage{caption} \usepackage{attachfile2} \begin{document} \listoffigures \begin{figure} \caption[Custom Name\textattachfile{Namenlos-1.pdf}{Link}]{Some Figure} \end{figure} \begin{figure} \caption[Another ...


2

The Mac version of TeXstudio automatically adds a directory to the PATH, but it's set to /usr/local/texlive/2012/bin/x86_64-darwin/ by default. If you click Show Advanced Options in the Preferences page, under Build > Build Options > Additional Search Paths, change Commands ($PATH) to /usr/texbin and it should work, even if you upgrade MacTeX or TeX ...


2

Noto Sans Korean or original Source Han Sans should be OK. However, you should use a latest (unreleased) version of xdvipdfmx patched by Jiang Jiang not long ago. Realted: XeTeX: CID-keyed font support? % !TEX program = XeLaTeX % !TEX encoding = UTF-8 \documentclass{article} \usepackage{fontspec} \setmainfont{NotoSansKR-Regular.otf} % ...


2

\documentclass[pstricks,border=0pt,12pt,dvipsnames]{standalone} \usepackage{amsmath} \usepackage{pst-plot} \usepackage{pst-math} \usepackage[nomessages]{fp} \FPeval\XMin{0-0} \FPeval\XMax{6} \FPeval\YMin{0-0} \FPeval\YMax{36} \FPeval\XOL{0} % of DeltaX \FPeval\XOR{1/3} % of DeltaX \FPeval\YOB{0} % of DeltaY \FPeval\YOT{1/3} % of DeltaY \FPeval\DeltaX{1} ...


2

A fault in the XREF-table of your PDF seems to be responsible for the problems with XeTeX. You can repair your PDFs with a tool like pdftk: pdftk broken.pdf output repaired.pdf


1

XeLaTeX should handle eps files with non problem. But your eps file might contain extraneous material, suche a bitmapped screen preview of the real image. Therefore try converting it into another acceptable format, for example pdf with ps2pdf and import the pdf image instead of the eps one. Maybe that the extraneous material forbids a suitable ...


1

I wanted to let you know about my final solution. As it uses another approach than before, I didn't edit the question. Now I'm using the package marginnote which makes one able to define the equivalent to \marginpar inside of floats etc. In my opinion this one looks also better than having the link in the caption. \documentclass{article} ...


1

No need of abusing the \cventry here. Simply do this: \documentclass[12pt,letterpaper,sans]{moderncv} \moderncvstyle{classic} \moderncvcolor{red} \usepackage[scale=0.85]{geometry} \usepackage{multicol} \firstname{Joe} \familyname{} \begin{document} \section{Section} \hspace*{\fill} \begin{minipage}{\maincolumnwidth} \begin{multicols}{2} ...



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