2
votes
1answer
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: ...
1
vote
1answer
5 views

Change the color of the link which is generated by \htmladdnormallink

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 ...
0
votes
1answer
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} ...
1
vote
2answers
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?
0
votes
0answers
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 ...
0
votes
1answer
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. ...
0
votes
1answer
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 ...
4
votes
2answers
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*} ...
0
votes
1answer
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 ...
2
votes
1answer
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 ...
7
votes
4answers
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 ...
0
votes
0answers
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 ...
0
votes
1answer
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 ...
0
votes
0answers
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 ...
3
votes
2answers
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 ...
0
votes
0answers
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 ...
0
votes
1answer
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.
1
vote
2answers
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 ...
1
vote
1answer
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. ...
3
votes
2answers
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 ...
0
votes
0answers
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{} ...
3
votes
1answer
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 ...
2
votes
1answer
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 ...
3
votes
2answers
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, ...
0
votes
1answer
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 ...
4
votes
1answer
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 ...
2
votes
1answer
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 ...
2
votes
1answer
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) ...
1
vote
2answers
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 ...
2
votes
0answers
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 ...
1
vote
0answers
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: ...
2
votes
0answers
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? ...
0
votes
0answers
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 ...
0
votes
0answers
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. ...
1
vote
2answers
41 views

Advanced table footnotes

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 ...
3
votes
1answer
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 ...
2
votes
2answers
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?
1
vote
0answers
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} ...
-1
votes
1answer
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 ...
0
votes
1answer
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 ...
1
vote
2answers
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’ ...
3
votes
1answer
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 ...
5
votes
2answers
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 ...
4
votes
2answers
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} ...
0
votes
0answers
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 ...
1
vote
1answer
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} ...
0
votes
0answers
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?
1
vote
1answer
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.
1
vote
1answer
31 views

Second ToC with per-chapter author

I am currently writing a larger document with multiple people. For grading purposes we need to specify one author per chapter/section/... However, I would like to keep the real ToC clutter free, and ...
1
vote
0answers
17 views

creating pagestyle with one column only for figures

I have a one-column pagestyle. But some of my pages should have a tighter text column with 1 or 2 figure on the outer side. How can I realize such a design in latex? I tried with wrapfigure and ...

15 30 50 per page