# All Questions

6 views

### Vim Latex-Suite: macro expands but doesn't disappear

I'm learning to use the Vim Latex-Suite for the first time (although I'm experienced with both Latex and Vim separately) and the macro expansion doesn't seem to be working as it should. For example, ...
8 views

### How to end wrapfigure environment

I used wrapfigure when I want insert a figure, but can's stop it after the figure. I used the code \begin{wrapfigure}[35]{r}{20cm} \documentclass[landscape,12pt,a3paper]{article} ...
8 views

### How to center chapter, section an subsection using memoir?

3 views

### How do I use AUCTeX to perform forward search/synchronization in an included document?

I’m trying to sync my .tex file with the .pdf output with a forward search on OS X using Emacs + AUCTeX and Skim.app. I have added the following code to my Emacs configuration: (setq TeX-auto-save t) ...
7 views

### Does protrusion in pdfLaTeX or XeLaTeX work as it should?

\documentclass[11pt]{article} \usepackage[protrusion=true,expansion=true,final]{microtype} \begin{document} \section*{The Microtypesetting} \noindent A run of the mill paragraph with some text that ...
25 views

### Additional horizontal space when the last line of an environment is full

I have created an environment env which just adds a \medskip and some text (say "Blablabla") after the text inside \begin{env} ... \end{env}. The problem is that if the last line is full, then I get ...
15 views

I'm trying to make the header "margin" bigger. It is to close to the edge. I've been trying to make \setlength{\headheight}{10pt} larger but then the page number moves to much down? Any thoughts? ...
26 views

### In expl3, how do I smuggle in a three arguments when threading sequences?

I've got some code which essentially works as in this MWE: \documentclass{article} \usepackage{xparse} \ExplSyntaxOn \tl_new:N \l_aellett_current_choice_tl \tl_new:N ...
49 views

### What is the recommended way to respond to bug reports for font packages where the bug is caused by characters missing from fonts?

I received a bug report for ebgaramond-maths. Although the issue is clearly caused by my package in one sense, it is not clear to me whether there is anything which I should do about it beyond ...
29 views

### Incomplete trace of a function

Why the curve is not drawn to the point x1 ? \starttext \startMPcode xmin := -1; xmax := 5; ymax :=4 ;ymin:=-4; u := 1cm; pickup pencircle scaled 1pt ; a:=2-sqrt(3); b:=2+sqrt(3); def ...
39 views

### LabelMaker style alá TEX

I don't own a label maker machine but I've found some A4 paper which have a sticky side. Therefore they can be used as labels. I wrote the following code where the \newLabel command should make a ...
10 views

### Writing with RTL language inside of formulas in LYX

I recently started using LYX and it's GREAT! I have configured it for using Hebrew and everything works fine except I can't write in Hebrew inside formulas normally. In the equations it won't let me ...
27 views

### File enum.sty' not found

I am new to latex and was wondering how the error shown below can be fixed in Ubuntu: File enum.sty' not found.
47 views

### Drawing and labeling the sides and angles of a right triangle

The following code instructs TikZ to draw a right triangle AQP with a right angle at Q. I mark the length of line segment AQ by y. How do I rotate by 90 degrees the letter y so that it is upright? I ...
19 views

### How to removing telephone and email from newlfm letter?

I am trying to remove Telephone and Email from the address in a newlfm template in WriteLaTeX. I commented them in this way: %\PhrPhone{Phone} % Customize the "Telephone" text %\PhrEmail{Email} % ...
16 views

### Can I add a footnote (or a paragraph of text) to an index?

Writing about a phenomenon X, I used X acronim too many times throughout the document. I also used many other acronims. It seems that instead of including a long list of page numbers for the acronim ...
88 views

### Is there a way to change the case of digits?

There are alternative glyphs for digits, with ascending and descending elements (such that the rounded part of the character is roughly the size of the minuscule "o"), is there a way to get that kind ...
19 views

### pgfplots, how to select only certain classes to plot

