1
vote
2answers
70 views

Typesetting Multipart Exercises

When I typeset exercises, I sometimes like to provide the exercise number in the left margin rather than as part of the paragraph describing the exercise. This poses a problem when I need typeset ...
2
votes
1answer
39 views

Figure alignment using sub caption

I'm trying to align some figures using the subcaption package. My current code is that: \documentclass[11pt,twocolumn]{article} \usepackage[demo]{graphicx} \usepackage{subcaption} ...
1
vote
1answer
45 views

How do I align the equations about the equal to sign, with lines of text in between? [duplicate]

I want to align unnumbered equations about the '=' sign having one or two lines of statements in between. And also, I want them to be centered. Here is what I did in my code: \begin{align*} T & ...
0
votes
1answer
36 views

aligning and logo shape in moderncv

How can I align the logos and the elements on their right side? Another, and more important, problem that I face has to do their shape. As soon as I close TeXworks and try to open the pdf document I ...
3
votes
2answers
94 views

Vertical and Horizontal aligment with several figures and tikz figures

I've been having some trouble aligning multiple figures. The problem is present with png figures and tikz figures, so I guess I am missing something. tikz figures not properly aligned: the ...
3
votes
3answers
141 views

Tikz-Create a Picture Legend

I am trying to create a legend inside a tikzpicture. The picture shows an accelerator and I would like to make a legend that will explain each part. My code is \documentclass{standalone} ...
3
votes
2answers
99 views

Comic book or graphic novel style panels in LaTeX

I have heard that LaTeX is not necessarily suited to make panels. That even two-column is difficult to get the text to align. I would like to draw stuff like this: --------------------------- ...
3
votes
2answers
63 views

Alignment inside the \align enviroment-horizontally and vertically

Is it possible to make both expressions for omega's aligned with one another and do the same for the coefficients a,b,r and d,c,t? I tried to align them manually by using center but it does not work. ...
3
votes
1answer
64 views

How can I arrange the table and the image in a minipage vertically?

I need the table and the image arranged vertically in the minipage instead of horizontally. I also add the pictures used in the code in the end. \documentclass[12pt,a4paper]{article} ...
0
votes
1answer
33 views

Line wrapping mathmode in ACM article-proc style

I am using the ACM document class acm_proc_article-sp. It is a two column page style. I keep running into a badbox where I have some line of text, and then a short equation in mathmode. For example, ...
1
vote
1answer
60 views

cannot figure out how to produce some tikz pictures next to each other

Ideally I would like to have the tikzpictures be in one line centered horizontally with its caption each preserving its node size and line strength and vertically aligned to a common bottom line. I am ...
2
votes
3answers
103 views

Problem with horizontal and vertical centering of multiline cells in a table

I'm having difficulties perfectly centering (both horizontally and vertically) a few cells in my table. Here is a screenshot of what it looks like right now: The problem line is the one which ...
2
votes
1answer
66 views

Dividing page into equally sized sections, vertically and horizontally

I am the editor of a student-paper for mathematicians and physicists, which is made entirely through LaTeX. Right now I need to make a page with several different sections, a lot like the ad-pages of ...
0
votes
0answers
53 views

Aligning figures in a table

I'm trying to align four figures vertically and horizontally. But I couldn't get it right in spite of repeated tweaks. I guess its a fairly small error. Can someone help me out? Here is a MWE -- there ...
3
votes
1answer
53 views

Text and picture top-aligned, where text is left-aligned and picture is right aligned

Using the answers from this sight, I tried to accomplish top-aligned text and image where text would have to start from the left side of the page, and picture would be at the right side. However, ...
2
votes
1answer
82 views

Alignment of toc in beamer class

I have some problems with vertical alignment of toc in beamer class related to this question. The answer works for me, but i would like to center the toc and decrease the horizontal space between ...
3
votes
4answers
136 views

Making an array in the Table

