0
votes
0answers
5 views

Performance question - Tabularx or manual column width calculation?

I'm using the tabularx package and the provided X column type to get dynamic column widths. Since the pdflatex run takes longer and longer, I'm wondering whether it would be faster to use an ...
1
vote
0answers
9 views

Passing the current column width to a macro (for table headers)

In an attempt to separate the formatting of tables, and in particular their headers, from the content, I have produced the following code: \documentclass{article} \usepackage{array} ...
1
vote
1answer
18 views

Making mesh grid lines transparent in surface plot with pgfplots

I need to make a partly transparent, one color, surface plot. Additionally I want to control the transparency of mesh lines. Running this code: \documentclass{standalone} \usepackage{tikz,pgfplots} ...
1
vote
1answer
12 views

How to change the bibliography toc's number page

I'm trying to put a bibliography into my report this way: Here is my .tex code: \documentclass[12pt,english,french]{report} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{babel} ...
1
vote
1answer
15 views

Size of circle path vs. circle node in \pgfdeclareshape?

I'm trying to "overload" a rectangle node as a custom shape, such that it has a circle on its south west corner. In the MWE below, I use \circsize to set the size of the circle - and for testing ...
0
votes
0answers
8 views

longtabu: push certain rows to new page if they are at bottom of the page

I'm having a tricky problem with a longtabu. I have a program that produces LaTeX code for an accounting report, which is done with a longtabu where each row is either an account (with a total) or a ...
0
votes
1answer
21 views

Error: Unicode char \u8 with french document

I have recently picked a file in asian laguage. When I have maked the necessary change in order to take a file in french laguage, I have this error: ! Package inputenc Error: Unicode char \u8: not ...
0
votes
0answers
20 views

Is there any way to use moderncv inside another document class?

In my thesis I need to have a cv. It would be awesome, if I could use moderncv. The only way I so far know is, to make seperate PDF, and include this afterwards within my thesis. Do you know any ...
1
vote
1answer
19 views

Redefining \listoffigures and \listoftables to flow like regular two-column text

I found this redefinition of a table of contents very useful for my very long table of contents within my two-column book. With a slightly modified version of the command in the link, I got what I ...
3
votes
1answer
27 views

paracol with manyfoot

I try to combine the two mentioned packages, as in the following example: \documentclass{book} \usepackage{lipsum} \usepackage{paracol} \usepackage{manyfoot} \newfootnote{A} \newfootnote{B} ...
1
vote
0answers
21 views

Use Parameter defined in PythonTex in Latex to open File

