small text not going all the way to the marginsTable going past marginsChange margins for all, but the first...

Why is 150k or 200k jobs considered good when there's 300k+ births a month?

What are these boxed doors outside store fronts in New York?

Languages that we cannot (dis)prove to be Context-Free

Method of fabrication patents, Is it okay to import from abroad?

What is the offset in a seaplane's hull?

Writing rule stating superpower from different root cause is bad writing

How does one intimidate enemies without having the capacity for violence?

What do the dots in this tr command do: tr .............A-Z A-ZA-Z <<< "JVPQBOV" (with 13 dots)

Modeling an IP Address

Why "Having chlorophyll without photosynthesis is actually very dangerous" and "like living with a bomb"?

What's the point of deactivating Num Lock on login screens?

How is it possible to have an ability score that is less than 3?

Mage Armor with Defense fighting style (for Adventurers League bladeslinger)

Pattern match does not work in bash script

How to add double frame in tcolorbox?

How can I prevent hyper evolved versions of regular creatures from wiping out their cousins?

Why is consensus so controversial in Britain?

Can an x86 CPU running in real mode be considered to be basically an 8086 CPU?

What does it mean to describe someone as a butt steak?

Why are electrically insulating heatsinks so rare? Is it just cost?

In Japanese, what’s the difference between “Tonari ni” (となりに) and “Tsugi” (つぎ)? When would you use one over the other?

Why not use SQL instead of GraphQL?

Why don't electron-positron collisions release infinite energy?

Why, historically, did Gödel think CH was false?



small text not going all the way to the margins


Table going past marginsChange margins for all, but the first pageIs there a way to tell LaTeX to use smaller margins without setting an absolute margin length?Geometry does not seem to change the marginsHow to fix the top and bottom margins in Lyx in order to conform to standard ERC proposal?Header on odd pagesAlter single margin using Geometry packageRemoving all table border marginsMaking Margins 1 inch all the way aroundDefinition different margin for 2 sided, double sided













0















I have been trying to put smal text to the very top left of the page by using the geometry package and setting the margins to 0, but it doesn't go all the way - there is a slight vspace to the right and the top of the word.



Is there a way to fix this?



documentclass[a4paper]{article}

usepackage[margin=0in]{geometry}

begin{document}
fontsize{3pt}{3pt}selectfont Test.
end{document}









share|improve this question























  • You should not set the margin to 0. You should use some other packages instead.

    – JouleV
    8 hours ago











  • @JouleV Is there one you'd recommend?

    – Tomáš Sláma
    8 hours ago
















0















I have been trying to put smal text to the very top left of the page by using the geometry package and setting the margins to 0, but it doesn't go all the way - there is a slight vspace to the right and the top of the word.



Is there a way to fix this?



documentclass[a4paper]{article}

usepackage[margin=0in]{geometry}

begin{document}
fontsize{3pt}{3pt}selectfont Test.
end{document}









share|improve this question























  • You should not set the margin to 0. You should use some other packages instead.

    – JouleV
    8 hours ago











  • @JouleV Is there one you'd recommend?

    – Tomáš Sláma
    8 hours ago














0












0








0








I have been trying to put smal text to the very top left of the page by using the geometry package and setting the margins to 0, but it doesn't go all the way - there is a slight vspace to the right and the top of the word.



Is there a way to fix this?



documentclass[a4paper]{article}

usepackage[margin=0in]{geometry}

begin{document}
fontsize{3pt}{3pt}selectfont Test.
end{document}









share|improve this question














I have been trying to put smal text to the very top left of the page by using the geometry package and setting the margins to 0, but it doesn't go all the way - there is a slight vspace to the right and the top of the word.



Is there a way to fix this?



documentclass[a4paper]{article}

usepackage[margin=0in]{geometry}

begin{document}
fontsize{3pt}{3pt}selectfont Test.
end{document}






margins geometry vspace






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 8 hours ago









Tomáš SlámaTomáš Sláma

1158




1158













  • You should not set the margin to 0. You should use some other packages instead.

    – JouleV
    8 hours ago











  • @JouleV Is there one you'd recommend?

    – Tomáš Sláma
    8 hours ago



















  • You should not set the margin to 0. You should use some other packages instead.

    – JouleV
    8 hours ago











  • @JouleV Is there one you'd recommend?

    – Tomáš Sláma
    8 hours ago

















You should not set the margin to 0. You should use some other packages instead.

– JouleV
8 hours ago





You should not set the margin to 0. You should use some other packages instead.

– JouleV
8 hours ago













@JouleV Is there one you'd recommend?

– Tomáš Sláma
8 hours ago





@JouleV Is there one you'd recommend?

– Tomáš Sláma
8 hours ago










1 Answer
1






active

oldest

