# All Questions

48 views

### JPEGs in custom beamer theme

I have a few JPEGS that I need to place in a beamer theme. They are Cover Image - cover.jpg: 1st slide Header - header.jpg: 2nd slide only Footer - footer.jpg: 2nd slide to end The Cover Image ...
14 views

### Trying to convert Hrs:Mins to Mins

I am having a bit of trouble trying to convert a time format from Hours:Minutes for instance 12:05 into 12*60+5 = 725, ie I would like to use 725 as a number of minutes. I am already using the number ...
13 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 ...
3k views

### How to increase the size of first character in a chapter (Drop-Caps)

I would like to know how I can increase the size of the first alphabet of first paragraph of a chapter using (Xe/La/?)tex. Please look at the image shown below. What is such an effect called? How ...
8 views

### Add right flushed verse number to last line of verse

I'm using the custom Verse environment provided in this answer for producing horizontally centered verses. I would like to add a verse number to the last line of a verse and I would like just the ...
114 views

### How do I gracefully retire a package?

I maintain a LaTeX package which is obsolete. All its useful commands are provided by other packages, possibly with different syntax, but still the point is there is no reason for anyone to use my ...
18 views

### Why using character ^^ff before every chapter in the TeXBook source

When viewing the source code of the TeXBook, I find that there is a character ^^ff before every chapter in it. I am wondering why using this ^^ff character which seems useless?
11 views

### How do I get includegraphics to correctly read in a filehandle that has periods in the name [duplicate]

I have a collection of files like the following: \documentclass[border=9pt]{standalone} \usepackage{pgfplots} \pgfplotsset{compat=1.3}%% \pgfplotsset{every axis/.append style={ ...
23 views

### \shortmonthname for German in datetime

It seems that if you set your document to ngerman, datetime currently only supports abbreviated names for the days of the week (Mo, Di, Mi …), but not for month names (Jan, Feb, Mär …). Is there ...
30 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 ...
17 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 \\ ...
12 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 ...
22 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 ...
16 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\\ ...
41 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 ...
36 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 ...
26 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 ...
27 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 ...
14 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 ...
244 views

### drawing simple sequence diagram

I need to draw this kind of simple sequency diagram, but I'm not very good with tikz: \begin{figure}[!ht] \begin{center} \begin{tikzpicture}[node distance=2cm,auto,>=stealth'] \node[] ...
72 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 ...
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 ...
7 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 ...
236 views

### How can I draw the following directed graph?

How can I make such a graph using tikz? I can draw the circled nodes and the arrows, but I can't change their position. (e.g. the one that starts from node 1 and ends at node 3). Edit: I would ...
14 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} ...
259 views

### Tikz: Equal sized nodes with different text

I am new here to Tikz and I need to draw 2 rows of nodes that are identical in size but having different text of different length in it. Sure the upper and lower nodes should have enough room for the ...
26 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} ...
16 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}}}% ...
20 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 ...
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 ...
189 views

### thin unbreakable space

As you maybe know, in French typography, "big" punctuation marks (!?;») must be preceded by a thin undividable space (obviously « must be followed by a thin unbreakable space, and as a matter of ...
103 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 ...
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 ...
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 ...
32 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 ...
69 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

### 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 ...
14 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 ...
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 ...
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 "." ...
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. ...
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 ...
14 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. ...
27 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 ...
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 ...
31 views

### How do I use \bmatrix in a subfigure?

I am trying to put two matrices next to each other with the same caption, but I am having trouble using \bmatrix in the subfigure environment. Here is the code of what I am trying to do: ...
65 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