# All Questions

17 views

### Can't get color or textcolor to work

I'm new to latex. I'm using a template on overleaf.com. I'm trying to change the color of some of the text, but it remains grey. Here's a simplified sample of the tex file: ...
5 views

I try to write a book, and I'm beginner with some functions in LaTeX. I already have looked for this question even I looked in hyperref manual and I have not found anything about how to change the ...
9 views

### Externalizing tikz with precompiled preamble

This is a very special case, I guess, but it's what I need: %&Testing \documentclass{article} \endofdump \usepackage{pgfplots} \usetikzlibrary{external} \tikzexternalize \begin{document} ...
17 views

### How to add a symbol next to an enumerated item?

How could I add a symbol from bclogo next to an enumerated item like in the picture?
3 views

### TikZ (tikzexternalize) + subcaptionbox error

I use subcaption's command \subcaptionbox twice in a figure. In each subcaptionbox, I place a TikZ picture. This works fine as long as I don't change one of the pictures. As soon as I change it, I ...
6 views

### TeXstudio “creating a backup of the file failed”

I am using TeXstudio 2.10.8 to develop LaTeX files. It has not given me any problems so far but today, every time I save the file, I get the following message. Creating a backup of the file failed. ...
14 views

### Including png in several layer with ocgx for making a pdf

I try to make a pdf with pdflatex, which should contains several pngs images. The special thing is, that there should be for each png one layer (ocgx). At the end I want to have a pdf file, which all ...
25 views

### How to reduce the space enclosed in parentheses?

The following lines gives me more space below E^2 inside the parentheses. How to reduce this extra space. Also, the square (2) is above enclosing parentheses. \begin{equation*} ...
20 views

### Center content of frame in beamer class

Doesn't it bother anybody that the beamer class doesn't perfectly center the contents of frames vertically? There is a bit more space below than above. Could anybody provide a solution on how to ...
14 views

### How to get babel's language shorthands work inside biblatex entries with autolang=hyphen and langid fields?

I'm writing a German document, where I frequently cite works in English and other languages. Used to babel’s shorthands in ngerman for easily modifying hyphenation symbols in compound words or names ...
197 views

### How to print “Spring” if in month is in Jan-June? Otherwise “Fall”?

I teach classes and in my notes I have "Fall 2015" during fall semester and "Spring 2016" during Spring semester. I can use \the\year for the year. But is there something like \the\season for ...
12 views

### Where can I find this bibliography style?

F. Black and M. Scholes. "The Pricing of Options and Corporate Liabilities." Journal of Political Economy 81 (May-June 1973), 637-59. M. Brennan and E. Schwartz. "The Valuation of American Put ...
12 views

### Wide column text in two column latex document

I am new to latex and writing paper for a journal where the text is created in two column mode. For figures and tables, I can use the {figure*} and {table*} environment and this inserts the figures ...
41 views

### how many roots does the polynomial f(x)=x^4+3x^2+7 have [on hold]

According to the fundamental theorum of algebra, how many roots does the polynomial f(x)=x^4+3x^2+7 have, over the complex numbers, and counting roots with multiplicity greater than one as distinct ...
26 views

### Using fonts in modular documents

I have a document with a structure: +-- main.tex +-- style.sty +-- fonts | +-- times.tff +-- sections | +-- section1.tex | +-- section2.tex Main file main.tex includes section files via ...
20 views

### Undefined control sequence \@@col [on hold]

