# All Questions

10 views

### sub labels for subbottoms in memoir

I found a code segment and it works well for multi-subfigures. The code is pasted below. But I have a problem with the sub labels, as in the attachment. For example, in the context I have 18 figures ...
10 views

### Two footnotes shown together with hyperref support

I want to place two distinct footnotes² in the text³, which have the same content, work both with hyperref and are explained together: I found some solutions which do that for me by giving the same² ...
21 views

### Compilation errors

I am trying to compile my experimental procedure, which includes a lot of exponents, subscripts and an image. Apparently LaTeX has a problem with it but I spent a lot of hours on it and i can't get to ...
10 views

### batch conversion of lyx to pdf

Is it possible to "batch" covert lyx documents to pdf? I have more than 250 lyx docs in a folder. I want them in a pdf format. I can do it manually one by one. But there has to be a better way. Hope ...
18 views

### Tabular with horizontal and vertical double line, avoid ugly corner

I am using tabular to make simple table, I want to have double line on the sides. The problem is that the double-lines do not meet elegantly at the bottom-right corner: How can I make the double ...
10 views

### Use of templates in org mode of emacs

How can I use following template in an org mode on latex. This will help me understand the org mode latex. Kindly explain the changes you make in the template so that I understand the org mode better ...
6 views

### How to define numbered theorem, definition at ConTeXt ?(ConTeXt)

I have problem about define numbered like theorem, definition, corrollary etc at ConTeXt ? You can see like this my screenshot and my code (sorry, i copy and paste from other document) : and my ...
33 views

### How to change horizontal alignment of \frac?