I have a Python code which detects my files. Now I will open it in Latex. But it seems not possible to give the detected names to Latex I have tried this: \begin{pycode} l = [f for f in ...
4
votes
0answers
52 views

How to do a conditional line break - edited

I want to know how to do a conditional line break. Whenever the error message "There is no line to end here" comes, I want to disable the line break, otherwise to enable it, with a \\ command or ...
10
votes
2answers
90 views

How do you align equations parts vertically?

I have read many other solutions but this situation seems unique. \documentclass{exam} \usepackage{multicol} \usepackage{amsmath} \begin{document} \begin{questions} \question Simplify the following: ...
1
vote
1answer
40 views

Grouping plots without groupplots

Running this MWE: \documentclass{article} \usepackage{pgfplots} \begin{document} \begin{figure} \centering \begin{tikzpicture} \begin{axis}[% width=2in, height=2in, scale only axis, xmin=0, xmax=7, ...
2
votes
1answer
29 views

How to reduce vertical spacing between proof environment and enumerate environment

How can I reduce the space between the proof environment head and the enumerate environment in the minimal example below? Note: This is most likely not a duplicate question. Some while ago, I posted ...
3
votes
2answers
58 views

How to draw a shape on the entire height of a minipage?

My purpose is to create a nice resume with the arrows indicating the timeline of my experiences. The left column contains information that is not relevant here. I have the following code: ...
0
votes
0answers
15 views

Something buggy between tcolorbox and invoice packages [duplicate]

The following MWE's compile as expected: Example 1: \documentclass{letter} \usepackage{invoice} \address{My Name \\ My Street \\ My Zip\\ my@mail.com \\ etc} \signature{Fnord Prefake} \date{23. May ...
5
votes
2answers
36 views

How to get two logos side by side

I need to put a logo left side aligned and a logo on the right side, I also need to add text between both logos? I've reviewed the questions about figures side by side, subfigure and minipage, but ...
3
votes
0answers
55 views

Guidelines for creating an index

This is not necessarily a LaTeX-only question, and it is a bit open-ended, but given that this community is clearly very detail-oriented, and it is a general-interest question, I think that this is a ...
1
vote
1answer
21 views

How to add the MacTeX subpackage Latin-Modern-Fonts to a BasicTeX installation

I've installed the current BasicTeX, a subset of MacTeX 2013. This includes the Latin Modern fonts, presumably in the TeX Live directory tree, which isn't a place that OSX looks for fonts. The full ...
1
vote
2answers
27 views

How to customize Bibliography

I'm trying to write a bibliography in which many authors of a book appears in this format: Author1, Author2, Author3 and Author4 So, I'm using here biblatex this way: \usepackage[backend=biber, ...
0
votes
0answers
68 views

Improving the layout of a business invoice [on hold]

So here is my working model thus far: \documentclass{letter} \usepackage{auto-pst-pdf,pst-barcode} \usepackage{background} \usepackage{amsmath} \usepackage{ textcomp } \usepackage{tikz} ...
1
vote
0answers
37 views

legend transparency in pgfplots

I want to have a legend in pgfplpots such that it overwrites grid lines (i.e. grid lines are erased where the legend is placed) but not the axis (i.e. axis are drawn on top of legend, in case legend ...
6
votes
2answers
95 views

Distances between nodes, nodes and arrows

I started using Tikz, took a sample of a code and tried to do my own. I'm almost there but I'm struggling on a couple of things. First, here is my code: \documentclass{article} \usepackage{tikz} ...
2
votes
1answer
18 views

How to save a figure with multiple sub floats to a single pdf file

How to save a figure with multiple sub floats to a single pdf file. Here is the code: \documentclass[12pt]{article} \usepackage[percent]{overpic} \begin{document} \begin{figure}\centering ...
0
votes
1answer
22 views

Float(s) lost in newly defined environment (possible \vbox/\hbox problem)

The following gives me LaTeX Error: Float(s) lost. I saw on Lost float in exam class that this might have to do with the \vbox. Replacing it with an \hbox gives Something's wrong--perhaps a missing ...
3
votes
1answer
39 views

Image vs Text Arrangement [duplicate]

When I write a multi-page paper with imported images, I usually try to group the picture with the text referencing it. Sometimes, there is not enough room at the end of the page for the picture, and ...
1
vote
2answers
32 views

XeLaTex and TexMaker “cannot-use-pdftex”

I would like to use the CV template provided by this link. In the .tex file the author recommends to compile with XeLaTeX. In TeXmaker 4.0, I've used the right option to compile but the following ...
2
votes
0answers
49 views

Per Gelosia - node placement and fp package

Is there a simple way to improve the harmony of the nodes in particular of the upper row and the right column distance ? Edit Thanks to egreg the node are more in harmony. Still : Is it possible to ...
-1
votes
0answers
71 views

Can anyone code this in Tex for me? [on hold]

How would I code this? In the texcode for stackexchange? [(99!)^(1/99) / (100!)^(1/100)]^9900 = (99!)^100 / (100!)^99 = (99!)^100 / (99!*100)^99 = (99!)^100 / ((99!)^99 * 100^99) = 99! / 100^99 ...
1
vote
2answers
24 views

How to layout figures/tables close to each other from the top

How to layout figures/tables close to each other from the top. Here is the test code: \documentclass[12pt]{article} \begin{document} \begin{figure} \caption{A very long caption!A very long ...
3
votes
2answers
71 views

Resizing dynamically the `e` of the exponential function

I've been looking around and found that this question has been asked at least a couple of times, but the solutions are been correct work around. Let's say that I have a formula with a piece like: ...
2
votes
1answer
16 views

Copy the abstract environment for acknowledgments

I would like to create an acknowledgments environment that's simply the duplicate of the abstract environment, with two exceptions: It should print Acknowledgments as its heading, not Abstract. The ...
2
votes
0answers
39 views

How to add text after a forward slash

I want to write this; /camera/image_raw, but it seems impossible to compile. The forward slash is not the issue, but as soon as I put text behind it doesn't work :( Does anyone know a solution?
1
vote
0answers
25 views

Line break long chemical names that contain brackets

I have some very long chemical names that are spilling into the margins, and I'd like to just tell LaTeX how to hyphenate them automatically so I don't have to manually go back and insert hard line ...
3
votes
2answers
34 views

Line break in a modified proof environment (with show/hide feature)

In the recent post How to define a proof environment which can be displayed/hidden? [combining two TeX solutions], Werner helped me to redefine a proof environment which can be hidden by an optional ...
4
votes
1answer
52 views

TikZ: automatic line breaking in equal distances

Is there an elegant way to break an arc into n equal pieces? I am discussing the surface area of sphere in my document, SA = 2\pi r l. Therefore, I want to start from an arc with n (3, 4, or 5) line ...
3
votes
2answers
20 views

Collapse footnote in TeXstudio

I have the following: The text has a long \footnote{ so I'd like to collapse this footnote } to make the text more legible when editing. I want to collapse the footnote: The text has a ...
4
votes
1answer
24 views

Table of equations like list of figures

I am fairly new at this and trying to put a table containing a brief description of the equations I use, into my thesis. This has proven to be quite an irritating problem. I have found a nice concise ...
10
votes
2answers
91 views

enumitem: renaming the list marker

I am using enumitem to create a list. My goal is to label each item as Case: 1, Case: 2, etc. With the enumerate package, I was able to do \begin{enumerate}[{Case} :1] \item something ... ...
1
vote
1answer
46 views

Make table and text appear in the same page

I have this page with section Appendix defined like this \section{Appendix} Then I start the table. But somehow the table appears in the next page. The table is small enough to fit in the same ...
0
votes
0answers
31 views

Animation in beamer- problem

I have some problem with animation in beamer: \documentclass[xcolor=dvipsnames,10pt]{beamer} \usepackage{graphicx} \usepackage{animate} \begin{document} \begin{frame} ...
4
votes
1answer
50 views

Tikz Multiple Fading Scope

How can I define a scope and have multiple fading with Tkiz or something similar? What I would like to do is this: I used the svg2tkiz tool to convert the svg, but it gives me an exception and just ...
1
vote
0answers
10 views

Make multicols use whole column in latex [duplicate]

I am trying to make a multicolumn layout. However, the content which I have is small. So it doesn't fill the whole page. Multicol somehow splits the content so the amount of content in the two columns ...
0
votes
0answers
44 views

Latex, Tabular TeX

How does one force all the entries, assuming there is ample space, in a table within the tabular environment to have the same row width? Thank you!
2
votes
0answers
39 views

MinionPro package conflicts with {esint}

I am using MinionPro font but it conflicts with esint package. The compiler always complains: LaTeX Error: Too many math alphabets used in version normal. Therefore I am forced to use the integral ...
6
votes
1answer
57 views

Create a lorenz curve

For my first real document, I have to create lorenz curves. Problem is, I'm pretty new to TeX and I have absolutely no clue about how I should go about this. A google search only reveals this has not ...
5
votes
3answers
87 views

Horizontal spacing after cases bracket in equation

How can I add a little horizontal spacing after the cases bracket, at the depicted position, so that 1 and 0 move to the right (the given screenshot looks okayish, but I'm using a different font where ...
1
vote
0answers
25 views

texi2dvi runs forever if the document contains references not in the .bib file

If I run the example below with texi2dvi (GNU Texinfo 5.2) 5381 [texlive 2012], it never stops. How can this be avoided? It's somehow strange. I used to have a lot of references in my files which were ...
1
vote
0answers
17 views

Cannot create animation in beamer with xelatex using the animate package

I 'm not a TEX expert and I am trying to ceate some animations in a beamer presentation using the animate package. Making the animations in a "normal" document (not a presentation) everything is fine. ...

15 30 50 per page