This is XeTeX, Version 3.1415926-2.5-0.9999.3 (TeX Live 2013/Debian) restricted \write18 enabled. entering extended mode (./cv.tex LaTeX2e <2011/06/27> Babel <3.9h> and hyphenation ...
21 views

### Basic Beamer Footer

I need to add a footer in my beamer consisting of: 1. My name (left side) 2. Title (middle) 3. Slide number (right side) Very basic, no sort of theme.
45 views

### LaTeX cuts my line in the middle. Why?

I am writing my CV in LaTeX and I dont know why but the following code cuts my first paragraph in the middle. It should be simple to know why but I have been looking for the last hours and I didn't ...
32 views

### Broken words and alingments in LaTeX

In LaTeX, how can I stop words be cut at the end of a continuing line? For example at the end of my line there is a word 'ultimately' that once broken changes to 'ulti' and 'mately' in the next line. ...
24 views

### mhchem/amsmath seems to change the @eqnnum macro so I can't change equation number colors globally. How would I fix this issue?

Thanks to cfr How would I get custom-colored equation numbers as simply as possible? for providing a hint on how to do this without the mhchem/amsmath packages installed. To see what I mean, Here is a ...
11 views

### Figure environments randomly not appearing based on layout

I'm including figures the same way I always have (previously without error), something like: \begin{figure} \centering \includegraphics[width=0.5\textwidth]{../figures/fig21_total} \caption{} ...
14 views

### text in PDF figures disappear in journal submission systems

When processed with pdflatex, my PDF figures work charm. However, when I uploaded the PDF document to some journal submission systems, some texts in the PDF figures disappear in the preview document ...
30 views

### Improve Tree Aspect [Forest]

Today, I need your help again to deal with the package Forest (it's a really powerful package, but rather complex also). Basically, I have already spent several hours trying to draw an ultimatum game ...
16 views

### Is bibtex unable to \cite specific entry (author, title) in latex?

I am working with bibliography. For this there are two way, one is using bibtex and another is biber. When I print bibliography using biber, then it give me desired result. Means it can print title, ...
16 views

### Listings internationalization (spanish): List of listings and caption labels not translated

I'm trying to make a latex document in spanish, I've successfully imported the babel package for the language, but the \listoflistings command does not get translated to spanish. Also captions for ...
33 views

### Align poem attribution with right side of versewidth rather than with right side ofpage

I would like to add attributions to some poems in memoir. The below code does that but flushes the attributions with the right of the text block. I would like them to flush with the right of the ...
25 views

### How to pass days to tikz calendar using macros

I'd like to pass to the calendar some day names using a personal command, so user can change the days easily and create a personal calendar. I defined the command \mydays with one argument, which is ...
18 views

### Getting extra cell at bottom of table [duplicate]

I am trying to make a 4x5 table with the following code. \begin{tabular}{| c | c | c | c | c |} \hline K(1,1) & K(1,2) & K(1,3) & $\cdots$ & K(1,m) \\ \hline K(2,1) ...
8 views

### And in Organization of BibTeX

I want to cite a standard from IEEE @Standard{IE802, Title = {IEEE 802.11p}, Organization = {Institute of Electrical and Electronics Engineers}, Owner ...
29 views

### Callback to be run at the end of the job

My Lua initialization script opens some files that are written to in the course of the run. I would like to additionally write some last bytes to them when LuaTeX is done processing all code. It ...
35 views

### Problem with pdfcrop on Windows 10

I've been using pdfcrop (MiKTeX) from time to time without problems. But I recently moved to a windows 10 machine and now I get an error when pdfcrop is executed: The error shown is: ...
24 views

### Start Matlab code directly from Latex

I'm using the documentclass beamer to make a presentation. Is there a way to start Matlab code directly from Latex? A button that I can press so that the Matlab code starts to run automatically? ...
18 views

### Conflict between amsbook and tocloft

I use a document class that is based on amsbook class for my thesis and at the same time I want to stylize the list of figures and tables with tocloft. But apparently these two are have conflicts. A ...
10 views

### Bad interaction between titlesec/titleps and packages that use \markboth internally

The following MWE renders to a two-page document. The second page has the word FIGURES in all caps in both the header and the footer, contrary to the page style specification. ...
41 views

I need to place footnotes on tables as in the following example, taken for Physical Review B: Since Phys. Rev. B is written in LaTeX (RevTeX), I belive this should be possible with any class. I am ...
35 views

### How to use Iwona as sans serif font?

I feel stupid. The Iwona package seems to load Iwona as \rmfamily font but I want to use it as sans serif font, after all it is a sans serif font... How do I get it as the \sffamily font? Example ...
90 views

### How do I add a simple website url in my report on Latex?

I am student and new to Latex. I am using WinEdt as editor. I want to add simple visited websites url's to my references section how do I get desired output?
18 views

### Geometry: strange behaviour after \restoregeometry in afterpage environment (and longtable)

I have some strange problem tying place a "fake float" with large tables. Here is a MWE: \documentclass[twoside, a4paper]{scrbook} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} ...
37 views

### How do i include a footnote in a LaTeX paper?

I'm writing my first research paper in LaTeX, and I need help on how to include a footnote, such as the Mathematics Subject classification? Or where else besides a footnote can in put the MSC? Maybe ...
14 views

### Springer LaTeX template for Data Mining and Knowledge Discovery journal

I need to submit my paper, I have to catch the deadline, my problem is am a new in LaTeX and I have to submit my paper at Data Mining and Knowledge Discovery journal I have already installed the ...
31 views

### kpsewhich problem after updating to “El Capitan”

I'm having this problem which was discussed in other topics, but I think I'm not following the steps to solve it correctly. Problem when compiling in Textmate: This command requires ‘kpsewhich’ ...
22 views

### How to Define Variables with Numbers taken from a File?

While working on a scientific topic, I wondered if the following is possible: I want to plot several exponential curves using the \addplot command. The specialty lies in the fact that I need the ...
94 views

### Choose documentclass according to condition

I would like to choose the documentclass according to a value. For instance, something like this \newcommand{\mode}{0} if (mode is 0) then \documentclass{...} else if (mode is 1) then ...
51 views

### Composite function set diagram

Would anyone be kind enough to help me with the finishing touch of the following beautiful diagram? I need to draw the curved yellow line. Thank you \documentclass[]{article} \usepackage{tikz} ...
15 views

### JabRef 3.2 and automatic formatting on save

I just upgraded JabRef from 2.10 to 3.2 on OS X 10.11. JabRef 2.10 automatically formatted the BibTeX file on save, which was the number one reason I used JabRef. JabRef 3.2 does not do it, and I ...
20 views

### Tables with error message

I am trying to make a table (which has worked perfectly before, I'm only using slightly different column headings). \documentclass{article} \begin{document} ...
25 views

### Problem with Bad/Missing DVI file

I keep getting the following error Bad/missing DVI file I cleared the workspace and recompiled the document. Still got the same error. Anyone have any ideas on how to fix this?
33 views

### Genetic Algorithm pseudocode

Hi everyone, this is my first post, so apologise if not doing it properly. I need the following GA pseudocode (Photo) in LaTex, but couldn't do it very well. I really appreciate your help.