I started to use this fantastic package pgfplots, and I would need a little help. In this example taken from the manual (page 106) \begin{tikzpicture} \begin{axis}[scatter/classes={ ...
14 views

### How can I prevent \newgeometry from affecting bottom margin when changing the side margins?

\documentclass{article} \usepackage[left=2.5cm,right=2.5cm,top=2.5cm,bottom=2cm]{geometry} \usepackage[demo]{graphicx} \usepackage[english]{babel} \usepackage{tikz} \usepackage[utf8]{inputenc} ...
44 views

### What are expl3 equivalents for various macros useful to debugging and a building private packages

When I'm writing my own private style packages, such as when developing them, I find it useful to use \typeout to help me see what I've currently created or figure out what line of code is the source ...
46 views

### How to draw a rectangular cuboid with nodes on both sides

Could someone please help me to produce a pair of the following pair of objects: on the left hand side we have a rectangular cuboid (2x3x3 ''cube'') with nodes on both sides connected by dashed lines ...
32 views

### How to put a short summary at the beginning of each chapter?

I downloaded a thesis template and would like to include a brief summary at the beginning of each chapter. I’ve found the command minitoc but can’t manage to use it in the template. What should I ...
35 views

### How can I broaden a caption?

I’m trying to extend a caption beyond \textwidth. I tried it with \makebox, however, that resuls in an error: \documentclass{article} ...
15 views

### Displaying image with package multicols? [duplicate]

I am having an issue doing as the title says. I did \usepackage{multicols} ... \begin{multicols}{2} ... \begin{figure}[!h] \center \includegraphics[scale=.5]{IMAGE} \caption{CAPTION} \end{figure} ...
45 views

### Does LaTeX3 have something for patching (or appending code to) commands?

Item #12 of http://tex.stackexchange.com/a/148734/18401 suggests that LaTeX3 maybe has something for patching (or appending code to) commands, à la etoolbox or xpatch. Is it the case?
28 views

### How do I parse and include a custom text file

I have a text file containing my own structure and keywords. Does LaTeX have methods to parse(with rules given by me) a file like this before including the result? Here is an example of what I want: ...
38 views

### Is it possible to use beamer's overlay specifications in other documentclasses?

I'm writing an article that involves a lot of diagrammatic calculus, that is, there is a big TikZ picture with nodes and lines and that picture gets modified slightly in each step of the calculation. ...
24 views

### Package epstopdf Warning: Drivers other than pdftex.def are not supported

I have this error when I try to do a 4x4 subplot. I have done many such subplots and I never had an error. It works fine for the subplot before this but the one I am doing now produces this error. ...
44 views

### Change a letter in the alphabet in alphabetic counter

Using an alphabetical counter in arabic by the command \alph, it gives for the first letter of alphabet the arabic letter ا which is not so "beautiful" to use... I want to use the letter أ instead of ...
34 views

### Circle a number inside a table

Open to any and all suggestions / alternative layouts. Need to be able to cleanly circle a number inside of a table. Currently I have this (stolen from elsewhere) and it produces output as attached. ...
34 views

### I have some weird output instead of “blank space ” it appears unknown symbol in LaTeX [duplicate]

I'm writing code c++ in LaTeX using listing...but I have some weird output instead of "blank space " it appears unknown symbol, here is the code of the list: \defverbatim[colored]\lstI{ ...
20 views

### Avoiding hbox overflow problems by falling back to ragged text

I would like the text in my LaTeX document to be justified, unless it would result in an hbox overflow (i.e., words overflowing into the margin). If an hbox overflow would otherwise occur, I would ...
34 views

### Get pre-defined colors into table in TikZ

I'm doing some plots in TikZ via matlab2tikz, which gave me the following output: \documentclass[a4paper]{article} \usepackage[dvipsnames]{xcolor} \usepackage{pgfplots} \usepackage{tikz} ...
42 views

### Highlight Row in LaTex

I would like to highlight first row in a table, starts with Date... Here is a screenshot of the table in question:
50 views

### tool to suggest index references

Is there a tool that will read through the existing index entries and then search through the document for additional locations where index words/phrases are used?
52 views

### How can i set the fontsize of different document elements?

I am using \documentclass{article} to write an article but I should change its default font size to other standards. How can I change the font size of each title or body underneath of each title? How ...
160 views

### “roof” over numbers

I'm writing a musicology paper and need some roman/schenkerian analysis tools. Notice the image, the "roof" over the numbers? How to produce this?
19 views

### Orientation of landscape longtable on actual page

In my article I have a longtable in landscape orientation. On the first page the orientation of the table is right. The problem is the orientation of the table on the second page. It is the same then ...
27 views

### horizontal alignment of two tables with variable vertical space

I would like to have 2 very simple tables like these: \begin{center} \begin{tabular}{rl} text:&text2\\ &text3\\ something:&other stuff \end{tabular} ...
46 views

### top alignment of table in table

I have a small :) problem with latex. I wanted to put an enumeration into a tabular, but this didn't work. Than I worked on a workaround ending up with the following code. My Problem: The cells are ...
22 views

### Problem with natbib

I have a problem with natbib in TexMaker. Here is an example from *.bib file example: @article{Alexandersson, author = "H Alexandersson and A Moberg", title = "Homogenization of ...
122 views

### How to resize a table to fit the page's width (without changing font size)

How to resize a table to fit the page's width (without changing font size)? \documentclass[twocolumn,a4paper]{article} \usepackage{multirow} \begin{document} \begin{table}[h] ...
25 views

### framed environment with fixed image in marginpar with title

How to set the title in the marginpar image. Would like to print the text in image any place. My MWE is: \documentclass{book} \usepackage{graphicx} \usepackage{changepage} ...
84 views

### Why can't I use a variable from a \foreach loop inside a calc library macro?

Question Why can't I use the \foreach variable as a percentage in my calculations with the calc library of TikZ? Sample Code In the following, I could replace the variable \mypercentage with an ...
172 views

### Length of curve in TikZ

Is it possible to compute the length of a generic curve in TikZ? An answer to this question would solve TikZ dashes and closed curves as follows: Let lc be the length of the curve and lp the desired ...
21 views

### tikz: wires not connecting up to the nodes [duplicate]

I don't know why the wires are not connecting upto the nodes (a) and (b). Can someone please help? Thanks in advance. \begin{center} \begin{tikzpicture}[circuit logic US] % The two gates ...
34 views

### Formatting matrices with vector elements along column headings?

Often I've seen the matrix equation Ax = b presented as matrix A augmented with vector b, with the individual elements x_1 ... x_n written sequentially as headers across the columns; is it possible to ...
139 views

How to align a "=" in the last formula that it was under the last sign "=" of the second formula. Here is my attempts \begin{align} E=\dot{\theta}\frac{\partial L}{\partial \dot{\theta}}-L &= ...