# All Questions

38 views

### Resize or scale displaymath environment

I would like to resize the two schemes I made with the displaymath environment. However, I cannot find anything helpful. I'd like to fit both schemes into one page. My code is the following: ...
18 views

### How to create a “running” (= non-list) bibliography? [duplicate]

I want to create a "running" bibliography. That means that each entry do not start at a new line after a carriage return, but is simply separated from the previous one with a symbol I want to chose ...
99 views

### Would you know a Weekly Calendar template (53 weeks)?

Would you know a Weekly Calendar template (53 weeks), similar to the image below?
869 views

### I need a TeX-donkey

In my town there will be next weekend an exhibition with 7000 donkey images. It is related to a sculpture group with 7 donkeys called "donkey's way" which will be installed in the summer. I would ...
11 views

### Store and reproduce effective graphics scaling

When an image's length is scaled to a variable length, say \textwidth, how can I determine the effective scaling factor? \includegraphics[width=\textwidth]{image.pdf} I would like to use it to ...
18 views

### What is the bibliography style similar to 'jneurosci' but without italics for journal field

I have been struggling to write my reference list according to the following style given by journal of ERE: Smith J, Jones M Jr, Houghton L et al (1999) Future of health insurance. N Engl J Med ...
14 views

### Cross-references to labels in subequations+gather environments fail to point to the correct place

The labels in my subequations+gather environments fail to point to the right place. See below. % Using MikTeX 2.9 on Windows 7. Compiling with TeXstudio 2.10.8 \documentclass{article} ...
19 views

### Conditional text height based on paper size

How to I make the text height in a document change dynamically based on the selected paper size (letter or A4). \documentclass[a4paper]{article} \setlength{\textheight}{9.2in} % change this ...
116 views

### Calculate TikZ coordinate with Koma's BCOR

I use the KOMA scrreprt document class and I specify a BCOR. Now I want to draw with a TikZ overlay, which respects the BCOR. My command to get the BCOR setting is the following. Maybe that can be ...
37 views

### Strange space between proof and the next definition

I am experiencing strange vertical spacing between a proof environment and the next definition environment of the amsthm package. For example, \documentclass{article} \usepackage{amsmath} ...
23 views

### Making a plot of a sumfunction

I want to make plots for different values of k of this function: $\mathbb{P}[A=n] = \frac{1}{k} \cdot \sum_{l=0}^{n} \frac{l^{n-1} (k-1)^{n-l}}{e^{kl} \cdot l!(n-l)!}$ Can anyone help me? Best, ...
22 views

### TikZ: Cut arrow at bounding box of a child node

I'm trying to create a tree-diagram in TikZ using the following code \documentclass[tikz,border=10pt]{standalone} \usepackage{tikz} \usetikzlibrary{arrows} \begin{document} \begin{tikzpicture}[ ...
29 views

### Line on the left and right of sections names

I'd like to have lines on the right and left of every section name. Kind of like this but instead of having just a bit of text and adding lines to fill the textwidth, I'd like to have the section name ...
29 views

### lecturer.tex and xetex

I am experimenting with lighter-weight alternatives to beamer, and found lecturer.tex interesting. However, it depends on PDF-specific features, thus it compiles under pdftex. If I try to use xetex I ...
31 views

### scrartcl: Set footnote marker outside the mark width box

In the scrartcl package, the \deffootnote command is used to adjust the typesetting of footnotes: \deffootnote[mark width]{parindent}{indent}{definition} … which affects the footnote layout like ...
17 views

### Line break character in equation code

