# All Questions

31 views

### Highlight differences between character sequences

I have got some character sequences which I need to put into a documentation: \documentclass[a4paper,10pt]{article} \usepackage[utf8]{inputenc} \begin{document} \begin{table}[h] ...
83 views

### Figure placement specifiers being written as text

All I'm trying to do is add placement specifiers to my figures with eg.[ht]. Instead of using them as arguments, latex decides to literally write [ht] into the pdf as text. So here is my sample ...
20 views

### Question marks in cross-referencing after using pdflatex command

I am working on a software, to automatically generate *.tex-files with some predefined and generated text inside. After generating the files, I am calling the Windows command line (CMD) and try to ...
47 views

### Plotting connected oriented graphs in tikz?

Oriented graph is a digraph without symmetric pair of directed edges. The below contains the first graphs but I am interested in the next graphs: the number of connected oriented graphs increases ...
41 views

### How to use a \pic in a node's text area {}?

How can I achieve that the \pic "lightning" will appear in the node's text area? I cannot use it there, so I have commented it out. I know or think it's a completely different "environment" (a text ...
17 views

### Extract text from items

This is my document: \documentclass{scrreprt} \newcommand\foo[1]{#1} \begin{document} \foo{% \begin{itemize} \item[x] hello \item[y] world \end{itemize} } \end{document} I'd like to extract the ...
20 views

### How to add figure in latex file without having them on list of figures [on hold]

I have added four images as four pages but I dont want to have them on list of figures.How can I avoid this situation?
21 views

### Titlesec, space between header and chapter style

I tried to adapt @Bernard solution to my case, but I am facing some troubles. It is possible that I just simply don't understand the code, but I tried to change almost every parameters, and I can't ...
12 views

### Pagebreaks cease until next chapter — bigfoot?

I took about 5 pages out of a large document, and as a result of this, about 20 pages from 10 pages above disappeared. The last page before the missing page has no bottom margin. However, the ...
36 views

### How to make a layout with colored boxes around sections

I am trying to reproduce the following layout with latex: Is there any package or document class made for such a layout? The example is made in word using tables. But I think using tables in latex ...
30 views

### How are large-scale matrices typeset?

I have a 36 by 36 matrix that I need to include in a statistics paper. I have the matrix in Maple (can be exported to Excel or Matlab), but I want it in "tex"-style inside my paper and in a small ...
21 views

### Table formation using Multirow, tabularx

I am preparing an article having a table, for a Springer journal. I am using tabularx, multirow. My table code is attached. I am not able to bring the lines 'xxxxxxxxxx xxxxxxxxxxx xxxxxxxxxxxx' and ...
47 views

I have a problem for making the table of contents in latex. Latex is making a blank page after the table of contents how to eliminate it? I want to reduce the font of the word Contents by setting ...
66 views

### Small corrections needed for game tree

I've drawn what I would like the result to be: The current game tree looks like this: With the current code: \documentclass[12pt,twoside]{book}%{book} \usepackage[a4paper, hmargin={2.5cm, ...
48 views

### Error while generating pdf

I get this error while trying to generate PDF. Please help. ! Undefined control sequence. l.19 =1mm \tabulinesep =1mm
22 views

### Difference in behaviour of glossaries in article and beamer

I'm using glossaries-extra in a beamer-document to typeset acronyms and a glossary. As it is good practice in german texts to italize english technical terms I wanted to do so with some acronyms, too. ...
43 views

I am running the following code in texlive (latest version) in linux and got the error Unknown graphics extension: .eps. . I tried removing .eps extension but it gave me file.eps not found. my path is ...
10 views

### Coloring citations in the text

(possible duplicate) hi, i try to color my citations using hyperref package. here is my preamble: \usepackage{geometry} \usepackage{setspace,scrextend,sectsty,microtype,endnotes,xcolor} ...
25 views

### Table foot note not showing

I am trying to use footnotes in a table, and I saw a regular \footnote{} wouldn't work, but \tablefootnote{} should be used instead, therefore importing its package. I did that, but the footnote is ...
26 views

### How to insert a picture, which has a height of 30% of the height of the text?

What is the use? \begin{figure} \item { \includegraphics[height=0.3\lineheight]{./images/filename} } \end{figure}
10 views

### Wrong page reference of bibliography

I would like to make a page reference to my bibliography, but it refers to the last page of the bibliography (page 2 e.g.). I assume it's because the label in the master document is after the ...
26 views

### Missing table borders when using tabularx

I'm using tabularx with this solution: http://tex.stackexchange.com/a/12712 to achieve right alignment in a variable column width based on content size with linebreaks. I would like the result to ...
25 views

### Automatically citing all entries with keyword

Is there a way with biblatex to automatically cite all papers with a certain keyword or from a certain resource, while keeping the original citation order and adding the uncited publications at the ...
20 views

### Unable to generate PDF by using MikTeX/Doxygen

I have basic-miktex-2.9.5872-x64 installed in my system. I use Doxygen to generate online help files. By using Miktex, I want to generate .pdf files from the online help files. But I get the ...
22 views

### Why does applemac inputenc not work anymore for umlauts?

In order to type umlauts in latex (with Texshop) like e.g. 'ä' I used to be able to just add \usepackage[applemac]{inputenc} at the beginning of my .tex file and I'd be able to compile umlauts. ...
12 views

### Implementing a new environment for Log Entry Journal

I am trying to define a new environment to create a log journal. In the left margin I wish the display the entry date. Each entry should be separated from the entry above via blank line and have a ...
22 views

### Unwanted space after author name when using \citep

I am new to LaTeX and am having trouble when using \citep. Whenever I use it there is an extra space that is inserted after the author and before the comma. This is an example of what I get: known ...
22 views

### Forcing latin alphabet as a footnote mark

in a multilingual document (greek and english) i want to change the footnote mark from arabic numbers to the latin alphabet. here is how i try to do it,but when i compile it with xelatex i get the ...
17 views

### SyncTeX doesn't work when subsection heading matches specific word

I'm writing a thesis and have each chapter in its own file. I use Latexmk for compiling. With one exception, SyncTeX works wonderfully. In one of my chapters, I have \subsection{Scintillations}. ...
36 views

### isolate source of error

What is the best way to find the source of error Paragraph ended before \underline was complete.? As far as I know this could be any missing parentheses whatsoever. I got several files for text that I ...
76 views

### Image overlay generator - How to annotate sub-images in the center of each overlay box? (caption-diagram next to original image)

The LaTeX Overlay Generator is a great tool to annotate sub-images of an image in a LaTeX-caption way. It names itself "Visual Overlay Generator v0.0.1", as it creates a visual overlay: a diagram ...
21 views

### Overthinking it: document class report vs book for a thesis [duplicate]

I apologize in advance for the long wall of text; there is probably some way to condense this question to half the size without losing anything important, but I'm not sure which half to remove. I ...
204 views

### How to redefine the \today with superscript?

How can I redefine \today so that today's current date comes in the format May 26th, 2016 I need the "th" to be superscript. It should come to the bottom right corner of the page. The code does ...
8 views

### How to output the solutions/answers in two or more columns in eqExam?

The default format for the solutions output in eqExam is in single column. Many times I just want to give an answer or a hint instead of a complete solution, so I would like to output the answers in ...
21 views

### how to write algorithm in latex?

I want to write this algorithm: for(i=0;i<nbOfPedCurr;i++){ for(j=0;j<nbOfPedPrev;j++){ int idCurr=idCurrentFrame; int idPrev=idPrevFrame; if(idCurr==idPrev){ ...
50 views

### How to color an semiplane delimited by one axis?

In my code below I made an complex plane with the real axis and imaginary axis CODE: \documentclass{article} \usepackage[brazilian]{babel} \usepackage{tikz} \begin{document} ...
37 views

### Changing an index from \alpha to k [on hold]

I am using Tex Studio at the moment. I have a variable written in tex as m_\alpha. After typing 50 page worth using this variable, I had a change of mind and decided that all instances of this ...
29 views

### Conflict between ruby and xeCJK

In my preamble I call xeCJK and ruby in order to add ruby text to Japanese characters. I'm compiling with xetex. Someone mentioned in an earlier post that ruby calls CJK causing a compile error (the ...
15 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 ...
67 views

### Present reference in a table

Update 1 I use biblatex and bibber to create my bibliography. the reference section contain a list of the articles referenced. How can the reference section be changed that the reference appear in ...
39 views

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

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. ...
20 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} % ...
40 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] ...
19 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 ...
29 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 ...
41 views

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

I would like to move the matrix on the left side, alligned with the text. Do you know how to make it? \documentclass[10pt,a4paper,titlepage]{book} \usepackage[paperwidth=165mm, paperheight=238mm, ...
28 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: ...
46 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 ...