All Questions

4
votes
0answers
34 views

Break down a bibliography in Context according to category of item

A requirement for a memoir that I am typesetting (for a friend), using Context, is to separate the bibliography into several sections according to the category of the item (textbook, legal text, etc.)....
0
votes
1answer
53 views

Can't include references with biblatex

I have no idea what's going on. I'm trying to write my assignment in Latex but the references are not showing up. I put this on the preamble: \usepackage{biblatex} \addbibresource{ref.bib} My folder ...
0
votes
0answers
37 views

How can you typeset keys to get the impression of a Calculator?

How can you typeset keys to get the impression of a Ti-84 Calculator? The only responses I see are for French calculators.
1
vote
1answer
34 views

Force float to top of page selectively

Consider this example: \documentclass{report} %\usepackage{float} ...
0
votes
2answers
21 views

Reduce padding in cell with lists in tabularx [duplicate]

So I have a table that includes lists written with tabularx, however the lists have rather excess padding at the top and on the left. Is there a way to reduce this only for the space of this table? ...
0
votes
0answers
16 views

How to change the typefont of the first row of a table [duplicate]

I would like the first row of a table to have a different typefont. For example, I could have boldfaced Utopia for the first row, and normal Palatino for the rest. How could I do this? Thank you.
0
votes
0answers
10 views

Force a lonely float to top of page [duplicate]

