# All Questions

12 views

Please, Help me inserting a table like this. I could not prepare this table even after using the \multicolumn package. I am facing difficulties with merging the rows and columns. I am in an urgent ...
11 views

### Triangular commutative diagram

I am using the \xymatrix command this is the code I've written $\xymatrix{ & A \ar[d]^{i}\\ B \ar@{-->}[ru]^-{\exists \overset{\sim} \varphi}\ar[r]^{\varphi}&C }$ My problem is ...
5 views

### Include eps figures in class: report

\documentclass[a4paper,12pt]{report} \usepackage[paper=a4paper]{geometry} \usepackage[draft]{hyperref} \begin{document} \begin{figure} \centering \includegraphics[scale=0.5]{graphs/power.eps} ...
14 views

### Breaking an arrow with text in a flowchart

is there a way to "break" a vertical arrow by text going through it in a flowchart? I just need a gap in the arrow for the text to go through.
13 views

### Issue installing selnolig under MikTeX

I'm trying to install selnolig in the MiKTeX 2.9 package manager, but I'm getting this problem report: MiKTeX Problem Report Message: The operation could not be completed because a required file does ...
30 views

### Maths, functions in latex, really basic

I am trying to code the following; f:X->Y   x|->f(x) where -> is \longrightarrow and |-> is \longmapsto. However, my problem is that I am unable to get the x directly underneath the X. ...
18 views

### New math command with alternative definition for inline mode

I'm interested in writing a command which would result in output that varies when called within $...$ tags and when called within, say, displaymath environment. For instance, assume that I want to ...
12 views

### Define quotation environment without indentation of the first paragrpah

I want to have a quotation environment that does not indent the first paragraph. \documentclass{scrbook} \begin{document} \makeatletter \renewenvironment{quotation} ...
27 views

### Page layout not in accordance with pdf printout

For my thesis, the rule for page layout is determined as: \usepackage[lmargin=1.5in, rmargin=1.0in,tmargin=1.0in,bmargin=1.0in]{geometry} But when I compile to produce PDF and take a print out and ...
32 views

### Updating LuaTeX version in MiKTeX

I have MiKTeX 2.9, which comes packaged with LuaTeX version beta-0.70.2-2012060719. I'd like to compile a file using the latest stable version. I've downloaded the binary, but what do I do with it?
15 views

### How to force letters augmented with a mathematical symbol to be placed in an alphabetical order in the glossary?

I'm using the nomentbl package to generate a glossary of my symbols. This works great for most general cases. I'm using a class file where commands are defined to include Latin and Greek symbols as ...
22 views

### Problems with middle name

In my literature directory it only shows the first and last name, but I want to see the middle name as well. My codes is: \documentclass[a4paper,12pt]{article} \bibliographystyle{chicago} ...
37 views

### Doesn't write the full last name of third author

I have some trouble with my literature directory. It doesn't show the full name of the third author. It only shows: Hairer, E. und Lubich, C. u. W. G. But I want to see: Hairer, E., ...
26 views

### nameref + fontenc causes umlauts in aux-File

I wrote a small new command that makes use of \@currentlabelname and \nameref. When I have Umlauts in the labelname (the argument of \@currentlabelname) everything works fine until I use the fontenc ...
34 views

### Booktab color rows with multicolumn

I would like to color certain rows in my booktabs table. I have tried the following \documentclass[a4paper,10pt]{article} \usepackage[utf8]{inputenc} \usepackage{colortbl}% ...
34 views

### Automatic connection of text points in tikz-qtree

I have to draw pictures like the following a lot: I want to use tikz-qtree, since I have a lot of trees and this package simplifies things considerably. Right now I use the following code, since it ...
79 views

### Faster compiling

I'm writing at my thesis and it has now about 60 pages.. When I want to compile it (to pdf), it lasts about 20 seconds.. Is it normal? I think, the included graphics costs a lot of time?! ...
45 views

### Math mode for csvsimple Import

I am currently struggling when I try to import a CSV file which contains math code using the following code: \documentclass{article} \usepackage{csvsimple} \usepackage{amssymb} % Math symbols ...
34 views

### one-column figure in a two-column document goes to a next page

In a two-column document, I use the figure* environment to place a wide equation in a one-column format. It works fine, but the equation floats to the next page. What can I do to avoid this?
24 views

### complex table with multirow doesn't close all the boxes

I have made a big table with a table editor and there are two lines that doesn't finish in the place they are suposed to finish. \documentclass{scrartcl} \usepackage[utf8]{inputenc} ...
43 views

### adjust $\cdot$ in math expression

I would like to obtain a better expression of this $$Au(\cdot)=\nabla_{(\cdot)}\left{\frac{\cdot}{|\cdot|^{3}}\,1_{B(0,r)}(\cdot)\right}.$$ where $\cdot$ refer to a variable $x$. More precisely, ...
76 views

### How to make dominoes falling? [on hold]

How to maker a LaTex drawing of dominoes falling as the following figure?
64 views

### Reference custom styles

I am new to LaTeX basically a perl developer, I am trying to automate Bibliographies styles by providing separate tags for each and every fields like shown in the below, and also I am trying to ...
10 views

### revtex incompatible with stfloats?

