# All Questions

3 views

### Creating a table within a longtable

I have created a longtable by using information from the question asked here. Now I want to create a table with two columns with 3 rows each within the right part of this long table. A pictorial ...
15 views

### Accessing protected member function ! Segmentation fault (core dumped) [on hold]

I am trying to use OGDF C++ library for a project and want to use a protected member function of a class of this library. As can't access protected members directly outside class or derived class; to ...
8 views

### Random selection of file issues

I have tried to create an exam with random questions selected from different files as shown here Accessing randomly selected problems via the probsoln package The code I used works but is only ...
16 views

### Make the footnote in a table at the bottom of current page

Finally, I add footnote in a table. But it does not locate in the bottom of the page. It is below the table. And, \usepackage[bottom]{footmisc} does not work in my case. How could I make the footnote ...
22 views

### Texmaker: Switch forth and back between Bibtex and Biber

I have to work on multiple documents, some of which are under my control and I want to use Biblatex with Biber, others which require to use Bibtex. I use Texmaker on Linux. I find it very annoying ...
20 views

### Looking for \providelength

I need a macro similar to \providecommand. \providelength{\lengthName}{0.5cm} should give me a new length if it is not existing yet. I would like to use the macro to set standard values for a ...
30 views

### Is there a way I can use Tahoma font from Microsoft in latex?

Googling the question yields many posts but no definite answer. Is there a way to use Tahoma font in latex?
21 views

### Documentclass book': How to prevent numbered examples to start over each chapter

So, I am writing my thesis (topic is to do with linguistics) and am using the documentclass book to do this. For my numbered examples I am using the linguex' package. \documentclass[12pt, ...
39 views

### ! Package tikz Error: missing semicolon

I have found this sample of code from here: Block diagram generation in LaTeX. Initially I had some problems while I was compiling the code and I solved them due to copy paste features some of the ...
12 views

### expex “everylabel=\actualexno” causes error in later references

I am having problems with numbers of examples. When I refer to the example (by its label) before it actually occurs, the number is correct. But referencing it after it has been defined gives a wrong ...
14 views

### Using key-value interface for pgfkeys results in error

I've been reading a lot of posts lately on the difference between using the key-value interface and the handler interface of pgfkeys. To my understanding, the same values can be stored and retrieved ...
20 views

### Invert fontsize command in setbeamerfont

