# All Questions

10 views

### Caption Formatting

How do I format the caption spacing: \begin{figure}[h] \centering \begin{minipage}{.5\textwidth} \centering \includegraphics[width=2in, height=2.5in] {JAR} \caption{Desired Jar for the ...
11 views

### split and align long equation

The following code is used to split a long in-equation. \begin{align} (\sum^n_{i,j=1}\frac{(S_{t})_{ij}\norm{W^T_{t+1}x_i-W^T_{t+1}x_j}_2^2}{2\norm{W^T_{t}x_i-W^T_{t}x_j}_2} - \nonumber \\ ...
8 views

### Dynamic Courtesy Receipt PDF Generator For PHP

The title needs a bit of help, but I'm wondering if it's possible to dynamically create a beautiful customized receipt for purchases from my website using LaTeX, where LaTeX gets its data from my ...
10 views

### How do I make every column the same width?

\begin{tabular}{|c|c|c|c|c|c|} \hline x&x& & & & \\ \hline &x&x& & & \\ \hline & &x& & & \\ \hline & & & &x&x\\ ...
24 views

### How can I include an oscilloscope in my circuitikz circuit diagram?

I'd like to include an oscilloscope symbol in my circuitikz diagram, like this: I looked around, and it doesn't seem like there is one built in. Is it possible to get something like this into ...
30 views

### How can I prevent overdraw with tikz arrows?

I’m creating a diagram and there are several arrows which exit from the same node. The problem is that in many PDF viewers the arrows get slighly blurred at some zoom levels so that the lines appear ...
18 views

### Putting more than one logo in the bottom of a poster

I'm using sciposter and I am trying to put three logos on the footer of the poster: One on the left side, one on the center and one on the right side. Can someone help me? As requested, I am adding a ...
11 views

### Sort moderncv publications by year AND month (multibib + *.bib file)

I am using moderncv to create my CV. I want to sort the publications in chronologically descending order (not just by year, but by month as well). I have googled a lot of solutions and found a bib ...
14 views

### Hierarchical Paragraph numbering with leading text

I'm new to Tex and LaTeX and I don't know where to even look for an answer. I would like to use LaTeX to produce a document (requirements document) where the requirements paragraphs/subparagraphs are ...
30 views

### Make a table with a fixed width and a flexible height [duplicate]

I would like to make a tabular with only 1 column. I want the tabular to have a fixed width and to contain several sentences. As some sentences may be long, several rows may be needed to hold 1 ...
23 views

### Specifying different scales for the axes

I am plotting sin(2x) from -pi/4 to pi/4. I have specified that the axes should have the same scale with axis equal image. It doesn't look like a sinusoidal function. How do I get the y-axis to be ...
13 views

### How to reduce iner-footnotes spacing?

As you can see in the picture, spaces between footnotes is present. I've tried to use those two commands: \setlength{\footnotesep}{1pt} % space between footnotes \setlength{\skip\footins}{1cm} ...
14 views

### Having a problem generating a command that make chapter and label in one line

I'm writing my thesis, modifying the ezthesis template. I did a new command that mix chapter and label in one line. \newcommand{\chaptercolored}[2]{\textcolor{colorchap}{\chapter{\textbf{#2}}}% ...
18 views

### distance between end of paragraph and new subsection

This is part of my .Tex work. there is undesired distance between end of paragraph and next subsection. How can omit this distance? Can anyone help me? Also, constraint \eqref{28} functions analogous ...
6 views

### Stopping text short of righthand side date'' column in -res- class?

I am using the res class to make a CV (I know its outdated; path dependency) I would like to have all the dates on the righthand side in a column of their own (with no text running under the dates ...
10 views

### How can I align the footer so it is generally centered at the bottom of the page?

I am completely new to using Latex and I am trying to set up the basic layout of a document. I want to have a footer that has my name in the left part of the footer, some text in the center of the ...
21 views

### restore Computer Modern font for mathversion{normal} when using wrisym

I have added \usepackage[uprightmonomath]{wrisym} to the preamble to get Mathematica input fonts. I can access them by using \mathversion{mono} and \mathversion{monobold}. But wrisym has also ...
63 views

### How to get tikzmark to work

I am having difficulty getting \tikzmark to do its magic. I tried using the tikz library for \tikzmark as in the following code: \documentclass{article} \usepackage{amsmath} \usepackage{tikz} ...
8 views

### Problem with citation in \thanks using amsart and hyperref with pagebackref

I'm writing a paper using amsart and the pagebackref option of hyperref. I want to use the \thanks command to acknowledge someone for pointing me to a specific reference. But I get an error. ...
13 views

### pgfplot error bar in foreground

I would like to get the error-bar of the lower y-bar ontop of the stacked bar. Which command can I use to get the error bar to the foreground? Thank you in advance. ...
18 views

### Align baselines of underset elements in display math equation

I am trying to create a display equation showing the coefficients of an example polynomial for use in the quadratic formula. Basically, I want each coefficient of the polynomial to have an arrow ...
14 views

### How to get sansserif font with footmisc package

Why does the footmisc package disable my footnote font settings? I want footnotes in a sans serif font, and have found a way to do this using \addtokomafont but I would also like a hanging indent ...
23 views

### Pass blank as argument to a command

How can I pass a blank to this command \newcommand{\iam}[1][happy]{I am #1.} so that I get this result I am . Note: My actual command operates in the math mode, so the space between "am" and "." ...
30 views

### how to do I change the margins around a figure so it takes up maximum space

I have a lot of graphs that I am trying to fit on one page to save trees. I have 66 graphs in total, I am thinking of putting 11 / page (I have 6 groups of 11 graphs) and double sided printing = 3 ...
70 views

### How to make such a CV in LaTeX?

I am not good to LaTeX. I think I need TikZ? It should look like this: Can anyone help me? How to do that? Which document class should be used, how to make the sectioning look like that on the ...
25 views

### Changing the theorem's title style

I need to change the style of the theorem title ( bold and no ponctuation after the title) : \documentclass[french,a4paper,12pt]{report} \usepackage{babel} \usepackage{graphicx} ...
30 views

### How can I decrease distance between equations?

I have this code and I want to decrease the vertical distance between equations? Can anyone help me? \label{20} P_{\ell}^k\geq -P_\ell^{\max}\cdot Z_\ell^k~~\forall ...
5 views

### Bookmarks to the second part leads to the wrong page (page of the first part)

The bookmark/link in PDF to the second part ("Quels impacts ?") leads to the wrong page (one early). This is also true for the ToC in the PDF (the page number here is correct, just the hyperlink is ...
25 views

### Tables with the same height but with different number of rows

I want to put two tables side by side. Each table has its own caption and the two have a common caption. I can do that with subfloat: \begin{table} \centering ...
12 views

### How to dim part of the syntax-highlighted source?

I'd like to typeset a (LaTeX) source code with syntax highlighting (I guess I'm going to use minted, but I haven't decided that for sure yet). I'd like to have complete examples (with \documentclass ...
13 views

### Is there a way to put subheadings(for maps) in the list of figures?

In my thesis I am going to have a couple of maps and some pictures. All the files are image files so my plan was to enter them with the\begin{figure} coding. This means that they would all show up on ...
62 views

### How can I draw the following diagram?

Please, How can I draw these diagrams using TiKZ ? r = r_{0} e^{bt}, \theta= bt x= R cos wt, y=R sin wt, z=hwt
6 views

### LyX Toolbar off screen

Somehow my LyX standard toolbar went off screen in Windows 8 (I think it may have something to do with the full screen toggle) and I have no idea how to move it to its original position. I have ...
37 views

### Can I use cleveref and endnotes together?

I'm trying to setup my article with notes such that: Notes are not shown at the bottom of the page Notes are shown at the end of the article (no need to show them after each section or so) I can ...
20 views

### Configure newenvironment with xkeyval

I am having trouble getting xkeyval to work with \newenvironment. If I define the whole thing as a command instead, it works perfectly. So my guess is that the problem is not how I use xkeyval, but ...
100 views

### Alignment of table entries: the case of negative numbers

Assume that we have a table that has positive and negative entries. My question is simple: how can we have the number alignment to start from the actual number and not the negative (-) symbol? Let ...
26 views

### Code review: Tables on a page

In a document I am working on, I am trying to group four tables on a single page. However, it seems I still have not one, but multiple issues with my understanding of how tables work... I tried to ...
14 views

### Highlighting code lines with minted in diff like GitHub?

What I'm seeking is something like you find in this question but together with the minted package. Preferably without any extra steps. I know that it's possible to create your own pygment styles, but ...
15 views

### Horizontally align \vdots with equal signs in aligned environment [duplicate]

I have a number of equations aligned at the equal sign. I insert a line containing just \vdots to indicate a bunch of steps and then equations again. How I can make the \vdots align with the equal ...
23 views

### How to change the header layout?

I am typing an article. I have used fancyhdr for the header and footer. Now my problem is that the header, which is set by default to the name of the section appears on the top right of all pages. I ...
23 views

### Right-bottom align cells of row of table headers

Quite often I have table headers which need to be wrapped across several lines and I have not find out how to typeset those nicely. The best I have found is using a \pbox like in the example below ...
21 views

### Reduce gap between section and subsection heading

With the code below, I have a very large space between the section 1 heading and subsection 1.1 heading. I've tried to change the \titlespacing options but I still can't reduce this large space. What ...
26 views

### How to add space before and after paragraph?

I have text in this structure (simplified): \paragraph{\textbf{\uv{Main question is.... ?}}} Main question is divided into three subquestions.... \paragraph{Sub question 1.} Sub question 1..... ...
16 views

### How to reduce vertical space between two line in IEEEeqnarray?

How can I lift the second line higher so that there is not a large space between the first line and the second line? \documentclass{article} \usepackage{amsmath} \usepackage{mathtools} % for ...
30 views

### The specification “font=\footnotesize” is ignored in a node command

I have code that labels a function, a horizontal line, and a point with the node command. (Is this called a "command"?) I use the specification "font=\footnotesize" in the node command each time to ...
31 views

### Labeled Petersen graph with new tikz graph library

Following up on Petersen graph with new tikz graph library, I tried to label the vertices with something different than numbers. I thought the following would work: \documentclass{standalone} ...
20 views

### \prime gives “Undefined control sequence” in xelatex with unicode-math

I cannot seem to be able to create a prime (') in any custom font. This, for example \documentclass{article} \usepackage{unicode-math, polyglossia} \setmainfont{Times New Roman} ...
8 views

### How to hyperlink to files relative to the current file with hyperref?

I cannot get relative links to files to work when using: \usepackage[pdftex]{hyperref} I can only get the following to work: /href{file://full-path/filename}{text} I have tried the following ...