# All Questions

180,284 questions
Filter by
Sorted by
Tagged with
4 views

### Rearrange pages in PDF

I want to print: 2 A5 pages on A4. And my file need rearranged with No Rule. But i don’t want to manual use drag/drop in Adobe pdf or software Example: Current file: 1,2,3...100 rearranged PDF: ...
13 views

### unable to draw the circuit in tikz

I am trying to draw this circuit in tikz, but so far I was able to plac only one inverter. When I placed the second inverter, I have an overlap and I can't manage to find the coordinates of first ...
13 views

### Is there way to produce an integral sign with a loop at the top?

I want to use this symbol for the product integral: Perhaps with a bigger loop, too. What's the best way of building this notation?
5 views

### Change chapter numbering in body and ToC

To change the numbering of chapters I have included this in the preamble: \renewcommand{\thechapter}{\Alph{chapter}} \titleclass{\chapter}{straight} \titleformat{\chapter}[block]% {\bfseries\...
18 views

### Cancel package enhancement

How difficult is it to enhance (=copy the code of the package in my project and adapt it) the Cancel package, Cancel package, with a command \cancelno{〈label〉}{〈expression〉} such that a slash is put ...
12 views

### how to remove line number in latex when using iosart2x

In my paper appears line numbering, when I use the iosart2x.cls style. So, how to remove it? Please help me. Thanks!
14 views

### Small caps for subsection-level headers in AMSART document class

In the amsart class, subsection titles are in boldface. Is there a way to have them in \textsc?
16 views

### feynman package - where to put the feynman.sty file?

I am using Bakoma-Tex 11.41 and I am trying to use the feynman package to draw some Feynman diagrams. My problem is that I don't know where to put the feynman.sty file? in which directory? I tried ...
27 views

### LaTeX CV- Deedy Resume: Why the Name colour and the border line is coming out to be grey instead of black?

While I was compiling the latex file into the pdf I am getting the Name and the line after that in grey colour instead of black colour. Like this Instead of this Here's the link to the deedy-...
45 views

### Combining 2 \foreach loops into one

Using the following code (from the answer to this question) to draw boxes using 2 \foreach loops; and defining the starting positions of both of them (yshift=.4cm and yshift=4.4cm). I want the blue ...
17 views

### Viewer for pdflatex/beamer presentation with reload and without blurry transitions (Mac OS)

When using pdflatex to create a beamer presentation and then viewing it in Preview.app (single page or fullscreen mode), page transitions are blurry: when going to the next slide, a blurry/low-...
11 views

### How increase math font size using DeclareMathSizes while using relsize package

Consider the following MWE: \documentclass[10pt]{report} \usepackage{relsize} \DeclareMathSizes{10}{28}{26}{25} % For size 10 text \begin{document}\relscale{1.7} S = \frac{A}{B^2}...
35 views

### A PGFplots linear regression problem

I'm having problems with the linear regression function in PGFplots. The eq given by the package has the signs changed. \documentclass[12pt,letterpaper]{article} \usepackage[letterpaper, margin = 1 ...
55 views

### Arrow doesn't touch block

I'm currently drawing the following diagram: For some reason one of the arrows do not touch the block IFOC. How do I fix that? My code: \documentclass[tikz,border=2pt]{standalone} % Inclui ...
32 views

### Error with \usepackage{pgfplots}

everybody. I am trying to use pgfplots package. I got it from https://sourceforge.net/projects/pgfplots/ and saved in the same directory of the source file. I declared the package writing: \...
26 views

### My reference to my tcolorbox doesn't work

I'm just trying to reference one of my example in my text but it's always labelled with the upper previous counter (here the section number). My example environment is defined as exmp which are a ...
21 views

### text inside a vbox disappearing in the page

I am using the below vbox I want to insert a large amount of text , unfortunately the text does not continue to next page. For example, If the text length is 20 lines , only the first 10 lines appear ...
18 views

### Error Inserting Custom Symbols (Graphics) into the Section

I am making a cookbook, and want to use a single macro \recipe (in the minimal example below) to insert the name of the recipe, the tags for the food (custom symbols denoting dietary restrictions), ...
26 views

### How to insert an image in a caption [duplicate]

I'm trying to insert a picture in the caption to illustrate something. How can I do that? Currently, I use the following code, the tex engine prompts uncontrolled sequence error. \caption{Some ...
22 views

### Macro to put stuff in the appendix

I am trying to write a macro to put proofs of theorem in and out of the appendix by setting a variable. I know how to do the following: In the following example, when I set the variable ...
11 views

### pgfplots + dateplot: plotting datetimes spanning multiple days

Imports: \usepackage{pgfplots} \usepgfplotslibrary{dateplot} \pgfplotsset{compat=1.9} Data: Notice the timestamp starting one day and ending in other. \begin{filecontents}{./data-example.csv} ...
32 views

### Unable to track down a math font

I'm trying to find the mathematical font of the \mathcal T in the following excerpt: It is taken from https://ncatlab.org/nlab/show/Freyd+cover, and trying to compile locally the tex source I don't ...
45 views

### How to compile The Comprehensive LaTeX Symbol List?

I want to compile The Comprehensive LaTeX Symbol List with different settings of the hyperref package. First I tried to compile it without modification. But invoking make symbols-a4.pdf gives me an ...
86 views

### Draw magnetic domain with Tikz

I am going to draw magnetic domain for paramagnet and ferromagnet as shown in figure below with tikz package: Please consider the following MWE: \documentclass{standalone} \usepackage{tikz} \...
21 views

### Why does the table gets added always in the beginning of the page [duplicate]

When I add a table: \begin{table} \begin{center} \begin{tabular}{ | m{2cm} | m{6cm}| m{7cm} | } \rowcolor{Gray} \hline Aspect & Angular & React \\ \hline Développeur & Google & ...
39 views

### Linking a \foreach loop to start from a specific node position

Using the following code, I manually have made the \foreach loop starts from the location of the center of node B. How can I automatically start the \foreach loop at the center of node B, so that ...
104 views

### \global variant of \csname…\endcsname

Please consider the following minimal example: \documentclass{article} \tracingrestores=1 \def\foo{\bar\foobar} \def\bar{\gdef\testA{blabb}} \def\foobar{\expandafter\gdef\csname testB\endcsname{...
14 views

### Reverse Numbering with Biblatex and Wrong In-Text Citations

This question is a follow-up to an earlier question. The proposed solution there works pretty well and numbering of entries in the bibliography is in reverse order. However, I found that when citing ...
15 views

### Overlapping list of Tables entry

The list of Tables from the Appendix section overlaps that from the main body of the manuscript. Does anyone know how to fix this? Thanks
23 views

### \iffmode fails for first token in matrix cells [duplicate]

\iffmode seems to fail for the first token in every matrix cell. Here is a minimal working example. \documentclass[margin=5mm]{standalone} \usepackage{mathtools} \newcommand{\foo}{% \ifmmode A% ...
60 views

### Upside down reversion for a Greek letter

How do I type in LaTeX a Greek letter, say \Omega reflected along baseline? I might have included a picture for what I mean but it should be clear anyway. If not clear: I want to type a Greek letter ...
54 views

### Fixing overlapping values

How can I fix the overlapping values on the x axis? \documentclass{standalone} \usepackage{subcaption} \usepackage{caption} \usepackage{pgfplots, pgfplotstable} \usetikzlibrary{positioning} \...
42 views

### A table with a sidebar

How can I make a similar table as the below image with a sidebar pointing to some rows is the table? My attempt to create something similar \documentclass[12pt]{article} \usepackage{color, colortbl} ...
40 views

### Manually adding *one* package to MiKTeX

I'm on Windows behind a firewall (you're offering your sympathies; I know; thanks). I need to add the package xcolor to MiKTeX. I download xcolor.zip and unpack it in c:/Users/<username>/...
28 views

### gap between toprule and vertical lines in tabular

In this MWE \documentclass[]{article} \usepackage{amsmath} \usepackage{booktabs}%added 8/16/2019 \setlength\heavyrulewidth{0.5ex} \begin{document} \small \begin{tabular}[c]{|p{1.5in}|p{...
47 views

### Extracting elements from a tex file

I would like to extract the contents of various latex commands, e.g. section chapter caption sidenote, etc from a .tex file. These elements would eventually end up in a CSV file chapter, chapter 1 ...
39 views

### Editing pic TIKZ block

I'm drawing the following diagram: And I'd like to pass "PWM Inverter" as a parameter when creating the block, which I couldn't do... Also, I'd like to increase the size of the text inside the block. ...
19 views

### Space above parbox too small when it has newlines

I have the following MWE: \documentclass{article} \begin{document} qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq \parbox{\linewidth}{ \centering\large AAA qqq XXX \\ qqq AAA qqq } ...
17 views

### Is it possible to get a series of nested numbered lists without having a nested enumerate environment?

In particular, I am hoping to accomplish something like your standard outline with text: I. Level 1 II. Level 1 A. Level 2 1. Level 3 2. Level 3 B. Level 2 ...
22 views

### Using if in tables (spreadtab, tabu)

I was trying to build a document with a table which could change its rows depending on whether the customer needs to pay tax or not. I tried to go with http://handyfloss.net/2007.08/latex-programming-...
23 views

### Fix unwanted spacing between list items and paragraphs in memoir class

When writing a document in the memoir class I am getting some unwanted spacing between lists and paragraphs etc. If there isn't a full page of content then instead of placing the blank space at the ...
19 views

### A problem with pgfcalendar and fpu

I'm trying to define a macro that will determine two dates (in weeks of 7 days), calculated from a given date (defined by \setmovedate below. For brevity the code below uses only #2 from \movetasks: \...
27 views

### Line spacing in Latex and Word

Currently, I am working on my master thesis, which requires to have 1.5 line spacing in the Word. Since I am working in TeXMaker, do you know which \linespread{} command gives me the line spacing 1....
18 views

### Pound sign # in \href link in beamer's frame environment

While there's normally no problem with having the pound sign # in an \href link (see Hyperlink with # (number sign)), it does not work within a frame environment in beamer. \documentclass{beamer} \...
12 views

### change the shape of a mux with selection

\documentclass{standalone} \usepackage{tikz} \usetikzlibrary{shapes, arrows, chains, decorations.markings,intersections,calc} \begin{document} \begin{tikzpicture} \draw[scale=0.4] ...
13 views

### Critical notes - lemma with multiple variants

Running LuaLaTeX, I'm typesetting a critical edition. I need to input multiple variants for a lemma, within the same note, with a separator between each variant. I could only manage to repeat the ...
8 views

### Using svjour3 and spbasic, is it possible to move the year to the end of a reference?

I am writing a paper for submission to a springer journal that specifies the use of documentclass svjour3. The only bibliographystyle in the springer template for Harvard referencing is spbasic. The ...
17 views

I'm sure this is a common problem: Sometimes, the header of a table is way too big for the columns: You end up with a table that is either too high, too wide or just ugly to look at. Previously, I ...