I want to customize the frametitle in a beamer presentation. I have a problem with the linespacing, so I use the size*-version. The declaration is size*={<fontsize in ...
27 views

### Section title in header showing the title belonging to the section that begins the page

In the header latex shows the title of the section which starts on a page. I would like it to show the title of the section which is continued from the previous page. An example: ...
11 views

There is an error while creating poster in latex. The error is , Blockquote File baposter.cls not found
42 views

### Hyphenation with Acronyms

I have difficulties getting hyphenation right in long acronyms with user-defined hyphenation rules when trying to prevent line breaks between the long and the short form. \documentclass{article} ...
34 views

### Vertical Alignment of Digits with MinionPro

First of all, thanks for your great help and support - I have been able to find answers to pretty much all my latex questions on here. For this one, however, I could not find a solution. I am ...
152 views

### Are there any way to align this equation?

I have a long equation. I used multline and tried \documentclass[12pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage{amsmath} \begin{document} \begin{multline*} ...
41 views

### Automatically define domain of function

I use the following code to depict mathematical functions. This is my coordinate system: \newenvironment{graph}[2]{\begin{tikzpicture}[scale=0.6] \draw[->] (0,0) -- (10,0) node[right] {$#1$}; ...
27 views

### Texindy sorting Icelandic

I use command texindy -L icelandic -M lang/icelandic/utf8 dict_main.idx to create a list of the names of the photographes, their authors and licenses. But the sorting is not correct (for example ...
38 views

### How can I create full page table with varying column widths?

Concretely, this is what I want to do as described in this picture. Create two columns, one of larger width and spanning the whole page. I understand there is multicolumn but I can't seem to make it ...
89 views

### How to draw a spiral in phase portrait?

I am aware of easily drawing a spiral in the note of nonlinear dynamics. Here are some examples:
44 views

### how write this code using (pseudcode) algoritm2e?

My question is if anyone has an idea if these issues can be resolved, and how? Thanks in advance for your help! Below this question is code illustrating the problems: wanting typing (pseudo code) ...
62 views

### Undefined control sequence (\email, \address) in combine class

I am using the combine class to merge several tex files. Each of these files has a title with the name of the article, name of the author and the author's address and email id. Here is a sample of ...
68 views

### How to ignore everything in the document environment?

Yes, you did read the title correctly! I want to ignore everything that is between \begin{document} and \end{document} when I \input a file. I thought that that would be very simple, just use the ...
43 views

### Changing font size in equations changes superscript size in text (LATeX)

I used \DeclareMathSizes{12}{20}{14}{10} to make my equations larger than the default output of LATeX (I'm using 12pt font throughout the rest of my text). However, the subscripts and superscripts ...
36 views

### Problems with itemize

I had the following situation \begin{itemize} \item[(A_s)] Item (A_s) such that $$\label{sob} \sum_{n}n$$ \item[(B_s)] Item (B_s) \end{itemize} and the result was blank ...
14 views

### Vim complains of Whitespace error with \hspace

When I type the following line in Vim: \hrule height .1mm Why do I get the following error in the Vim Location List: foo.tex|258 error| Whitespace before punctation mark in " ." NOTE: It ...
35 views

### how to put words in several lines in one cell?

The table is too wide, and I want to make it narrower by wrapping the Second under the First, how should I achieve this? The latex code looks like this currently: \begin{table*}[htbp] \centering ...
53 views

### An underline with texts one both ends of a line

I want to make a blank between texts on both ends of a line. For example, \begin{enumerate} \item There \hrulefill\ in the room. \end{enumerate} But, the above appears in student's version only, ...
19 views

### How to add a target directory when you convert from tex file to pdf in Vim-LaTeX?

I just installed Vim-LaTex on OSX. I learnt :TTarget pdf and type \ll to convert a tex file to pdf. When I do this a pdf file is created in the same directory as tex file. How can I add the target ...
29 views

### Numbering figures in beamer while using the caption package

I am trying to number my figures in beamer while using the package caption but it doesn't work. I want to use caption because I can break a line with \\ and I like the way the caption is formatted. ...
36 views

### adding significance levels under regression result table

I have a table as the following: \begin{table}[htbp]\centering \caption{Dependent Variable: Enrollment} \begin{tabular}{c c c c} \hline\hline \textbf{Variable} & \textbf{Model 1} & ...
51 views

### Bump right-aligned text to next line iff no room within a \savebox

This is a follow up to my earlier question Bump right-aligned text to next line iff no room. The difference now is that I need to place this formatted text within a \savebox. In my actual use case, ...
45 views

### How to make lualatex select the correct OpenType features?

After fiddling around with egreg's answer to my previous question, I finally discovered that lualatex is not selecting the tnum OpenType features, that is it uses the default numerals instead of the ...
99 views

### Using KOMA-Script packages with other classes

When speaking of KOMA-Script most people will refer to its classes scrbook, scrreprt, scrartcl and perhaps scrlttr2. But not everyone will know, that part of the bundle are also some packages, that ...
4 views

### tikz has probably problems with czech babel when compiling .Rnw

Problem Tikz seems to have a problem with \usepackage[czech]{babel}. I had a moderately big .Rnw document written in czech with some plots via knitr chunks. When I set dev = 'tikz' the TeXmaker ...
83 views

### Is it possible to make siunitx typeset exponents in “cramped” style?

I'm using siunitx to typeset physical quantities. The result is not always ideal with many exponents in my eyes, because the exponents increase the line to line distance. At least this is my ...
69 views

### Using Tikz, is it possible to draw a cube within a sphere

I would like to construct a diagram of a cube sitting inside a sphere. I can draw them both separately, but need some idea of how to construct the diagram such that the cube sits exactly within the ...
22 views

### BibTeX: How to get rid of a period after author initial?

a have problem with authors initials. A should have a period after a list of authors, but when there is an author, which has only an initial it looks like: "Smith, J.." There are two periods, one from ...
181 views

### Macro: Replace all occurrences of a word

I repeatedly use certain keywords such as var in my document which I highlight using \src{var}. This is cumbersome to type and gets annoying after a while. Repeatedly search-and-replacing var to ...
29 views

### Questions about single and double space, and Arial font [on hold]

We are very interested to know the real thing about two issues: In the first place, we want to know how to implement the space between lines: single space, as well as double space. The problem is that ...
53 views

### Head style and Contenst problem

I have two problems in one. I am writing my thesis using the package fancyhdr, and all my chapters look great. However I have to add some parts, which are not chapter but I would like to have the ...
27 views

### Navigation circles shown for title page with patch for no-subsections

I'm trying to create a custom theme for beamer. However, when I tried to patch the navigation circles to be automatically included without subsections (using the solution of Beamer navigation circles ...
31 views

### To label different parts of pdf page

Assume you have a PDF file with 3x4 pictures. You want to label each picture. How can you label such pictures without cutting manually each picture out separately? Next problem is how you can show ...
38 views

I am trying to produce the Table of Contents same as shown in Picture separately. Is there any template for this? I just have "Table of Contents" but no document attached with it. My problems for ...
12 views

### \the\thislevelcount is available inside a ForEachX loop, but \thislevelitem is not (the forarray package)

I'm trying to loop though a comma delimited list and print out the elements in a table. Here is the code that works half-way for doing this: \documentclass[10pt,a4paper]{article} % ...
21 views

### Biblatex: Improving Dynamic Quotation Command

In Biblatex: Automatic Vgl. & automatic quote indenting (depending on quote length) lockstep creates a quotation command based on previous contribitions by lockstep and Martin Scharrer that ...
22 views

### latex line number in algorithm starting with 9?

I feel confused why the line numbers in the algorithm I created all starting with 9? The code is as followed: \begin{algorithm} \caption{Generating Test Cases} \label{alg1} ...