Very similar to this one: revtex incompatible with dblfloatfix? Is revtex known to be incompatible with stfloats? In this MWE, the second figure is just gone (with a "Float cannot be placed" ...
25 views

### Which command would force XeLaTeX to export an image to 300dpi

I have a 'XeLaTeX' file which grows very large very quickly since half of the content are JPG images. Which command do I need to use to force the created PDF to have these images only in 300 dpi?
20 views

### !Misplaced \omit.\multispan ->\omit@\multispan

I am trying to show 4 .jpg files in 2x2 format using the following: \begin{figure}[htb] \centering \begin{tabular}{@{}cccc@{}} \includegraphics[scale=0.26]{error1.jpg} ...
15 views

### JabRef + TeXStudio BibTeX problem

I have created a database of bibliography on Jabref named Review.bib. I have called this file in TexStudio. Out of 15 citations, 12 are perfectly fine but 3 are not cited at all. There is this sign ...
78 views

### Defining a macro with optional parameter

I like to define a macro with an optional parameter. As an example, consider a macro for the differential: \documentclass[11pt]{article} \usepackage{amsmath} \usepackage{bm} ...
70 views

### Double arrow for inline diagram

I want to make a diagram like A--->B, but there are two arrows, one written f_1 and another with f_2. I tried \stackrel, but this gives arrows with different sizes. If using ...
44 views

### Troubles with column width in the tables headings

Well, we all know that compose tables in LaTeX is not easy, however, despite the large number of existing packages and options to facilitate this, I still have some problems I could not solve, and I ...
38 views

### How can I left align a figure [on hold]

I wanted to left align a figure. How can I do that? The figure is on its own line. I have tried this below, it didn't work: \begin{wrapfigure}{l}[0.5\textwidth] ...
15 views

### \autoref subsections in appendix

MWE \documentclass{article} \usepackage{appendix} \usepackage{lipsum} \usepackage[colorlinks]{hyperref} \def\sectionautorefname{Section} \def\subsectionautorefname{Section} ...
43 views

### Rotating a one-page float for pdf viewing

I have a few long tables that should be rotated 90 degrees. These tables pretty much need to take up their own page. Rotating the table itself is not a problem, but I would also like to have an ...
42 views

### Update reference labels in scatter plots

I am writing a technical paper in which I want to compare some works in my references. I want to draw a scatter plot between two columns of data (x and y) and the third column (the numeric reference ...
37 views

### Headings with chapter titles only

I am using memoir and there is a problem with the headings. I see section titles in the headings but I only want to see chapter titles regardless of section titles in the chapter. My tex file is ...
46 views

### What is the difference between putting macros in a .sty package file vs. simply \input them from another .tex file? [duplicate]

If \input just "imports the commands from the [target file]" into your new document, then what is the difference between calling a set of commands via \input{filename} (where filename is some .tex ...
53 views

### How to use more than one document class [duplicate]

I want to set a journal (using the book document class) that contains more than one article (using the article document class). The document classes available are only for separate articles, not for ...
55 views

### Math Cal­li­graphic let­ters in LaTeX [duplicate]

How can I produce exactly the same letter as in the attached picture ? I work with the TexMaker. thanks,
11 views

### Russian in TeXShop

Can someone please help me type with my russian keyboard in TeXShop. I use the following code but get ???? as an output for the Cyrillic text every time. \documentclass{article} ...
29 views

When typing out long equations, I like to split everything up into separate lines and start each one off with an equals sign. How do I hide the first equals sign while keeping the layout exactly the ...
39 views

### How can I colourfuly highlight some lines of an algorithm using algorithm2e?

I am trying to achieve something like this: This image is linked from this answer. This answer also provides a solution and seems simpler. Both answers deal with the algorithmicx package however. ...
49 views

### I am trying to animate in two different coordinates using layers. But the animation happens in the same spot

44 views

### LyX, How to use more than the thirteen Roman fonts listed under DOCUMENT SETTINGS FONTS?

I noticed that LyX 2.0.6 has a very limited selection of Roman (Serif) fonts listed under the DOCUMENT SETTINGS FONTS dropdown menu. I'd like to be able to use any of the LaTeX fonts that come with ...
102 views

### New command with if/then statement conditioned on non-integer number?

In LaTeX, how do I declare a new command that gives different output depending no the result of a test with non-integer numbers? Specifically, I'd like to a command to compare a number with 0.01 (the ...
23 views

### Using the correct amount of space around unit symbols

This is from an old package I developed back in 2003. The idea was to cover international system units (SI) and other type of units, roughly following guidelines from that document. Units should ...
99 views

### Forcing et al. in selected places

I am using XeLaTeX together with biblatex. I am typesetting a table where a citation goes into one of the column headers, namely I put \citet{ref1} into the table. ref1 has two authors and normally ...
20 views

### Format first row of table differently [duplicate]

I have a need to format the first row of my table differently from the rest, and read this answer, which was very useful. So I tried to encapsulate the \multicolumn{1}{c}{#2} into a macro: ...
25 views

### How to cite organization's name with space between words

I need to cite an article by the World Bank. However latex interpreted it as a person's name. My bib entry is @book{wb, author={World Bank}, year={1993}, title={{The East Asian miracle: ...