# All Questions

8 views

### How to make expectation symbol and max symbol line up

Suppose you prefer the max symbol to be centered (height-wise) compared to a capitol letter that is taller. How would you do that. For example, below \documentclass[14pt]{beamer} \usetheme{Madrid} ...
14 views

### When should one place an % at the end of a line to prevent the insertion of unwanted space [duplicate]

I understand that a % character at the end of a line prevents the insertion of a space in the text. However when creating macros I am unclear when you should place a percent sign at the end of a line, ...
40 views

### Change engine for “latex” command on terminal

First of all I'm working with ePiX For those who have never heard about, epix uses Latex. To compile, ePiX runs latex command on terminal. I'm always getting a message saying I've got memory limit. ...
21 views

### How to refer to a result of an equation [duplicate]

I have a question: is it possible to \ref a result of an equation? For example I have something like: A is: A = \frac{B}{10} B is: B = 1 + 2 = \somelabelfunction{B}{3} %I want this to show the ...
28 views

### What's the proper way to center tabu?

I'm trying to create a longtabu that is a bit wider than the normal margins. other answers refer to adjustwidth and tabular/tabularx/table. They don't appear to work for longtabu/tabu. ...
22 views

### figure and figure* with inconsistent orders

How to have figures of both types \figure{} and \figure*{} ordered correctly among one another? I have elements of both types \figure{} and \figure*{} in a document (its class is ...
24 views

### How does one manually place \thanks text?

I'm using beamerposter with the confpresentation style to create a poster. I want to include the author email addresses in the header along with the department, and I want to do it \thanks-style. ...
18 views

### Theorem numbering with sub-theorems issue

I have a small project for my mathematics degree and have run up against a small problem. I want to have nested levels of theorems/definitions, for instance in the following code it should produce ...
30 views

### How to align text and picture horizontally and vertically?

I am trying to align text and a picture horizontally as well as vertically. So far I have tried it using TikZ. I managed to get the effect alignment of the items in either direction, but not for both ...
67 views

### Fontspec: Bold Small Caps with Alegreya Font

I'm using the Alegreya font in XeLaTeX and, after scouring the fontspec documentation, I can't figure out how to specify the bold small caps font (not to mention the italic small caps). I feel like ...
26 views

### Textures under OSX

I use Textures 2.2.0.18 under Mac OSX 10.6.8. Works perfectly. My question is: is anyone using Textures under more advanced versions of OSX, for instance 7 or 8? Thanks in advance.
24 views

### Vertical alignment multirow

I have this code here and I would like to know how can I center (vertically) the first column. Now I have {Feb, 2014 -- Present} at the top of the table. \begin{tabular}{l|p{12cm}} \ {Feb, 2014 ...
27 views

### Could you please help to to know which part(s) in my code should I change to decimal numbering

please help me with my code , I cheched this page but I also want to put my code if you would guid me which lines exactly to remove and which ones to add , cause it's a bit chaotic, thank you so much ...
33 views

### Unable to reach MikTeX items from Start Menu

I would like to have MikTeX (the tex compiler) know of a *.sty file for purpose of displaying Stata output. (Basically, I would need to have MikTeX source the a "texmf" directory in which there is a ...
12 views

Let's consider this MWE \documentclass{beamer} \makeatletter \setbeamertemplate{frametitle}{} \setbeamertemplate{headline} { \leavevmode ...
13 views

### Minitoc and unnumbered chapters

I am writing my thesis and I have the following problem with the minitoc. I would like my first chapter (the introduction) to be unnumbered. But when I use \chapter*{Introduction} all the ...
40 views

### Numbered \newcommand without enumerate

How to add numbered problems within chapters and sections but not with enumerate. Problem must have variable as defined below. \documentclass[10pt,a4paper,oneside]{article} ...
15 views

### How can I use \multicolumn in a \pgfplotstable table?

In my experiments with pgfplotstable, I've run into some bumps: merging multiple columns adding formatting commands to text within cells Problem I cannot seem to properly add a \multicolumn{}{}{} ...
11 views

### Fit bounding box to gnuplot legend

Summary: Is there a way to automatically reduce the bounding box of an eps file to only fit displayed text? Details: A while ago I asked a question about combining multiple gnuplot graphs into a ...
24 views

### utopia font type in fourier package shrinks my document

I would like to use the utopia font found in the fourier package, but when I add \usepackage{fourier} a 5 page document shrinks quite a lot, even though I'm using the same font size! The problem ...
16 views

### How can I use formatting commands in a \pgfplotstable table?

My first reaction to reading the pgfplotstable manual was: Why would anybody in there right mind use the tabular environment for generating tables? Advantages of pgfplotstable No need to specify ...
142 views

### Logo hexagon in the form of a ribbon

I wish to make a logo like the one in http://math.et.info.free.fr/TikZ/aideLogoSite.html. But with a hexagon pattern as in the attached picture. It has no text, and it is better with two options: ...
30 views

### Extract the last word from a sentence stored in a variable

I want to extract the last word of a sentence stored in a variable, e.g. \thevariable. Here is the minimal example. \documentclass{article} % Function to extract the last word of a sentence ...
11 views

### Which heading section is appropriate to reference your online publications (e.g. blog posting, etc.)? [on hold]

I am updating my CV using xelatex + biblatex. For my own publications, I have the following sections Journal articles Conference proceedings Book chapters I would also like to include the articles ...
22 views

### Referenced equation numbers not shown in unreferenced equations

I like very much the mathtools option showonlyrefs which allows that labels of an equation are displayed only, if there is a reference to the equation. The problem is, that references in an equation ...
12 views

### How to ignore undefined references (e.g. when temporarily commenting out whole chapters)?

I'm working on a fairly large document, and compilation times are somewhat annoying. My general workflow is to use: latexmk in continuous mode to compile the document (pdflatex), and rubber-info on ...
7 views

### Equivalent of newdateformat in datetime2?

The datetime package has recently been withdrawn and replaced by datetime2. Any idea for the equivalent of newdateformat in datetime2 ?
11 views

### Problem with \multinamedelim and \DeclareNameFormat in Biblatex

66 views

### How do counts differ from numexpr

To do basic arithmetic on numbers, one can utilize TeX counts, \newcount\c \c=2 \advance\c 3 \typeout{\the\c} LaTeX counters \newcounter{c} \setcounter{c}{2} \addtocounter{c}{3} \typeout{\thec} ...
43 views

### tikz picture with LFG architecture

I have a jpg file showing the LFG (Lexical-Functional Grammar) architecture which I would like to draw using tikz, so that I don't have to load the jpg into my pdf (which would result in quality ...
33 views

### mathcal and mathdesign with svjour class

I'd like to use mathdesign but I still want regular old mathcal. In this question it was suggested to use \let\mathcal\undefined \DeclareMathAlphabet{\mathcal}{OMS}{cmsy}{m}{n} which works fine ...
22 views

### why my time shows up in another language than english?

I use the following code but the date is written not in english \documentclass[12pt] {beamer} \usetheme{Warsaw} \usepackage[utf8] {inputenc} \usepackage{amsfonts} \usepackage{amsmath} ...
15 views

### Display max value of an y bar stacked plot

The following MWE generates an y bar stacked plot: \documentclass{standalone} \usepackage{pgfplots} \begin{document} \begin{tikzpicture} \begin{axis}[ ybar stacked, ...
28 views

### Automatically setting table row height

When creating a table, Latex sometimes doesn't fit the row height well, making the content intersect with the borders as in the following: Notice how the first row is too short while the second ...
5 views

### Using custom-aligned subarray in LyX

I need to write a vertically stacked subscript in a notation meant to say "evaluate expression at k=..., and k'=...". In the end it should look like / SOME \ | BIG | \ ...
59 views

### Auto spacing in math mode

I have a long line of math expression, which is as follows: \$verylongword verylongword verylongword verylongword verylongword verylongword verylongword verylongword verylongword verylongword ...
8 views

### Beamer style file: footline drops out of slide if used only from slide 2 on

I'm in the process of creating a style file for a Beamer presentation. Most things are straight forward but I have some issues with the footline. In particular, I don't want a footline on the title ...
18 views

### luatodonotes and tikz externalization won't mix

Consider the following code: documentclass[11pt]{report} \usepackage{pgfplots} \usepgfplotslibrary{external} \tikzexternalize %\usepackage{luatodonotes} \begin{document} \begin{tikzpicture} ...
10 views

### Center text inside special indentation environment with \addtolength

I want to center the sentences "Firma del jurado" but \begin{center} doesn't work. How can I center these sentences? {\addtolength{\leftskip}{0.5\textwidth} Nota de aceptación:\newline\\ ...
28 views

### Drawing a 3 dimensinal region

I want to draw a region in a 3D envirement. At the moment I'm doing this using tikz. The region is defined by the addition of a translation (1) and a rotation (2). The resuling region in 2D would be ...
43 views

### How to insert three images in one slide?

I am having a problem with inserting three images to one slide There is one similar question How to put 3 figures in one slide in beamer? However, this one is when one wants to put text there. ...
51 views

### Tabularx and multicolumn

When I try to use multicolumn inside a tabularx environment, I get this weird behaviour; where the column doesn't fill the whole width. Anyone know why this is happening, and how I can fix it? ...
8 views

### Different sorting of todonote items in \listoftodos

I use the todonotes package and produce a list of todos at the end. However, I'd like to order the todonotes according to their occurrence in the text, not by the page number. Is that something one ...
144 views

### Relative node position

I am trying to replicate the very simple figure shown below Below is the attempt I have made \documentclass[a4paper]{article} \usepackage[english]{babel} \usepackage[utf8]{inputenc} ...
26 views

### How to place captions to each figure in beamer

I am facing a problem with inserting figures and their caption , my code is as follows \documentclass{beamer} \begin{document} \begin{frame} \centering \caption {example1} ...
9 views

### Compiling current text block in WinEdt

In WinEdt there is a toolbar button for compiling current selection of the document. But is it possible to compile current text block without manual selection? By text blocks I means parts of text ...
15 views

### Box of listing starts one page too early

I have the problem, that the box of a listing starts one page too early: Is it possible to allow the listing spreading over two pages, but not if there is an "empty line"? MWE: ...
8 views

### Problem with bottom margin in “margin” style of res.cls

I'm creating a resume using the res.cls package and I'm using the margin style option, which specifies that section titles are to the left of the body text. This essentially makes it look like there ...