# All Questions

54 views

### What does this preamble do? (dvips) and (epsf)

I am in the process of converting an author's paper into a journal template and I am having a great deal of difficulty understanding what this portion of their preamble does. ...
20 views

### Issue with page breaks before section and toc hyperlinks

I need page breaks before each \section{...} of my document. According to this thread: Start new page with each section I am supposed to add following command: \newcommand{\sectionbreak}{\clearpage} ...
127 views

### Brainf**k Interpreter in LaTeX

Is there a way to build an interpreter for LaTeX to Brainf**k? A short introduction on how to tackle the task would be appreciated.
57 views

### How to put two labels for one figure

I have one picture, but in fact it is a combination of two figures. Therefore I am able to use \includegraphics only one time. Still, I want to use two labels for left and right side. I searched for ...
13 views

### kvoptions declare local complementary options

Given the following declarations in a tst package using kvoption \ProvidesPackage{tst} ... \DeclareBoolOption{abc} \DeclareComplementaryOption{cba}{abc} Which is the correct way of declaring both ...
31 views

### Bigger rows with fractions in pseudocode

I had previous question how to write pseudocode in latex. I would like to use fractions in pseudocode, but rows with fractions are a little small. Anybody know how to make rows with fractions a little ...
19 views

### TOC Spacing between number and header [duplicate]

How do I increase the spacing between the subsection number and header name in the table of contents. I am using www.sharelatex.com. When I have a large number of subsections the section numbers and ...
47 views

### Highlighting a backslash with showexpl or listings

Is there a way to highlight a single backslash (\) within LaTeX code with listings or showexpl? In the following example, \LaTeX is correctly highlighted, but not the following backslash. ...
32 views

### Vertical alignment when title is empty in beamer template

I'm using a customized template for Beamer. Among other things, I have completely rewritten the headline template. However, when I use a frame without title, the vertical alignment is not the same as ...
59 views

### How to remove the capitalization of names

I would like my name to not be entirely in uppercase. This is my .tex file. %---------------------------------------------------------------------------------------- % PACKAGES AND OTHER DOCUMENT ...
30 views

### DeclareLocalOption of kvoptions does not work [on hold]

Consider the following tst package: \NeedsTeXFormat{LaTeX2e}[2011/06/27] \ProvidesPackage{tst}[2014/12/01 v1.0 tst package] \RequirePackage{kvoptions} \RequirePackage{etoolbox} ...
26 views

