0
votes
0answers
9 views

Quoting the page of one my reference document in the title of a figure

I have inserted a figure in my LaTex document, and this figure comes from a document referenced in my bibliography. The problem is that this latter document has many pages, so I would like to quote in ...
0
votes
0answers
16 views

Unexpected behaviour of two independent *.png files with transparency

Expected behaviour: preserve transparency for all included *.png files. Screenshots of transparent "chessboards" The two original png's The compiled pdf (transparency "lost" on one of the ...
2
votes
3answers
24 views

Why does amsmath use fraktur for real and imaginary parts?

Edit: When writing this I was under the impression that this was amsmath's choice. It has now been bought to my attention that it is Knuth's. When was it decided that amsmath would have the real ...
0
votes
0answers
22 views

Where are conflicts between biber and biblatex

I have seen they're is a lot of problems between biber and biblatex on fedora, but I need it ! I have (on a fedora 20 with texlive-full) biber 1.8 because of the old age of texlive fedora package ...
1
vote
0answers
25 views

align text and figure on same line

my problem is to align text and figure on the same line. I got the basics from this link placed below (placing of tiger). But i was not able to put a caption and label to the figure as figure ...
3
votes
1answer
25 views

hyperref warning caused by Beamer appendix

The code below results in the following warning: "Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding): removing '\translate' on input line 16." (Note: line 16 is the blank ...
0
votes
0answers
18 views

Customizing Multiline captions

I would like to have a caption which is centered and has multiple lines. For example, \documentclass{article} \begin{document} \begin{figure} \centering \begin{tabular}{cc} \rule{5cm}{3cm} & ...
0
votes
0answers
15 views

Convert pandoc-style citations to the LaTeX cite format

I have a Markdown document with pandoc-style citations such as [@johndoe2014]. This documents needs to be converted to LaTeX for submission to a scientific journal. The LaTeX template of the journal ...
2
votes
1answer
20 views

Centering / horizontal alignment of text inside tikz boxes

I am facing a problem with centering the text inside the boxes: \documentclass[a4paper,fontsize=12pt,a4paper,DIV=10,BCOR=10mm,twoside,titlepage=false,openany,pagesize]{scrbook} ...
0
votes
0answers
8 views

Bibtex style for Proceedings of Royal Society A

Is there any bibtex style file available which is suitable for Proceedings of Royal Society A journals?
1
vote
0answers
32 views

Change node style in a tikz picture

I'm trying to change the node style so a node looks like a cylinder with a variable height. currently i'm using this code \documentclass{scrartcl} \usepackage[utf8]{inputenc} \usepackage{tikz} ...
1
vote
0answers
34 views

Why is there a compilation error? - moderntimeline

I am using article class to prepare my CV. When I went through this, I found that moderntimeline package can be used only with moderncv. So I took only the TikZ code answered by Jake.But I get ...
5
votes
1answer
65 views

Aligning both tikz pictures and their captions

I am using two tikz pictures in subfigures. The baseline parameter allows aliging the subfigures via the nodes, however the caption (b) is much above the caption (a) in such case. If I don't you ...
1
vote
1answer
28 views

Mail merge using datatool with letter class

I am trying to adapt this question/answer on how to do mail merge to work with the letter document class. The linked answer works great for me, but when I try to change the document class to letter I ...
4
votes
0answers
28 views

Union of Paths in MetaPost

I'd like to compute the union of a collection of outlines in MetaPost. I'm aware of the buildcycle macro. However, that macro is not very useful because I don't know the shapes I want to join in ...
0
votes
0answers
46 views

How to make the corners?

I know how to do a 4 \times 5 chessboard: \documentclass{article} \usepackage{skak} \usepackage{chessboard} \let\boardfont\undefinedcommand \usepackage{diagram} \begin{document} ...
1
vote
0answers
32 views

Appendix list of symbols

I am trying to make a list of variable definitions in the appendix and I tried making glossaries and using acronyms packages but I don't know what to do. I do not need to reference the symbols in the ...
4
votes
1answer
102 views

How to keep useless zeros in SIUNITX

I want to keep all useless zeros using siunitx. How could I ? \documentclass{article} \usepackage{siunitx} \begin{document} \verb+\num{5}+: \num{5}\\ \verb+\num{05.0}+: \num{05.0}\\ ...
2
votes
4answers
58 views

Alignment in tabularx environment

I want to generate a table that looks approximately as follows: I want to use tabularx to have equidistant cells for the cells that are below the second row and right of the first column. Here is ...
2
votes
1answer
120 views

How can I draw an ellipse with a rainbow color?

I need to draw a rainbow-colored (hue colormap) ellipse in tikz. Something like this but then in an ellipse shape, and in tikz. I've thought about drawing to ellipses, one with rainbox filling, the ...
1
vote
0answers
20 views

ftp tug org tarballs and snapshots

1. On tug.org FTP (ftp://tug.org/texlive/historic/2014/) there are four tar.xz: *-bin.tar.xz (precompilled bins for many platforms) *-sources.tar.xz (sources for making bins) ...
0
votes
0answers
18 views

Installing TexLive with custom-maked binaries

I'm going to install TexLive2014 with my own-compiled binaries (with shared libs). 0. I have read this: https://www.tug.org/texlive/doc/tlbuild.html https://www.tug.org/texlive/build.html ...
2
votes
1answer
31 views

How to combine ‘float’ and ‘longtable’ packages functionality

I want to use exact placement for my table. As I read on SO it can be done with [H] option for table environment provided by ‘float’ package. But this doesn't seem to work with longtable which I have ...
0
votes
0answers
27 views

git pre-commit to check if % was forgotten [on hold]

I use git to manage some package. I would like to add a pre-commit hook, to check if I have forgotten % at the lines' end. For now, I have a minimal pre-commit, which test only the blank spaces at ...
0
votes
0answers
12 views

Compile full project in main folder and partial chapters in subfolders

I have a project like this Project/ MakeFile main.tex bibliography.bib Chapter_1/ file.tex figs/ Chapter_2/ file.tex figs/ ... Chapter_n/ file.tex figs/ When ...
0
votes
0answers
19 views

How to define a show/hidden switch? [duplicate]

I'm preparing some notes, basically some theorems and their proofs. I'd like to define a show/hidden switch, so that when it was turned on (to show) , all content are generated into the pdf; if it's ...
2
votes
1answer
66 views

Using tikz to create fancy Table of Contents

I am trying to create a fancy thesis style and I am stuck in the table of contents. I am adopting Pluton's idea from How to customize the table of contents using TikZ? but I get an error stating that ...
2
votes
0answers
24 views

\dotsc or \dots in this case? [duplicate]

I know that we should use \dotsc with a comma and \dots if there is no comma. But what if I have a comma on the right side and no comma on the left side, for example in Pr[X_i | X_{i+1}, ... ] ...
2
votes
0answers
81 views

Grid system for slides

I was wondering if anyone ever tried to typeset slides with a grid layout, ie. something like (see below the tikz grid showing it). Expected functionalities: ability to write text or place image ...
0
votes
0answers
24 views

Landscape header formatting

Hello I am really new at this. I am trying to obtain a a4 landscape orientation header like this... Could anyone helpme with the code? thanks a lot
3
votes
0answers
35 views

Why is beamer+pstricks+preview no longer compatible now?

The following code is taken from Gonzalo Medina' answer here (click). At the time he posted the answer the code was compilable. \documentclass{beamer} \usepackage{pstricks-add} ...
10
votes
2answers
170 views

How can I put section between 2 horizontal lines

Could anyone tell me how can I put section between 2 horizontal lines. I tried something similar to the following code but it did not work. \makeatletter \renewcommand\section{‎ \hrule ...
0
votes
0answers
8 views

missing table caption with floatrow and sidewaystable

I am attempting to place two tables side-by-side using sidewaystable and floatrow. The second table features a number of sub-tables. The issue is as follows: when I place the caption command before ...
2
votes
2answers
111 views

pdflatex crashes when Latex code includes \unicode{f818} and \unicode{f817} and how to handle it

I do not know if the Latex code (which is auto-generated is invalid) or if pdflatex is supposed to be able to handle this code, but I need to find the correct package. I looked at this ...
1
vote
1answer
31 views

Strange unicode characters when centering a minipage

I need a somewhat centered box to emphasize a quote. I dont know where I found it, but my current approach is the following: \begin{center} ​\begin{minipage}{0.9\textwidth} How can we build computer ...
2
votes
1answer
31 views

Scheduling a float to appear on a specific, later page?

Consider the following MWE - let's say it's called test.tex: \batchmode % \ifx\article\undefined % \documentclass[12pt,journal,onecolumn,twoside,draftcls,letterpaper]{IEEEtran} % \else % ...
2
votes
1answer
28 views

Is there a value for \textfraction (and totalnumber, floatpagefraction) that I should avoid getting close to?

Initially I wanted to open a question: How to get (more) text on a page with large floats? But of course the topic at hand has been covered way more many times than google can list on one page. ...
3
votes
0answers
38 views

Plot 3D stacked squares with shadow

This is an image I draw with tools. But I need to draw it with Tikz. And The 3 squares in the middle, I need to make them looks like 3D stacked with shadow. And the fonts on it, like 'a1', 'a2', ... ...
5
votes
2answers
58 views

How to make \tableofcontents look like table as in the figure attached below

In latex, the toc comes without border but the firm where I work requires me to follow the toc in this format. Any help will be appreciated. \documentclass[11pt, openany, oneside]{book} ...
0
votes
0answers
35 views

Add a horizontal line to a PGFPlot and add it to the legend

I have a PGF Plot with some computational results from a CSV file. At the time the CSV file was generated, there was a value that was not known. That value needs to be on the plot also, however. What ...
2
votes
2answers
35 views

How to float box of text on the right side without leaving a gap throughout the rest of the document?

Problem I am trying to create a document where a box of text will float on the right side. The rest of the text within the document should flow around the box. My searches have lead me to ...
3
votes
0answers
41 views

Getting a value, which has been given to a TikZ key

I'm trying to write a package based on TikZ, and this is the problem i'm currently stumbling upon. Let's assume, that I have a key, for example /tikz/circuit symbol unit, which executes some code. ...
2
votes
2answers
99 views

How do I display a slightly long equation in one line?

I want to write the following in one line \documentclass{article} \usepackage{amsmath} \begin{document} $\left |\hspace{0.1cm}\int \limits_{\Omega_1 \times \Omega_2 \times \cdots \times ...
1
vote
0answers
19 views

Use emulateapj/aastex with siunitx

I am trying to use siunitx in an emulateapj document, however it reports a conflict of command: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! ! LaTeX error: "xparse/command-already-defined" ! ! ...
2
votes
1answer
47 views

How Can I reduce the fontsize of footnotes in LaTeX beamer?

I use footnotes for image-references in my LaTeX beamer presentation. Is it possible to reduce the footnotesize for thoses references? Is it also possible to have two different footnotesizes on the ...
1
vote
0answers
26 views

make latex to automatically choose the placement of algorithms

I have several algorithms written down in a single file and would like latex to spread them across the document to save spaces. For example an algorithm can be just 3 or 4 lines and another can be 20 ...
3
votes
2answers
42 views

Including a subfigure and table inside a figure environment

I want to include a table and an image as two subfigures in a macro figure environment. Apparently the code compiles but it isn't placing the elements how I want: The table and the image side by side ...
1
vote
0answers
35 views

undefined control sequence <argument> [on hold]

! Undefined control sequence. <argument> Non-linear version of \stabilized \ conforming nodal integration ... l.15 for Galerkin mesh-free methods} . The control sequence at the end of the top ...
1
vote
2answers
88 views

Improving my latex codes for matrices

i want to write my latex code as in the image inserted below. Please can someone help me to improve my code here to let them look like in the image. \begin{multline*} \begin{bmatrix} k_{A,t} \\ ...
3
votes
1answer
36 views

Reducing chapter and section spacing for srcbook

I'm using srcbook document class and using chapters and sections. The spacing between chapters and sections is quite large, too large for my taste (before and after the chapter and section). So my ...

15 30 50 per page