# Tag Info

13

I don't think it is reasonable to expect a full list to be created and maintained here. I think it is better to explain how to figure out whether fonts have this support so that users can determine the current answer for a specific font for themselves. If nothing else, this will enable people to check whether an answer here is still correct. Thérèse is ...

8

Activate the hyphen in the coqdoccode environment, defining it as a hyphen followed by a zero kern. \documentclass{article} \usepackage[T1]{fontenc} \newcommand{\activatehyphen}{% \begingroup\lccode~=- \lowercase{\endgroup\def~}{\char\-\kern0pt }% \catcode\-=\active } \newenvironment{coqdoccode} {\flushleft\activatehyphen\ttfamily} ...

7

pdfTeX does not have image manipulating facilities. Images are included as they are. If an image, e.g. foobar.png, has the correct resolution, e.g. color image with 300 dpi, then a plain \includegraphics{foobar} will do. Option scale can be used to change the resolution, e.g.: \includegraphics[scale=2]{foobar} if the color image foobar.png has resolution 600 ...

6

You can use hbox \documentclass{article} \usepackage[most]{tcolorbox} \begin{document} \tcbset{ enhanced, colback=red!5!white, boxrule=0.1pt, colframe=red!75!black, fonttitle=\bfseries } My own shadow \begin{tcolorbox}[title=My own shadow,hbox, %%<<---- here lifted ...

6

Yes, I would say this is a bug in pdftex. (It seems related to this bug, which was fixed a couple of years ago.) It appears that \rightmarginkern reports a zero kern if the \parfillskip contains a glue component, while margin kerning itself is applied despite the glue component. Both agree if you set \parfillskip to 0pt. For the exact rules, I can only ...

5

First it is graphicx not graficx \cventry has 7 arguments, you have given only six at some places. \cvitem has only 3 arguments, you gave six. \Csh{} is unknown for me, hence I have commented it. With all these corrections, here is your code: \documentclass[11pt,a4paper,sans]{moderncv} \moderncvstyle{casual} \moderncvcolor{blue} \usepackage{graphicx} ...

5

It seems that your input source file is in UTF16 or UTF32. The UTF32 file includes (byte per byte): zero zero zero \ zero zero zero d zero zero zero o zero zero zero c ... TeX interprets \ zero as a control sequence with single character (ASCII-zero) and this control sequence (reported by TeX as \^^@ in log file) is not defined. Use only ASCII or ...

5

\relax is not undefined enough, use \let\ifpdf\undefined % working workaround \input eplain \pdffalse % restore cwebmac definition Just undefining \ifpdf not enough, the two systems define \ifpdf for different reasons, eplain uses it to test for pdftex, but cweave uses \ifpdftex for that and uses \ifpdf for use with dvipdf(m)(x) see: ...

5

Almost five years after the question. With the latest versions of Metapost it is possible to change the default naming scheme for output files: the statement outputtemplate := "%j-%c.mps"; will produce, from file name.mp. files named as name-1.mps and so on. This is much preferable, because no further instruction is needed under pdflatex, which knows how ...

4

You can use the Times font TeX Gyre Termes: \documentclass{article} \usepackage{tgtermes} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \input glyphtounicode \pdfgentounicode=1 \begin{document} \noindent \rmfamily rmfamily: zażółć gęsią jaźń \\ \ttfamily ttfamily: zażółć gęsią jaźń \\ \end{document} Copy and paste from the .pdf gives this ...

4

You can use the package upquote and put the code in a verbatim environment. \documentclass{article} \usepackage{upquote} \begin{document} \begin{verbatim} data 'a list = Nil | Cons (e, 'a list) \end{verbatim} \end{document}

3

Perhaps there is natural width option, I did not find it. A small workaround: Wrap the text into a box and get the width of it: \documentclass{article} \usepackage[most]{tcolorbox} \begin{document} \newsavebox{\mybox} \savebox{\mybox}{This is a tcolorbox} \tcbset{ enhanced, colback=red!5!white, boxrule=0.1pt, ...

3

Yes, LaTeX will parse the left and right quotation marks correctly if you tell it to parse the input with UTF-8 encoding. \documentclass{article} \usepackage[utf8]{inputenc} \begin{document} ‘Hello’ \end{document}

3

xunicode sets up for these commands also some OT1 defaults, but the main point are accents commands. E.g. \DeclareEncodedCompositeCharacter{\UTFencname}{\M}{0322}{0322} % (Combining retroflex hook below) You can naturally redefine the command if you don't use it, but there is a tradition to use "one-char-commands" for accent commands and so I would never ...

3

The problem is due to the narrow size of the column. You have two choices. Declare \footnotesize before \begin{algoritmic} \begin{algorithm} \caption{Equivalent Method Handle (MH) Detection} \label{alg:equivalentmap} \footnotesize \begin{algorithmic}[1] \State $mh$: A method handle to be proceeded. ... \EndProcedure \end{algorithmic} \end{algorithm} ...

2

Use tcolorbox. \documentclass{article} \usepackage{lipsum} \usepackage[most]{tcolorbox} \definecolor{bg}{RGB}{255,249,227} \begin{document} \lipsum[1] \begin{tcolorbox}[enhanced jigsaw,colback=bg,boxrule=0pt,arc=0pt] \begin{itemize} \item Item 1 \item Item 2 \item Item 3 \end{itemize} \end{tcolorbox} \end{document} ...

2

I can conform this issue now. On my local machine it was impossible to reproduce this error. but on an other machine I succeeded. I have tried it like the following. 1.) installed python2.7 and pygmentize 2.) did not add path and compiled (_minted-exampleb was created as subdirectory automatically) but I failed with the above message. 3.) installed ...

