# All Questions

6 views

### Line spacing and alignment issues in tables with multiline cells

While trying to create tables with multiline cells, I run into some line spacing and alignment issues. The following code creates two tables: \documentclass[10pt]{article} \usepackage[english]{babel} ...
10 views

### How to make automatically line break when use longtable?

I use longtable package to produce a table covers two pages, but if there are too many words in one column, the sentence can not switch to the next line automatically, see picture, the 4th column. ...
7 views

### How to make LaTeX automatically call Inkscape to export figure to *.pdf_tex?

I'm working with Inkscape to update all the figures of a book, using the PDF+LaTeX option to export the figures. Right now, every time I modify a figure I "save as..." both with Inkscape's *.svg and ...
11 views

### Why don't appear the accents and the diagrams together?

In this situation, when I compile for LATEX-PDF I have the correct text, with all the accents but does not show the diagrams. When I compile for XeLATEX the result displays all diagrams, but the text ...
9 views

### Citeauthor{authors} not working as stated in the documentation

I am using natbib package for my citations and whenever I try to cite just the first author I always get et. al. after like \Citeauthor{authors} give me Author et al, xxxx instead of Author. I would ...
8 views

### Math w/italics in normal context, roman when in italic context (ie, caption)

I have not found this question asked previously. I am fine with math using italics for variables when the math appears in a normal context. But our figure captions are in italics, and when math is ...
8 views

### Babel with UKenglish does not use British English hyphenation?

I am having trouble understanding the hyphenation rules of "babel". According to this question, selecting either UKenglish or british should result in Oxford dictionary type hyphenation. But it ...
27 views

### Hide content of tabular environment