I am not fond of solitary floats "floating" in the middle page. Consider this example: \documentclass{report} %\usepackage{float} \usepackage{lipsum} \usepackage{graphicx} \begin{document} \lipsum[1-...
3
votes
2answers
160 views

Moving a wrapfig vertically to encroach partially on a subsection title

It sounds like very poor typography, but I am simply looking to shift a wrapfig picture up, but in particular so it would ever so slightly go above the start of the paragraph and into the subsection ...
0
votes
0answers
14 views

LaTeX text following a path in Inkscape

I am using Inkscape to produce my images and include them in my LaTeX documents. So far I have encountered zero problem, so I don't want to change softwares. However, I tried for the first time to ...
1
vote
2answers
24 views

How to format the algorithm

I have the text for the following algorithm, but I am unable to format it, with the numbers and spacing as in the image: $COVERABILITY-GRAPH((S,T,F,M_0))$\\ $(V,E,v_0):=(\{M_0\},\emptyset,M_0);$\\ ...
0
votes
1answer
15 views

Impose vertical displacement in one column in tabular environment

I have a simple table with three columns, split (by an \hline) into the first two rows and the last two rows. Here is a minimum working example: \documentclass{article} \begin{document} \begin{...
1
vote
1answer
35 views

bold a defined color

Here is one of my custom colors that is "light blue". Sometimes it comes up very skinny on the text \definecolor{lb}{RGB}{44, 139, 183} Is there an easier way to bold or thicken the font of a \...
0
votes
0answers
20 views

TexStudio “Go to source” and \import

When using \import to store chapters in separate files, I am losing the ability to go from PDF to source and vice versa (except that compiling does take me to the right spot in the PDF). I am on 2.12....
1
vote
1answer
47 views

BibLaTeX - Sort bibliography by firstpage

I need to create a bibliography where journal articles within a volume and issue are sorted by the first page number. I can use \mkfirstpage{pages} to print the first page of the page range but cannot ...
1
vote
2answers
52 views

How can I verify that the fonts are all embedded in my LuaLatex document?

I am working with a manufacturer who is typically used to getting pdfs from more traditional Adobe tools, read: not LuaLatex. They are telling me to "make sure" that my fonts are embedded in the .pdf ...
1
vote
2answers
28 views

How can I write underneath the equation “b+b+…+b” n-times? [duplicate]

I am new to LaTex, I am using a Overleaf. I'm trying to write the equation n\times b= b+b+...+b with 'n-times' in the bottom.
0
votes
0answers
18 views

Problem with hyphenation in Ubuntu ( No hyphenation patterns were preloaded for french babel)

I have a problem when compiling a latex document in Ubuntu (18.04). I am using TeXmaker et MikTeX. The message is Package babel Warning: No hyphenation patterns were preloaded for (babel) the ...
4
votes
1answer
69 views

Positioning dot before text in math mode

I only know of \dot, \cdot. How do I get the dot to appear in the top left position of the alphabet? The following helps, to have a dot after the t. $t^.$
1
vote
1answer
70 views

Populating a tikz matrix with complex content

I am trying to populate a tikz matrix dynamically using foreach to loop over a list-argument and breaking it further apart using xstring operations. I am hitting an issue where, as far as I can tell, ...
1
vote
1answer
14 views

Legend entries labeled incorrectly with two

I have a graph with three plots and two y-axes. Two of the plots use the left y-axis and one uses the right y-axis. In order to get a single legend with all three plots, I am using the ideas in this ...
1
vote
1answer
29 views

Bibliography as numbered subsection

For my Bachelor thesis, I would prefer that the references are listet as a subsection in the section "Appendix".... The only thing a achieved so far is, that together with \usepackage[numbib]{...
3
votes
1answer
66 views

Drawing a ribbon graph

Given a graph like the one on the right side of the picture below, I want to draw a ribbon graph (that is, a "thickened" version of the graph) like the one on the left. I already drew the graph using ...
2
votes
1answer
41 views

Omitting the following parentheses

\documentclass{beamer} \usepackage{pifont} %\usepackage{etoolbox} (this is necessary for old beamer versions) %\usepackage{graphicx} %\usepackage{color} \usetheme{Madrid} \newtheorem{...
1
vote
1answer
29 views

pgfplots: Using “x filter” to decrease point density of plot

The user esdd has posted a nice approach on how to increase point density for a certain range of data points while the remaining plot keeps low point density by using x filter. Minimum Working ...
0
votes
0answers
44 views

Force figure placement in text doesn't work in 'gji' document class

I have a problem with placing the figure. It is placed differently than in the code. In the article document class I use [h] specifier from the float package, but in the gji class it doesn't work. (...
3
votes
2answers
98 views

Resize vertical bars (absolute-value symbols)

I tried that \middle, \,\middle|\, and \mathrel{\Big|}. I read How to automatically scale `\mid` within delimiters and \usepackage{mleftright} \usepackage{amsmath} \begin{document} \begin{equation} ...
0
votes
0answers
20 views

Fontspec compilation error with MacTeX-2018

Fontspec (and several other packages) were not working. I reinstalled MacTeX-2018, but the same errors keep coming up (see below). l3kernel & l3packages are both installed. All packages on TeX ...
0
votes
0answers
29 views

Check whether section/subsection is longer than one page

I have defined myself a small (probably disgustingly overcomplicated) command to reference parts of my document and add the respective page number to the output if the referenced part is on a ...
0
votes
0answers
35 views

My citations are not ordered as they appear in the text

I am using natbib package with following options. However, citations are not ordered in text as they appear. For example the first citation is not numbered [1] but it is numbered as [17] in text. \...
0
votes
0answers
37 views

Why is the x getting italicized? [on hold]

The first x in A intersection B is not italicized whereas it is for the symmetric difference when exported to PDF. A \cap B = { x \vert x \in A \wedge x \in B } \\ A \triangle B = { x \vert x \in A \...
1
vote
1answer
34 views

How to make a simple line with two sided arrow? [duplicate]

\documentclass[aps,amsmath,article,amsfonts,11pt]{revtex4} \usepackage{graphicx} \usepackage{epstopdf} \usepackage{epsfig,graphicx} \usepackage[english]{babel} \usepackage{amsfonts} \usepackage{...
0
votes
3answers
33 views

How to move the lines in arrays

I wanted to apply Ruffini's rule but since I'm using fractions it's all crowded and messy. Is there a way to leave more space between the lines? \begin{equation*} \begin{array}{c|c c c|c} ...
2
votes
1answer
27 views

How to make a bar chart where the boxes are on both sides of a given line?

I want to make a chart where I show sensitivity, and how a change in values for different parametres (A-G) will affect the total cost. First, I made a chart where I show the change at the x-axis, but ...
4
votes
1answer
45 views

Fit (vertically portrayed) image with the caption displayed below

So I have this code: \begin{figure}[H] \centering \includegraphics[height=\textheight, width=\textwidth]{similar_waveforms_filtered_and_cut_new} \caption{Seiemic traces for events studied in ...
0
votes
1answer
35 views

How can I write a long equation in two lines and name it?

\begin{eqnarray} \tag{A8} 2x+3y+4z+2u+7o+8k+90l+43+56+45p+33h \nonumber \\ &+& 89n+90m+34j+23a+45b+56f \end{eqnarray} But I am not getting the required equation with name A8. If anyone ...
3
votes
1answer
49 views

How to fit content of minipage dynamically within a standalone?

I'm trying to create a standalone but the content won't fit inside. I think \minipage{\textwidth} causes the issue. I know I can set e.g. \minipage{21cm} but I want to keep this dynamic since the ...
0
votes
1answer
19 views

TeXstudio, no preview pdf file after compiling with User Commands

I have similar problem as the person who asked this question (TeXstudio, no preview pdf file after compiling using User Commands), which was not solved. Since I use package minted to insert Python ...
1
vote
1answer
25 views

Widen a landscape table

Any idea on how to make this landscape table wider (i.e. more extended across the width of the page) \begin{landscape} \begin{table}[] \centering \caption{Value of the force local maximums (F\...
3
votes
3answers
64 views

Plot data from external file with floating numbers

I found yesterday this beautiful simple code: \documentclass{article} \usepackage{pgfplotstable} \usepackage{pgfplots} \pagestyle{empty} \begin{document} %\pgfplotstabletypeset{data.dat} \vspace{...
1
vote
1answer
35 views

Typing equivalent equations side by side using tabular

I need your help in the following: I was trying to write two equations side by side and I was able to achieve this. However, these 2 eqts are equivalent so I need to add an equivalent sign between ...
1
vote
1answer
114 views

How to draw this diagram/graph using tikz?

I have this diagram, and I have tried to draw it doing every dot and line, but I was wondering, is there a way to do it with foreach cycles or something like that? thanks.
3
votes
0answers
43 views

Fraktur (blackletter) typesetting with certain automated features?

This question is somewhat related to this one. Background: I have a book from 1855 (Faust) of which I'd like to create a kind of facsimile version. At this point it isn't too important to make sure ...
0
votes
0answers
28 views

Using variables in custom class

I am working on a custom document class for my faculty. When creating the frontpage I want to have some custom variables. Such as title, author, supervisors etc. I was able to do it in a single ...
0
votes
1answer
21 views

Using different fonts for multiple languages in Overleaf

I'm using Twenty Seconds Resume template in overleaf https://www.overleaf.com/latex/templates/twenty-seconds-resume-slash-cv/mhyfwrmwjkbc But I met a problem and I can't solve it after trying for ...
0
votes
1answer
29 views

Define variables in document so that macro definition goes into preamble

I've written some macros to add OMR characters to the generated document. The OMR characters are needed for an envelope inserter machine. When I want to print OMR characters for a double-sided ...
2
votes
1answer
32 views

Where are wrong in `xmin` and `xmax` of this code?

In following code, I used xmin=-2.5, xmax=4.2, but the output got incorrect result. How can I repair? \documentclass[tikz,12pt]{standalone} \usepackage{pgfplots} \pgfplotsset{compat=1.16} ...
5
votes
1answer
89 views

Output Devanagari (Hindi) from raw unicode using luatex

I can get the following code to compile, using luatex, with the Hindi/Devanagari characters correctly printed in the pdf: \documentclass{article} \usepackage{fontspec} \setmainfont{Times New Roman} \...
5
votes
2answers
51 views

How to extend the elements package to print melting and boiling points?

To my propose I would like to extend the elements package to print too the melting and boiling points of chemical elements. Using the same logic used in elements package, I thought about creating ...
4
votes
2answers
95 views

How to write non-numerical content into an S-type column from siunitx package?

What is wrong with this table? I think there is something wrong with $\si{\degree}$. \documentclass[a4paper]{article} \usepackage{amsmath, amsthm, amssymb, mathtools} \usepackage{siunitx} \begin{...
1
vote
1answer
34 views

Adding Labels and arrows in Tikz graph

I'm trying to do something similar to this epsilon-delta graph I've found. Specifically, I'd like to copy the placements and arrows, like the L+e and L-e coming out of L. Same thing with the x0 + d ...

15 30 50 per page