# All Questions

0answers
2 views

### Texshop does not produce PDF files from Eps files

My Texshop works properly in compiling my tex file, until I add a new eps file to my tex file. Then I receive the following error: Error: Cannot open Ghostscript for piped input: gs -q -dSAFER - ...
1answer
24 views

### Want title in simple numeric not italic through bibliography

I am working on book and in that book I \cite{title} many times and it is printed in italic form, not in simple form. I changed various styles to print in simple numeric form. But did not get results. ...
3answers
19 views

### Only one specific character missing when compiling with biber and xelatex

I'm having trouble showing proper reference list - one letter just does not appear. I googled possible solutions, and updated the fonts, packages, but still can't resolve this. Here's MWE: ...
1answer
67 views

### Putting labels on a complete graph

Hi guys I have this picture and I want to make it better by putting names on the edge. For example I wanted to make the edge connecting 1 and 4 to say $\theta_1 \theta_4$ and so on for all the ...
5answers
27 views

### How to clear \listoffigures between different parts of the document?

Since I'm required to write a document in multiple languages, is it possible to reset the list of figures/tables at different parts of the document? The first two languages are not required to have a ...
1answer
12 views

### Pgfplots bar chart with \times symbol as multiplier

I have a bar chart with relatively large values and I am using the near coords option to show the values over the bars. I want the \times symbol instead of \cdot for pgfplots multiplier. I know how to ...
0answers
9 views

### LyX: Can't compile with \usepackage{algpseudocode} with Language that isnt English

im pretty new to LyX and Latex. Im writing a paper in Hebrew and I want to add an algorithm in English. So i'm adding \usepackage{algpseudocode} to the Preamble and pasting some example algorithm. ...
0answers
13 views

### How do I properly setup and city a BibTex reference?

I'm getting an "undefined control sequence error" when I typeset my Latex document that cites an article in a linked BibTex library. How to fix? I have set my typesetter to pdfLaTeX > BibTex8, and ...
2answers
47 views

### Small corrections needed for game tree

I've drawn what I would like the result to be: The current game tree looks like this: With the current code: \documentclass[12pt,twoside]{book}%{book} \usepackage[a4paper, hmargin={2.5cm, ...
2answers
12 views

### Random dots excluding certain values or range of values

I am able to generate the random dots, but how would I exclude specific values or range of values? For example, excluding 8 or excluding 10-20. \begin{pgfpicture} \foreach \x in ...
3answers
81 views

### How to activate on LaTeX greek and latin characters

I try to use LaTeX writing paper Greek and English text, without using separate commands for Greek or English (like: \begin{otherlanguage}{greek}), but using both Greek and Latin characters under the ...
1answer
39 views

### Grey vertical line limiting the line length of my sourcecode in TeX Studio

I don't know how it got there, but there is a grey line defining a 'new margin' in the place where I type my code. Also, when I want to type something in the existing text, the lines don't fill the ...
3answers
1k views

### Polaroid photo effect in tikz

Is there any way to make a polaroid photo effect in TikZ? I am thinking of something like this A computer font as the caption might be better in fact but I couldn't find a suitable example online. ...
2answers
246 views

### How can I quickly type a LaTeX accent in vim?

I want to write some text in Spanish in which accents are used frequently, such as ó for which I have to write \'{o}. I have seen that in vimtex they have defined for example `a to convert into ...
0answers
38 views

### Pgfplot fill between error [duplicate]

for some reasons, this code doesn't work in my document: \documentclass{article} \usepackage{fancyhdr} % Required for custom headers \usepackage{lastpage} % Required to determine the last page for ...
1answer
26 views

### PGFPlots: Shift the entire axis environment to the right

I would like to plot two separate data files in two separate axis environments so that they are placed right next to each other. They will be part of the same subfigure, so I think I need to shift the ...
1answer
15 views

### rubber lengths in coffins and aligning to the bottom baseline of a paragraph

