# All Questions

8 views

### How to draw Cu-ATSM compound?

I am trying to draw the following compound in tex using chemfig but I am only getting part of it and do not know how to finish the compound? Any help would be appreciated. 1 this is what I got using ...
13 views

### LaTeX Unicode Support

I am using XeLaTeX. My goal is to display a Unicode em dash in my pdf file. The \dash will not compile, below: it says ! Undefined control sequence. Here is the minimal (non)-working example: ...
11 views

31 views

### Make a document look like it's been redacted by the CIA?

I've produced notes collections for physics courses that I've taken that include problem set solutions. Two Professors have said they are worried future students will use my notes to cheat (i.e. it's ...
20 views

### itemize - alignment of custom bullet symbols

I'm trying to use some icons from the fontawesome package as bullets for the itemize environment. As there are different characters and they are not the same width, the alignment looks mangled: ...
17 views

### reduce vertical space for \xrightarrow

I find the vertical spacing of amsmath's \xrightarrow too large for the underset. Is there an easy way to reduce it (i.e. put "below" close to the arrow, in the example)? \documentclass{minimal} ...
21 views

52 views

### New environment for boxed equations

I would like to define new environments to highlight certain equations in some way. For example, I would like a highlighted equation to appear in red text or with a box around it. I have the red text ...
20 views

### Inconsistent accenting [on hold]

In the top matter of a letter template I define my name as: \def\Who{Fern\'an Jaramillo} In the first use of Who in the document the name is printed with the proper accent. But in subsequent uses ...
11 views

### Revtex: rmp with phys rev style bibliography

By rmp option to revtex4-1 sets the citation style to author/year. I'd like to change it to standard numerical citation, as seen in Physical Review Journals, (but with reference section name as in rmp ...
47 views

### Certain unicode chars are skipped

\documentclass{article} \begin{document} Test⁉ \end{document} Note that the 5th character is "⁉︎" (see http://www.ltg.ed.ac.uk/~richard/utf-8.cgi?input=%E2%81%89%EF%B8%8E&mode=char for info). ...
28 views

### Arrays in the text

In my example below, I need to write it "nicely", i.e., to have the array with ones smaller, less space around,...Anyone knows how to do it? \documentclass[a4paper,12pt]{article} ...
63 views

### How do I typeset a supersuperscript in LaTeX

I need to type something like x^{x^x} in LaTeX, but I keep getting the error ! Double superscript. l.820 ...}(1)_t^{z_{11}}\mathcal{Q}(1)_t^{\prime}^ ...
37 views

### Suitable TeX variant to create custom invoice and letter templates

Which TeX variant should I use to most easily create a custom invoice and a custom letter template? I have a design for the invoice that I would like to implement exactly using a suitable TeX ...
22 views

### Why is the figure not appearing below an itemize in beamer?

The figure doesn't appear and there is some weird shifting of the itemize environment when the figure should've appeared. Any help on why this is the case? \documentclass[demo]{beamer} ...
53 views

### Tex capacity exceeded despite system call lualatex

I'd like to plot some measured values with tikz, but despite "calling" Lualatex I get the error message that TeX's main memory is exceeded. I can compile the plots under Lualatex but it doesn't work ...
26 views

### pgfplots and subfigure

I'm using Springer LNCS template to create a paper, so that I can't use subcaption Using subfigure with pgfplots results in no aligning at all. The code I use to draw plots: \begin{figure} ...
24 views

### Template and model in TeXmaker

How can I create a template using TeXmaker? I would create a default file and use it every time I need to make a new LaTeX file. For example using MS Word it's possible save a document as model and ...
21 views

### Appending Graphic from Optional CSV Column to PGFPlotsTable Column Content

I have a CSV file containing a list of names, numbers and optionally pictures. This file is to be displayed in a multi-column table, with the name (and optionally appended picture as icon) in one ...
31 views

190 views

### Example images in LaTeX?

How to make an example image in LaTeX, a dummy image, a spot holder? I have seen it before, but I can't remember how they would made. It would be nice to be able to use example images - if you should ...
22 views

### How to remove # keyword from a listing style?

I have a snippet of code I'm putting into a paper written in LaTeX. I don't want it to highlight any of the keywords that start with a # sign, such as #define, or #pragma. Here is a MWE of what I ...
39 views

### How do I create a .bib file for bibtex?

how do I create a .bib file? I am trying to create a master bib file on texshop. When I save the file, it saves as a .tex, not .bib (even when I try to correct it manually). thanks in advance
96 views

### Is it possible to typeset with angled margins?

I'm typesetting a book using memoir in XeLaTeX, but on some pages, as an accent, I would like to make an angled margin, something like this: Even if I have to define the page limit separately ...
20 views

### Biblatex merging entries together

I'm using biblatex with biber to write a CV. In my bibliography, biblatex seems to merge all the entries into one. I cannot understand why. I found quite a few questions on TeX.SX where users ...
117 views

### Creating a newcommand with indefinite arguments

I am kind of new to LaTeX. I am doing project which contain resources (formula, solutions to problems, e.g.) i can bring to the Exams day on 16th March. I have been looking for a solution to my ...
23 views

### Where I could find this particular typrewriter-like font in lyx? [duplicate]

I'm writing my thesis in philosophy using Lyx and found out that most of them are written with this particular typewriter-like font. Could someone tell me where i could find this font? Does Lyx ...
182 views

### TikZ and analytic geometry

I have four given points, for example A(3,2) B(5,4) C(-3, 4) D(-3, 0) Using TikZ/PgfPlots, how can I draw them in the Cartesian coordinate system, show the points, each accompanied by its name ...
48 views

### How can I have bigger fontsize than \fontsize{60}{70}?

I am writing my thesis and the font size of the chapter title is defined in the class of the document. Somehow I cannot make bigger than \fontsize{60}{70}. Even if I write \fontsize{3000}{70} I cannot ...
26 views

### How to make flushleft work on multicolumn title?

In the below code, "Title3Title3 Title3Title3 Title3Title3" is misaligned with the other titles because flushleft does not seem to work with multicolumn titles. How do I left-justify all of these text ...
48 views

### Special effects in TikZ leads to unprintable PDF

So I recently made a picture of the Mexican Hat Potential (related to the Brout-Englert-Higgs Mechanism of particle physics). I am more than satisfied with the graph and everything, but I noticed ...
33 views

### \tikzset key with multiple arguments

Sometimes, I want to have arrow tips on a path. The full syntax for that would be: postaction=decorate,decoration={markings,mark={between positions <1> and <2> step <3> with ...
21 views

### Error while equation splitting with align environment

I am splitting an equation using the following command: \documentclass[12pt,letterpaper]{report} \usepackage[cmex10]{amsmath} \begin{document} \begin{align} \delta \dot A ...
27 views

### Strike through text does not work with multiple cites

I'd like to strike through some text in a paper with package ulem's \sout{}. However, when the text to be struck through contains multiple cites like \cite{a,b}, the compiler gives some error messages ...
20 views

### Varying column and row width in tikz-cd

I have created the following diagram using tikz-cd \begin{tikzcd} S_E \arrow[dddd, bend right, two heads] \arrow[ddrrr, bend left, two heads, tail] & & & \\ & E \arrow[dd, ...
30 views

### How to decimal-align a table using dcolumn package

I have the following table, and would like to decimal align all the numbers. Can you please suggest how to do it? \newpage \begin{table}[htb] \centering \begin{changemargin}{0.0cm}{0.5cm} ...
19 views

### Biblatex citations inside KOMA-script's dictum [duplicate]

I would like to use biblatex (specifically, biblatex-chicago) to cite an author inside the \dictum command of scrbook. Here's my MWE, which produces some errors. \documentclass{scrbook} ...
24 views

### Is there a citation style for the “Canadian Guide to Uniform Legal Citation” aka McGill Guide?

I have searched for answers, and it appears that there is a version of the McGill Guide legal citation format around but it hasn't been released generally. Does anyone know if there are plans to ...
29 views

### Sorting bibliography entries of similar author and year

The problem: some authors publish in books they edited: \begin{filecontents*}{bib.bib} @incollection{majorbookch1, author ={The Good}, title ={Chapter One}, pages ={1--10}, ...
169 views

### One single colored letter inside \spacedallcaps

I want to change the color of a single letter inside a custom \spacedallcaps command. This command makes the specified text uppercase and changes the letter spacing. When I introduce a ...
55 views

### longtable with booktabs, midrule is pushed to next page

I'd like to make a formal longtable in landscape mode. I use booktabs to make the table formal. Here is an example tex document: \documentclass{article} \usepackage{array} \usepackage{longtable} ...
20 views

### Error while trying to left align the author section

I would like to left align the \author section in an article without using the memoir-package so that it looks like this: Author1 name Author2 name Author1 mail Author2 mail ...
61 views

### Calculate axis limits depending on depicted data

In a pgfplots axis environment, I want to make the axis limits dependent on the depicted data or some other data. Consider the minimum working example \documentclass{standalone} ...
82 views

### Setting cells of table to equal width

What is the quickest way to set all the cells (under the multicolumn) to equal width? Here is my table code. \begin{frame}{Applications} \begin{table}[h] \begin{tabular}{|l|l|l|l|l|l|l|l|} \hline ...
36 views

### Hiding empty table column when empty

I have tables (tabu, longtable and other) generated with PHP with variable cell content. Sometimes, all cells in column are empty, and in that case i would to hide all column with header. Here we ...
22 views

### utf8 encoding problems with knitr

I'm using RStudio 0.98.1102 on Windows 7 with knitr 1.10 (R 3.1.2) and tried to knit the following file: \documentclass{article} \usepackage[ngerman]{babel} \usepackage[utf8]{inputenc} ...
31 views

### How to get pgfgantt today to be set to the \today macro

I want the pgfgantt chart to automatically update the "today" line so that it always shows \today when compiled. The problem is that though I am using time slot format=isodate and have set the ...
24 views

### Lyx code tag with highlighting for C

I just installed Lyx and when I try to insert the program I observe that there is no syntax highlighting. What is the best way to allow for syntax highlighting in LYX?