votes


















1














If you want to get a small line of text in the corner of the paper, you have many option (but not by using [margin=0pt]{geometry}!) – in this answer I will show the TikZ approach.



documentclass[a4paper]{article}

usepackage{tikz}
usepackage{lipsum}
begin{document}
begin{tikzpicture}[overlay,remember picture]
path (current page.north west) node[below right,inner sep=0pt,font=fontsize{3pt}{3pt}selectfont] {This is for test};
end{tikzpicture}

lipsum[1-2]
end{document}


enter image description here



enter image description here



If the very thin space on the top and on the left should not be there, you can set inner sep to a negative number



documentclass[a4paper]{article}

usepackage{tikz}
usepackage{lipsum}
begin{document}
begin{tikzpicture}[overlay,remember picture]
path (current page.north west) node[below right,inner sep=-0.5pt,font=fontsize{3pt}{3pt}selectfont] {This is for test};
end{tikzpicture}

lipsum[1-2]
end{document}


or set inner xsep and inner ysep separately



documentclass[a4paper]{article}

usepackage{tikz}
usepackage{lipsum}
begin{document}
begin{tikzpicture}[overlay,remember picture]
path (current page.north west) node[below right,inner xsep=-0.5pt, inner ysep=-0.4pt,font=fontsize{3pt}{3pt}selectfont] {This is for test};
end{tikzpicture}

lipsum[1-2]
end{document}


However, for readability, I suggest you should not remove that very thin space.






share|improve this answer





















  • 1





    Works well, thanks! The reason why I was doing it with margins is that there was only going to be phrase in the entirety of the document - it's for a puzzle that I am creating.

    – Tomáš Sláma
    8 hours ago












Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f483507%2fsmall-text-not-going-all-the-way-to-the-margins%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









1














If you want to get a small line of text in the corner of the paper, you have many option (but not by using [margin=0pt]{geometry}!) – in this answer I will show the TikZ approach.



documentclass[a4paper]{article}

usepackage{tikz}
usepackage{lipsum}
begin{document}
begin{tikzpicture}[overlay,remember picture]
path (current page.north west) node[below right,inner sep=0pt,font=fontsize{3pt}{3pt}selectfont] {This is for test};
end{tikzpicture}

lipsum[1-2]
end{document}


enter image description here



enter image description here



If the very thin space on the top and on the left should not be there, you can set inner sep to a negative number



documentclass[a4paper]{article}

usepackage{tikz}
usepackage{lipsum}
begin{document}
begin{tikzpicture}[overlay,remember picture]
path (current page.north west) node[below right,inner sep=-0.5pt,font=fontsize{3pt}{3pt}selectfont] {This is for test};
end{tikzpicture}

lipsum[1-2]
end{document}


or set inner xsep and inner ysep separately



documentclass[a4paper]{article}

usepackage{tikz}
usepackage{lipsum}
begin{document}
begin{tikzpicture}[overlay,remember picture]
path (current page.north west) node[below right,inner xsep=-0.5pt, inner ysep=-0.4pt,font=fontsize{3pt}{3pt}selectfont] {This is for test};
end{tikzpicture}

lipsum[1-2]
end{document}


However, for readability, I suggest you should not remove that very thin space.






share|improve this answer





















  • 1





    Works well, thanks! The reason why I was doing it with margins is that there was only going to be phrase in the entirety of the document - it's for a puzzle that I am creating.

    – Tomáš Sláma
    8 hours ago
















1














If you want to get a small line of text in the corner of the paper, you have many option (but not by using [margin=0pt]{geometry}!) – in this answer I will show the TikZ approach.



documentclass[a4paper]{article}

usepackage{tikz}
usepackage{lipsum}
begin{document}
begin{tikzpicture}[overlay,remember picture]
path (current page.north west) node[below right,inner sep=0pt,font=fontsize{3pt}{3pt}selectfont] {This is for test};
end{tikzpicture}

lipsum[1-2]
end{document}


enter image description here



enter image description here



If the very thin space on the top and on the left should not be there, you can set inner sep to a negative number



documentclass[a4paper]{article}

usepackage{tikz}
usepackage{lipsum}
begin{document}
begin{tikzpicture}[overlay,remember picture]
path (current page.north west) node[below right,inner sep=-0.5pt,font=fontsize{3pt}{3pt}selectfont] {This is for test};
end{tikzpicture}

lipsum[1-2]
end{document}


or set inner xsep and inner ysep separately



documentclass[a4paper]{article}

usepackage{tikz}
usepackage{lipsum}
begin{document}
begin{tikzpicture}[overlay,remember picture]
path (current page.north west) node[below right,inner xsep=-0.5pt, inner ysep=-0.4pt,font=fontsize{3pt}{3pt}selectfont] {This is for test};
end{tikzpicture}