I would like to create a pdf file that containes only the table captions, but not the content of the table. So I tried to redefine the tabular environment in the preamble of my document (it is ...
26 views

### Drawing function in tikz

I need to make a graphs as you can see in the picture, but I try many ways and I cannot get what I want. Any of you could help me?
13 views

### Exclude citations from other chapters, but make cross-references work

I'm writing up my PhD dissertation, and I tend to compile each chapter separately. Each chapter is in a separate document, and is included in the main LaTeX file. I use \includeonly to only include ...
8 views

### Helvetica-Light in Beamer disrupts the math fonts

I am trying to make the font of a Beamer presentation match that of a co-author who is using Powerpoint. The Powerpoint font is Helvetica Light. In XeLatex I used \usepackage{fontspec} and ...
10 views

### ! Missing control sequence inserted. subfloat

I'm getting the below error when I try to run this: \begin{figure} \centering \subfloat[]{\includegraphics[clip=true, trim=0cm .85cm 0cm 0cm, width=.32\linewidth]{rula_shldr.pdf}} ...
18 views

### How can I change the font of all equations?

I'd like to change my default font style in all equations of one document, not just single equation. I guess I am using \usepackage[utf8]{inputenc} and \usepackage{amsmath}, which may be related to ...
24 views

### Did one manage to get the new dvisvgm driver from PGF 3.0 to work?

Background: PGF 3.0 added a new, direct way to create SVG. It now has a dvisvgm driver (pgfsys-dvisvgm.def) which has fewer (claimed) limitations than the pgfsys-tex4ht.def driver. Except it doesn't ...
16 views

### Encoding issue when writing Greek in fancy ToC using TikZ

I am creating a fancy ToC using TikZ. My code is \documentclass{book} %\usepackage[english,greek]{babel} %\usepackage[iso-8859-7]{inputenc} %\usepackage[utf8]{inputenc} \usepackage{kerkis} ...
77 views

### How can I make a slide rule in TikZ?

I have recently found out about slide rules from a Scientific American article and I like them very much. However, I have never got access to a real slide rule. So I made my own slide rule using my ...
32 views

### Minipage style with lines

I'm using the code below to create a minipage with lines. I want to modify my code to look like the one in the picture. The text inside doesn't matter indeed. \documentclass{article} ...
9 views

### LyX 2.1.1 does not recognizing verbatim environment

I updated to LyX 2.1.1 and have issues with previous versions created files. LyX 2.1.1 throws the following error: does not recognizing verbatim environment I wonder how to overcome this issue. Any ...
19 views

### aligned multi-line equation with intertext and block-wise numbering

I try to reproduce the output that is generated by: \begin{aligned} (x-x_1)^2 + (y-y_1)^2 & = r_1^2 \\ (x-x_2)^2 + (y-y_2)^2 & = r_2^2 \\ (x-x_3)^2 + ...
19 views

### Trying to create a simple binomial tree in beamer

Following the example in Unknown error using tikz matrix of nodes in beamer I removed the errors I got but the tree is still not produced correctly. I am trying to reproduce in beamer what I saw in ...
21 views

### Upright text in math mode for chemical elements [duplicate]

I have a line as follows: \documentclass[a4paper]{article} \usepackage{siunitx} \begin{document} {$d_{(O_{1}-Zn/Mg)}(\SI{}{\angstrom})$ \end{document} showing: I don't want the letters to be ...
25 views

### unable to left align the equations

I see many example about aligning a set of equations to the left, but none them works for me. The set looks like \usepackage{amsmath} .... \begin{flalign} A_{l-side} &= 1+2 \\ ...
15 views

### Prevent longtable to split cells while using \hline

although the question seems to be trivial and to be answered several times, I have not found a solution yet :-( I'm using a longtable to describe a set of computer benchmarks. Each benchmark entry ...
21 views

### Print text when bibliography is empty

With biblatex, I'm looking for a way to check if the bibliography is empty, and if so, print some custom text. Something along the lines of this pseudocode: \ifempty\thebibliography [[ no ...
13 views

### Algorithmic noun ploral

I'm looking for an (implementation of) a command (here \plural) that computes the noun plural. The algorithm should work as follows: for most cases, simply add s at the end (example: bag -> bags). ...
25 views

### Why does htlatex not work as expected?

I am trying to use htlatex to get an HTML version of my thesis. pdflatex just works when I compile the .tex files with TexStudio. So I ran the following command from the command line: htlatex ...
34 views

### conditional loop printing text and icon

I'm new in the Latex world. I'm writing a little guide and I've choose Latex, in particular Texmaker for writing it. I'm trying to do a loop for printing some instruction as File -> Save as -> Ok. ...
38 views

### A custom flow diagram

Do you know how can I draw this diagram in latex ? Do you have any suggestion with Tikz package ? I want to draw a part of it. Thank you so much.
84 views

29 views

### Tabular size exceeding page size

I am making a table which includes single columns and 2 - merged columns. I am encountering two problems, first the data is very long and is not places within the area of the page, it exceeds the ...
10 views

### Automatic insertion of (Cont'd) when footnote splits across pages

Occasionally, I write long footnotes that get split across consecutive pages. Is there a way of automatically inserting [continues on next page] and [continued from previous page] when such splits ...
29 views

### pgfplot: how to render 3dplot with colors black, white and gray

I my previous question, I rendered a 3d plot, but as I want to print my plots they should be in black, white or gray coloring format. How should I change the coloring scheme? ...
18 views

### ! LaTeX Error: Command \textcurrency unavailable in encoding T1

\documentclass[a4paper,12pt,twoside,]{scrartcl} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage{graphicx} \usepackage{cite} \usepackage{multirow} \usepackage[ansinew]{inputenc} ...
20 views

### Issue with tabular environment [duplicate]

As I am currently tutoring a calculus student, I am creating a mock exam in LaTeX. I have a question concerning a portion of my code which I have displayed below, though, I do not know if displaying ...
23 views

### Add journal name to biblatex references

I'm using biblatex in a beamer presentation so that I can use the \footcite command. The problem is that bibliography styles handling in biblatex don't look quite straighforward and none of the ...
38 views

### Add a footnote on the paper title

I want to add a footnote to the title of my paper. I am able to get a asterisk appearing at the end of the title but there is no actual footnote on the bottom of the page where we normally expect ...
23 views

### Two- or three-authored papers key

I would like to cite a paper from 2010 with two or there authors (say, Miller, Javier and Smith) such that the key in the text appears as [MilJavSmi10]. Similar to what is done for a single-authored ...
14 views

### Errors for \subfloat environment

I am getting these errors (below) for each \subfloat when using this code. It has worked fine in the rest of my thesis, but suddenly there is a problem. Note that I exported all previous work from ...
22 views

### command for automatically indexing

I'm finishing up my Master's thesis and need to auto-index all similar terms after identifying the first one. ex: \documentclass{article} \usepackage{makeidx} \makeindex \begin{document} %%%page1 ...
45 views

### Help understanding the coordinate system used in tikz

I'm trying to understand how the coordinate system work for drawing pictures with tikz. I'm a little lost... Here is a MWE that shows of some example code: \documentstyle{article} \begin{document} ...
23 views

### New class not being found with Sublime Text 2 & LaTeXTools; PATH set incorrectly

I'm having a very bizarre problem with ST2 for Mac OSX. I just installed it today, along with the LaTeXTools plugin. With the standard classes it works just fine. My dissertation, however, uses a ...
12 views

### Modifying mini-toc content

I am writing my Masters Thesis and I am using minitoc package to print contents per chapter. However I want to desativate de mini TOC BORDER. How can I do it? Regards
37 views

### Texample “map projections” not working

I can compile the "Example: Stereographic and cylindrical map projections" but it doesn't look like the one given there. (Neither the dashed meridians, nor the cylinder) The file: ...
36 views

### Format the LaTeX code of an array

Is there any editor that can nicely format the LaTeX code for an array? By nicely format I mostly have in mind aligning the &, as in the examples below: Example 1: \begin{array}{lcl} z & = ...
165 views

### How to draw checkmark inside a colored circle in latex?

Referring to this question, how can I draw a checkmark inside a solid circle as shown as a picture? Regards
49 views

I have 2 equations. When I use \ref{} for the second equation, it gives the correct number but directs to the wrong place. How can I fix this? Thanks \documentclass[12pt]{article} ...
22 views

### how to install multicol package? [on hold]

I was trying to use the "multicol" package. With \usepackage{multicols} in the .tex file, MikTex returns the error message: ! LaTeX Error: File `multicols.sty' not found. When I tried to use ...
60 views

### How to decorate a \pic path?

Consider the following example using the angles library and a pic path to mark an angle: \documentclass[tikz,border=10pt]{standalone} \usetikzlibrary{angles,decorations.markings} \begin{document} ...
70 views

### Symbol division latex [duplicate]

I am studying the phasor method for solving electrical circuits. Have tried using tables and researched a lot on the internet but have not found a simple command to represent the numbers a and b in ...
21 views

### Adding a caption to graphics in parshape

This question is the continuation of the one posted here. How can I add a caption to the figures as shown below?

15 30 50 per page