So we have an Table and there is an array which we wish to have it in the Table: Here is the code \documentclass[onecolumn,amsmath,amssymb,nofootinbib,superscriptaddress,floatfix]{revtex4} ...
3
votes
2answers
104 views

Remove vertical lines in the table unsuccessfully

I have created this Table: via the LaTex source code: \documentclass[onecolumn,amsmath,amssymb,nofootinbib,superscriptaddress,floatfix]{revtex4} \begin{document} \begin{table}[!h] ...
2
votes
0answers
130 views

How to draw “stacked blocks” with tikz?

I want to draw using tikz a figure which looks like the following: I started writing it using nodes and positioning them using right of =, above of = but I don't know how to avoid using hard coded ...
10
votes
4answers
199 views

putting two indices and exponents side to side

I did not find the answer to my following question on the web. I apologize in advance if this question has already been answered somewhere. I would like to write a matrix with the two subscripts and ...
4
votes
1answer
93 views

How to center cells vertically in sideways table?

I'm trying to build a comparison table, I want to center the symbols vertically on the cells and I tried a lot of methods that I found here unsuccessfully. This is the last code: ...
2
votes
0answers
42 views

How can I achieve this aligned two-column word-list-like layout? [duplicate]

This is my first tex question. I couldn't find a duplicate since I'm not even sure how to describe this layout in English...It looks like this: [item1] [explanation of item1......may be very long ...
1
vote
1answer
58 views

How to reduce page margins and center text on it?

I need a custom title page, where the margins create a tighter area for the page contents and a title text is centered horizontally and vertically. How do I do that? By tighter margins I mean margins ...
1
vote
1answer
61 views

Horizontal and vertical alignment of an element to the centre of a whole page

I am trying to place a code frame generated with listings package in the middle of a page both horizontal and vertical. How can I do it? Edit I: My code is this: \documentclass[12pt]{article} ...
2
votes
1answer
512 views

Text section in right bottom of side

How can I write a text section in latex in the right bottom side of the page with a nice font ? It is for some thanks text. Now I have: \vfill {\sffamily \begin{flushright} ...
4
votes
3answers
96 views

How do I center and scale vertical harpoons?

I need to create something very much like this: However, I'm having trouble scaling the vertical harpoons to make them look right with the rates on either side. For the horizontal harpoons I'm ...
4
votes
1answer
159 views

Multipage tables - vertical centering in cells

I know there were many topics like this but I read a lot of them and it is impossible to understand them for me or they just dont work. I want ALL cells to be centered vertically. I would also like to ...
4
votes
2answers
82 views

clean, breakable left-aligned array-like environment

The centered, yet left-aligned aspect of \begin{array}{lll} ... \end{array} is what I usually go with to give a list of conditions. My only problem with it, is that it is not breakable, so I try to ...
2
votes
1answer
129 views

Centering text in a table cell

I know the question has been asked before, but the answers don't seem to apply. I have a table defined below: \begin{table}[!ht] \begin{center} \caption[Micromagnetic simulators]{Micromagnetic ...
0
votes
1answer
89 views

Superimposing characters in text mode (pdfTeX)

I'm trying to compose a non-Unicode character by arranging Unicode characters one above the other or one next to the other close-up, but I'd need a negative space which in text mode isn't available. ...
3
votes
1answer
107 views

Tikz: Alignment of labels relative to a split rectangle

Is there a way for accurate placement of labels relative to the center of each of the parts of a split rectangle? The following example shows two errors: Alignment is with the left side of the ...
3
votes
1answer
36 views

Alignment issue?

I am trying to align the 2 equals signs and the minus sign at the beginning of each line of the following code, but no matter what I do, it won't work. $C_{n}$ = $ \dfrac{1}{4\pi{i}} $ $ ...
1
vote
0answers
142 views

Horizontal alignment (problem with minipage)

I'm new here. I just have a problem with the minipage environment. The problem is that the tables aren't horizontally aligned. I want these table aligned one by one, but I don't know what's wrong. ...
5
votes
3answers
206 views

Troubles with column width in the tables headings

Well, we all know that compose tables in LaTeX is not easy, however, despite the large number of existing packages and options to facilitate this, I still have some problems I could not solve, and I ...
5
votes
1answer
289 views

Aligning vertically centered and horizontally left text of cells in table

My minimum working example : \documentclass[11pt,a4paper]{article} \usepackage[francais]{babel} %\usepackage[latin1]{inputenc} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} ...
2
votes
1answer
114 views

How to make a column with an adaptive width?

I have two questions in creating the following table: 1) How to make the first sub-column (with title No.) adaptive in width? Now it has the same width with the second sub-column, but I'd like to ...
4
votes
3answers
193 views

