# All Questions

32 views

### Endnote style within latex

I used EndNote to export references by using this Style Orient Pharm Exp Med.ens I have exported to make it lib.bib in order to use it in latex. in Latex, I use the following to define library: ...
17 views

### RefB & RefJ in Latex

I need to make references for my ref list, I am new at latex, I used the template for springer. they define their references as following by using {RefJ} and {RefB}, if I thinks they are just a names ...
33 views

### How to make header with picture and text?

I want to make a header which somehow looks like the picture below but I have no idea how to make it:
46 views

### convert this code to pseudo code in latex

Can some one please help to convert this code to pseudo code? I tried, but didn't work. if (element is HIT) { if (status is HIR) { if (is in LIRS STACK) { Delete from HIR Queue ...
49 views

### Why does xelatex produce different files from the same deterministic sources?

Take the simple latex source file: \documentclass{article} \usepackage{lipsum} \usepackage{amsgen} \begin{document} \lipsum[1-10] \end{document} When processed with "latex" you always get the same ...
36 views

### How to link the contents page to the correct page numbers?

I'm writing a thesis using the report format. It contains several figures which don't seem to add to the `page' counter variable which results in a discrepancy between the displayed page number in the ...
30 views

### How to only compile the included tex file?

Suppose we are given a big main .tex file. I wish to use the command \include to import all the other .tex files into the mail .tex file. I heard that to save time, one can in fact only compile the ...
35 views

### How to append answer sheet to exam? (Exam document class)

I want to append an answer sheet to an exam. However, I only managed to do so manually, which causes conflicts if I reference things (with \cref for instance). Also, if have to re-adjust the points in ...
26 views

### How to include a box in the header? (Exam document class)

I have a box that I'd like to include in the header, instead of manually repeating it in every page. How can I achieve that? \documentclass[addpoints, 12pt]{exam} \usepackage{amsmath} ...
34 views

### Create shared row in table split into columns

How do I add a row across multiple columns such as the "maxpool" rows below?
25 views

### How to get subs/sups for figures but not letters?

I am playing with a font (found here) that has sups/subs defined for figures but not for letters. If I don't enable them, I don't get them: But if I \usepackage{realscripts} to enable them, I lose ...
22 views

### subsubsection not working in my thesis macro

I'm unable get the \subsubsection layer using my thesis scripts. It works fine up to subsection but not beyond that level. The counters have been set to a depth of 3 and so should be working for ...
31 views

### Vertically centering table cell texts

How do you make the content of this cell algin vertically centered? Here is the current output based on the code below. Thanks \documentclass[]{article} \usepackage[margin=0.5in]{geometry} ...
11 views

### How do I get the font sizes I need when they are in between the defaults? SAE Class progress

I don't really know much about hacking together a class file, but as I have mentioned elsewhere on the forum, I am trying to do one for SAE. My current class file only supports a 10pt font size as the ...
8 views

### Centered section headers in Pandoc using markdown

I am trying to use centered section headers in pandoc using the following syntax: | ### Work Experience However, the atx headers are not parsed by the pandoc when executing: ...
37 views

### Designing a notation for the “even part” or “even floor” of a number [on hold]

The largest even number less than or equal to either 6 or 7 is 6. Whether 6 should be called the “even part” of those numbers or the “even floor” of those numbers or something else was the topic of ...
46 views

Can someone help with workaroung about such issue? Windows 7, MiKTex 2.9 Code \addplot [only marks, mark=o] table[x index=0,y index=1,col sep=comma] {data.dat}; works just fine, but \addplot ...
49 views

### Macro expansion ordering in tables

I've a large table (about 300 entries). Sometimes, I've a sequence of entries with the same value (for a given column). In such a case, I need to omit the value. All my values are stored in variables ...
19 views

### Recurring decimal with letter (alignning at top)

A picture is more than 100 words. How do I align the dotts (automatically) and properly at the top? Code currently in use is from here: \documentclass[12pt]{article} %% packages ...
13 views

### Get author's name using initials instead of full first name in author block

I am using authblk to create an author block. However, I would like to use the authors' name in more than one location: In the authors block, show full first names and last name using \maketitle In ...
19 views

### Change margin points in leftmargin of exam class

How do I put the points on the leftmargin more to the left? Tried even changing some code in exam.cls but I failed. \documentclass[10pt,a4paper]{exam} \usepackage[latin1]{inputenc} \begin{document} ...
33 views

### Pgfplots and ClassicThesis: two plots side-by-side

I always loved the small text width imposed in ClassicThesis, but it is a problem when we have a lot of images/graphs. I would like to have two plots side-by-side in order to gain space (they are not ...
903 views

### Writing Google logo in LaTeX

This is very hard to google itself. I have been told it is possible to use the Google logo in regular text in LaTeX, but I'm struggling to find out how. For example: Some words, then {Google Logo ...
40 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: ...
17 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 ...
24 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} ...
42 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?
15 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 ...
15 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. ...
25 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 ...
60 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*} ...
31 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 ...
23 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 ...
646 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 ...
33 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 ...
14 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 ...
53 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 ...
37 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 ...
23 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 ...
29 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.
54 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 ...
38 views

### Broken words and alignments 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. ...
34 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 ...
13 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{} ...
18 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 ...
72 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 ...
23 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, ...
22 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 ...