# Tag Info

12


7

Indeed, the method of breaking up ligatures by inserting an empty TeX group, {}, does not work in LuaTeX and LuaLaTeX. To prevent the creation of an en-dash, then, you could insert a "zero-width kern", i.e., -\kern0pt- or an explicit "italic correction", i.e., -\/- With either method, LuaTeX will not insert a line break between the two dashes. If you ...

7

I suppose you don't want to introduce break points at the double hyphen. Here's a way. \documentclass{article} %\usepackage{fontspec} % works also with fontspec \newcommand{\texthyphen}{} % ensure \texthyphen is not defined \protected\def\texthyphen{\mbox{-}} \begin{document} en dash -- two dashes \texthyphen\texthyphen \textit{en dash -- two dashes ...

6

This is defined in IEEEtran.cls (see http://www.ctan.org/tex-archive/macros/latex/contrib/IEEEtran/) and set to true of a PDF flow is used: the class file checks whether \pdfoutput is (which seems to be the case in pdflatex as the comments suggest there): ...

6

I think we have a misconception here regarding "the exact same content": In handout mode, beamer collapses all steps of an overlay series into one, which in most cases means that only the last slide of a frame is shipped out. In your case, this results in a single-page PDF containing 50 beamer blocks (even though only eight of them are actually visible). ...

6

Objectives and constraints Extracting all EPS images imported in the main input file without modifying the main input file heavily. Converting each of imported EPS images to PDF one and save it with its original file name. Assumption For the sake of best practice, I assume that you put all of your EPS images in a sub directory called Images. It means ...

5

By inspecting the output of which pdflatex, it seems you are using a TeX distribution provided by MacPorts. Personally, I think the use of a TeX distro via MacPorts should be discouraged; MacTeX is IMHO the best way of getting an updated and stable TeX distro on a Mac, and not to mention the handy TeX manager in the System Settings. If you remove the TeX ...

5

You have to teach LaTeX how to switch to Greek and also to IPA. Moreover, the translation of Unicode to IPA is not complete and, in particular ɾ (U+027E LATIN SMALL LETTER R WITH FISHHOOK) is not available by default. Using Greek is solved by loading the greek module for babel; support for IPA with the tipa package; the missing translation can be added with ...

4

I have had the same problem. In my case there was an error in my TikZ code (forgotten semicolon), which made the compiler run indefinitely. When you hit "ESC" in sublime, the compiling process does NOT get stopped, Sublime only hides the little window on the bottom. To actually cancel the compilation progress out of sublime you have to hit CMB+B again. The ...

4

Here a suggestion for you package. I think every important fact is written as a comment : \begin{filecontents}{myexample.sty} \NeedsTeXFormat{LaTeX2e} \def\filedate{2013/11/22} \def\fileversion{v0.1} \ProvidesPackage{myexample}[\filedate\space\fileversion\space] \RequirePackage{ifpdf,ifluatex,ifxetex} \RequirePackage{kvoptions} \RequirePackage{etoolbox} ...

3

For your situation the AMS bundle provides the cases environment: $a^x = \begin{cases} a^{x/2} * a^{x/2} & \text{if x is even,}\\ a * a^{x-1} & \text{if x is odd.} \end{cases}$ This should avoid your clipping errors in the output.

3

UPDATE: This does not work as advertised. I undeleted this post after @Bordaigorl posted the same solution. There are still some unresolved issues. Changing viewPDF.py appears to work only if Skim is not installed. The PDF-viewer in the LaTeXTools-package is configured in a file called viewPDF.py — as @kgr already pointed out. For OSX you can change the ...

3

This might go a little short, because of the discrete steps used. I try font sizes until eighty columns fit. It's important to use freely scalable fonts or the length will be shorter (it's up to you to decide), so either fix-cm or lmodern or a PostScript font for typewriter type. \documentclass[11pt]{article} % freely scalable fonts \usepackage{fix-cm} ...

3

I found a solution myself! This question here is about the same problem in its core. This is how you can achieve what I was looking for: \newcommand{\btVFill}{\vskip0pt plus 1filll} % Title page \defbeamertemplate*{title page}{pure}[1][]{ \btVFill % \vskip5.5cm \begin{beamercolorbox}[wd=11cm,leftskip=3cm]{rule} ...

2

Okay this is a working example using LaTeX: \documentclass{article} \newfont{\myscr}{chlscr} \begin{document} This is a {\myscr hello world} example: {\myscr The quick brown fox jumps over the lazy dog. } \end{document} And this is a working example using plain TeX, as suggested by WillAdams: \font\myfont=chlscr.mf Hello: \myfont hello world ...

2

As @Manuel pointed out in his comment there was an error with the code rather than configuration but just in case somebody is interested in the original question: how to use latex instead of pdflatex in SublimeText2 with the LaTeXTools plugin here's how to proceed. Start Sublime Text and go to Preferences > Browse Packages Open the LaTeXTools folder ...

2

I suppose that if you just substitute (with proper indentation: tabs) this part: latex paper.tex && \ bibtex --min-crossrefs=500 paper && \ latex paper.tex && \ latex paper.tex && \ dvips paper.dvi -o paper.ps && \ ps2pdf paper.ps paper.pdf with: pdflatex paper.tex && \ bibtex --min-crossrefs=500 paper ...

1

berenisadf is incompatible with fontaxes. berenisadf.sty loads nfssext-cfr.sty which is an extension of nfssext.sty, which is part of The Font Installation Guide. Basically, this requires fonts to be named in a particular way (according to the standard scheme developed by Karl Berry for TeX fonts). fontaxes.sty requires that fonts be named in a particular ...

1

This works for me \tikzset{external/system call={lualatex \tikzexternalcheckshellescape -halt-on-error -interaction=batchmode -jobname "\image" "\texsource"}} The only other thing I am doing is to have write18 enabled in my pdflatex call so pdflatex can call lualatex. Works fine also with large data, but it is painfully slow. Also if there is an error in ...

1

For situations where \left...\right don't work, an alternative is the \scaleleftright macro from the scalerel package. $a^x = \scaleleftright[1.5ex]{\{}{ \begin{array}{l l} a^{x/2} * a^{x/2} & \quad \text{if x is even}\\ a * a^{x-1} & \quad \text{if x is odd} \end{array}}{.}$

1

Personally, I had a lot of trouble trying to get the CJK package to work. So I went on the KTUG website and found that they use the package kotex. \documentclass{article} \usepackage{kotex} \begin{document} 안녕하세요! \end{document} The good part about this was I was able to simply copy and paste hangul from websites into the LaTeX document and it worked ...

1

I had the same problem when using graphs exported from OriginLab 9.0 and compiling with PDFTeXify (WinEdt 8.1 + MiKTeX). However, changing export options under PDF/Image Settings/PDF Options/Fonts/OutLine Mode into Adobe Type 3 I do not receive any more warnings. So, thanks guys for clarifying this issue

1

This problem was tackled successfully on NeXTstep where the TeX process would allow access to a .dvi file after a complete page was written to it via IPC (InterProcess Communication). This feature seems to now be part of pytex and the TeX Daemon --- one can improve TeX performance by: not loading unnecessary packages selectively processing only a portion ...

1

Here is a poor solution via microtype (the last line of a paragraph is problematic): \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{lmodern} \usepackage[T1]{fontenc} \usepackage[selected=true]{microtype} \usepackage{lipsum} \SetExpansion [ context = poorcondensed, stretch = -100, shrink = 100, step = 1 ] { encoding ...

1

According to this post Are itemize and EBGaramond compatible? there is a bug in EBGaramond. Using the code @egreg posted in his answer, you can fix your example like this: \documentclass[11pt]{article} \usepackage{ifluatex,ifxetex} \ifluatex\else\ifxetex\else \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \fi\fi \usepackage{ebgaramond} ...

1

Even though the OP has indicated a reluctance to switch from pdfLaTeX to LuaLaTeX so close to the submission deadline, I'll offer the following method anyway, as it's really not that difficult to implement: % !TEX TS-program = lualatex \documentclass[11pt]{article} \usepackage{fontspec} \setmainfont[Ligatures=TeX]{EB Garamond} % Remainder of document same ...

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