# All Questions

4 views

### Is it possible to remove an empty white page due to inserting a too large picture?

From searching here, I have understood than when inserting a picture too large for the available space, even on an empty page, the picture will be put on the next page. However, leaving a page empty ...
6 views

### Where can I get datetime2.sty or what is CTAN?

I am trying to build a huge latex project on my system - I downloaded everything, and did not touch anything. XeLaTeX tells me that datetime2.sty is missing, and I guess I just have to download it, ...
14 views

### Symbol to the right of equation

I want the contradiction symbol to the right of the equation without moving the equations to the left. I've written \begin{align*} u(2-t, 1, 3-t) & > (2,1,3) \\ 1 ...
7 views

### File ended while scanning use of \@topnewpage

i get this error while trying to compile the following code. I've already tried to delete .aux files. What else could it be the issue? Thanks in advance. ...
6 views

### PDF page labels

Is it possible to set page labels in pdfs “correctly”? Pages in my latex documents are numbered 1-x. I'd like the page labels to correspond to the actual page numbers (as mentioned here: ...
14 views

### Document class problem?

My text in thesis is as below: %\documentclass[croppedpdf,pagebackref,showinstructions,showtodo]{adsphd} ...
14 views

### Caption away from the figure

I have made a block diagram using the \framebox command. A large white space exists between the caption and bottom of the figure. How can I reduce it? Code: \begin{figure*}[!t] ...
7 views

### ′ symbol is not showing inside a bibliography

How do one fix "′" symbol not showing inside a biblatex bibliography? for example title={Metal extraction by N,N′-dialkyl-N, N′-diaryl-dipicolinamides from nitric acid solutions}, is shown like ...
7 views

### Using key value in enumerate to an other key value

I continue this first post. I want to use a key value in a list in the definition of an other. Here I use a better definition of \Pointilles which allows a second parameter : the vertical space ...
11 views

### Table with tikz image: vertical alignment

I'm trying to create simple table with tikz pictures and its descriptions on the left side. Unfortunately I cannot vertically center those descriptions in their cells: ...
26 views

### fancyhdr and chapter*

I'm using fancydr like this: \usepackage{titlesec} % Normal chapter titles \titleformat{\chapter}{\normalfont\LARGE\bfseries}{\thechapter.}{1em}{} \usepackage{fancyhdr} \pagestyle{fancy} \fancyhf{} ...
14 views

### How to merge multiple compound adjectives with common right part [on hold]

