# All Questions

26 views

### Why are the tables in minipages left out of the list of tables?

I have some tables inside of minipage enviroment but they don't appear listed like the others in my \listoftables; see the code below. \listoftables . . . \begin{table} \begin{tabular}{c|c|c} ...
9 views

### Removing the article hyperref for acronym package indefinite article command \iac short forms [duplicate]

When using the acronym package (current version 2012/10/29 v1.38) with hyperref, the lower case indefinite article command \iac produces hyperlinks for all short form uses of the acronym. As an ...
23 views

### Writing the dimension of a variable in latex

I am trying to write the information about the dimension of a vector like this $M \epsilon R^N$ In the paper, they write it nicely, it looks nice. However, I am not sure what I am doing wrong, but ...
72 views

### How do I get rid of that extra line at the end of my custom algorithmicx block?

I'm using the algorithmicx package and have created a custom block called \On, but even with the noend option for algpseudocode I get an extra blank line at the end of the block. Here is a complete ...
80 views

### Problem with ExplSyntax

I'm trying to define a flexible "delimiter styling" command. I tried it in a package, and \str_case:nnF returned Undefined Control Sequence, whereas using \str_case:nnn went further and caused a ...
22 views

### cannot compile when using acronym package \Iac command multiple times

When using the acronym package (current version 2012/10/29 v1.38) with hyperref, the upper case indefinite article command \Iac does not compile in some cases. This code \documentclass{article} ...
44 views

### How can I define a custom class of keywords in listings?

How can I define a custom class of keywords in listings? In the C# listing below, keywords, such as using, namespace, etc., get highlighted as desired. However, I would like to define a custom class ...
78 views

### Non-linear plot looks linear

I am plotting a non-linear function -2/3 x^ 3 + x^2-3x+4/3 in the interval [0,1/2], I tried to change the scales to make it look less linear but still looks like a straight line. Any suggestions? ...
48 views

### Edgeworth Box of Pareto efficiency

I would like to have a figure like the following image, but I can't find a way to make the red convex curves. My code so far contains: \begin{tikzpicture} \draw (1, 3.5) to[out=0,in=90] (3.5, 1); ...
58 views

### German-style quotation marks in LuaLaTeX using polyglossia

Could someone post a complete minimal input file for LuaLaTeX to output "Hallo" also to get around ,,Hallo´´ In LaTeX I would have written Hallo´´ %% Minimal Inputfile for LuaLaTeX ...
11 views

### How to use this command to display an arabic text in an utf8 tex file?

