All Questions

15 views

How to pass an argument as a new command's name? [duplicate]

6 views

I keep getting these weird errors when trying to compile with Asymptote. I compile with pdflatex, then asymptote, then pdflatex. The error is as stated in the title. For example, when building ...
15 views

Modify the dash in biblatex ibid

I'm using \usepackage[backend=biber,style=authoryear-ibid]{biblatex} Is it possible to modify the dash used in the bibliography to denote the same author by another symbol (e.g. a much longer ...
9 views

Remove white space before landscape

I am inserting a landscape figure. \begin{landscape} \begin{figure} \centering \includegraphics[width=\linewidth]{figures/sensor_diffs.jpg} \caption{Example of a single rep in which sensors are fused ...
28 views

Large gap in typesetting before group of displayed equations

I'm new to LaTeX; my lab professor said it would be great to have our first lab typed up nicely. I plan on doing research in my future, so I figured learning LaTeX early would be an excellent ...
22 views

How to include graphics inside the section name

I am trying to insert an icon (a pdf file) literally next to the section name. I want the little shield icon to be where the <Icon> is. The code to generate this image is: ...
23 views

How does PGFplots calculate trig functions?

In plotting the graph from my last question I have discovered that the plots I'm getting from PGFplots are not entirely correct. I was attempting to plot (4.9/(w^2))*(cosh(w*x)-cos(w*x)) for multiple ...
16 views

Placing text between horizontal lines generated by \rule: equispacing

How to fix the vertical spacing between the text and the lines? In the following MWE the vertical space between the text and the line below it is much greater than the vertical space between the text ...
24 views

is pdfTeX from TeX Live 2015 supposed to work with LyX 2.1.3? [on hold]

I am trying to compile a PDF in LyX with the pretest TeX engines installed, and so far they break. I don't recall what else would have changed from using the folder instead of the 2014 analog. pdfTeX ...
15 views

\xpatchcmd defines macros when applied to undefined commands

I stumbled over this feature (it's part of a bigger question, but I splitted it into two questions): Say, that we want to use \xpatchcmd (from xpatch) or \patchcmd (from etoolbox) and apply those ...
26 views

plotting linear programming on a graph using Latex code [on hold]

could someone help me solve the problem of using latex code to generate Phase Portrait diagram from the equations below; x ̇=-4x+y y ...
33 views

Latex code to plot linear programming on a graph [on hold]

I am in a big problem. And I would like to have a Latex code for the equations below that would produce three (3) graphs on the same sheet. S'=0.085-0.0182si-0.098s I'=0.182si-0.178i ...
24 views

15 views

mhchem macro in subscript

Consider the following MWE \documentclass{article} \usepackage[version=3]{mhchem} \begin{document} \begin{equation*} % c_\ce{CO2} not working c_{\ce{CO2}} \quad c_\text{working} \end{equation*} ...
40 views

Problems with pattern color

Why in the following MWE in all shapes the pattern color is as in the first one regardless that it is defined differently? %%%% pattern-color \documentclass[tikz,border=5mm]{standalone} ...
32 views

Ignoring rotation in pgf decorations

Edit: I am interested in how this problem could or could not be solved using pgf decorations, not in how to draw this specific shape. I am trying to use pgf line decorations to draw dotted lines, ...
55 views

Copy-Paste error in LaTeX

When I try to copy some text from a Word page or pdf an paste it to LaTeX, I get the error below. Any idea how to fix this? PS: I am using LaTeX on a Mac While the text which I typed my self works ...
29 views

Option for Coloring the Background of pgfplots

I have been looking for a simple answer for this with no success. I want to plot the function y=x^2, and color the background of the whole box made up by the axis environment. Intuitively, one would ...
44 views

When having too much figures, force LaTeX to change the geometry of the page to fit more figures on one page when text is over

My problem is the following : I have a lot of figures to add in my report. These figures are usually about 0.4 of the height of the page. With the caption, the height is more like 0.55 or something. ...
34 views

Hyperbola instead of ellipse. Note the code below to the ellipse, there is a similar code for and hyperbole?

\documentclass[11pt,a4paper]{article} \usepackage{tikz} \begin{document} \begin{tikzpicture}[scale=1]; \draw (0,0) ellipse (5 and 3); \end{tikzpicture} \end{document}
22 views

preventing automatic detection of email addresses [on hold]

I'm trying to use this resume template. When I compile the document, pdflatex is automatically detecting the email addresses in the header and formatting it as a clickable (mailto) link. I would like ...
24 views

Unwanted vertical white space in tikz [on hold]

How to delete unwanted vertical white space in tikz
61 views

Need a little guidance for latex document design

I want to use LaTEX to write a fascicle (a small book part of a bigger set of books). So I need some specialized design. For example a specialized design for headers, specialized edging, rearranged ...
28 views

Error compiling code matlab in latex

good morning, someone help me? MWE: \documentclass[preview]{standalone} \usepackage[latin1]{inputenc} \usepackage[spanish]{babel} \usepackage{latexsym,amsmath,amssymb,amsfonts} ...
15 views

Typesetting verse with line numbers directly adjacent (not in margin)

When I quote verse (in a document typeset by XeLaTeX), I would like to be able to place line numbers directly adjacent to the lines, not in the margin to the left. For example: ...
26 views

When using custom path style in a tikz graph the quotes label isn't printed

I can put labels onto normal edges fine, but when the edge has a style applied to it, the label is no longer applied. Any idea what is going on/how to fix this? \documentclass{standalone} ...
22 views

Cant edit a document on first install of tex maker

just bought myself a new laptop today, a macbook pro. I am in the middle of doing my masters dissertation so i download tex maker, plug in my usb and get editing what i already have. However for some ...
22 views

I use scrartcl and I want to … have list of figures and list of tables listed in the table of contents fill the space between sections and their pagenumbers with dots in the table of contents leave ...
38 views

How do you NOT get an index entry in the TOC?

My problem is that I don't want the automated index entry to appear in the TOC but would rather add one manually. But no matter what I try, the automated entry always appears. I have tried ...
11 views

Align environment produces double footnotes [duplicate]

I would like to add a footnote in the align environment. Unfortunately this produces the footnotes twice: \begin{align*} \footnote{Hey ho!} \end{align*}
65 views

Ideas for a LaTeX editor to make it easier [on hold]

I am having some ideas that I'd like to share with the community about a Latex editor that would make Latex easier to use and would help us become more productive. I was inspired by other Latex ...
52 views

I'm trying to achieve a short fading \headrule under page numbers. But I cannot figure out how to "flip" it on even/odd pages. Does anyone know how to manage that? I also get a warning saying that ...
16 views

Find and replace a specific reference pattern by a regular expression for a chronological index [on hold]

For a chronological index (index in chronological order with a predefined non-alphabetical index list) I'd like to replace following entries (and many more of these types in my document), so that the ...
34 views

\titlesec and chapter&section missing zero error

I've looked and looked on here for a possible answer but i'm coming short. I even referenced the titlesec .pdf instructions and still no clue. I'm having an issue with my \chapter in the main body, ...