lipsum[1-2]
end{document}


However, for readability, I suggest you should not remove that very thin space.






share|improve this answer





















  • 1





    Works well, thanks! The reason why I was doing it with margins is that there was only going to be phrase in the entirety of the document - it's for a puzzle that I am creating.

    – Tomáš Sláma
    8 hours ago














1












1








1







If you want to get a small line of text in the corner of the paper, you have many option (but not by using [margin=0pt]{geometry}!) – in this answer I will show the TikZ approach.



documentclass[a4paper]{article}

usepackage{tikz}
usepackage{lipsum}
begin{document}
begin{tikzpicture}[overlay,remember picture]
path (current page.north west) node[below right,inner sep=0pt,font=fontsize{3pt}{3pt}selectfont] {This is for test};
end{tikzpicture}

lipsum[1-2]
end{document}


enter image description here



enter image description here



If the very thin space on the top and on the left should not be there, you can set inner sep to a negative number



documentclass[a4paper]{article}

usepackage{tikz}
usepackage{lipsum}
begin{document}
begin{tikzpicture}[overlay,remember picture]
path (current page.north west) node[below right,inner sep=-0.5pt,font=fontsize{3pt}{3pt}selectfont] {This is for test};
end{tikzpicture}

lipsum[1-2]
end{document}


or set inner xsep and inner ysep separately



documentclass[a4paper]{article}

usepackage{tikz}
usepackage{lipsum}
begin{document}
begin{tikzpicture}[overlay,remember picture]
path (current page.north west) node[below right,inner xsep=-0.5pt, inner ysep=-0.4pt,font=fontsize{3pt}{3pt}selectfont] {This is for test};
end{tikzpicture}

lipsum[1-2]
end{document}


However, for readability, I suggest you should not remove that very thin space.






share|improve this answer















If you want to get a small line of text in the corner of the paper, you have many option (but not by using [margin=0pt]{geometry}!) – in this answer I will show the TikZ approach.



documentclass[a4paper]{article}

usepackage{tikz}
usepackage{lipsum}
begin{document}
begin{tikzpicture}[overlay,remember picture]
path (current page.north west) node[below right,inner sep=0pt,font=fontsize{3pt}{3pt}selectfont] {This is for test};
end{tikzpicture}

lipsum[1-2]
end{document}


enter image description here



enter image description here



If the very thin space on the top and on the left should not be there, you can set inner sep to a negative number



documentclass[a4paper]{article}

usepackage{tikz}
usepackage{lipsum}
begin{document}
begin{tikzpicture}[overlay,remember picture]
path (current page.north west) node[below right,inner sep=-0.5pt,font=fontsize{3pt}{3pt}selectfont] {This is for test};
end{tikzpicture}

lipsum[1-2]
end{document}


or set inner xsep and inner ysep separately



documentclass[a4paper]{article}

usepackage{tikz}
usepackage{lipsum}
begin{document}
begin{tikzpicture}[overlay,remember picture]
path (current page.north west) node[below right,inner xsep=-0.5pt, inner ysep=-0.4pt,font=fontsize{3pt}{3pt}selectfont] {This is for test};
end{tikzpicture}

lipsum[1-2]
end{document}


However, for readability, I suggest you should not remove that very thin space.







share|improve this answer














share|improve this answer



share|improve this answer








edited 8 hours ago

























answered 8 hours ago









JouleVJouleV

11.1k22560




11.1k22560








  • 1





    Works well, thanks! The reason why I was doing it with margins is that there was only going to be phrase in the entirety of the document - it's for a puzzle that I am creating.

    – Tomáš Sláma
    8 hours ago














  • 1





    Works well, thanks! The reason why I was doing it with margins is that there was only going to be phrase in the entirety of the document - it's for a puzzle that I am creating.

    – Tomáš Sláma
    8 hours ago








1




1





Works well, thanks! The reason why I was doing it with margins is that there was only going to be phrase in the entirety of the document - it's for a puzzle that I am creating.

– Tomáš Sláma
8 hours ago





Works well, thanks! The reason why I was doing it with margins is that there was only going to be phrase in the entirety of the document - it's for a puzzle that I am creating.

– Tomáš Sláma
8 hours ago


















draft saved

draft discarded




















































Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f483507%2fsmall-text-not-going-all-the-way-to-the-margins%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

IEEEtran - How to include ORCID in TeX/PDF with PdfLatexIs there a standard way to include ORCID in TeX /...

Cicindela nigrior Przypisy | Menu nawigacyjneCicindela varians unicolorManual for the Identification of the...

Glossaries-extra: Adding glossaries package to “Clas­sicTh­e­sis” template by Dr. André Miede v. 4.6 ...