Table Header with vertically centered alignment

I'm creating table header using latex code mentioned below: \begin{center} \begin{tabular}{|c|l|c|c|c|c|} \hline $\textbf{Q }$&$\textbf{Header one}$&$\textbf{Test} ...
4
votes
1answer
207 views

How do I make tabu and multicol play nice with each other? [closed]

I'm trying to write a document that will require lots of small tables (which contain other, nested tables) in a section of my document, which I want to put into a two-column section. I use tabu for ...
3
votes
1answer
249 views

form field alignment with a table cell

Is there any way to horizontally centre the checkboxes in the following MWE? Also is there any way to adjust the size of the checkboxes so that (i) they do not touch the cell border, and (ii) they are ...
3
votes
2answers
130 views

Enumeration across many sections

I am trying to combine enumeration over multiple sections: it is not working. \documentclass[12pt]{article} \usepackage[top = 1in, bottom = 1in, left = 1in, right = 1in]{geometry} ...
3
votes
1answer
2k views

Centre an image, ignoring margins

I have a document with .5cm margins; I want to include a long image which will span the width of the page, ignoring margins. I don't care about the whole image being visible (or which part of the ...
4
votes
2answers
127 views

Show stretch/shrink of whitespace in the line

Is there an option or package, to show the amount of stretching or shrinking TeX has done to justify each line? If there is none, how could this be implemented? It should look like the black bars the ...
6
votes
1answer
433 views

TikZ graph not aligning

I am having two issues with TikZ pictures. I have three graphs side by side, and I am having issues, but only with some of them, which is very odd. First the x-axis is going out of alignment (some ...
2
votes
1answer
292 views

Vertically center elements in table doesn't work

I am trying to vertical and horizontal align items in a table. I tried to follow what I found on the internet, including on this site, but it seems not to work for the last column. Here is what I ...
8
votes
2answers
171 views

Included graphics with text: Alignment

tl;dr How do I align text to text within \included graphics? Let's look at the following logo, which I want to include (in a vector format, e.g. pdf or svg). The blue/red lines are my annotations. ...
5
votes
1answer
120 views

How to align short footnotes (centred) and longer footnotes (left) in one document

I am wondering whether there is some package/code that addresses the following three criteria: Shorter footnotes, e.g. Quine (1960, 22), would be sitting centred on the bottom of the page, if (and ...
3
votes
3answers
243 views

Table Large Text and Centering

I'm trying to learn the TeX language in preparation for my final engineering project before I graduate, and while I've been able to find most of the solutions online, I can't seem to find a solution ...
5
votes
3answers
130 views

Help with left align?

I was trying to left align this equation by using code $$\begin{equation} \begin{aligned} E_\theta(L(\delta_1(X)) &=& E_\theta[(1-\frac{b}{a+X^2}) X-\theta]^2\nonnumber\\ ...
2
votes
1answer
93 views

Left/right scripts with horizontal centering

I have been using \newcommand{\lrscript}[3]{\raisebox{.5ex}{\llap{\scriptsize$#2$}}#1\raisebox{.5ex}{\rlap{\scriptsize$#3$}}} to produce the middle segment of things like this: Produced with ...
3
votes
3answers
197 views

Free cell alignment in a table

I want to use the package tabu which I've heard is the latest and greatest package for creating tables to generate a table that looks like this: ------------------------------------- |A | ...