# All Questions

3 views

### Unable to use section in appendix package

I try to use appendix package for my document, but I have problems using a command. There is no error in the minimal code, but in my original document it is. I tried a lot of modifications, and I ...
4 views

### Present reference in a table

How can the reference section be changed that the reference appear in table: {\bf Reference} \begin{tabularx}{\textwidth}{||c|X||}\hline\hline cite1 & Title, author etc\\ \hline cite2 ...
11 views

### Are odd pages always on the right-hand page?

I have a document whose page numbering starts on the first page, which is obviously a right-hand side page. This makes every right-hand side page odd and every left-hand side page even, as usual. ...
11 views

### question on multicols width and minipages difference in section vs. main document

I am trying to split a page into 2 halfs, using 2 minipages side by side. So I made the following construct \begin{multicols}{2} \begin{minipage}[t]{0.45\textwidth} stuff here \end{minipage} % ...
16 views

### Macro or \def to create lines in a table

I have a certain table to which I would like to add lines by a command. One way I can get to this looks like this: \newcommand\arow[3]{ #1 & #2 & #3 \tabularnewline } and the table ...
8 views

### how do I put a line break among multiple tikzpictures?

If I do this: \documentclass{standalone} \usepackage{tikz} \begin{document} \begin{tikzpicture}[scale=3,>=latex, font=\sffamily] \draw [->](0,0) -- (0,1) node[at end, above left, rotate=90] ...
6 views

### CV template not compiling

I am attempting to get someone else's CV template to compile but it is not working. I am on Linux using the TeX Live packages. Unfortunately the following line is causing problems: \setromanfont ...
28 views

### Single character keywords/operators with no spaces with listings package

I want to add a very simple macro language to listings. It uses single-letter keywords/operators, with no whitespace between. I can't see how to make keywords that don't require some kind of separator ...
13 views

### How to move the matrix on the left side?

I have to move the matrix on the left side in order to fit in the page. How to do it? \documentclass[smallextended]{svjour3} % onecolumn (second format) \usepackage[paperwidth=165mm, ...
21 views

### How to change the title, abstract and headings font to Sans Serif

I'm making a journal publication in LaTeX and I've been trying to change the font of all my non-main texts to a sans serif font. Meaning, all the headings, titles, section titles, abstracts and so on ...
30 views

### Width of figure affects caption position

I would like to control the amount of space between a (starred) caption below a figure with width=\linewidth. However, when I choose skip=0pt, there is additional space compared to a figure of smaller ...
22 views

### Issues with feynman diagram vertex

I'm unable to put more then one label on a vertex in a Feynman diagram. I've tried to use the command \fmfv twice or with more then one argument, but sadly I'm not getting the result I wished for. ...
20 views

### how to move a rotated of 90 deg text on the left bottom corner of the page?

I would like the text on the bottom left corner of the page. Instead, the text is on the top side of the page. I am trying to move it down, I deleted \centering and I tried also other options I set ...
12 views

### Article Class, A4/a4 “Unused Global Option”

I'm trying to typeset an article. The document class is as follows: \documentclass[a4]{article} I have also tried: \documentclass[A4]{article} Both yield the following error: LaTeX Warning: ...
67 views

### How to draw an 1-D array

I want to draw something like this: Easier or better way to draw 1d array. The problem is that I need to change the value of the second array and I don't know how to do that using stack instead of ...
653 views
+100

### How could LaTeX replace the tokens <= by the command \leq?

How could LaTeX replace the tokens <= by the command \leq efficiently? Example 1: I have this code: $2x <= 4x - 2$ And I want to get after the compilation this: Example 2: \[ ...
18 views

### Set color of \emph{} in beamer

How can I set the color of the \emph{}-tag in beamer? I tried something like \setbeamercolor{emph}{fg=red} inside of beamercolortheme.sty but it had no effect.
25 views

### Strange behavior using tkz-fct

Lately I've using the tkz-fct package for plotting graphs and I have a document with several graphs but something weird occur when I use \tkzDefPointByFct in some graphs the first graph doesn't have ...
53 views

### How can I fix my bibliography with LaTeX?

Hello I am newbie with Latex and I couldn't compile my bibliography.tex when I comment it the pfd work well but when I uncomment it. the PDF doesn't appear and I couldn't resolve it I tried a lot ...
81 views

### Table with a diagonal line that crosses cells

How can I draw the following table in LaTeX? I tried looking here but from the examples I can't figure out how I can draw this. Edit: After browsing a few more times I found this with the help of ...
32 views

### Row sep in Tikz for a single row of a legend

I'm using the legend-only solution from Using a pgfplots-style legend in a plain-old tikzpicture How can I get a style for a single row? I'm trying to have row sep = 5pt for example for all rows, but ...
14 views

### Separation of two authors using the amsart document class

I want to achieve a similar result to this one (see answer). However, I am using the amsart document class and the result for that code is this: The problem I believe is with the \and command that ...
40 views

### I have to draw this graph by tikz [on hold]

How to draw this graph by tikz?
24 views

### Syncing Two Files

I am creating two documents: 1 is a set of homeworks and the other is their solutions. Each homework and solution set is its own .tex file and there is a master .tex for the HW-booklet and another for ...
16 views

### KOMA-Script error trying to use enotez in WinEdt

I am trying to use the package enotez for the first time and WinEdt will not compile even a simple test file such as the following: \documentclass{article} \usepackage{footmisc,enotez} ...
470 views

### TeXstudio: \ref and \eqref auto-completion

I've read quite a few questions and answers on this web site but none helps me to resolve my problem. I am using \ref and \eqref commands most often. After installing and re-installing the latest ...
57 views

### TikZ: Perpendicular bisector of a line

Given two coordinates A and B, I'd like to draw the perpendicular bisector (of any length) of the line joining A and B. I am not given any extra information, and A and B can be any two coordinates ...
40 views

### Spy glasses in a group plot

I have a group plot in which the graphs have common x axis and are stacked one over the other- like the one givenhere. Now, I want to have a spy glass on each of these plots in the group. But when I ...
41 views

### Using Separate Serif and SansSerif Fonts in a Document

I have a bunch of figures that I am compiling using the standalone class in which I load two font packages mathpazo for the serif fonts and cabin for the sans serif fonts. The problem is that when I ...
24 views

I am new to here. I am using beamer to make ppt, so I have a question: I like the warsaw theme, but I also like boadilla navigation bar. So my idea is using warsaw theme, but at bottom of each slide I ...
706 views

### Lyx citation style: et al only when three or more authors

I'm using lyx and bibtex for my master thesis. In lyx, I changed the bibliography style from standard to natbib (author-year). The problem occurs when I cite a paper with two authors. The reference to ...
7k views

### LaTeX in CorelDRAW

What is a good way to get LaTeX formulas into CorelDRAW figures? I will provide a solution below, based on a rather old macro adapted to work on 64 bit systems as well as 32 bit - it works well, but ...
15 views

### How to place the illustration on the page in two columns and number them?

How to place the illustration on the page in two columns and number them? and another question. How to insert an image height of 30 % of the height of the text. Thank you.
8 views

### vim-latex suite doesn't expand packages

Recently I reinstalled Ubuntu 15.10 (after having too many problems with 16.04) and everything else I need. I used Vim-latex to write, compile and view tex documents, and it was so easy to press F5 ...
45 views

### Persistent Gap! [duplicate]

I'm working on my paper using MiKTex v2.9 and i came across this odd problem with {proof} environment. Syntax i use for proof is working properly in other areas of text but in one place i encountered ...
312 views

### Highlight a specific author name in bibliography using babelbib

I want to highlight (more precisely make bold) a specific author name in bibliography using bibtex. There are several answers to this question, like this, this, this, this or this one. However, I'm ...
8 views

### macvim: latex-suite reference autocomplete does not work after mac update

I recently had a software update of my macbook pro, then I noticed an issue with my latex-suite autocomplete function for references. \cite{<F9>} not will always open an empty outline window ...
31 views

### How to use gnuplottex?

I want to use gnuplottex, but even example from documentation don't work. \documentclass[a4paper]{article} \usepackage{gnuplottex} \begin{document} \begin{figure}% \centering% ...
36 views

### How to rename acknowledgment

Question: As a Chinese student, we are asked to use some extremely stupid template where it is "致谢"(the Chinese of acknowledgment) on the places of where "Acknowledgment" should be. I have a simple ...
19 views

### Setting Exact Length for producing a CV

I am currently working on my CV. I found a template online, and the code at the beginning is as follows: \documentclass[margin,line]{res} \oddsidemargin -.5in \evensidemargin -.5in ...
44 views

### Cannot find bibliography

I am working on my thesis and apparently, when compiling the file, it does not find any bibliography file, whereas this is actually located in the same path as my thesis file. The code I have is: ...
22 views

I wrote out my table of contents as follows: \begin{document} \pagestyle{fancy} % The page style headers have been "empty" all this time, now use the "fancy" headers as defined before to bring them ...
18 views

### Problems compiling outside of sharelatex

My tex file compiles in sharelatex, with a few minor errors, but it works. The problem is that when I try to download the project file and compile it in texmaker it has a huge list of errors. These ...
16 views

### MATLAB generated Tikz not working

When trying to use a .tikz file generated from a MATLAB script, the .tex file errors and is not able to build. The .tex code is as follows: \documentclass{article} \usepackage{amsmath} ...
51 views

### Make a smoother plot of functions with pgfplots

The following code gives me a plot which is not very smooth. It looks like several points (with spacing 0.5 in the horizontal direction) are drawn first and then connected by straight lines. What ...
16 views

### How do I get the value of 'columnwidth'? [duplicate]

I am using the ACM SIG Template for a conference paper (a two-column document). And I'd like to insert several figures plotted by matplotlib. I was wondering what is the width I should set for ...
20 views

### How to change the line spacing within an equation environment? [duplicate]

see this post Example; \begin{equation*} \begin{aligned} 1 + 2 = 3 \\[3mm] 3 + 1 = 4 \\[3mm] 4 + 1 = 5 \end{aligned} \end{equation*} I find that I'm often adding the [3mm] to the ...
13 views

### BibLaTeX automatic capitalization of pubstate in entrytype thesis?

I have a bibliography entry of type thesis, with institution and pubstate given. In the citation, this results in a dot after the institution, followed by uncapitalized version of pubstate. I would ...
I noticed this on accident (I actually meant to render \mathbb{N}_0). Take the following example \documentclass{article} \usepackage{amsmath} \usepackage{amssymb} \begin{document} $$\mathbb{N_0}$$ ...