I want to obtain a certain layout, illustrated below: at some point in a line, I'd like to "switch to paragraph mode" (just like a parbox does) and then at some other point I want to resume back to ...
0answers
28 views

### Texmaker taking a long time

Texmaker takes really long to do pdflatex now like I've been running it for 10 minutes and it has not compiled used to compile in like 10 secs and I only added a few lines. Anyone have ideas on how to ...
2answers
124 views

### Excel2Latex Table too wide and too long

I have a long (36 rows) and wide (15 columns) excel table and I am using excel2latex. I am having issues to adjust the width and length of it. I want the table to continue in the following pages (in ...
2answers
24 views

### Separating bibitems according to author

I am using biblatex. Is there a way to have 3 lists of bibliographies which contain the following: the first contains some papers I have written (type=article) the second contains preprints I have ...
1answer
47 views

### How can I create this layout?

In my thesis, I need to include the descriptions of 79 items in the appendix. Each description takes about half a page, and includes a picture. I want to always have two of these per page, and have ...
2answers
86k views

### Possible to create bullets for \subitems using \itemize without a nested list?

I have made a list of questions and subquestions using nested \itemize commands, like this: \documentclass[11pt]{report} \usepackage[british]{babel} \usepackage{enumitem} \begin{document} ...
1answer
100 views

### Isolate Latex Environments [on hold]

I want to build a framework for sharing latex mathematics exercises. When trying to assemble exercises from different authors into one "homework assignment", I have a problem. How can I deal with ...
1answer
45 views

### Unwanted outdent in the first paragraph of a section

for the first paragraph of some of my sections I have an unwanted outdent as the following picture: I used noindent after the section, but has no effect. There is also no extra hidden character ...
2answers
86 views

### How can I place a 1 cm margin to a set pdf book (a6) to print

So I've already got my book ready set for a6 paper: contents, latex compilation, and I'm already satisfied with the end result of pdf I've got. However I've noticed that it'd be good to add a small ...
1answer
26 views

### How to edit proof environment or minipage

Im actually working at my faculty as assistant teacher, and I like to write in latex everything we do in classes, so I use the following format: \fcolorbox{white}{light-gray}{\begin{minipage}{18cm} ...
1answer
28 views

### Change temporary or locally error behaviour suppress undefined errors

I googled about this problem with no result yet. You might discourage this, but is there a way to suppress errors? This is an example how it should work. \documentclass[12pt,a4paper]{article} ...
1answer
541 views

### Why is there no pgfmath macro that expands directly to the result?

Is there a specific reason that there is no default macro (e.g. \pgfmath{<expression>}) that directly expands to the result of the evaluated <expression>? It always strikes me as ...
1answer
22 views

### Text inside picture using memoir

I need this picture with some text inside it... Is there a way to put the text inside the picture? Make it transparent...write over it...
1answer
44 views

### TeX-file output another TeX-file

My problem, is to generate some .tex-file from within another .tex-file. The origin of problem is to extract some information from scientific paper, and create another .tex->.pdf-file with data about ...
0answers
83 views

### Problem with AMS packages [on hold]

I have a problem that occurs every time I use one of the AMS packages (regardless of the document class or template I use), for instance amsmath or amsthm. In the next line after the \usepackage ...
1answer
19 views

### How to “Go to source” from PDF file to Latex file with Texstudio?

I'm using Win 8 + Texstudio and follow the instructions of the previous answers, but do not succeed. It my commands
0answers
22 views

### pdf open in pdflatex.exe

I guess pdflatex.exe is part of teXnic center or texworks or something, anyways is there a way to get pdflatex.exe to not have the pdf open when it is not compiling? or at least have it close when the ...
0answers
11 views

### How can I produce the cover and back cover of a booklet using the memoir class and the booklet package?

Here's an excerpt of my document code: \documentclass[legalpaper,11pt]{memoir} \setlrmarginsandblock{.5in}{.25in}{*} \setulmarginsandblock{2in}{1.5in}{*} ...
2answers
5k views

### How to remove top margin above \tableofcontents

My contents page would fit on one side, if LateX wouldn't force an automatic whitespace block on top of the table of contents. Is there any way to remove this block and have \tableofcontents start at ...
1answer
19 views

### How do I gradient shade the background of a beamer section/subsection in head/foot?

Here is a reduced example of my code. I am attempting to restyle the background of the section in head/foot and subsection in head/foot in the CambridgeUS theme to a gradient background colour. ...
3answers
160 views

### I have to draw this graph by tikz

How to draw this graph by TikZ?
1answer
191 views

### Texmaker generated pdf file of multi-file latex not showing the position of cursor

I am compiling LaTeX files with Texmaker on Ubuntu 14.04 system. When I run pdflatex and then view the .pdf file (internal), it does not show me the exact place where I am editing on Texmaker i.e. ...
2answers
14 views

### Customizing layout using hdr in double sided document

I am trying to set custom styles at different places in the document, e.g. first couple of sections no page numbering, while the rest follow common page number and header styling. Running the sample ...
0answers
27 views

### \pageref not working properly in main document with subfiles package and xr package

I have a main file setup with the subfiles package and the xr package. I am trying to make the \pageref command work properly for cross-references in the main file, but the page number it displays in ...
2answers
35 views

### How to use \tikz\pic in \caption and “normal” Latex-text-environment

As an advancement to How to use a \pic in a node's text area {}?. What to do or avoid to let work the pic "lightning" in a caption and normal latex text? \documentclass[]{scrartcl} ...
1answer
18 views

### How to reinitialize the lines counter for algorithms?

I have four algorithms in a section but the problem is that the lines numbering doesn't start with 1 in each algorithm. For example, the first one is numbered from 1 to 11 but the second one start ...
0answers
16 views

### Issue with pdfminorversion while using pdfx package

Considering the following LaTeX code: \documentclass{book} \pdfminorversion=5 \usepackage[a-1b]{pdfx} \usepackage{graphicx} \begin{document} \begin{figure}[!htb] \centering ...
0answers
11 views

### the word symbols stick with the rest of the nomenclature

I am doing the nomenclature. The word symbol sticks with the rest of the nomenclature as the word subscript superscript and acronyms. I would like to set a little space. Do you know how to do it? I am ...
2answers
22 views

### Partial center in environment

I'm writing a lab manual with step by step directions. Some directions include screenshots. To keep the screenshot with the line of direction, I use samepage. I am exploring an environment I can use ...
0answers
43 views

### About Latex editor(s) for Powerpoint lectures?

What are the appropriate Latex editor(s) for Powerpoint lectures that can work in beamer platform Thanks anyway
0answers
25 views

### ConTeXt: Cyrillic letters are not rendered

Okay, a really stupid question. How do I compile my Hello World document with Cyrillic letters? Compiling \starttext \startsection[title={Testing ConTeXt}] This is my {\em first} русский ConTeXt ...
2answers
34 views

### Using \c{e} and other special characters in .bib files with pdflatex+biblatex+biber: How to avoid Package inputenc Error?

I use Mendeley to manage my bibliography and have it automatically update .bib files. Unfortunately, this often leads to the "Package inputenc Error" when compiling. I narrowed my problem down to ...
2answers
28 views

### Suppressing in the word “Chapter N” from header, documentclass: report

I want to suppress the word "Chapter n" from my header. I want to have only the chapter title in the header e.g. "Introduction" not as "Chapter 1. Introduction" The document class is report. Here is ...
1answer
41 views

### Syncing Two Files

I am creating two documents: 1 is a set of homeworks and the other is their solutions. Each homework and solution set is its own .tex file and there is a master .tex for the HW-booklet and another for ...

15 30 50 per page