Typing \frac{W+W^*}{2} gives a fraction in which the denominator appears to the eye to be in the wrong position. Is there a way to correct this, i.e. place the 2 in under the + (without using ...
17 views

### Gauss matrix in LYX

I am using Libreoffice normally, but I need have Gauss Matrix (http://en.wikipedia.org/wiki/Gaussian_elimination) in Libreoffice . I found that Latex can do that. I installed Lyx on Ubuntu. How can I ...
15 views

### A problem about code compiler Sublime text [on hold]

I am beginning to use the LaTeX to write my homework, I chose the Sublime to compile the file. However, I found it is difficult to write code because it hasn't the hint fuction. I search the Plug-in ...
40 views

### Semicolon in set-builder notation

What is the best way to type ";" in the set-builder notation? I think \{\, x \in X \mid P(x) \,\} is a common way to type the set-builder notation. Sometimes, ":" is used instead of "|". Anyway, ...
45 views

### How to use itemize in Table environment

I want to create a table like the picture below, and i wish to itemize the lamba_1 > lamba_2 > 0 using 'item style', which is the cell of each categories. Can someone help me?
103 views

### Riemann Sum Conundrum

The following approach to Riemann Sums first draws an arbitrary curve (which may later be tweaked), then forms rectangles based upon intersections. Unfortunately, the filled rectangles hide portions ...
8 views

### Configuring auctex for pdf viewer

I'm on Ubuntu 13.10, Emacs 24.3.50.1, texlive 2013, auctex 11.87.2 (from elpa). I've followed the instructions given by this page on enabling Okular (I'd rather use Evince, though), but this doesn't ...
56 views

### Big Table in latex

Could you please helping me to draw a nice big tables like this one , I don't know how to mange the big table in LateX Many thanks
21 views

### Flatten transparency in tikz

I have a document which I need to compile PDF/A-1b compatible, which means that transparency is not allowed. I have (several) tikz sources directly in the document, and I think they look better with ...
40 views

### How can I get correct picture?

I used Geogebra to draw the grap of function $y = 2x^2 - 4x$. My code \documentclass[10pt]{article} \usepackage{pstricks-add} \pagestyle{empty} \begin{document} ...
34 views

### the problem of using “~\\” and blank line

Recently,I found the code that cotains the"~\\" and blank line always shows the warning imformation "Underfull \hbox (badness 10000) in paragraph at lines" \documentclass{ctexart} \usepackage{color} ...
12 views

### BibLaTeX backref links to wrong page using hyperref

I'm trying to use the backref option of BibLaTeX for back-referencing, but the pages in the bibliography link to the wrong pages (even though the pages listed are correct). The link appears to be ...
17 views

### Using a macro with ifx inside of a bmatrix

The following code does not compile if I don't have the extra braces around the entries of the matrix, and I don't know why. Can I modify \switcher to obviate the need for these extra braces? ...
25 views

### How to link symbols to their meanings?

LaTeX is used a lot for writing thesis and textbooks which frequently make use of mathematics. Even though the wide world of mathematics has many over-lapping symbols and notations they are usually ...
80 views

### Is this possible in Tikz?

I am wondering if it is possible to quickly create something like this in Tikz. In particular, I am concerned with making the zig-zag line, which has these properties: Each star is on a clearly ...
24 views

I am using Texmaker and Gummi on Ubuntu 12.04. I want to embed videos in my PDFs and have downloaded media9.tds.zip, l3kernel.tds.zip, l3packages.ts.zip and l3experimental.tds.zip. I unzipped and ...
30 views

### How to define a pgf curve with points instead of controls?

The syntax to produce a Bézier curve in pgf is \pgfpathcurveto{first control point}{second control point}{target} This defines the curvature by control points. Considering the degrees of freedom ...
42 views

### How to eliminate the square?

To illustrate the movement of a horse on a chessboard, I used the following commands. How to eliminate the square that appears to the right of the figure?
13 views

### How to install cyrillic enc bundle

I'm following this solution to mix Latin and Cyrillic characters (if there is a faster way, please, let me know). I got the errors Package fontenc Error: Encoding file t2aenc.def not found ...
23 views

### How does \pgfdecoratedpathlength work?

I am trying to understand how it works the decoration pgf module, in order to solve the unanswered question Fiber-Optic-Style decoration. I am having an hard time with some macros, for example ...
151 views

### How do I tell which version of a command to use?

So LaTeX has a lot of commands that do very similar things. Often this is a result of some of these being old. For example: $x^2$ vs $$^2$$; As I understand it, the second example is the more modern ...
15 views

### Positioning of imported table [duplicate]

I am importing a data table into a document and want the table to be within the text. When I import with \input{bodyrate}[htpb], the table is placed at the end of the document and [htpb] is printed ...
20 views

### Display first (sub) environment in an environment

I would like to make a bank of problems of similar type--however, I only want to display the first of each time. For example: \begin{bank} \begin{exercise} 2+2 \end{exercise} \begin{exercise} 4+3 ...
30 views

### Replace 'and' with ampersand in bibliography and parenthetical citations using BibLaTeX

By default, author-year style in BibLaTeX uses the word 'and' before the last author. I would like to retain this for in-text citations, but would like to replace 'and' with an ampersand (&) in ...
15 views

### Custom table captions (title newline + indented caption and simple caption newline)

I'd like to achieve the following two table formats: I think this can be achieved with the caption package. I am currently using: \usepackage[labelfont={normalsize,bf}, textfont=small, ...
29 views

### Write equations VAR and VECM equations in R

\documentclass[10pt]{article} \usepackage{graphicx} \usepackage{amsmath} \begin{document} \title{Case studies: Long run relationship} \maketitle \begin{abstract} The cointegrating approach is ...
34 views

### Is it possible to change the \cite command in the following way?

I know this does not follow very good citation guidelines, but I want to change the cite command so that in addition to whatever the current bib file dictates, it will also print in the name of the ...
51 views

### kTikZ and extra packages

Is there any way of loading extra libraries within KtikZ with the \usepackage{} command, like in other LaTeX documents? I could not find any documentation. And, of course, a MWE in this case is not ...
51 views

### Why do some font commands behave differently?

I've always been confused by the differences in behavior of font commands. For example, we have \mathrm{} and \texttt{}, which can be used like this: \texttt{hello} world. And then we have \it and ...
29 views

### Increase image resolution using MetaUML and metapost

I'm using MetaUML to create text-driven UML diagrams. When I generate a figure, with: $mpost example.mp$ convert ps:example.1 png:example.png a very low-resolution image is generated. If I scale ...
27 views

### Positioning of node label in pgfplot

I am using pgfplot to make a 2D plot with the nodes labelled. However, some of the text labels interfere with each other as they're too close. The default positioning of text labels in pgfplot seems ...
26 views

### Counter too long subfigure

I'm trying to make a igure with more than 26 subfigures, therefore, the counter of the alphabet is not enough since it goes only to the z. I tried as suggested in other posts to use the package ...
31 views

### Insert pages from password protected pdf file in latex

If I have a password protected PDF (my own document, source unfortunately lost), and I want to include a portion of it in a new document, can that be done? This previous question explains how to do ...
27 views

### delimiter size in cases environment

How can I change delimiter (brace) size in cases environment (for piece-wise function)? $$f(x)=\begin{cases} \end{cases}$$
39 views

I want to have one arrow point to another arrowhead. How do I roughly make a node surrounding an arrowhead? \documentclass{memoir} \usepackage{pgfcore} \usepackage{pgfplots} \usetikzlibrary{arrows} ...
38 views

### Is there a way to find out which packages are used (rather than merely called) by a document? [duplicate]

Is there any way to find out which packages you have loaded in your preamble are actually being used given the (La)TeX that follows? I don't believe I'm looking for \listfiles, since as far as I ...
24 views

### How to affect the vertical gap between the glossary's name and its body

I'm using the glossaries package for producing of nomenclature/symbols/acronyms lists, but I don't know how to influence the vertical gap between the glossary title and the first glossary entry. ...
19 views

### Incomplete package documentation in TeXLive 2012 on Ubuntu

I use MacTex 2012 on my laptop. On the desktop in our lab, I use TeXLive 2012 on Ubuntu 12.04. I noticed that some package documentations in Ubuntu are not as comprehensive as they are in Mac. To ...
76 views

### Creating text symbols with TikZ

I seem to recall a macro which was used to create symbols which could be inserted into text, but cannot remember the name nor find it using search. I could do it myself easy enough ...
110 views

### math conditionals using (if - else - fi) command

I saw these command when i searching sth. I wonder if we can increase numbers if conditions. it's like if{0} = a, if{1}=b, if{2}=c, if{3}=d etc. \newcommand{mycommand}[1]{ \if{#1 != 0} Some text, ...
70 views

### How to force \paragraph to start on a new page

If \paragraph{abc} text text text text text text text text text text ... text is on the bottom of page \paragraph stays at the bottom while the content is moved to top of the next page. How to ...
There is an issue between svn-multi and lineno. Setting the svnid confuses lineno witch results in a unwanted outcome. Without \svnid{$Id: abc.tex 1 2013-06-25 15:30:32Z asb$} everything works as ...