2

The apacite.sty package that's loaded by class wrongly defines \PrintBackRefs in case back references are not wanted. Indeed, it defines it to be the same as \@gobble, but the end of an entry in the generated .bbl file is like \APACjournalVolNumPages{Journal of Economic Psychology}{25}{5}{565--580}. \newblock \begin{APACrefDOI} ...

2

The equations are centred with respect to the left margin of the current itemize environment and the right margin of the page, not taking into account the equation number. A work around could be adding \hphantom{tag} to the right of the empheq environment. I also managed to get the item number vertically aligned with the first line of the align environment: ...

2

Adobe has specified a syntax to open PDF files with some parameters inside URLs, see Parameters for Opening PDF files. With package hyperref, your PDF document can refer to other PDF documents. For example, the external document should be opened at page 4: \url{http://www.example.com/foo.pdf?page=4} ...

1

Seems like you have local copy of textcomp in D:\Documentos\Tesis\Circuitos ElÃ©ctricos\Latex\Filtros\01. Capacitivo\graficos\scripts\primero\textcomp.sty that is out of date. You should use the Miktex package manager to install textcomp.

1

If you're looking for a solution to the problem rather than an answer to the question (as I understand it), I'd recommend using arara. There's very good integration documentation available in arara's critically-acclaimed manual, chapter 4. Essentially, you place a few lines at the top of your TeX document like this: % arara: pdflatex % arara: bibtex % ...

1

You can use xmpincl, "which allows you to add arbitrary metadata in the Adobe XMP (Extensible Metadata Platform) format. But you have to write a separate XML file to do this" (suggested in threads here). They also propose a more recent package hyperxmp. You can find an example .xmpdata file and other files needed on creating high-quality PDF/A documents ...

1

In case someone has the same problem again in the future. For me it worked when I used \usepackage[dvips]{graphicx} instead of \usepackage[pdftex]{graphicx} I was using TeXShop 3.51 on a Mac. What I also did was in TeXShop -> Preferences to go to Tab 'Typesetting' and Where it says 'Default Script' to select the radio button 'TeX+DVI' and then in the tab ...

1

Actually, I have found out that a good collection of LaTeX fonts can be found here. The links to CTAN and installation recommendations are also provided. Apparently, it will be hard to find the Calibri font on the Internet since it is a proprietary one, but other similar fonts can be found on the web-catalogue mentioned above.

1

Another much easier solution is: don't use LaTeX in Matlab 2014b to label your axis. For example, you cannot have any thing like x_1^*. If you use only plain text in Matlab, then when you save the file to SVG, the text will be kept. You can then edit the .pdf_tex file generated by Inkscape to show the correct label. This is of course due to the bug of the ...

1

You have to put Skype in a separate line like \cventry{Skype}{\small \url{xxx}\normalsize}{}{} Here is your code: \documentclass[11pt,a4paper]{moderncv} % moderncv themes %\moderncvtheme[blue]{casual} % optional argument are 'blue' (default), 'orange', 'red', 'green', 'grey' and 'roman' (for roman fonts, instead of sans serif fonts) ...

1

I'm continuing egreg's answer, which fixes "bug" #2 by reducing font size or widening the text and thus avoiding line breaks. You can format the procedure's name in any way you like, by redefining the \textproc macro, e.g.: \algrenewcommand\textproc{\textit} If you don't like the italics that I chose, try \textrm instead. If you don't want to use ...

1

There is a reference in newtx to newpx, it is in newtx.map: ntx-Italic-tlf-th-t1 ntxtmri " encntx-ecth-tlf ReEncodeFont " <[ntx-ecth-tlf.enc <ntxtmri.pfb ntx-Italic-osf-th-t1 ntxtmri " encntx-ecth-osf ReEncodeFont " <[ntx-ecth-osf.enc <ntxtmri.pfb

1

There is no Cyrillic Times freely available in the current TeX distributions, so I suggest a different font: \documentclass{article} \usepackage[T2A,T1]{fontenc} % or OT1 instead of T1 \usepackage[utf8]{inputenc} \usepackage{mathptmx} \usepackage[russian,english]{babel} \DeclareRobustCommand{\cyrins}[1]{% \begingroup\fontfamily{erewhon-TLF}% ...

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