Equations are sometimes part of the text, for example in \documentclass{article} \begin{document} The Pythagorean theorem is often stated as the equation \[ a^2 + b^2 = c^2 . ...
10 views

### Create custom tabular environment

In the process of creating a beamer template from a PowerPoint template, I am trying to create a tabular environment with colored rows, lines between the rows and specific header and footer styles. ...
20 views

### Changing table title from Table to (chapternumber.sectionnumber.tablenumber)

Instead of my table having the title Table 1.1.8: My table, i need it to have title simply (1.1.8) with no caption (like numbering a table in a math book). How can i achieve this?
30 views

### latex background image issue

Using the Latex eso-pic package I am inserting a background image using the following lines: \AddToShipoutPictureBG{ \AtStockLowerLeft{ ...
6 views

### Display fake uppercase figures with CSS? [migrated]

the webfont we use, does only have medieval figures. Is it possible to display fake uppercase figures with CSS or JS? Is there any solutions on this matter? I have already tried it with CSS: ...
9 views

I compile everything correctly. It is shown a document as I wanted it. But then, on the bottom of the page, it is written: errors: 0, warnings: 0, bad boxes: 31. What are those Bad Boxes?? That ...
34 views

### pinlabel doesn't work after upgrade to luatex 0.95

I use extensively pinlabel package in my project, which I compile with LuaLaTeX. After recent MiKTeX 2.9 upgrade, I cannot compile the project any more, getting numerous errors like ! Undefined ...
14 views

### Set different styles for “main” caption and description

I would like to redefine the \caption command to have to arguments : one "main" caption and then the description. This is what I want : \begin{figure} \caption{\textbf{Caption title} \newline ...
35 views

18 views

### Invoice specifications

I am trying to make an invoice which comprises two parts. Each of the parts will have a \Count. However, I want the first \Count to be viewed as »Number of Days« and the second to be »Per month«. How ...
58 views

### TikZ: discrepancy between node text align and use of babel library

For all labels in my drawings I use the common settings every label/.style = {label distance=1mm, inner sep=0mm, font=\footnotesize\sffamily, align=center, ...
16 views

### Automatically split enumeration over multiple pages

I would need to automatically split a very long enumeration over multiple pages. I've tried several solutions but no one works for me. Please, could you help me? Thank you
69 views

### compiling problem with MikTeX

I installed MikTeX 2.9a few days ago, and now I don't succeed to convert to PDF most of my documents. I don't think that there is a problem with documents themselves, since I compiled them previously, ...
122 views

### How to adjust font features in LuaTeX?

As of version 2.7 of luaotfload the support for font feature files (.fea) has been dropped. On the ConTeXt mailing list Hans showed how to make font substitution work through Lua. In the past I have ...
50 views

### How to use colors from a pgfplots colormap in pie chart?

I like the pie chart from http://www.texample.net/tikz/examples/pie-chart/, but it's in grey color. Then I found the modified version to add colors by "Sigur" here:How to give different color to each ...
13 views

### Text vertically balanced across two pages

In a previous question, I asked how to keep two columns on one page, vertically balanced. The solution was perfect for that purpose. \newenvironment{overview}% {\onecolumn\vtop to ...
42 views

### Combination of arrow tips

I want to have a tip, simultaneously a circle and an end line, in the center of the circle, like the figure 1. I have tried with shorten command as in other posts, but the line end is outside of the ...
52 views

### Undefined Reference Errors in Miktex

I have been getting weird undefined reference errors to 'Last Page' that point to the line corresponding to my end{document}. I have no idea what this means, but in any case, here is a minimum working ...
32 views

### Working on multiple tex files using different fonts using TexStudio - driving me insane

I was working with a Tex file in the standard font, and another in Calibri in Tex Studio. The problem is that I have to switch compiler between the two files. I don't want to use Configure -> Build ...
34 views

### How to use this symbol behind chapter number

I have this answer... Insert chapter Number inside a symbol and a block of text too And it successfully includes a symbol behind every chapter number. However, I wish I could include this symbol... ...
10 views

22 views

### Table column combine

I want to create a table of the following format. How do I combine the two columns CD into A and EF into B.
44 views

### Converting UK to US Spellings [on hold]

My supervisor wishes to use US English for our paper to submit to an American journal. However, I'm based in New Zealand and have written an entire paper in UK spellings. I'd rather not fix these ...
21 views

### Multiple lines of centered text in between curly brackets

I would like to have several blocks of centered text and math within pairs of tall curly brackets, linked by arrows, similar to the following picture. How can I achieve this?
42 views

### How Expand math latex field [on hold]

Math Latex formula field is small This is default behaviour of the Latex plugin. Can the field can be expanded? If yes, then how can I do that? I have browse to fix this solution but none of them ...
23 views

### Latex on Fedora 24

I had to install Fedora 24 (beta as today) because my laptop was too new and needed latest version of Kernel. Everything quite good, but the issue now is that I want to compile latex and seems that ...
32 views

### Weird MetaPost output when using PNG

Whenever I try to output PNGs with metapost, I get really bizarre outputs. For reference, I'm using Windows 7 with MiKTeX 2.9. The metapost code I'm using is adapted from the metafont example on the ...
18 views

### Problems with \declaretheoremstyle \headformat

I'm trying to change the headformat option in declaretheoremstyle, but I'm getting errors, even when copying the code in thmtools that allows \headformat=margin. Here's my preamble: ...
43 views

### Good settings for typesetting source code with wide lines?

I'd like to typeset some source code with minted. Unfortunately, a lot this source code runs over 80 columns, some of it up to 132. What are good settings (and open source fonts?) to use with minted ...
38 views

### Vertically centering a tcolorbox on a page

I'm trying to vertically center a tcolorbox on a page, but with the code below the box isn't exactly at the middle of the page. So far I've tried this: \documentclass[12pt]{article} ...
37 views

### \include not working in SageMath LaTeX

I'm using SageMathCloud's LaTeX. So I've got five .tex documents (all pretty long) with similar formatting. I want to add all five files into one large file that will respect the preambles of all ...
234 views

### A note with the dangerous bend symbol: how to vertically center text and symbol?

I want to make a command (to be used mainly with the beamer class) which typesets a text note with a dangerous bend sign \dbend on the left, the two vertically centered with respect to each other. ...
39 views

### Coordinate Transformation for labeling with PGF-Plot

Difficulty with extracting the right coordinates I use pgfplots to draw a set of data points, fit them with gnuplot and then find the intersection points between the linear fits and a vertical bar. ...