Could you help me please how can I write a piece of pseudocode with function in latex? \begin{algorithmic} \STATE \mathrm{maxWeight} \leftarrow \mathrm{value of e.weight where e has maximum ... 0answers 21 views ### create two column resume with extra data on right column I'm looking at creating resume using Pandoc but need help on the LaTeX side. I would like a column on the left with the main content. Then a column on the right with "bullet" points. The column on the ... 1answer 44 views ### padding for cells of one column not for all cells of table I want that just one of my columns cells have top padding. I tried : \def\arraystretch{factor}% but the result is not ideal. because I don't want all columns have the top padding. is there anyway ... 0answers 13 views ### Nomenclature wants to end some line I am in trouble with nomenclature. My MWE is taken from Add nomenclature to TeXworks, it creates (according to the log file) the .nlo and .nls files, but when \printnomenclature, presents with the ... 2answers 58 views ### how to have a caption on top of longtable? I want to have a longtable like this: \begin{center} \begin{longtable}{|p{2cm}|p{3cm}|p{7cm}|p{3cm}|} \caption{my caption} \hline 1 & 2 & 3 & 4\\ \hline \hline 1 & 2 & 3 & ... 1answer 29 views ### pdflatex-biber runs do I have to run pdflatex twice after biber, or once is enough? pdflatex doc biber doc pdflatex doc I could have swear that I read in the documentation that (unlike bibtex) a single pdflatex after ... 1answer 40 views ### How to vertically center the cells of one column in a TikZ matrix? Is it possible to vertically center the cells of one column in a TikZ matrix? Adding nodes = {anchor = center} vertically centers all of the cells, but I would like to retain the bottom alignment of ... 1answer 31 views ### How to apply Memoir manual's fix to allow \MakeTextUppercase in toc with hyperref There is a known conflict between the memoir class and the hyperref package. hyperref cannot process Table of Contents headings that include the \MakeTextUppercase macro. The memoir manual (texdoc ... 0answers 20 views ### Eliminating white space after input generated in Stata I have a question about an extra white space that is appearing after I use \input to call a file. I'm not sure if this is relevant, but the file I'm inputting is a table generated by the esttab ... 0answers 33 views ### A problem of pagenumbering in latex I have a problem with pagenumbering in my document. when I use \pagenumbering{roman} for appendix, the page before the first page of appendix (last page of reference), has the number (I) and ... 1answer 44 views ### Improve flow chart template with rectangle split I'm try to build a flow chart template: \documentclass[11pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage{amsmath,amsfonts,amssymb,graphicx} \usepackage[left=2.00cm, right=2.00cm, ... 0answers 37 views ### Reference does not work for me I dont know what is wrong, but reference wont work for me. Can someone help. 0answers 22 views ### exsheets: printsolutions[all] versus printsolutions per chapter/section I am trying to format the printsolutions' output differently from chapter to chapter (or even from section to section) so I need to print the solutions per chapter (section). I will use the MWE from ... 1answer 28 views ### Paragraph spacing within minibox I have tried all kinds of gimmicks, but I am stuck trying to reduce the double-spacing within the minibox to single space. (Obviously, I want to keep the global \onehalfspacing option.) This sounds ... 1answer 60 views ### How to show multi-choice answer key at the end of the document? I want to show the answer keys at the end of the (multiple-choice) exam page. I have a bank of questions and answers (always the first answer in the bank is assumed to be the right choice), and some ... 2answers 51 views ### Stretch line to \textwidth without starting a new line I have a figure, containing three subfigures with captions and a caption for the whole figure, that all together takes more than a whole page. I can change the geometry for the particular page where ... 4answers 85 views ### Increase row height in align* cases environment I'm trying to use cases to present some equations with fractions, and finding that the lines are too compressed to be easily read. Is there a way to increase both the spacing between lines and the ... 2answers 71 views ### Space between variables in a large equation and reduce size of powers? \resizebox{.8\hsize}{!}{<\mathscr{F}>=\frac{\int_\Gamma d^{3\!\!N}\!\!\!q\, d^{3\!\!N}\!p\, \rho(q, p) \mathscr{F}(q, p)} {\underbrace{\int_\Gamma d^{3\!N}\! \!\!q\, ...
78 views

I'm a professor and I use the "exam" class very often in LaTeX. \begin{solutionorlines}[4cm] creates 4cm of space for students to answer. When I type \printanswers it shows the answers but it ...
90 views

### What does the mandatory constraint type in biblatex do?

The biber/biblatex data model allows the user to specify constraints on the data model with \DeclareDatamodelConstraints. In the default data model defined by blx-dm.def there is: ...
17 views

### Animate Options label,nomouse,step

it seems that i have some problems with the animate-package. Some of the options from the manual like nomouse, step or label=* are producing errors: Package keyval Error: nomouse undefined I am ...
318 views

### How to typeset an open circle with a dot inside, on an Internet forum?

I need to somehow put this symbol: And of course I mean this semi-open circle with a dot inside, right after "a_n". I have seen it in a TeX document, this one: ...
26 views

### Fonts used in SVMult package - problem with \mathcal

I am using SVMult class (Springer package for contributed books). By default the document includes the following packages: \usepackage{mathptmx} % selects Times Roman as basic font ...
63 views

### Writing manual summation of two numbers

How would you write a manual summation of numbers in TeX? That is, something like this(not necessarily identical):               ...
70 views

### \prevdepth and \noalign

In The TeXBook it says The value of \prevdepth at the time of the \halign is used at the beginning of the internal vertical list, and the final value of \prevdepth is carried to the enclosing ...
30 views

### How to force stop on missing input file?

I noticed that if I mistakenly \include a file that does not exist, such as when mistyping the name of the file, the compilation continues with no error, no warning, and just a message 'No file ...
134 views

### Trouble with a table in latex

I am trying to create a table using the following code: \begin{center} \begin{table}[h!] \begin{tabular}{|l|l|l|l|}\hline \\ Test users & Operating system & Browser & Screen ...
41 views

### caption for \starttables

How can I put caption for a \starttables? I am using context to generate a pdf with captions on top of tables, which are to be auto-numbered. I have tried \placetable, but without any success. Also, ...
24 views

### line-breaking across all document/objects automatically?

I find myself manually fixing long variable names between  and \texttt{} and other objects (there are plenty of those in my document since . Those fixes don't hold well after text changes, and ...
64 views

### Tikzmark between syntactic tree and matrix?

I am trying to draw a line between the S node and the matrix, but have not been able to get it to work. What am I doing wrong? MWE: \documentclass[a4paper,12pt]{article} \usepackage{fontspec,tikz, ...
48 views

### Indenting text after numbered paragraphs

I have a 60 page document with numbered Sections, subsections and paragraphs. All the paragraphs are numbered. I want all the text to be indented evenly after the numbered paras, such as the following ...
648 views

29 views

### plot matrix with epslatex

When plotting a data matrix with the plot command and epslatex terminal the generated image is correct. However, the generated latex file outputs also the source path, i.e. 'Date/data_file.txt'. Any ...
45 views

### Adding a specification concerning two daughters, one with special status, in forest

I want to produce the following figure with forest: So what I am looking for is a style specification that says that daughter 1 (frapp) and daughter 2 (ant) together relate to A. Daughter 2 (ant) ...
80 views

### How to solve the Arithmetic overflow problem?

I was making an article and everything was going alright, when suddenly I got an error: The error: Arithmetic overflow. \calc@Acount l.78 ...qwe dqweqwrwf qewrfrQ aRF EFCas drfFR}{62} My article ...
182 views

### How to align long array?

I use Mathematica and the command TeXForm to convert Equation. The array is too long. I try to find a way but I can't align this equation. How can I do? \documentclass[12pt,a4paper]{article} ...