How to use this command to display an arabic text in an utf8 tex file? \newenvironment{abstractAr} {\clearpage % we want a new page \vspace*{100\p@}% \thispagestyle{empty}% no ...
38 views

### Integer operator in tikzpicture environment

And I have got this figure: \begin{figure}[H] \centering \begin{tikzpicture} \begin{axis}[width=200pt,axis x line=middle, axis y ...
38 views

### Problems with beyond the margin of a article?

I'm writing a paper, but in the process, I encounter a problems : when I drawing a map with the following codes \documentclass{article} \usepackage{amsmath,amssymb,booktabs} \begin{document} ...
36 views

### 4 side by side pictures in poster latex

I look for an example to put 4 pictures side by side in the case of a poster with baposter package. thanks
92 views

### How do I draw merged red black tree into 2,3,4 tree in tikz?

I'm using tikz in study material and I want to show analogy between RB trees and B-trees (2,3,4 tree). I want my output looks something like this example from Wikipedia. For RB tree I'm using almost ...
8 views

### How to place a different background image on each part of a book

Do you know if it is possible to place a background image on each \part{} of a book? Ideally, for each part I would like to be able to put a different background image. Currently, I am using the ...
38 views

### Umlauts or other special characters in TpX

I'm using TpX to create EPS graphics to be displayed in documents or presentations. At the moment, I'm preparing a presentation in German using the beamer class and include figures via the ...
21 views

### Can eledmac's xxref be used with non-arabic linenumbers?

I am using polyglossia and eledmac to typeset a Tibetan document. I'm running into problems when using eledmac's xxref. It seems the numbers it expects are not in the right format, since they are ...
36 views

### Gantt chart is going to beyond the page boundary

I draw a gantt chart under the figure but it is going to beyond the boundary of page. I show my code below; \begin{figure}[h] \begin{center} \begin{landscape} \scalebox{0.6}{ ...
29 views

### Equivalent color for \colorbox{gray} as for \cellcolor[gray]{0.8}

In my table I have used \cellcolor[gray]{0.8} and I would like to mark some words in my text with the same color. I have tried \colorbox{gray}, but the resulting box in the text is too dark. How can I ...
14 views

### How can we swap columns in two-column regime preserving hyperlinks?

Please save your time and energy on this question, some solutions exist. I have been helping with Arabic-English (right-to-left typesetting) and English-Arabic (left-to-right typesetting) indices ...
52 views

### I am at sea with the \markboth \leftmark \rightmark and so on ! Is there a simple explanation?

My problem follows from my difficulties with the english explanations on the marks, from the readmes of fancyhd or titleps, in order to modify the headers. I do not understand the business behind the ...
46 views

### How to activate syntax highlighting for multiple references in TexStudio?

I want to enable highlighting for multiple references command \parencites {} of Biblatex package the same as of a similar command for one reference \parencite {} using TexStudio editor. The image ...
51 views

### Creating a Color Key?

How can I create a colour key in LaTeX to show what the colours of this table mean?
71 views

### Push button issue in circuitikz

This must be a simple question to solve, but I'm stuck on it. According to CircuiTikZ Manual a simple push button is a to[push button] element in a circuit. But, in my case, it doesn't work! Show the ...
23 views

### pdfpages and XeLaTeX: including pdf with uppercase .PDF extension

here's the problem I'm finding. I have to include some PDF files in a LaTeX. The LaTeX code is generated at runtime, and has to include whatever PDF file it finds in a given directory. These files ...
48 views

### How can I avoid blank spaces when I insert a pdf figure?

in the following piece of latex code, I would like to place a pdf figure called sharpideq2 at page 1 among the text rows, avoiding blank space. What I get instead is the figure placed alone in the ...
34 views

### listplot and (0,0)

Look at the following minimal working example. I cannot understand, why the first line of listplot is plotted from (0,0) to the first data of the input file. I am compiling with % converting with ...
48 views

### Tikz: How to combine orthogonal edge syntax with coordinate calculation? [duplicate]

I'm trying to combine the syntax for orthogonal edges (p |- q) with the syntax for calculation relative coordinates ($(a) + (1,0)$). Example: \draw ($(node1.south) + (1,0)$) to ( (\$ (node1.south) ...
72 views

### Overfull hbox in biblatex

I just ran into a problem using biblatex with a long author and title: The output extends past the right margin of my text, because biblatex does not insert a linebreak before the date. Please see the ...
63 views

### Stack figures in horizontal plane in 3D rectangular shape without loss of quality

I am plotting figures on GMT but it does not support some features in gridview. So I want stack each figure on different platforms below each other. E.g. I want to add each image like the following
39 views

### pgfplots stacked bar chart with markers

I have a stacked bar chart. I would like to add markers to the chart in some values. I am trying to create something like in the stacked bar chart. Is it possible to add markers instead of another ...
43 views

### latex typesetting multiline alignment with flalign

I'm trying to align the second line equation below the integral in the first line. How do I go about doing that? I have used \right. commands to be able to move onto the next lines. I didn't have to ...
96 views

### Meeting Minute with supervisor

I want to make a table of Meeting Minutes with supervisor. The format is as follow; ------------------------------------------------------------------------------------- ...
38 views

### Exam documentclass question title grading table

How can I give my question a name and a the same time show in the grading table only its number? For example, in the main text I'd like the question to be something like "Question 1: Cauchy-Schwartz ...
213 views
+50

### Why does PGF/TikZ 3.0 draw my simple layered graph as non-planar by default?

I have two questions: If I’m reading §30.4 “Crossing Minimization” of the PGF/TikZ 3.0 manual correctly, the layered graph drawing algorithm should have crossing minimization enabled by default. So ...
36 views

### Gantt chart is not drawn and give “! LaTeX Error: Environment gantt undefined.” [on hold]

I am writing a report for FYP in Ubuntu 13.10 in TexMaker, with document class and use different files use for chapters. I write the code below in the chapter1.tex for draw a gantt chart ...
18 views

### Dealing with columns while placing a figure at the top of next page [duplicate]

I am using ACM template and having problem while placing the figure at the top of next page. I read threads here, but still instead of placing the figure at the top of whole page it only places it at ...
81 views

### How to make table floats work with preview/standalone environment?

Couldn't make a table float work inside the preview environment: \documentclass[fontsize=16pt]{scrartcl} \usepackage[active,tightpage]{preview} \setlength{\PreviewBorder}{25pt} \begin{document} ...
26 views

### xwatermark in xepersian does not work together?

\documentclass{book} \usepackage{hyperref} \usepackage[printwatermark]{xwatermark} \usepackage{xcolor} \usepackage{graphicx} \usepackage{tikz} \usepackage{xepersian} ...
27 views

### Preventing repeated periods in citations

I'm using natbib to do citations in text, and sometimes those citations end with a period. When this corresponds to the end of a sentence, a duplicate period can easily be inserted. A MWE: ...
34 views

### Forcing page number to start from the title page

My code is the following: \documentclass[12pt,titlepage]{article} \usepackage{harvard} \usepackage{setspace} \usepackage{ifthen} \usepackage{booktabs} \usepackage{array} \usepackage{multirow} ...
51 views

### Custom theorem-style environment

I use LaTeX to typeset notes and case briefs for law school. So far I have settled for a theorem-style layout for each case using thmtools. Here is a minimal working example: ...
70 views

### Create a package with optional mode and key values

I'm trying to create a package with three options as follows: \usepackage[swpl]{mypack} swpl option provides the environment \begin{myexample}[forced bracketed options]...\end{myexample} ...
25 views

### Separating caption of first figure from top of second figure

I am setting two TikZ subfigures on top of each other by setting 1\textwidth for both subfigures. Now, the caption of the first figure is really close to the top of the second figure. Is there any ...
27 views

### Does justifying and `frame breaks' conflict in Beamer?

I tried the justifying techniques proposed here: My presentation in Beamer document class also have long bibliography. I have used allow frame breaks in a new frame which recommended here. ...
72 views

### Drawing vertical lines on a coordinate plane using Tikz

I am trying to plot the vertical lines x=0 and x=4 using the Tikz environment. What I have thus far is; \begin{tikzpicture}[yscale=1] % 4x4 grid \draw (0, 0) grid (5, 5); % origin point \draw ...
15 views

### No page number for special page [duplicate]

I create some special page for a cover in the book document. And I need to hide the page number for that page. How I accomplish this?