What is the correct way to write two compound adjectives with common right part? For example, I have two adjectives: "time-optimal" and "energy-optimal". (I use hyphens by the way, but still I am not ...
7 views

### LyX cannot compile correctly my title page

I am trying to make the title page for my master thesis. I found on the internet a template, in which the cover page is given by the following code \begin{titlepage} \begin{center} \textsc{\LARGE ...
36 views

### Scaling \ddots in smallmatrix

I'm trying visualize a very large matrix. To do so, I'm trying to use \vdots and \ddots in a bsmallmatrix enviroment. It works but they do not scale properly as \cdots do. Now, in the minimal ...
27 views

### Arrange long multiple equations with texts between them

I have aligned the equations in the following way but using multiple \qquad. I don't think it is a good practice to do so. Moreover the equations should fit within the width of the document. What I ...
13 views

### Formatting a thesis summary chapter

I'm trying to format my thesis summary title, but the result is not very appealing. here's the code: \chapter*{\parbox{\linewidth}{\centering A very long thesis title about some very important stuff ...
20 views

### Error in reading csv file

I want to read this from .csv file but getting error Items, FactorLoadings Social Needs (Cronbach's a = 0.695) Smartphone allows me to stay connected with those I care about,0.758 I use ...
18 views

### Supply rails in circuitikz

I am trying to draw the circuit below, however I am having difficulty in drawing the connections to the supply rails. I've abused the sground node since it is the same as the typical symbol for power ...
18 views

### Listings not showing in \lstlistoflistings

My document looks like this when at the listings page (i dont get any errors, its just empty): My document is like this: \documentclass[a4paper,12pt]{book} \usepackage{apacite} \usepackage{natbib} ...
13 views

### Dashed edges from parent to normal edge in child in trees

I am creating a tree in which the edges from a child to its children are dashed. I got this using child[dashed]. Now all the edges of these children are dashed. I want to override this. So unable to ...
15 views

### How to write multiple lines of text in a box created using \framebox in LaTex [duplicate]

I want to draw block diagram of a system. I used \framebox command to create blocks. But when I write long text inside the box it comes out of the boundaries of block. How can I write text in multiple ...
19 views

### Problem with title page when justified in Tufte-Book

I am using Tufte Book template and defined a new paper size (10x7 inches) in .def file. Its working fine. When I use justified option in preamble ...
37 views

### Declaring array of integers

Is it possible to declare in TeX array of integer numbers ? What I am trying to do is to declare new tabular environment for very long tables spanning accross multiple columns and (or) pages. My ...
38 views

### Program package confliction

I want to write pseudo-codes in my survey using program package. Since I'm writing in other languages rather than English, I have to alter the names of those environments, like theorem and proof, etc ...
50 views

### Color text in a table

Is there a way to color text in an entire table without using environment tabu? For example, change the color of text in every cell to red.
25 views

### Enumitem \SetEnumitemKey and conflict between multiple key before and after

I try to make life easier by setting key to list with the package enumitem. But, the options before and after seem to be in conflict when used more than once. Here is some code that show four ...
17 views

### Page not in correct size or format

Total newbie here: please bear with me. I’m running TeXShop on a Mac, trying to render a single-page musical score that uses the “bagpipe” macro-package. The file starts with %&bagpipe \input ...
44 views

### Not the same scale for the fading and for the actual TikZ picture

In a TikZ picture, I want a white shaded rectangle to overlap perfectly a black rectangle. Here is a MWE of what I have done so far. (In the MWE, the shading is much more simple than the one I want to ...
8 views

### scrlttr2 - how to change the font color of first name and family name independently into different colors respective for each word (in sender-field)?

As is known, the sender's name is automatically displayed inside the sender field with the value taken out of fromname's variable (like below). Minimum example: \documentclass{scrlttr2} ...
20 views

### Nested mdframed environments and footnotes

Suppose that you have two mdframed environments, one nested inside the other, and a footnote in the first mdframed environment but not in the second. See the MWE example below. ...
144 views

### Stop indenting the second line in list

I want to be able to stop indenting the second line in the list and still keep the indentation of the first line. Is it possible? \documentclass[multi={minipage}, border=5]{standalone} ...
20 views

### I have the follow boxplots that I wish to add averages

I have the following boxplots: \documentclass{standalone} \usepackage{pgfplots} \pgfplotsset{compat=1.8} \usepgfplotslibrary{statistics} \begin{document} \begin{tikzpicture} \begin{axis} [title ...
11 views

### pgffor foreach loop over databib macro-generated list

The databib package from the datatool bundle allows one to import BibTeX databases and work with them from within LaTeX. The author field can be accessed as \DTLbibfield{Author}, which returns data ...
30 views

### How to show the mean or average value on a box plot with pgfplots

I have made the following graph: \documentclass{standalone} \usepackage{pgfplots} \pgfplotsset{compat=1.8} \usepgfplotslibrary{statistics} \begin{document} \begin{tikzpicture} \begin{axis} ...
35 views

### Center a title when left and right margins are not the same

I am using different margins for the left and right side : \usepackage[ a4paper, top=2cm, bottom=2.5cm, left=4cm, right=3cm, headsep=25pt, headheight=14.5pt ]{geometry} % Page margins ...
30 views

### Pre-expansion of moving macro argument

I am using databib package (datatool bundle) to get information out of a BibTeX database for arbitrary use in a LaTeX file. It provides a command to loop over the BibTeX entries. Within such a loop, ...
15 views

### Is ?=SCROLL working in the *CDLaTeX Help* buffer for the math modify menu for you?

I use cdlatex mode in Emacs. It has a nice feature where if in a math environment, if you type a character and then a single quote, e.g., x', and pause for 1.5 seconds it brings up a *CDLaTeX Help* ...
44 views

### Align colored numbers in table

How to align colored numbers in the last line with other numbers in the same column? \documentclass{beamer} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{amsmath} ...
27 views

### LaTeX: precompile document to reuse inside a C++ program [duplicate]

I've made a C++ program with uses a LaTeX template for creating PDF documents. I open the file, replace some placeholders written inside the .tex document with values of a DB, and then, I compile the ...
35 views

### “List of Lists,” similar to \listoftables or \listoffigures?

While this may seem kind of meta, I'd like some way to create a list of lists at the beginning of a document with labels for each list. Is this easily done? Currently my project is laid out like this: ...
8 views

### How are the colors for certain schemes defined in moderncv?

Unfortunately, I'm not able to find this information in moderncv.cls... There is only written: % colors %------- \definecolor{color0}{rgb}{0,0,0}% main default color, normally left to black ...
34 views

### Put answer as an optional argument for multiple choice

I am using the following code at the moment to make Multiple Choice Questions with the options as the 5 arguments. \documentclass[a4paper,addpoints,answers,12pt]{exam} ...
26 views

### TexStudio - internal embedded pdf viewer shows different figure than external pdf viewer of the output pdf

I use TexStudio (2.9.4) on a Mac OSX (10.10.3) with TexLive. The problem here is that when I insert figures, that are saved as pdf files, and compile with PDFLaTex, the output figures deviate from the ...
28 views

### bibliography problem - does not want to appear

given the following code, why biblography from .bib file does not want to appear, instead there is only the heading "references" and nothing else? .bib and .tex file below (i have copied everything i ...
93 views

### Control sequence with arbitrary number of parameters

I want a macro which can generate units consisting of several base units. Let the macro be \unit. For example, I want \unit{kg} to mean \mathrm{kg} and \unit{kg}{m}{s^{-2}} to mean \mathrm{kg \cdot m ...
40 views

Every time I typeset some book or articles, I start to renew sectioning commands (\part, \section, some \@-commands and so on), \maketitle, \tableofcontents commands by copy-pasting it to my class and ...
14 views

### subfloat figures in two row with labels top left corner

I want to put two subfigures in two rows but with labels(captions) in top left corner of each subfigure. like this but in two rows not side by side preferebly some vertical space between them. Subfig ...
35 views

### How can I reduce the width of a table?

I'd like to put this table in a page: \begin{table}[h] \begin{tabular}{ccccccccc} \hline \textbf{No.} & \textbf{Author (year)} & ...