# All Questions

175,288 questions
4 views

### Problem getting rid of column

I need to get rid of the last column. Could you give me a hand? \documentclass{article} \usepackage[margin=1in]{geometry} \usepackage{multirow,tabularx} \newcolumntype{Y}{>{\centering\...
3 views

### How to use tikz fading text and external library

Hello Tex StackExchange, I try to output text with a color gradient, therefore I use the TikZ fading library. Moreover, I have to rasterize these fading texts. I can not rasterize the whole document -...
6 views

### Explanation of TeX’s reading rules in TeXbook

What means the following extract on page 46 of TeXbook? TeX goes into state S in case (c), or in case (b) with respect to a character of category 10 (space) Does it mean that space must be skipped ...
7 views

### Writing farsi in Texstudio with it's Quick start

Simple configuration for writing Farsi results in: \documentclass[12pt,a4paper]{report} \usepackage[utf8]{inputenc} \usepackage[farsi]{babel} \author{S. M. Saadatmand} \begin{document} سلام %I've ...
10 views

### 2D Plot with labels

Can you give me a hint on how could I draw such a plot? Literally I have no clue about how should I start. I could draw two straight lines but my problem comes up when it comes to bending them. Not ...
11 views

### Does \pgfkeys{/pgf/fpu=false} work?

When I calculate very small numbers, I use the fpu package. But it seems \pgfkeys{/pgf/fpu=false} does not work. \documentclass[dvipdfmx]{article} % packages \usepackage{pgf} \usepackage{tikz} % ...
15 views

### What has changed in LaTeX that means the RSC template no longer works

I've been having an issue with the RSC Article template that causes the first page to render fine, but every subsequent page to render incorrectly, with a large blank area at the top, and the rest of ...
40 views

### How to capitalise every letter in odd position as in memes?

For example, SoMeThInGlIkEtHiS How might one achieve this? I am writing a meme paper this is important. . .
12 views

### Aligning and specifying font size in LaTeX equations

I have specified 3 equation in tex file, The font size of contents in each equation in the align environment appears to be different.Also, not all equations all aligned in the same way. Is there a ...
10 views

### Text alignment on curriculum using the Tccv document class

Hello I am trying to modify the Two--column CV template wich uses the tccv document class. Specifically I want to modify the formatting in the Work experience section which looks like this per ...
12 views

### Specifying column names [duplicate]

I have the following table with a column header. Since the column name of the last column is bigger than the rest, I have specified the name in multiple lines For instance, I have specified two rows ...
14 views

### Havard and hyperref do not like each other

A journal has indicated that submissions can use the harvard bibliography style. But it appears that the harvard style does not play well with hyperref or bookmarks (and maybe other packages that ...
14 views

### How to position local bounding box (scope containing a series of paths) below a node's south anchor?

It's easy to position a node below a local bounding box (behavior is standard) but not the other way. I assume it's because the scope doesn't "know" about nodes outside of it. I tried to use ...
28 views

### Does it make sense to define commands like “\xa” to type “$X_1$”?

i.e. in the preamble defining some command like \newcommand{\xa}{$X_1$} I realize this question doesn't have a definite answer -- it is a personal preference kind of thing -- I am just curious if ...
10 views

### Section numbering jumps when copying and pasting from another .tex document

I am trying to compile two documents into one larger document. I created a separate file with the same preamble as both, then copied and pasted the first followed by the second document into the ...
17 views

### Having trouble regarding matrix

How can I draw this matrix? since I’m new to LateX, it is very hard for me.
11 views

### How to set a single font type for the whole document

While creating a poster in overleaf, different font types are assigned for different sections like tables and equations. I tried using the following to set the same font type for the whole document. ...
17 views

### Fill polygonal node with image and rotate it

I need to fill a triangular node with an image, and rotate it at various angles. My approach for filling the node with an image is based on this one, and it works great if my node is not rotated, or ...
34 views

### How can I only make one word 'verbatim'?

How can I make only one word "verbatim" in LaTeX? For example: \usepackage{verbatim} \begin{document} The\begin{verbatim} TableForm[]\end{verbatim} shown below is a trig table which.... The only ...
36 views

### Tangent Plane on a surface

I'm trying to graph the tangent plane on the unit sphere at the point (1, \pi/3,\pi/4). I'm new to tikz, so I'm unsure how to edit the graphs other users have made with the planes for each point. Here'...
20 views

### Drawing table with multi rows and columns

So I am trying to figure this out: Can you help me out with the layout? Those multi rows are hard to draw. Working on a MWE right now: \documentclass{article} \usepackage[margin=1in]{geometry} \...
11 views

### How to externalise tikz figures using the latex compiler instead of pdflatex compiler?

I am working with eps figures, and I would like to externalise some figures thought external tikz library. Thus, I prefer to use latex compiler rather than to use pdflatex compiler. But it is not ...
3 views

### Referencing labels created for theorems inside a subtheorem environment links to the theorem before

I am currently trying to create subtheorems that are linkable. I referenced the code put forth by another post, here: How do I get sub-numbering for theorems (Theorem 1.A., Theorem 1.B., Theorem 2.)? ...
8 views

### Curve between two point in circuitikz

How can I draw a arrow edge curve over two node or between two point in circuitikz. I have added MWE... \begin{circuitikz} \draw (0,0) to [twoport,t=G,v^<= .] (2,0) (2,0) -- (4,0)node[anchor=west]...
8 views

### How can I circumvent running the bibliography in texstudio

I am creating a beamer presentation with several plots and tikz figures. It takes a long time to compile and view. This is only amplified by the fact that texstudio apparently runs pdflatex and the ...
22 views

### How to color a table column

I have this sample table. I made the script below but I still need few requirements that I do not know how to: 1) I need to apply the gray color one row above (i.e. the cell which contains the word ...
31 views

### Long Enumerate in Long Table

I would like to have a LONG enumerated list inside a (long)table and have the long list wrapped to the next page. However, the longtable clips the enumerated list instead of wrapping it. Here is a ...
20 views

### Make space between table and section even to text and section

Good evening, I know that I can reduce the space that is inserted with a new table with \vspace*{-10pt}. But how to make it exactly even to the normal space between a \section or \subsection and the ...
25 views

### Package Fancyhdr warning [duplicate]

I use the TexMaker compiler but I'm getting this warning: Package Fancyhdr Warning: \headheight is too small (52.5pt): Make it at least 74.90376pt. How to solve?
59 views

### New to LaTeX and need help with a table for my Lesson Plan

I am new to LaTeX and I decided to use it for my Lesson Plans. I have created a table for my lesson planning. But I am struggling to have it aligned properly and to have it fill the whole page in ...
36 views

### Make TikZ provide new points when using rotate around

So I have the following code \documentclass{standalone} \usepackage[utf8]{inputenc} \usepackage{tikz} \usetikzlibrary{arrows.meta, petri, topaths, automata, calc, patterns, angles, quotes} \begin{...
38 views

### How to draw deformed cylinder with tikz and 3dplot

I have a cylinder. And yet I wish to draw its deformed picture. I tried \pgfsetcurvilinearbeziercurve {\pgfpointxyz{0}{0}{0}} {\pgfpointxyz{0.1}{0.1}{1.5}} {\pgfpointxyz{0.25}{0.25}{1.75}}...
44 views

### How to mimic tikzpicture inside tikzpicture (or how to fit tikzpicture into a node)?

I typeset my entire document inside a single tikzpicture, meaning that blocks of text in my document are represented by \path node{...};. But without using additional tikzpicture environment it gets ...
42 views

### Reduce size of sum sub/superscript?

I have a text with lots of sums where the sub/superscripts are pretty long, as in $\displaystyle\sum_{ k=1+min\{a-1,b-1\}}^{ max\{a-1,b-1\} } i_k$ and when I compile the text gets very ugly, since ...
21 views

### Why These Optimization Problems Do Not Align Properly?

I'm writing some LaTex notes on optimization using the package optidef and I noticed a problem with the 'identation' I'm obtainig. Let me show you two examples. While the code \begin{mini*} {}{\...
26 views

### Latex error when compiling main file of a thesis

I have the following error when I complie my latex file: missing primitive name! Any ideas?
30 views

### switching alignment

I'm new to Latex and its environments such as split and align and I'm trying to change the alignment of an equation in a customized manner. I have a set of equations similar to what you can see in the ...
24 views

### How to create a table using tikz (or how to make a row in one column to have same text width as widest row in that column, etc.)?

Following conditions apply: width of each column must not exceed 25mm a less-wide row of a column must expand to widest row of same column (not to 25mm if the widest row is less than 25mm) Note that ...
11 views

### Using pgfkeys to make a custom tikzpicture command with multiple use of addplot

Consider this MWE: \documentclass{article} \usepackage{tikz,pgfplots} \usepackage{pgfkeys} \usepackage{xparse} \usepackage{filecontents} % DATA 1 \begin{filecontents*}{data1.txt} 1 1 2 4 3 9 4 16 5 ...
30 views

### pgfplots: How to smoothen a 3D surface plot?

Long time has passed - based on this and this question I would like to know if pgfplots does already support surface smoothening of coordinate based 3D plots in 2019? Minimum Working Example (MWE): \...
26 views

i want display only blank if do not found image, please don't display image path. My minimal coding: \RequirePackage{filecontents} \begin{filecontents*}{file.tex} No,TextA 1,Smile 2,No 3, \end{...
25 views

### Allowing values to bypass tabular column alignment

I have 8 columns in my table and everything fits perfectly except the very last value, which is about 5 columns long/wide (it's a very long binary string) and it's on the last row all by itself, I ...
14 views

### for this specific font style, \mathbf{} does not work [duplicate]

In Latex, how to generate this specific type of character, it seems that \mathbf{E} is not the one.
19 views

### Setting defaults with keyval-interface - do it in the current scope or do it globally?

Assume a LaTeX 2e-macro, be it named \foo, which processes the content of one optional argument via keyval-syntax. E.g., \foo[key1=value1, key2=value2,...,\keyN=valueN] I would also like to have a ...
15 views

### Can I make glossaries issue a warning if I use an abbreviation before explaining it?

I want to use the glossaries-extra package to manage abbreviations. I prefer explicitly choosing where I use the long or the short form of the abbreviation (using the shortcuts \al, as, af etc.). It ...
25 views

### Figure with caption before abstract in two-column document - elsarticle format

I'd like to add a figure in between the authors affiliations and the abstract. It should span two columns (figure* environment). Minimal working example below. The figure ends up wrongly placed on ...
41 views

### Blackboard bold, once again

I'm looking for a way to produce a blackboard bold version of numbers - not just 1 or 2, all of them. I've tried bbm: \documentclass{report} \usepackage{bbm} \begin{document} $\mathbbm{1}$\\ ...
21 views

### Extract a table-float from a TeX-typeset PDF?

I have this article which was near-certainly created with LaTeX. One of its floats is a table, and I would like to extract it from the PDF, i.e. obtain a PDF with just that figure (excluding the ...